/* ========== CSS VARIABLES ========== */
:root {
  /* Colors */
  --primary: #0071c2;
  --primary-dark: #005fa3;
  --secondary: #ff5a5f;
  --light: #f5f6f7;
  --dark: #1a1a1a;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  
  /* Design Tokens */
  --border-radius: 8px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

/* ========== GLOBAL STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

label.required::before {
  content: "* ";
  font-size: 1.5em;
  color: red;
}

html, body {
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--light);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
/* Add padding-top to body to account for fixed navbar height */
body {
  padding-top: 45px; /* Adjust this value based on your navbar's actual height (e.g., inspect in browser) */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1 0 auto; /* stretch main to fill space */
}

/* when menu is open, lift the navbar above the overlay */
body.menu-open .navbar {
  z-index: 3000; /* higher than .mobile-menu-overlay (2000) */
}

/* when open, float the same button at the overlay corner */
body.menu-open .navbar-toggler {
  position: fixed;
  top: 16px;
  right: 16px;
  transform: none;   /* cancel translateY(-50%) */
  z-index: 3100;     /* above everything */
}
/* Center the button properly */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
/* ========== NAVIGATION STYLES ========== */

/* ----- Navbar Container ----- */
.navbar {
  background:  rgba(255, 255, 255, 0.97);
  box-shadow: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: transform 0.4s ease;
  height: 45px;
  display: flex;
  align-items: center; /* Vertically center content inside navbar */
  margin-bottom: 0 !important;
}
/* Navbar as 3-column flex: logo - nav - icons */
.navbar .container-fluid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
#desktopNav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.card, .card-body {
  position: relative;
  z-index: 1; /* stays behind navbar */
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-icons-container {
  position: absolute;
  /* right: 60px; */
  /* right: 56px; */
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1rem;
}

/* ----- Navbar Brand ----- */
.navbar-brand {
  /* font-weight: bold; */
  font-size: 1rem;
  color: var(--dark); /* Dark text for visibility on white background */
  display: flex;
  align-items: center;
  gap: 0.2rem;
  transition: var(--transition);
}
.navbar-brand img {
  display: block;
  height: 28px;          /* tweak if needed */
  width: auto;
}

.navbar-brand:hover {
  color: var(--primary);
}

.logo-large {
  width: 80px; /* adjust as needed */
  height: 80px; /* adjust as needed */
}


/* ----- Navigation Links ----- */
.nav-link {
  font-weight: 500;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  position: relative;
  border-radius: var(--border-radius);
}

.nav-link:hover, 
.nav-link.active {
  color: var(--primary);
  background-color: rgba(0, 113, 194, 0.1);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 80%;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transform: translateX(-50%);
}

/* ----- Icon Buttons & Dropdowns ----- */
.icon-btn {
  background: transparent;
  border: none;
  outline: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.icon-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.icon-btn i {
  font-size: 1.2rem;
  color: var(--dark); /* Dark icons for visibility on white */
}

.icon-btn:hover i {
  color: var(--primary);
}

.icon-dropdown {
  position: relative;
}

/* Dropdown Menu change the drop down direction */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  min-width: 150px;
  border: none;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* highlight active language */
.dropdown-menu .active-lang {
  font-weight: bold;
  color: var(--primary);
}

/* .dropdown-menu .active-lang::after {
  content: " ✓";
  font-size: 0.9em;
  color: var(--primary);
} */

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  color: var(--dark);
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(0, 113, 194, 0.1);
  color: var(--primary);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
}

/* ----- Mobile Menu ----- */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-color: white;
  z-index: 2000;
  padding: 1.5rem;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.6s ease;
  opacity: 0;
  display: flex;
  flex-direction: column;
}
/* .no-scroll {
  overflow: hidden;
  height: 100vh;
} */
.no-scroll {
  overflow-y: hidden;  /* disable vertical scroll */
  /* overflow-x: hidden;  still prevent horizontal overflow */
}

.mobile-menu-overlay.active {
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.5s ease;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* padding-bottom: 1rem; */
  border-bottom: 1px solid var(--light-gray);
  margin-bottom: 1.5rem;
  text-decoration: none; /* remove underline */
  flex-shrink: 0; /* prevent shrinking */
}
.mobile-menu-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* space between logo and text */
  font-size: 1rem; /* match your desktop navbar brand size */
  /* font-weight: bold; */
  text-decoration: none;
  color: var(--dark);
}

.mobile-menu-content {
  flex-grow: 1;
  overflow-y: auto;
}

