.bg_primary-color {
  background-color: #ffffff;
}
.primary-color {
  color: #ffffff;
}
.bg_secondary-color {
  background-color: #2a3439;
}

.text-primary, 
.nav-tabs .nav-link {
  color: #2facc9 !important; /* Non-active tab and primary text color */
}

/* Active tab styling */
.nav-tabs .nav-link.active {
  color: #000 !important; /* Active tab color (black) */
}

/* Optional: Active tab hover/focus states if needed */
.nav-tabs .nav-link.active:hover, 
.nav-tabs .nav-link.active:focus {
  color: #000 !important; /* Keep active tab black on hover or focus */
}

.tab-pane {
  display: none !important;
}

.tab-pane.active.show {
  display: block !important;
}


.secondary-color {
  color: #2a3439;
}
.custom-button.btn {
  background-color: #fff;
  color: #db5461;
  border: none;
  border-radius: 20px;
}

.btn-primary.btn {
  background-color: #db5461;
  color: white;
  border: none;
  border-radius: 20px;
}

.primary-text {
  color: #fff;
  font-weight: bold;
}

.secondary-text {
  color: #db5461;
}

.btn-primary:hover,
.custom-button:hover,
.custom-button-secondary:hover {
  background-color: #2a3439;
  color: white;
}

section {
  width: 100%;
  padding: 60px 20px;
}

html,
body {
  scroll-behavior: smooth;
  font-family: "Poppins", sans-serif;
  font-weight: 300; /* Light by default */
}

@media (max-width: 768px) {
  .hero-section {
    padding: 30px;
  }
}

#account {
  margin-top: 100px;
  margin-bottom: 100px;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  background-color: white;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 1000;
}

.navbar.scrolled {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Logo styles */
.sign-logo {
  max-width: 100%; /* Ensure logo is responsive */
  height: auto; /* Keep aspect ratio */
  margin-bottom: 20px; /* Add space between logo and text */
}

/* Text styles */
.sign-text {
  line-height: 1.5;
  margin-top: 10px;
  font-weight: normal;
  color: white; 
}

.logo-img {
  height: 5vw;
  max-height: 50px;
  width: auto;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  /* margin: 0 50px; */
}
.nav-links a {
  text-decoration: none;
  color: #2facc9 !important;
  font-weight: normal;
  font-size: 14px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2a3439 !important;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.nav-links li {
  text-transform: uppercase;
}
/* Hamburger Button (Mobile Only) */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.hamburger div {
  background-color: #2facc9;
  height: 3px;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 5px; /* Optional for rounded bars */
}

.hamburger.open div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger div:nth-child(2) {
  width: 120%;
}
.hamburger.open div:nth-child(2) {
  opacity: 0;
}

.hamburger.open div:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 90%;
  height: 100%;
  background: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
}

.mobile-menu.open {
  transform: translateX(100);
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}

.mobile-menu li {
  margin: 20px 0;
}

.mobile-nav a {
  text-decoration: none;
  color: #2facc9 !important;
  font-weight: normal;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #2a3439 !important;
}

/* Hide Hamburger Button on Desktop */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
  .hamburger {
    display: none;
  }
}

