/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Be Vietnam Pro", sans-serif;
}

/* Color Variables */
:root {
  --primary-blue: #151e3c;
  --secondary-blue: #4ba4dc;
  --accent-green: #90b81c;
  --background-white: #ffffff;
  --text-dark: #333333;
  --orange-color: #ffa500
}

.text-description {
  color: var(--text-dark);
  font-size: 20px;
}

.text-description-green {
  color: white;
  font-size: 20px;
  border-radius: 100px;
  padding: 10px 30px;
  background: #66b852;
}

/* Navbar Styles */
.navbar {
  display: flex;
  flex-direction: column;
  padding: 20px 15%;
  background-color: var(--primary-blue);
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 20;
  gap: 15px;
}

.navbar .bottom-nav,
.navbar .top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}


.navbar .top-nav .logo {
  width: 200px;
}

.navbar .top-nav .logo img {
  max-width: 100%;
}

.navbar .top-nav .cta {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid white;
  color: white;
  border-radius: 100px;
  text-decoration: none;
}

.navbar ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar ul li {
  list-style: none;
}

.navbar ul li a {
  text-decoration: none;
  font-size: 16px;
  color: white;
}

.navbar .navbar_btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.burger {
  display: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.hero-main {
  display: flex;
  background: linear-gradient(135deg, #151e3c 0%, #1e2a5a 100%);
  padding: 80px 15% 40px 15%;
  align-items: center;
  gap: 80px;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(75, 164, 220, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.hero-main .hero-text {
  flex: 1.2;
  z-index: 2;
}

.hero-main .hero-text h1 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  background: linear-gradient(to right, #ffffff, #e0e0e0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-main .hero-text p {
  font-size: 1.25rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-main .image {
  flex: 0.8;
  display: flex;
  justify-content: flex-end;
  z-index: 2;
}

.hero-main .image img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

.hero-cta-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Trust Bar */
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 30px 15%;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #555;
}

.trust-item i {
  font-size: 1.5rem;
  color: var(--secondary-blue);
}

.trust-item span {
  font-weight: 500;
}

/* Hero Section Styles */
.hero {
  display: flex;
  background-color: blueviolet;
  padding: 50px 15%;
  align-items: center;
  gap: 50px;
  background-image: url('/img/bg.jpg');
  background-size: cover;
}

.hero-content {
  flex: 1;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
}

.hero-content .badge {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(30%, -30%);
}

.hero-content .badge img {
  width: 45px;
}

.hero-content h1 {
  font-size: 40px;
}

.hero-content p {
  max-width: 500px;
  font-size: 20px;
}

.hero-content ul {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgb(255, 255, 255);
  padding: 20px;
  border-radius: 10px;
  color: black;
  width: fit-content;
}

.hero-content ul li {
  list-style: none;
  display: flex;
  gap: 10px;
}

.hero-content ul li .icon {
  color: var(--secondary-blue);
}

.hero .hero-img {
  flex: 1;
  align-self: flex-end;
  position: relative;
}

.hero .hero-img img {
  width: 100%;
  max-width: 100%;
}

.hero .hero-img .absolute-text-1 {
  position: absolute;
  top: 26%;
  right: -5%;
  padding: 10px 20px;
  background: white;
  border-radius: 100px;
  border: 1px solid #e2e2e2;
  animation-name: up-down;
  animation-duration: 2s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

/* Credit Steps Styles */
.credit-steps {
  display: flex;
  gap: 30px;
}

.credit-steps .step {
  padding: 50px;
  border-radius: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 16px 32px rgba(86, 76, 93, .1);
  width: 100%;
}

.credit-steps .step img {
  width: 50px;
}

.credit-steps .step .title {
  color: black;
  font-weight: 600;
  font-size: 20px;
}

/* Simulation Section Styles */
.simulation {
  display: flex;
  background-color: rgb(36, 36, 66);
  padding: 50px 15%;
  align-items: center;
  gap: 50px;
  background-size: cover;
}

.simulation-content {
  flex: 1;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: white;
}

.simulation-simulator {
  flex: 1;
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.simulation-simulator h2 {
  font-weight: 500;
}

.simulation-simulator .block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.simulation-simulator .block .calculated span {
  padding: 2px 10px;
  background: var(--accent-green);
  border-radius: 100px;
  color: white;
}

.simulation-simulator h3 {
  font-weight: 300;
  font-size: 20px;
  color: var(--secondary-blue);
}

.simulation-simulator .radios {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.simulation-simulator .radios .group-check {
  display: flex;
  gap: 10px;
}

/* General Styles */

/* Base alert style */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 16px;
}

.alert ul li {
  list-style: none;
}

/* Danger alert (red) */
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

/* Success alert (green) */
.alert-success {
  background-color: #d4edda;
  color: #155724;
  border-color: #c3e6cb;
}

/* Warning alert (yellow) */
.alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border-color: #ffeeba;
}


.main-color {
  color: var(--accent-green);
}

.btn,
.btn-white {
  padding: 10px 30px;
  background-color: orange;
  width: fit-content;
  border-radius: 100px;
  text-decoration: none;
  color: white;
  transition: .5s;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  display: block;
}

.btn-white {
  background-color: transparent;
  border: 1px solid white;
}

.btn-green {
  background-color: var(--accent-green);
}

.btn span,
.btn-white span {
  position: relative;
  z-index: 1;
}

.btn::after,
.btn-white::after {
  content: "";
  position: absolute;
  height: 0%;
  width: 100%;
  background-color: var(--secondary-blue);
  border-radius: 100px;
  top: 0;
  left: 0;
  transition: .3s;
}

.btn:hover::after,
.btn-white:hover::after {
  height: 100%;
}

.drop-down-btn {
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  border-radius: 100px;
  border: 1px solid white;
  padding: 0px 20px;
  cursor: pointer;
}

.drop-down-btn .lng {
  text-transform: uppercase;
}

.drop-down-btn:hover .drop-down-btn-ul div {
  display: flex;
}

.drop-down-btn:hover .drop-down-btn-ul div a {
  color: black;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.drop-down-btn-ul {
  padding-top: 10px;
}

.drop-down-btn-ul .img-lng {
  width: 20px;
}

.drop-down-btn-ul div {
  display: none;
  position: absolute;
  background-color: white;
  color: #000;
  min-width: 150px;
  flex-direction: column;
  gap: 8px;
  padding: 15px;
  border-radius: 10px;
  bottom: 0;
  left: 50%;
  transform: translateY(100%) translateX(-50%);
}

/* Container Styles */
.container {
  display: flex;
  padding: 50px 15%;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.container-without-bottom {
  padding: 30px 15% 20px 15%;
}

.container-without-top {
  padding: 0px 15% 30px 15%;
}

.container-without-bottom-top {
  padding: 0px 15% 0px 15%;
}

.container h2 {
  font-size: 30px;
  color: var(--secondary-blue);
  position: relative;
  font-weight: 500;
  text-align: center;
}

.container h2::after {
  position: absolute;
  content: "";
  height: 3px;
  width: 100%;
  bottom: 0;
  left: 0;
  border-radius: 4px;
}

.container .row {
  display: flex;
}

/* Animations */
@keyframes up-down {
  0% {
    top: 15%;
    box-shadow: 10px 10px 25px #00000033;
  }

  50% {
    top: 18%;
    box-shadow: 5px 5px 20px #00000033;
  }

  100% {
    top: 15%;
    box-shadow: 10px 10px 25px #00000033;
  }
}

/* Radio Button Styles */
input[type="radio"] {
  appearance: none;
  margin: 0;
  font: inherit;
  color: var(--accent-green);
  width: 1.15em;
  height: 1.15em;
  border: 2px solid #cacaca;
  border-radius: 50%;
  display: grid;
  place-content: center;
}

input[type="radio"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 50%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: var(--accent-green);
}

input[type="radio"]:checked::before {
  transform: scale(1);
}

/* Styled Table Styles */
.styled-table {
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9em;
  font-family: sans-serif;
  min-width: 400px;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.styled-table thead tr {
  border-radius: 10px;
  background-color: var(--accent-green);
  color: #ffffff;
  text-align: left;
}

.styled-table thead th {
  font-weight: 400;
}

.styled-table th,
.styled-table td {
  padding: 12px 15px;
  font-weight: 300;
}

.styled-table tbody {
  background-color: white;
}

.styled-table tbody tr {
  border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.styled-table tbody tr:last-of-type {
  border-bottom: 2px solid var(--accent-green);
}

.styled-table tbody tr.active-row {
  font-weight: bold;
  color: black;
}


.map-footer {
  position: relative;
}

.map-footer .overlay-gradiant {
  position: absolute;
  width: 100%;
  height: 15%;
  background: linear-gradient(180deg, #ffffff, rgba(255, 255, 255, 0));
}

/* Footer Styles */
.footer {
  background-color: var(--primary-blue);
  color: white;
  padding: 50px 10%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-bottom .text-white {
  color: white;
  text-decoration: none;
}

.footer-blue {
  color: var(--secondary-blue);
}

.footer-green {
  color: var(--accent-green);
}

.footer-orange {
  color: orange;
}


.footer-section {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-section .badge li {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-section .badge li img {
  width: 30px;
}

.footer-section h4 {
  margin-bottom: 15px;
  font-weight: 400;
  border-bottom: 1px solid white;
  padding-bottom: 10px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  font-weight: 300;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 300;
}

.footer-section ul li a:hover {
  color: var(--secondary-blue);
}

.footer-section .social-links {
  display: flex;
  gap: 20px;
}

.footer-section .social-links a {
  color: white;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-section .social-links a:hover {
  color: var(--secondary-blue);
}

.footer-bottom {
  background-color: #0f1327;
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
}

/* Responsive Styles */
@media screen and (max-width: 1224px) {
  .navbar {
    padding: 20px 5%;
  }

  .hero {
    padding: 50px 5%;
  }

  .hero-content h1 {
    font-size: 36px;
  }
}

@media screen and (max-width: 768px) {

  @keyframes up-down-mobile {
    0% {
      top: 40%;
      box-shadow: 10px 10px 25px #00000033;
    }

    50% {
      top: 42%;
      box-shadow: 5px 5px 20px #00000033;
    }

    100% {
      top: 40%;
      box-shadow: 10px 10px 25px #00000033;
    }
  }

  .hero .hero-img .absolute-text-1 {
    animation-name: up-down-mobile;
  }


  .tab {
    width: 200px !important;
  }

  /* Navbar Responsive */
  .burger {
    display: block;
  }

  .navbar .navbar_btns {
    flex: 1;
    justify-content: center;
  }

  .navbar .top-nav .cta {
    display: none;
  }

  .navbar ul {
    position: absolute;
    top: 80px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background-color: #1d1d5c;
    align-items: flex-start;
    padding: 20px;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .navbar ul.active {
    transform: translateY(0);
  }

  .navbar ul li {
    width: 100%;
    margin: 10px 0;
  }

  .navbar ul li:last-child {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .navbar ul li .btn {
    display: block;
    text-align: center;
    margin: 5px 0;
  }

  /* Hero Responsive */
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 10%;
  }

  .hero-content {
    order: 2;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .hero .hero-img {
    order: 1;
    max-width: 80%;
    margin: 0 auto;
  }

  /* Hero Main Responsive */
  .hero-main {
    flex-direction: column;
    text-align: center;
    padding: 60px 10% 40px 10%;
    gap: 40px;
  }

  .hero-main .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-main .hero-text p {
    font-size: 1.1rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-main .image {
    order: -1;
    justify-content: center;
  }

  .hero-main .image img {
    max-width: 300px;
  }

  .hero-cta-group {
    justify-content: center;
    flex-direction: column;
  }

  .trust-bar {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 30px 10%;
  }

  /* Credit Steps Responsive */
  .credit-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .credit-steps .step {
    margin: 15px;
  }

  /* Simulation Section Responsive */
  .simulation {
    flex-direction: column;
    gap: 30px;
  }

  .simulation-simulator,
  .simulation-content {
    flex: 1;
    width: 100%;
  }

  /* Styled Table Responsive */
  .styled-table {
    min-width: 100%;
    border-spacing: 0;
    font-size: 0.7em;
  }

  .styled-table th,
  .styled-table td {
    padding: 8px 10px;
  }

  /* Footer Responsive */
  .footer {
    flex-direction: column;
    padding: 30px 10%;
  }

  .footer-section {
    flex-basis: 100%;
  }

  .simul-cont {
    flex-direction: column;
  }

  .container {
    padding: 50px 10%;
  }

  .container-without-bottom-top {
    padding: 0px 10% 0px 10%;
  }

}

@media screen and (max-width: 480px) {

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-content ul {
    width: 100%;
  }

  .hero .hero-img {
    max-width: 100%;
  }

  .credit-steps .step {
    flex-basis: 100%;
  }
}

.simul-cont {
  display: flex;
  align-items: stretch;
  border-radius: 10px;
  background-color: white;
  position: relative;
  flex-direction: column;
}

.simul-cont-badge {
  height: 50px;
  width: 50px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-35%, -35%);
}

.simul-cont .row {
  display: flex;
  gap: 10px;
  background-color: white;
  border-radius: 10px;
}

.simul-cont .row .group-simulation-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.simul-cont .row .group-simulation-input label {
  font-size: 14px;
}

input,
textarea,
select {
  padding: 8px;
  border-radius: 5px;
  border: 1px solid rgb(228, 228, 228);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus {
  border: 1px solid var(--secondary-blue);
}

textarea:focus {
  border: 1px solid var(--secondary-blue);
}

.simul-cont .group-simulation-inputs {
  padding: 20px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.group-simulation-inputs h2 {
  font-weight: 400;
  font-size: 20px;
  color: #151e3c;
  text-align: start;
}

.simul-cont .table-simulation {
  flex: 4;
}

.dark-bg {
  background-color: #151e3c;
}




/* testimonial section */
.testimonial_wrapper {
  display: flex;
  gap: 10px;
}

.testimonial_card {
  background-color: white;
  box-shadow: 0 16px 32px rgba(86, 76, 93, .1);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: .5s;
}

.testimonial_card:hover {
  background-color: var(--primary-blue);
  color: white;
}

.testimonial_card h2 {
  font-size: 18px;
  text-align: left;
}

.testimonial_card p {
  font-size: 14px;
  font-weight: 300;
}

.testimonial_card .stars {
  width: 100px;
}

.testimonial_card .avatar {
  width: 40px;
  height: 40px;
  border-radius: 100px;
}




.slider-container {
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  width: 100%;
}

.testimonial_wrapper {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.testimonial_card {
  background-color: white;
  border: 1px solid rgb(223, 223, 223);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 calc((100% - 40px) / 3);
  /* Show 3 cards with gap */
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.prev-btn,
.next-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.prev-btn img,
.next-btn img {
  width: 15px;
}

.prev-btn:hover,
.next-btn:hover {
  background: #f5f5f5;
  border-color: #999;
}

.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background: #666;
}

@media (max-width: 768px) {
  .container h2 {
    font-size: 24px;
  }

  .testimonial_card {
    flex: 0 0 100%;
    /* Show 1 card on mobile */
    margin: 0;
  }

  .testimonial_wrapper {
    gap: 0;
  }
}



/* faq tabs section */

.faq-container {
  width: 100%;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: #fff;
}

.faq-container h3 {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  color: gray;
}

.faq-item {
  margin-bottom: 8px;
}

.faq-question {
  color: var(--primary-blue);
  background-color: #f7f7f7;
  padding: 25px;
  cursor: pointer;
  position: relative;
  font-weight: 400;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.faq-question .icon {
  color: var(--accent-green);
  font-size: 15px;
  margin-right: 6px;
}

.faq-question:hover {
  background-color: #efefef;
}

.faq-toggle {
  position: absolute;
  right: 15px;
  transform: translateY(-50%);
  top: 50%;
  font-weight: 200;
  font-size: 30px;
  transition: transform 0.3s ease;
}

.faq-toggle.active {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
  background-color: #fff;
  padding: 0 15px;
  margin: 0;
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
}


.faq-answer.active {
  max-height: 1000px;
  transition: max-height 0.5s ease-in-out;
  padding: 15px;
}




/* login page and signup style */

.form-side {
  width: 100%;
  flex: 1;
  background: white;
  padding: 50px;
  border-radius: 10px;
  border: 1px solid rgb(228, 228, 228);
  box-shadow: 0 16px 32px rgba(86, 76, 93, .1);
}

.image-side {
  flex: 2;
}

.infos-side {
  flex: 1;
}

@media screen and (max-width: 1100px) {
  .content {
    flex-direction: column;
  }

}

.image-side img {
  width: 100%;
}

.form-side .links {
  margin-bottom: 15px;
}

.form-side .links a {
  text-decoration: none;
  color: var(--secondary-blue);
  font-weight: 600;
  text-transform: uppercase;
}

.form-side .links a span {
  color: #838383;
}

.form-side button {
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  background-color: #90b81c;
  color: #fff;
  cursor: pointer;

}

.form-side button:hover {
  background-color: #4ba4dc;
  color: #fff;
}

.form-side p {
  color: #aca9a9;
  font-size: 13px;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 30px;
}

/* ====== Formulaire ====== */

.form-element {
  flex: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-element .span {
  color: black;
  font-size: 14px;
}

.form-element .span a {
  color: var(--accent-green);
  text-decoration: none;
}

.form-element .span a:hover {
  text-decoration: underline;
}

.group-form-input {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.group-form-input label {
  font-size: 14px;
}



/* ====== Infos ====== */
.infos {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ====== Info Block ====== */
.info-block {
  /* background-color: #f3f3f3; */
  background-color: #fff;
  padding: 24px;
  border-radius: 10px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: rgba(86, 76, 93, 0.1) 0px 16px 32px;
  border: 1px solid rgb(228, 228, 228);


}

.info-block:hover {
  transform: translateY(-1px);
  background-color: white;
  box-shadow: rgba(86, 76, 93, 0.1) 0px 0px 0px;

}

.info-block .title {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.info-block .title i {
  font-size: 24px;
  color: #4ba4dc;
}

.info-block h2 {
  font-size: 18px;
  margin: 0;
  font-weight: 400;
}

.toggle-content {
  color: #333;
  font-size: 14px;
  line-height: 24px;
}

.arrow-icon {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: var(--accent-green);
  transition: transform 0.3s ease;
}

.info-block.open .arrow-icon {
  transform: rotate(180deg);
}

/* ====== Réseaux sociaux ====== */
.social-media {
  display: flex;
  gap: 8px;
}

.social-media a {
  font-size: 18px;
  color: #ffa500;
  transition: color 0.3s ease;
}

.social-media a:hover {
  color: #4ba4dc;
}

/* services style */

@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }
}


/* banner */
.banner {
  position: relative;
  background-image: url(/img/bg-banner.jpg);
  background-size: cover;
  background-position: center;
  min-height: 300px;
  color: #fff;
  opacity: 100%;

}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #151e3c;
  z-index: 1;
  opacity: 75%;
  height: 100%;
}

.banner .content {
  position: relative;
  z-index: 2;
}

.banner .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 55px;
  gap: 20px;
  text-align: center;
}

.banner .content h1 {
  font-size: 40px;
  color: #90b81c;
  text-transform: uppercase;
}

.banner .content p {
  font-size: 17px;
  font-weight: 100;
}

.banner .content a {
  text-decoration: none;
  color: #fff;
  padding: 10px 20px;
  border: #ccc 1px solid;
  border-radius: 7px;
  transition: .5s;
}

.banner .content a:hover {
  background-color: #fff;
  color: #151e3c;
}

/* fin banner */

@media (max-width: 768px) {
  .banner {
    width: 100%;
    min-height: 300px;
  }

  .enssenmble {
    flex-direction: column;
  }

  .box:first-child {
    border-top-left-radius: 20px;

  }

  .box:last-child {
    border-bottom-right-radius: 20px;
  }

}



/* enssemble */

.enssenmble {
  display: flex;
  width: 100%;
}

.enssenmble .line {
  width: 4px;
  height: 1px;
}

.enssenmble .box {
  padding: 30px 30px;
  background: #151e3c;
  box-shadow: 0 16px 32px rgba(86, 76, 93, .1);
  flex: 1;
}

.box:first-child {
  border-top-left-radius: 20px;

}

.box:last-child {
  border-bottom-right-radius: 20px;
}


.enssenmble .icon i {
  font-size: 30px;
  align-items: center;
  color: #ffa500;
  text-align: center;
  margin-bottom: 7px;
}

.box h4 {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 7px;
}

.box p {
  font-size: 15px;
  font-weight: 200;
  color: #fff;
}



/* services style */

.services-container {
  display: flex;
  gap: 40px;
}

.services-container .left-side {
  flex: 1;
}

.services-container .left-side ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-container .left-side ul li {
  display: flex;
  gap: 10px;
}

.services-container .left-side ul li img {
  width: 20px;
}

.services-container .left-side h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 20px;
}

.services-container .left-side p {
  margin-top: 20px;
  font-weight: 300;
}

.services-container .left-side hr,
.services-container .right-side hr {
  width: 60px;
  color: #ccc;
}


.services-container .right-side h3 {
  font-size: 30px;
  font-weight: 400;
  margin-bottom: 20px;
  color: #ffa500;
}

.services-container .right-side p {
  margin-top: 20px;
  font-weight: 300;
  color: #fff;
}

.services-container .left-side .img-container,
.services-container .right-side .img-container {
  position: relative;
  display: flex;
  z-index: 2;
}

.services-container .right-side .img-container::after,
.services-container .left-side .img-container::after {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  z-index: -1;
}

.services-container .right-side .img-container::after {
  border: 1px solid rgb(213, 213, 213);
}

.services-container .left-side .img-container::after {
  border: 1px solid rgb(255, 255, 255);
  z-index: 3;
}


.services-container .left-side img,
.services-container .right-side img {
  width: 100%;
  border-radius: 10px;
  position: relative;
}

.services-container .right-side {
  flex: 1;

}

.wrapper-service {
  width: 100%;
}

.card-area {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.card-overlay {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.5);
  flex: 1;
}

.card-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.5s ease;
}

.overlay-avantage {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to bottom, transparent, rgba(21, 30, 60, 1) 90%);
  color: #fff;
  opacity: 1;
  /* Garder l'opacité à 0 pour les autres éléments */
  display: flex;
  align-items: flex-end;
  padding: 30px;
  box-sizing: border-box;
}

.overlay-content {
  visibility: visible;
  gap: 15px;
  /* Affiche toujours le titre et le texte */
}

.box_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.box_icon img {
  width: 50px;
  height: 50px;
}

.overlay-content .box_icon {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  background-color: #151e3c;

}

.overlay-content h3 {
  color: #90b81c;
  font-weight: bold;
  margin-bottom: 10px;
}

.overlay-content p {
  display: none;
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.overlay-content .btn-white {
  display: none;
}

.card-overlay:hover img {
  transform: scale(1.2);
}

.card-overlay:hover .overlay-avantage .btn-white {
  display: block;
}

.card-overlay:hover .overlay-avantage .overlay-content p {
  display: block;
}

.card-overlay:hover .overlay-avantage {
  background: linear-gradient(to bottom, transparent, rgba(21, 30, 60, 1) 70%);
}


/* .card-overlay:hover .overlay-avantage {
    opacity: 1; 
  } */

/* fin services style */


@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }

  .services-container-reverse {
    flex-direction: column-reverse !important;
  }

  .card-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

}

@media screen and (max-width: 768px) {
  .services-container {
    flex-direction: column;
  }
}


.arrow-animated {
  animation-duration: 2s;
  animation-name: arrow-bouncing;
  animation-iteration-count: infinite;
}

@keyframes arrow-bouncing {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}


/* steps signup */

.steps-signup {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.next-prev {
  display: flex;
  gap: 6px;
  margin-top: 15px;
}

.steps-signup li {
  list-style: none;
  width: 80px;
  height: 80px;
  border: 2px solid #4ba4dc;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.steps-signup li::after {
  content: "";
  position: absolute;
  height: 0%;
  width: 100%;
  background-color: var(--secondary-blue);
  border-radius: 100px;
  top: 0;
  left: 0;
  transition: .3s;
  z-index: -1;
}

.steps-signup li:hover::after {
  height: 100%;
}

.steps-signup li:hover .icon {
  color: white;
}


.steps-signup li .icon {
  color: var(--primary-blue);
  font-size: 25px;
  transition: .5s;
}

.steps-signup .line-li {
  flex: 1;
  height: 2px;
  width: 100%;
  border-radius: 0%;
  background-color: rgb(219, 219, 219);
  border: none;
}

.box-checkbox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.box-checkbox p {
  font-size: 15px;
  font-weight: 300;
  color: black;
}

.box-checkbox p span {
  color: var(--primary-blue);
  font-weight: 600;
}

.check-input {
  display: flex;
  gap: 5px;
  align-items: center;
}

.check-input a {
  font-size: 13px;
  color: rgb(130, 130, 130);
  cursor: pointer;
}


/* loading screen style */

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #151e3c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  border: 6px solid #90b81c;
  border-top: 6px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-top: 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.main-content {
  display: none;
  padding: 40px;
  text-align: center;
}

.loading-screen img {
  width: 200px;
}

.image_conversion_currency {

  flex: 1;
}

.image_conversion_currency img {
  width: 100%;
  border-radius: 20px;
}

.currency_container {
  display: flex;
  gap: 30px;
  width: 100%;
}


.form-currency {
  padding: 31px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  width: 100%;
  flex: 1;
}

.form-currency h2 {
  text-align: start;
}



.form-currency .currency_input_group {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.form-currency .currency_input {
  display: flex;
  gap: 10px;
}

.form-currency .currency_input input {
  width: 100%;
}

@media only screen and (max-width: 1000px) {
  .currency_container {
    flex-direction: column;
  }
}