.mobile-menu-nav {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.mobile-menu-nav .nav-item {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, opacity 0.3s ease; /* slightly faster on close */
}

.mobile-menu-nav .nav-link {
  padding: 0.2rem 0;
  font-size: 1rem;
  /* font-weight: bold; */
  border-bottom: 1px solid var(--light-gray);
}
/* Override previous settings about mobile menu */
.mobile-menu-nav,
.mobile-menu-nav li,
.mobile-menu-nav .nav-link {
  border: none;
  box-shadow: none;
  background: none;
  border-bottom: none; /* Remove bottom border */
  margin-bottom: 0.1rem; /* Add margin for spacing */
}

.mobile-close-btn {
  font-size: 1.2rem;
  background: none;
  border: none;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  position: absolute;
  top: 16px;      /* place near top */
  right: 16px;    /* place near right edge */
  transform: none; /* remove vertical centering */
}

.mobile-close-btn:hover {
  color: var(--primary);
  background-color: rgba(0, 0, 0, 0.05);
}

/* ----- Hamburger Icon ----- */
.hamburger-icon {
  position: relative;
  display: block;
  width: 18px;
  height: 12px;
}

.hamburger-icon::before,
.hamburger-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgb(0, 0, 0);
  transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
}

.hamburger-icon::before {
  top: 0;
}

.hamburger-icon::after {
  bottom: 0;
}
.navbar-toggler {
    border: none;
    width: 24px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    box-shadow: none !important;
    position: absolute;
    right: 16px;
    top: 50%; /* same offset as close button */
    transform: translateY(-50%);
    z-index: 1100; /* ensure on top of overlay */
  }

.navbar-toggler:hover {
  background-color:  white !important;
}

.navbar-toggler.active .hamburger-icon::before {
  top: 5px;
  transform: rotate(45deg);
}

.navbar-toggler.active .hamburger-icon::after {
  bottom: 5px;
  transform: rotate(-45deg);
}

/* ===== Mobile & Tablet Adjustments (≤ 991.98px) ===== */
@media (max-width: 991.98px) {
  .city-section {
    height: 100dvh;               /* dynamic viewport height (fixes iOS bars) */
    background-attachment: scroll; /* no jank on mobile */
    background-size: contain;      /* show full image instead of zooming */
    background-repeat: no-repeat;
    background-position: center top;
  }

  .city-section .overlay {
    padding: 1rem;
    max-width: 90%;
  }

  .city-section h1 { font-size: clamp(1.5rem, 4vw, 2rem); }
  .city-section p { font-size: clamp(0.9rem, 2.5vw, 1rem); }
  .city-btn {
    padding: 0.5rem 1.2rem;
    font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  }

  /* Navigation cleanup */
  #desktopNav { display: none; }
  .navbar .container { position: relative; }
  .d-flex.justify-content-center.flex-wrap {
    flex-direction: column;
    align-items: center;
  }
  .btn-hero-option {
    width: 100%;
    max-width: 350px;
  }
  .desktop-telephone { display: none; }
}

/* ===== Extra Small Phones (≤ 600px) ===== */
@media (max-width: 600px) {
  .city-section .overlay {
    padding: 0.8rem;
  }
}
/* ===== Desktop Styles (≥ 992px) ===== */
@media (min-width: 992px) {
  .navbar-nav {
    gap: 1.5rem; /* spacing between nav items */
  }

  .nav-item {
    position: relative; /* keeps dropdowns/tooltips positioned correctly */
  }

  body {
    padding-bottom: 60px; /* consistent spacing on larger screens */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
}


/* ========== HERO SECTION ========== */

/* ========== HERO SECTION FIXES FOR MOBILE ========== */
.hero-header {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 100svh;          /* full viewport height on mobile-friendly browsers */
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
  padding: 0;              /* remove extra padding */
  margin-top: 0;           /* remove negative margin */
}

/* Hero overlay dark layer */
.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* darkness level */
  z-index: 0;
}

/* Container inside hero */
.hero-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 10px;      /* balanced top/bottom padding */
  padding-bottom: 40px; /* reduce extra space */
}

/* Back button adjustment */
#backButton {
  margin-top: 20px;
}

.hero-content {
  margin: 0 auto;
  text-align: center;
}

.btn-hero {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s;
  display: inline-block;
}

.btn-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ===== Mobile-specific fixes ===== */
@media (max-width: 576px) {
  html, body {
    height: 100%;           /* ensures hero fills viewport */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
  }

  .hero-header {
    height: 100dvh;         /* dynamic viewport height for mobile */
    min-height: auto;
  }

  .hero-header .container {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #backButton {
    margin-top: 15px;
  }
}

/* ========== FEATURES SECTION ========== */
.features {
  padding: 5rem 0;
}