.hero-section {
  position: relative;
  height: 85vh;
  background-image: url(/assets/photo_acceuil-e7a3fbdbbb0b915fba14c7d034ad8efe07e49f87dd2609bea3fd8812a5892f1b.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 80px;
}

/* Hero content */
.hero-content {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: left;
  max-width: 800px;
}

.about-section {
  position: relative;
  min-height: 80vh;
  background-image: url(/assets/photo_rencontre-29dd4876d81f3b70f11ee7d5f44ee2313dd1f8722fb476c81d16d87599386546.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.about-content {
  color: #db5461;
  text-align: left;
  max-width: 500px;
  margin-left: 10vw;
}

.about-corner-img {
  background-image: url(/assets/main_bleu-e4aad7ab15ea223030aa36ac20c98985cca2f4921d7c9c6f5065c7d8e32cfc19.png);
  position: fixed;
  position: absolute;
  bottom: -8%;
  left: -11%;
  height: 50%;
  width: 25%;
  background-size: cover;
  background-position: center;
  z-index: 100;
  transform: rotate(180deg);
}

.accordion {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px;
}

.accordion-item {
  background-color: transparent;
  border: none;
}

.question {
  font-size: 18px;
  font-weight: bold;
  padding: 10px;
  color: #2facc9;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.icon {
  font-size: 30px;
  font-weight: bold;
}

.answer {
  padding: 10px;
  font-size: 16px;
  color: #2a3439;
  margin-top: 10px;
}

.accordion-item hr {
  border: 1px solid #2facc9;
}

.services-section {
  position: relative;
  min-height: 80vh;
  background-image: url(/assets/photo_rencontre_2-d785d590fee9edc7b77c09a4ff3e111d8d8a32136d2fb822ff6fa0b4d4e3fcf7.jpg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(219, 84, 97, 0.7);
  z-index: 1;
}

.services-section .section-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  color: #fff;
}


.icons-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

.icon-item {
  flex: 1;
  text-align: center;
}

.service-icon {
  height: 50px;
  margin-bottom: 10px;
}

.icon-item p {
  font-size: 1rem;
  margin-top: 10px;
  color: #fff;
}

.button-container {
  z-index: 2;
}

.steps-section {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.steps-corner-img {
  background-image: url(/assets/main_bleu-e4aad7ab15ea223030aa36ac20c98985cca2f4921d7c9c6f5065c7d8e32cfc19.png);
  position: fixed;
  position: absolute;
  top: -14%;
  right: -6%;
  height: 50%;
  width: 25%;
  background-size: cover;
  background-position: center;
  z-index: 100;
}

.steps-title {
  margin-bottom: 100px;
  color: #2facc9;
}

.custom-button-secondary {
  background-color: #2facc9;
  color: white;
  border: none;
  border-radius: 20px;
}

.step-title {
  color: #db5461;
}

.step-icon {
  height: 50px;
  margin-bottom: 10px;
}

.step-column-left {
  border-right: 1px solid #2facc9;
}

.testimonials-column-left {
  border-right: 1px solid white;
}

.step {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.step-number {
  width: 30px;
  height: 30px;
  background-color: transparent;
  color: #db5461;
  border: 1px solid #db5461;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px;
  font-size: 22px;
  padding: 10px;
}

.step-description {
  text-align: justify;
}

.step-content {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-corner-img {
  background-image: url(/assets/mains-569bf4438652656c8ee87de7659d2d1219fd1d5fbbd3da58fce02a348c50f6d5.png);
  position: absolute;
  top: -20%;
  left: -10%;
  height: 100%;
  width: 40%;
  background-size: contain;
  background-position: center;
  z-index: 100;
  transform: rotate(129deg);
  background-repeat: no-repeat;
}

.testimonials-section {
  position: relative;
  width: 100%;
  background-image: url(/assets/photo_temoignage-cccf7c2ce4dd7bda8454f5d8b2b0e6f4a7191ead4c62229ad2c4a8a3b19771af.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  text-align: center;
  background-blend-mode: multiply;
  padding: 6rem 2rem;
}

.testimonials-section::before {
  width: 100%;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 172, 201, 0.3);
  z-index: 1;
}

.testimonials-section > * {
  position: relative;
  z-index: 2;
}

.testimonials-title {
  color: white;
  margin-bottom: 100px;
}

.testimonials-icon {
  height: 25px;
  margin-bottom: 10px;
}

.testimonial {
  margin: 0 1.5rem;
}

.footer {
  background-color: #db5461;
  color: white;
}

.link {
  color: white;
  text-decoration: none;
}

.link:hover {
  color: #2a3439;
  text-decoration: none;
  cursor: pointer;
}

/* Alert style for error messages */
.alert {
  position: absolute;
  top: 15%;
  right: 2%;
  width: 30%; /* Adjust width to fit the screen */
  padding: 20px;
  background-color: #db5461;
  color: white; /* White text */
  border: none;
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  font-size: 1rem; /* Adjust font size for better readability */
  z-index: 1000;
}

/* Style for the error messages in the list */
.notice ul {
  padding-left: 20px; /* Add padding for the list */
  list-style-type: none; /* Remove the bullet points */
}

/* Style for each individual error message */
.notice li {
  margin-bottom: 10px; /* Space between messages */
}

/* Alert style for error messages */
.notice {
  position: absolute;
  top: 15%;
  right: 2%;
  width: 30%; /* Adjust width to fit the screen */
  padding: 20px;
  background-color: #54db95; /* Pink background */
  color: white; /* White text */
  border: none;
  border-radius: 20px; /* Rounded corners */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow */
  font-size: 1rem; /* Adjust font size for better readability */
  z-index: 1000;
}

/* Style for the error messages in the list */
.alert ul {
  padding-left: 20px; /* Add padding for the list */
  list-style-type: none; /* Remove the bullet points */
}

/* Style for each individual error message */
.alert li {
  margin-bottom: 10px; /* Space between messages */
}

.login-container,
.signup-container {
  display: flex;
  height: 100vh; /* Ensures the container takes full viewport height */
  flex-wrap: wrap; /* Allow children to wrap when needed */
}

.image-half {
  flex: 1 1 50%;
  background: linear-gradient(
    to bottom right,
    #db5461,
    #2facc9
  ); /* Gradient between two colors */
  /* height: 100%; */
  mix-blend-mode: multiply; /* Apply multiply blend mode */
}

.form-half {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: rgba(
    255,
    255,
    255,
    0.8
  ); /* Semi-transparent white background for contrast */
  mix-blend-mode: multiply; /* Optional: Apply multiply blend to form if you want blending */
  border-radius: 8px; /* Optional: rounded corners */
}

.form-container {
  color: #2a3439;
  width: 100%;
  max-width: 400px;
  background-color: transparent;
}

/* Form control styling */
.form-control {
  background-color: #ffffff; /* White background for better contrast */
  border: 1px solid #ced4da; /* Light gray border */
  border-radius: 0.375rem; /* Rounded corners */
  color: #495057; /* Dark text color for contrast */
  font-size: 1rem; /* Standard font size */
  padding: 10px 15px; /* Adjust padding to make inputs easier to click */
  box-shadow: none; /* Remove any default shadow to keep it clean */
  transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Smooth transition for focus effect */
}

/* Focused state for form control */
.form-control:focus {
  border-color: #2facc9; /* Border color on focus */
  box-shadow: 0 0 0 0.2rem rgba(47, 172, 201, 0.25); /* Subtle shadow on focus */
  outline: none; /* Remove default outline */
}
/* Custom checkbox styling */
.form-check-input {
  width: 1.25rem; /* Set the size of the checkbox */
  height: 1.25rem; /* Set the height of the checkbox */
  border: 1px solid #ced4da; /* Light gray border */
  border-radius: 0.25rem; /* Slightly rounded corners */
  background-color: #ffffff; /* White background */
  transition: border-color 0.2s ease, background-color 0.2s ease; /* Smooth transition on state change */
}

/* Checkbox focus state */
.form-check-input:focus {
  border-color: #2facc9; /* Border color on focus */
  background-color: #e6f7ff; /* Light background color when focused */
  box-shadow: 0 0 0 0.2rem rgba(47, 172, 201, 0.25); /* Subtle shadow for focus */
}

/* Checked state */
.form-check-input:checked {
  background-color: #2facc9; /* Background color when checked */
  border-color: #2facc9; /* Border color when checked */
}

/* Label for checkbox */
.form-check-label {
  color: #495057; /* Dark color for label text */
  font-size: 1rem; /* Standard font size for better readability */
}

/* Style for Devise links */
.devise-links a {
  color: #2facc9; /* Default text color */
  text-decoration: none; /* Remove underline */
  font-size: 1rem; /* Standard font size */
  font-weight: 500; /* Slightly bold for better readability */
  display: inline-block; /* Keep links in-line with spacing */
  margin-bottom: 10px; /* Spacing between links */
  transition: color 0.3s ease, background-color 0.3s ease; /* Smooth transition for hover */
}

/* Hover effect for links */
.devise-links a:hover {
  color: #db5461; /* Text color on hover */
}

/* Add spacing and margin around the links and buttons */
.devise-links {
  margin-top: 20px; /* Add space above the links */
}

@media (max-width: 992px) {
  .image-half {
    flex: 1 1 100%;
    padding: 10px;
    height: auto;
  }

  .form-half {
    flex: 1 1 100%;
    padding: 10px;
  }

  .about-corner-img,
  .steps-corner-img,
  .faq-corner-img {
    display: none;
  }

  .step-column-left {
    border: none;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .about-section {
    background-image: none;
  }
}

.back-button-container {
  margin-top: 20px; /* Add some space from the top */
  margin-left: 20px; /* Align it towards the left */
}

.back-button {
  font-size: 18px;
  text-decoration: none;
  color: #db5461;
}

.back-button:hover {
  text-decoration: underline; /* Optional: underline when hovered */
}

.back-button i {
  margin-right: 8px; /* Space between the arrow icon and text */
}

.second-navbar {
  position: fixed;
  top: 80px;
  width: 100%;
  background-color: rgb(131, 131, 131);
  z-index: 1000;
  height: auto;
}

.second-navbar .nav-link {
  display: inline-block;
  color: white; /* Text color set to white */
  text-decoration: none; /* Removes underline */
}

.second-navbar .row {
  display: flex; /* Ensures items are in a row */
  justify-content: flex-end; /* Aligns items to the right */
}

.second-navbar .ms-3 {
  margin-left: 1rem; /* Adds spacing between links */
}

.email-link {
  color: #2a3439;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.email-link:hover {
  color: #db5461;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}