.feature-card {
  transition: all 0.3s;
  height: 100%;
  border-radius: var(--border-radius);
  overflow: hidden;
  border: none;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(0, 113, 194, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.feature-icon i {
  font-size: 2rem;
  color: var(--primary);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  background-color: rgba(0, 113, 194, 0.05);
  padding: 5rem 0;
}

.testimonial-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  height: 100%;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 5rem;
  color: rgba(0, 113, 194, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

/* ========== FOOTER SECTION ========== */
.footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
  margin-bottom: 0;
  padding-bottom: 0;
  flex-shrink: 0; /* prevent footer from shrinking */
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transition: var(--transition);
  margin-right: 10px;
}

.social-links a i {
  color: white;
  transition: color 0.3s ease;
}

/* Facebook hover */
.social-links a[href*="facebook"]:hover i {
  color: #1877F2; /* Facebook blue */
}

/* Instagram hover */
.social-links a[href*="instagram"]:hover i {
  color: #E4405F; /* Instagram gradient pink */
}

/* TikTok hover */
.social-links a[href*="tiktok"]:hover i {
  color: #69C9D0; /* TikTok cyan */
}
/* 
.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
} */

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.thank-you-hero {
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 30px;
}

.thank-you-content {
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

/* ========== THANK YOU PAGE BUTTON STYLES ==========
.btn-hero-option {
  display: block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-decoration: none;
  color: white !important;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  min-width: 280px;
  animation: float 3s ease-in-out infinite;
}

.btn-hero-option:nth-child(2) {
  animation-delay: 0.5s;
}

.btn-hero-option:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

.btn-hero-option:hover .btn-hero-option-content i,
.btn-hero-option:hover .btn-hero-option-content h4,
.btn-hero-option:hover .btn-hero-option-content p {
  color: var(--primary);
}

.btn-hero-option-content {
  text-align: center;
}

.btn-hero-option-content i {
  color: white;
  margin-bottom: 1rem;
}

.btn-hero-option-content h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.btn-hero-option-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.95rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Container for the option buttons */
/* .d-flex.justify-content-center.flex-wrap {
  gap: 2rem;
  margin: 3rem 0;
} */
 /* ========== THANK YOU PAGE BUTTON STYLES ========== */
.d-flex.justify-content-center.flex-wrap {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.btn-hero-option {
  display: flex;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-decoration: none;
  color: white !important;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  width: 350px; /* Fixed width for equal size */
  min-height: 250px; /* Fixed minimum height for equal size */
  animation: float 3s ease-in-out infinite;
  align-items: center;
  justify-content: center;
}

.btn-hero-option:nth-child(2) {
  animation-delay: 0.5s;
}

.btn-hero-option:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
  color: var(--primary) !important;
}

.btn-hero-option:hover .btn-hero-option-content i,
.btn-hero-option:hover .btn-hero-option-content h4,
.btn-hero-option:hover .btn-hero-option-content p {
  color: var(--primary);
}

.btn-hero-option-content {
  text-align: center;
  transition: color 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  width: 100%; /* Ensure it takes full width */
  align-items: center; /* Added for horizontal centering */
}

.btn-hero-option-content i {
  color: white;
  margin-bottom: 1rem;
  transition: color 0.4s ease;
}

.btn-hero-option-content h4 {
  color: white;
  font-weight: 600;
  margin-bottom: 0.8rem;
  transition: color 0.4s ease;
  width: 100%; /* Ensure full width for proper text centering */
}

.btn-hero-option-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
  font-size: 0.95rem;
  transition: color 0.4s ease;
  flex-grow: 1; /* Makes paragraphs take equal space */
  width: 100%; /* Ensure full width for proper text centering */
  display: flex;
  align-items: center; /* Vertically center text */
  justify-content: center; /* Horizontally center text */
  text-align: center; /* Ensure text alignment */
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== COOKIE CONSENT STYLES ========== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 1rem 0;
  z-index: 9999; /* Lower than modal z-index */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-consent-banner a {
  color: #80c0ff;
  text-decoration: underline;
}

/* Adjust body padding to account for fixed cookie banner */
body {
  padding-top: 45px;
  padding-bottom: 80px; /* Add space for cookie banner */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 60px; /* Smaller space on larger screens */
  }
}

/* Ensure modal displays properly */
.modal {
  display: none;
  position: fixed;
  z-index: 10000; /* Ensure modal has higher z-index than cookie banner */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: 0;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100vw;
  height: 100vh;
  background-color: #000;

}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

/* Ensure body doesn't scroll when modal is open */
body.modal-open {
  overflow: hidden;
  padding-right: 0 !important;
}
/* When modal is open, hide the cookie banner */
body.modal-open .cookie-consent-banner {
  display: none !important;
}



/* ========== City Section STYLES ========== */

.city-section {
  position: relative;
  height: 100vh;
  background-size: cover;   /* immersive effect */
  background-position: center;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  transition: background-position 0.3s ease-in-out;
}

.city-section .overlay {
  background: rgba(0, 0, 0, 0.4); /* dark overlay for text readability */
  padding: 2rem;
  border-radius: 1rem;
  max-width: 700px;
}

.city-section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.city-section p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.city-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #0071e3;
  color: #fff;
  font-weight: 500;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}
.city-btn:hover { background: #005bb5; transform: translateY(-2px); }
