/* =========================================================
   1. VARIABLES & GLOBAL RESET
========================================================= */
:root {
  --green: #487307;
  --accent: #d47e18;
  --dark: #222;
  --light: #f4f4f4;
  --text: #444;

  /* Z-INDEX HIERARCHY (Strict Layering) */
  --z-back: 0;
  --z-content: 10;
  --z-header: 1000;
  /* Header stays on top of content */
  --z-mobile-menu: 999;
  /* Menu slides under header if needed, or sits just below */
  --z-floating-cta: 9990;
  --z-scroll-btn: 9995;
  --z-zoho-bot: 9999;
  --z-popup: 10000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lato', sans-serif;
}

body {
  background: #fff;
  color: var(--text);
  overflow-x: visible;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  transition: 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  /* width: 92%; */
  max-width: 1200px;
  margin: auto;
}

.section {
  padding: 20px 0;
}

/* ============================
   FINAL CENTERED H2 + SHIMMER
============================ */
.section h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 50px;

  position: relative;
  display: block;
  /* IMPORTANT FIX */
  width: fit-content;
  /* Keeps underline EXACTLY under text */
  margin-left: auto;
  /* Centers the heading */
  margin-right: auto;
  /* Centers the heading */

  padding-bottom: 12px;
}

/* Underline */
.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, #f2c21a, #ff7a00);
  border-radius: 4px;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.30, 1) 0.50s;
}

/* Reveal Animation */
.section.reveal.visible h2::after {
  width: 100%;
  animation: shimmer 2s ease-in-out 3s forwards;
}

/* ============================================================
   MOBILE: Animate underline from 0% → 50% and keep it centered
=============================================================== */
@media (max-width: 600px) {

  /* Initial underline (before reveal) */
  .section h2::after {
    width: 0% !important;
    /* Animation start */
    left: 50% !important;
    /* Start from center */
    transform: translateX(-50%);
    /* Perfect centering */
  }

  /* When section becomes visible → animate to 50% */
  .section.reveal.visible h2::after {
    width: 50% !important;
    /* Animation end */
    left: 0% !important;
    /* Keep centered */
    transform: translateX(-50%);
    justify-self: anchor-center;
  }
}


/* Shimmer */
@keyframes shimmer {
  0% {
    background: linear-gradient(90deg, #f2c21a, #ff7a00);
    transform: translateX(-10px);
    opacity: 0.7;
  }

  50% {
    background: linear-gradient(90deg, #ffae00, #ff7a00, #ffd66a);
    transform: translateX(0px);
    opacity: 1;
  }

  100% {
    background: linear-gradient(90deg, #f2c21a, #ff7a00);
    transform: translateX(0px);
    opacity: 1;
  }
}

/* =========================================
   POPUP TITLE UNDERLINE + SHIMMER
========================================= */
.popup-title {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

/* Underline (initial state) */
.popup-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #f2c21a, #ff7a00);
  border-radius: 2px;
  transition: width 1.4s cubic-bezier(0.25, 1, 0.30, 1) 0.3s;
}

/* Trigger animation when popup opens */
.popup-box.active .popup-title::after {
  width: 100%;
  animation: shimmer 2s ease-in-out 1.4s forwards;
}

/* =========================================================
   2. STICKY HEADER (FIXED MOBILE VIEW)
========================================================= */
.sticky-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--green);
  padding: 12px 0;
  z-index: var(--z-header);
  transition: all 0.25s ease-in-out;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.sticky-header.scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

/* Flex Container for Logo/Menu/CTA */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap;
}

.header .logo,
.sticky-header .logo {
  background-color: #fff;
  padding: 10px;
  height: 70px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

/* Desktop Menu - Visible on Desktop */
.desktop-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.desktop-menu a {
  position: relative;
  padding-bottom: 6px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.desktop-menu a:hover {
  color: #fffbd1;
  text-shadow: 0 0 8px rgba(255, 215, 100, 0.6);
}

.desktop-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ffe27a, #ffcb41);
  transform: translateX(-50%);
  transition: width 0.35s ease;
  border-radius: 2px;
}

.desktop-menu a:hover::after,
.desktop-menu a.active::after {
  width: 100%;
}

/* =========================================================
   Mobile Menu Toggle (Hamburger)
========================================================= */

.menu-toggle {
  display: none;
  /* Hidden by default on desktop */
  font-size: 26px !important;
  font-weight: 100 !important;
  color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle.active {
  transform: rotate(90deg);
  font-size: 45px !important;
  font-weight: 300 !important;
  opacity: 0.9;
}

/* =========================================================
   Mobile Menu Container + Animation
========================================================= */

.mobile-menu {
  display: none;
  /* Hidden by default */
  flex-direction: column;
  background: var(--green);
  padding: 15px 20px;
  position: absolute;
  top: 70px;
  /* adjust to header height */
  right: 0;
  width: 100%;
  opacity: 0;
  /* animation base */
  transform: translateY(-10px);
  pointer-events: none;
  /* stops clicking when closed */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* When menu is open */
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  margin-top: 12px;
}


/* =========================================================
   MOBILE MENU LINKS (With Icon Spacing)
========================================================= */

/* 1. The Link Container */
.mobile-menu a {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;

  /* FIX: Align Icon & Text with Flexbox */
  display: flex;
  align-items: center;
  gap: 15px;
  /* Adds the specific space you asked for */
}

/* 2. The Icon Styling */
.mobile-menu a i {
  width: 25px;
  /* Fixed width for alignment */
  text-align: center;
  color: #f2c21a;
  /* Gold color */
  font-size: 18px;
  transition: transform 0.3s ease;
}

/* 3. Hover Effect */
.mobile-menu a:hover {
  color: #f2c21a;
  /* Text turns gold */
  padding-left: 5px;
  /* Subtle slide effect */
}

.mobile-menu a:hover i {
  transform: scale(1.2);
  /* Icon pops */
  filter: drop-shadow(0 0 8px rgba(242, 194, 26, 0.5));
}

/* Glass Header CTA Button */
.glass-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(12px) saturate(180%);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
  animation: floatCapsule 4s ease-in-out infinite;
  transition: 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.glass-cta i {
  font-size: 20px;
  color: #ffba19;
  filter: drop-shadow(0 0 4px rgba(255, 163, 34, 0.8));
}

.glass-cta::after {
  content: "";
  position: absolute;
  height: 140%;
  width: 60%;
  top: -20%;
  left: -100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.45) 45%, transparent 100%);
  transform: skewX(-25deg);
}

.glass-cta:hover::after {
  animation: shineMove 2s ease-in-out infinite;
  opacity: 1;
}

.glass-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 28px rgba(255, 255, 255, 0.45);
}

/* =========================================================
   MOBILE HEADER SPECIFIC FIXES
   (Only applies when screen is smaller than 900px)
========================================================= */
@media (max-width: 900px) {
  .desktop-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  /* Show hamburger */

  /* Configure Mobile Menu Position */
  .mobile-menu {
    /* display: none; <--- JS toggles this to 'flex' when open */
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #ffffff;
    padding: 30px;
    z-index: var(--z-mobile-menu);
    overflow-y: auto;
    animation: menuFade 0.35s ease;
    gap: 25px;
  }

  .mobile-menu a {
    color: #000000;
    font-size: 22px;
    font-weight: 700;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }

  @keyframes menuFade {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 600px) {
  .sticky-header {
    padding: 6px 0 !important;
  }

  .logo {
    height: 34px !important;
  }

  .glass-cta {
    padding: 8px 12px;
    font-size: 15px;
    gap: 5px;
  }

  .glass-cta i {
    font-size: 14px !important;
  }

  .mobile-menu {
    top: 50px !important;
  }
}

@media (max-width: 600px) {
  .header-inner {
    gap: 10px !important;
    align-items: center !important;
    /* ← keeps CTA centered vertically */
    min-height: 50px !important;
    /* ← gives enough vertical space */
  }
}

/* =========================================================
   3. HERO SECTION (Glassmorphism Card)
========================================================= */
.hero {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  margin-top: 90px;
  display: flex;
  flex-direction: column;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- RIGHT SIDE: ENQUIRY FORM --- */
.hero-form-box {
  position: absolute;
  top: 7%;
  right: 4%;
  transform: translateY(-50%);
  background: #ffffff;
  padding: 20px 25px;
  max-width: 380px;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  /* REVERTED: Back to original z-index */
  z-index: var(--z-content);
  border: 2px solid #e9f5e1;
  text-align: center;
  /* Retained: Crucial for allowing internal dropdowns to open slightly */
  overflow: visible;
}

.hero-form-box img {
  justify-self: center;
  margin-bottom: 15px;
}

.hero-form-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* =========================================
   HERO FORM — H3 UNDERLINE + SHIMMER EFFECT
========================================= */
.hero-form-box h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  /* space for underline */
}

/* Underline (initial state) */
.hero-form-box h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0%;
  width: 0%;
  /* Start with no underline */
  height: 3px;
  background: linear-gradient(90deg, #f2c21a, #ff7a00);
  border-radius: 4px;
  transform: translateX(-50%);
  /* Keep underline centered */
  transition: width 1.4s cubic-bezier(0.25, 1, 0.30, 1) 0.3s;
}

/* When visible → animate fully */
.hero-form-box.visible h3::after {
  width: 100%;
  animation: shimmer 2s ease-in-out 1.4s forwards;
}


/* --- LEFT SIDE: GLASS OFFER CARD --- */
.hero-offer-card {
  position: absolute;
  top: 40%;
  left: 5%;

  /* GLASSMORPHISM STYLES */
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);

  padding: 25px;
  max-width: 360px;
  width: 100%;
  border-radius: 20px;
  z-index: var(--z-content);
  text-align: center;

  /* Animation */
  animation: glassFloat 6s ease-in-out infinite;
}

/* Floating Animation */
@keyframes glassFloat {
  0% {
    transform: translateY(-50%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  }

  50% {
    transform: translateY(calc(-50% - 12px));
    box-shadow: 0 20px 40px 0 rgba(31, 38, 135, 0.25);
  }

  100% {
    transform: translateY(-50%);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  }
}

/* Card Typography */
.card-tag {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #444;
  margin-bottom: 5px;
  font-weight: 700;
}

.card-title {
  font-size: 24px;
  font-weight: 900;
  color: #222;
  margin-bottom: 2px;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.card-sub {
  font-size: 15px;
  color: #333;
  margin-bottom: 2px;
  font-weight: 600;
}

.card-loc {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

/* Green Dashed Box Styling */
.offer-box-outer {
  background: var(--green);
  padding: 5px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.offer-box-inner {
  border: 1.5px dashed rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  padding: 10px;
  color: #fff;
}

.offer-box-inner h3 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.offer-box-inner p {
  font-size: 13px;
  margin: 0;
  color: #f1f1f1;
}

.small-note {
  font-size: 11px !important;
  opacity: 0.9;
  margin-top: 3px !important;
  display: block;
}

/* Bullet Points */
.offer-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-bullets li {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}

.offer-bullets li:last-child {
  margin-bottom: 0;
}

/* Price Section */
.card-price-sec {
  margin-top: 15px;
  margin-bottom: 15px;
}

.card-price-sec p {
  font-size: 13px;
  color: #444;
  margin-bottom: 2px;
  font-weight: 600;
}

.card-price-sec h2 {
  font-size: 26px;
  font-weight: 900;
  color: #111;
}

.card-price-sec span {
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

/* Button */
.offer-btn {
  background: var(--green);
  color: #fff;
  width: 100%;
  padding: 12px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(72, 115, 7, 0.3);
}

.offer-btn:hover {
  background: #3a5e05;
  transform: scale(1.05);
}

/* =========================================================
   RESPONSIVE HANDLING
========================================================= */

/* 1. TABLETS (Standard Scaling) */
@media (max-width: 1100px) {
  .hero-offer-card {
    left: 2%;
    scale: 0.9;
    transform-origin: left center;
  }

  .hero-form-box {
    right: 2%;
    transform: translateY(-50%) scale(0.9);
    transform-origin: right center;
  }
}

/* 2. MOBILE PORTRAIT (Vertical Phone) -> HIDE CARD */
@media (max-width: 900px) and (orientation: portrait) {
  .hero {
    display: block;
    height: auto;
    padding-bottom: 30px;
    background: #f4f4f4;
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: auto;
  }

  /* HIDE CARD IN PORTRAIT */
  .hero-offer-card {
    display: none !important;
  }

  /* Center Form */
  .hero-form-box {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    margin: 20px auto 10px;
    width: 90%;
    max-width: 400px;
    z-index: var(--z-content);
    /* Reverted to original z-index */
  }
}

/* =========================================================
   MOBILE VIEW (Portrait & Landscape)
   Ensures both Card and Form are visible and stacked
========================================================= */

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    /* Stack them vertically */
    align-items: center;
    height: auto;
    /* Let height grow to fit content */
    padding-bottom: 40px;
    background: #f4f4f4;
    overflow: visible;
    /* Ensure shadows/dropdowns don't clip */
  }

  .hero-video {
    position: relative;
    width: 100%;
    height: 320px;
    /* Fixed height for video background */
    object-fit: cover;
  }

  /* --- 1. OFFER CARD (Top) --- */
  .hero-offer-card {
    display: block !important;
    /* Force Visible */
    position: relative;
    top: auto;
    left: 3%;
    right: 3%;

    /* Move it up to overlap video slightly (Glass effect) */
    margin-top: -40px;
    margin-bottom: 0px;

    width: 92%;
    max-width: 400px;
    transform: none !important;
    /* Reset desktop transforms */
    animation: none;
    /* Disable floating on mobile to save battery */
  }

  /* --- 2. ENQUIRY FORM (Bottom) --- */
  .hero-form-box {
    display: block !important;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    transform: none !important;

    width: 92%;
    max-width: 400px;
    margin: 0 auto;
    z-index: var(--z-content);
    /* Reverted to original z-index */
  }
}

/* =========================================================
   4. FORM INPUTS & BUTTONS
========================================================= */
.hero-form-box form input[type="text"],
.hero-form-box form input[type="email"],
.popup-input,
#heroMobile,
#popupMobile {
  width: 100%;
  padding: 13px 14px;
  font-size: 15px;
  margin: 8px 0;
  border-radius: 10px;
  border: 1.8px solid #d8d8d8;
  outline: none;
  transition: 0.25s ease;
}

input:not(.error-field):focus {
  border-color: #6aa84f !important;
  background: rgba(240, 255, 240, 0.45) !important;
  box-shadow: 0 0 10px rgba(106, 168, 79, 0.35);
}

.hero-form-box button,
.popup-btn {
  width: 100%;
  background: #ffb700;
  color: #000;
  border: none;
  padding: 14px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 12px;
  transition: 0.3s ease;
}

.hero-form-box button:hover,
.popup-btn:hover {
  background: #ffc14f;
}

/* Error States */
.error-field {
  border: 2px solid #e63946 !important;
  background: rgba(255, 229, 229, 0.45) !important;
  backdrop-filter: blur(3px);
  border-radius: 10px !important;
  animation: errorPulse 0.4s ease-out;
}

.custom-input-error {
  font-size: 13px;
  font-weight: 700;
  margin-top: 6px;
  color: #e63946;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.12);
  animation: fadeInError 0.3s ease-in-out;
}

/* =========================================================
   5. PHONE INPUT (INTL-TEL-INPUT)
========================================================= */
/* INTL-TEL-INPUT FIXED SPACING */
.iti {
  width: 100%;
  position: static;
  display: block;
  margin: 8px 0;
  overflow: visible !important;
}

.iti__selected-flag {
  background: #fff !important;
  border-radius: 100px 0 0 100px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding-left: 10px !important;
  padding-right: 8px !important;
  /* balanced spacing */
  border-right: 1px solid #dcdcdc;

  width: 85px !important;
  z-index: 10;
}

.iti__flag {
  transform: scale(1.25);
  transform-origin: center;
  opacity: 1 !important;
}

.iti__selected-dial-code {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #333 !important;
  margin-left: 10px !important;
  /* perfect spacing */
}

/* FIX: Reduce input left padding */
#heroMobile,
#popupMobile {
  padding-left: 88px !important;
  /* <- new correct value */
  margin: 0 !important;
}

/* Desktop Dropdown - FIX: Removed width: 100% which conflicts with global positioning */
.iti__country-list {
  max-width: 330px;
  min-width: 280px;
  border-radius: 0 0 10px 10px;
  max-height: 220px;
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  background: #fff;
  z-index: 10005;
  margin-top: 4px;
  border: 1px solid #e0e0e0;
}

.iti__country {
  padding: 10px 12px;
  font-size: 14px !important;
  color: #111 !important;
  border-bottom: 1px solid #f4f4f4;
}

.iti__country:hover,
.iti__country.iti__highlight {
  background: #f2f2f2 !important;
  color: #000 !important;
}


/* =========================================================
   6. OVERVIEW & CARDS
========================================================= */
.overview-sub {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #444;
  margin-bottom: 35px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  justify-items: center;
  align-items: stretch;
  width: 100%;
  margin-top: 20px;
}

.overview-card {
  width: 100%;
  max-width: 260px;
  position: relative;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(180deg, #5f5f5f, #404040);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transition: 0.45s ease;
}

.overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.45) 75%);
  z-index: 1;
}

.overview-icon {
  position: absolute;
  top: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 38px;
  z-index: 3;
  background: linear-gradient(135deg, #fff9c8, #f2d27f, #d6a84c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
  transition: 0.35s ease;
}

.overview-card h3 {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 80%;
  z-index: 3;
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
}

.overview-card:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.38);
}

.overview-card:hover .overview-icon {
  transform: translateX(-50%) translateY(-6px) scale(1.1);
}

/* =========================================================
   7. AMENITIES (3D Flip)
========================================================= */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.amenity-card {
  perspective: 1200px;
  position: relative;
  transition: transform 0.3s ease;
  border-radius: 14px;
  transform-style: preserve-3d;
  /* --rx: 0deg;
  --ry: 0deg; */
  /* transform: rotateX(var(--rx)) rotateY(var(--ry)); */
}

.amenity-inner {
  position: relative;
  width: 100%;
  height: 170px;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
  border-radius: 14px;
}

/* .amenity-card:hover .amenity-inner {
  transform: rotateY(180deg);
}

.amenity-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
} */

.amenity-front,
.amenity-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 14px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.amenity-front {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.amenity-front i {
  font-size: 32px;
  color: #345c0d;
  margin-bottom: 10px;
  transition: 0.35s ease;
}

.amenity-back {
  background: #345c0d;
  color: #fff;
  transform: rotateY(180deg);
  font-size: 16px;
  line-height: 1.5;
}

.amenity-card:hover::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(115deg, #fce9a3, #ffffff);
  opacity: 0;
  filter: blur(10px);
  z-index: -1;
}

/* =========================================================
   8. LOCATION & ACCORDION (With Animated Map Container)
========================================================= */
.location-main-section-new {
  padding: 70px 0;
  background: #f8f8f8;
}

.location-sub {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 40px;
  font-size: 18px;
  color: #555;
}

.location-highlights {
  display: flex;
  gap: 18px;
  margin: 28px 0 35px;
  flex-wrap: wrap;
}

/* ===========================================
   HIGHLIGHT BOXES (Same Styles — Just Rewritten)
=========================================== */
.location-highlights {
  justify-content: center;
}

.highlight-box {
  position: relative;
  padding: 12px 18px 12px 48px;
  border-radius: 14px;

  font-size: 17px;
  font-weight: 700;
  color: #333;

  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(16px);

  border: 1.5px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);

  display: flex;
  align-items: center;
  cursor: pointer;
  overflow: hidden;

  animation: highlightFadeIn 0.6s ease forwards;
}

/* Icon inside highlight box */
.highlight-box i {
  position: absolute;
  left: 15px;
  font-size: 22px;

  background: linear-gradient(135deg, #fff9c8, #ffd978, #e2b24b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animated premium border */
.highlight-box::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: 14px;

  background: linear-gradient(45deg, #ff7a00 25px, #487307 25px, #ff7a00 25px, #487307 25px);

  -webkit-mask: linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  opacity: 0.55;
  animation: borderGlow 3.2s infinite linear;
}


/* --- GRID ALIGNMENT --- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Map Wrapper with animation */
.location-map {
  width: 100%;
  height: auto;
  min-height: 420px;
  border-radius: 14px;
  overflow: hidden;
  /* Make the map visually align with accordion-card styles */
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  display: flex;
  /* Static drop shadow only — animation stopped */
  animation: none;
  align-self: stretch;
}

/* Iframe */
.location-main-section-new iframe {
  width: 100%;
  height: 100% !important;
  border: 0;
  opacity: 0;
  /* The initial fade-in */
  animation: mapFadeIn 0.6s ease forwards;
}

/* --- ACCORDION STYLES --- */
.accordion-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  margin-bottom: 10px;
}

.accordion-header {
  padding: 18px 20px;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #fafafa;
}

.accordion-body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: all 0.45s ease;
}

.accordion-card.active .accordion-body {
  max-height: 1000vh !important;
  opacity: 1;
  padding: 20px 25px 30px 25px;
}

.accordion-body:hover {
  box-shadow: inset 0 0 25px rgba(242, 194, 26, 0.15);
  background: linear-gradient(to bottom, #ffffff, #fffef8);
}

.accordion-card.active .accordion-header .icon {
  transform: rotate(180deg);
}

/* --- LIST ITEMS --- */
.accordion-body ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.accordion-body li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  cursor: default;
  transition: all 0.3s ease;
}

.accordion-body li:last-child {
  margin-bottom: 2px;
}

.accordion-body li:hover {
  color: #d47e18;
  text-shadow: 0 0 1px rgba(212, 126, 24, 0.3);
  transform: translateX(5px);
}

/* --- MOBILE STACKING --- */
@media (max-width: 768px) {



  .popup-overlay {
    padding: 0px !important;
  }

  .accordion-body li {
    font-size: 15px;
  }

  .accordion-header {
    font-size: 15px;
  }

  .accordion-card.active .accordion-body {
    padding: 20px 10px 20px 10px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .location-map {
    height: 320px;
    min-height: 320px;
    margin-bottom: 20px;
  }

  .location-highlights {
    flex-direction: column;
    gap: 14px;
  }

  .highlight-box {
    width: 100%;
    padding-left: 45px;
  }
}

/* =========================================================
   9. GALLERY (Masonry Desktop / 3D Cylinder Mobile)
========================================================= */
.gallery-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  color: var(--green);
  font-weight: 800;
}

/* DEFAULT DESKTOP MASONRY */
.premium-gallery {
  columns: 3;
  column-gap: 20px;
}

.g-item {
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  position: relative;
  opacity: 1;
  transform: translateY(0);
  transition: 0.6s ease;
  background: #fff;
}

.g-item img {
  width: 100%;
  transition: 0.5s ease;
  display: block;
}

.g-item:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

/* Hover Text Overlay */
.g-hover-text {
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  opacity: 0;
  background: linear-gradient(90deg, #fff7c8, #ffd86b, #f1b93c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 215, 130, 0.8));
  transition: all 0.45s ease;
  z-index: 3;
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 20%, rgba(0, 0, 0, 0.65) 100%);
  opacity: 0;
  transition: 0.45s ease;
  z-index: 2;
}

.g-item:hover::after {
  opacity: 1;
}

.g-item:hover .g-hover-text {
  opacity: 1;
  bottom: 25px;
}

/* Custom Heights for Masonry */
.g-item.wide img {
  height: 220px;
  object-fit: cover;
}

.g-item.tall img {
  height: 360px;
  object-fit: cover;
}

.gallery-controls {
  display: none;
}

/* --- MOBILE 3D CYLINDER TRANSFORMATION --- */
@media (max-width: 600px) {
  .gallery-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  /* Reuse the same arrow style we made for Price/Floor */
  .nav-arrow {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background-clip: padding-box !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f2c21a;
    background: #fff;
    color: #487307;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-arrow:hover,
  .nav-arrow:active {
    background: #f2c21a;
    color: #fff;
    transform: scale(1.1);
  }

  /* Reset Columns for Flex Layout */
  .premium-gallery {
    columns: auto;
    /* Disable Masonry */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 40px 50vw 40px 50vw;
    /* Center alignment padding */
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .premium-gallery::-webkit-scrollbar {
    display: none;
  }

  /* 3D Card Base Style */
  .g-item {
    min-width: 250px;
    width: 250px;
    height: 350px;
    /* Fixed height for uniform cylinder */
    flex: 0 0 auto;
    scroll-snap-align: center;
    margin: 0 -20px;
    /* Overlap for cylinder effect */

    /* Default Faded State */
    opacity: 0.5;
    filter: grayscale(80%);
    transform: scale(0.85) rotateY(0deg);
    transition: all 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
    will-change: transform, opacity;
    z-index: 1;
    background: #fff;
  }

  /* Force images to fill the card */
  .g-item img {
    height: 100% !important;
    object-fit: cover;
  }

  /* Active Center Card */
  .g-item.active-card {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08) translateZ(20px) rotateY(0deg);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    border: 2px solid #f2c21a;
    /* Gold Border Highlight */
  }

  /* Always show text on active mobile card */
  .g-item.active-card .g-hover-text {
    opacity: 1;
    bottom: 25px;
  }

  .g-item.active-card::after {
    opacity: 1;
  }

  /* Rotated Side Cards */
  .g-item.prev-card {
    transform: scale(0.85) rotateY(25deg) translateX(-20px);
    z-index: 5;
  }

  .g-item.next-card {
    transform: scale(0.85) rotateY(-25deg) translateX(20px);
    z-index: 5;
  }
}

/* =========================================================
   10. POPUP, FOOTER & LISTS
========================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: var(--z-popup);
  padding: 20px;
  overflow: visible !important;
}

.popup-box {
  width: 92%;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  padding: 36px 34px;
  border-radius: 20px;
  border: 3px solid rgba(242, 194, 26, 0.85);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  position: relative;
  color: #fff;
  animation: popupFade 0.35s ease-out;
  /* Clip overflow so dropdowns appended inside this box do not overflow.
     This makes the country list scroll inside the popup and keeps layout tidy. */
  overflow: hidden;
}

.popup-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

/* Ensure country list inside popup scrolls and looks standard */
.popup-box .iti__country-list {
  max-height: calc(100% - 120px);
  overflow-y: auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  background: #fff;
  color: #111;
}

.pl-footer {
  background: #2d5300;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
  border-top: 5px solid #a7c957;
}

.footer-logo {
  width: 200px;
  margin: 10px auto 22px;
}

.hk-logo {
  width: 180px;
  margin: 0 auto 10px;
}

.footer-link {
  color: #a5a5a5;
  transition: 0.3s;
}

.footer-link:hover {
  color: #6200ff;
  text-decoration: underline;
}

.premium-list li {
  position: relative;
  padding-left: 45px;
  margin-bottom: 26px;
  font-size: 20px;
  color: #333;
  opacity: 0;
  transform: translateY(15px);
  transition: 0.6s ease;
}

.premium-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 18px;
  background: linear-gradient(90deg, #e0b043, #f9d06a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
}

.premium-list.visible li {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: translateY(70px);
  transition: 1.5s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal p {
  font-size: 18px;
  line-height: 30px;
  text-align: center;
}

/* =========================================================
   11. FLOATING ELEMENTS
========================================================= */
.floating-cta {
  position: fixed;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 14px 20px;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  z-index: var(--z-floating-cta);
  transition: 0.3s ease;
}

.cta-btn {
  padding: 8px 16px;
  border-radius: 40px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  background: #ffffff;
  color: #222;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-btn:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.55);
}

.wa-icon {
  width: 20px;
  height: 20px;
  animation: waPulse 2s ease-in-out infinite;
}

.glass-scroll-top {
  position: fixed;
  right: 22px;
  bottom: 25px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.35s ease;
  z-index: var(--z-scroll-btn);
  animation: pulseGlow 2.6s ease-in-out infinite;
}

.glass-scroll-top.show {
  opacity: 0.5;
  visibility: visible;
}

.glass-scroll-top:hover {
  opacity: 1 !important;
  transform: translateY(-6px);
}

.glass-scroll-top span {
  font-size: 50px;
  font-weight: 900;
  color: var(--accent);
  transform: translateY(8px);
}

/* =========================================================
   12. RESPONSIVE & MOBILE FIXES (The Critical Part)
========================================================= */

/* General Tablet/Mobile */
@media (max-width: 1024px) {
  .overview-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .premium-gallery {
    columns: 2;
  }
}

@media (max-width: 900px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  html,
  body {
    overflow-x: hidden !important;
    max-width: 100%;
  }

  .header .logo,
  .sticky-header .logo {
    padding: 5px;
  }

  .hero {
    margin-top: 62px;
  }

  .hero {
    flex-direction: column;
    height: auto;
    padding-bottom: 20px;
    overflow: visible !important;
  }

  .hero-video {
    position: relative;
    width: 100% !important;
    height: auto;
  }

  /* Form box positioning */
  .hero-form-box {
    position: relative;
    width: 90%;
    margin: 20px auto 0;
    right: 0;
    top: 0;
    transform: none;
  }

  .overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-card {
    height: 140px !important;
  }

  .overview-icon {
    font-size: 32px !important;
    top: 18px !important;
  }

  .overview-card h3 {
    font-size: 16px !important;
    bottom: 18px !important;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-highlights {
    flex-direction: column;
    gap: 14px;
  }

  .highlight-box {
    width: 100%;
    padding-left: 45px;
  }

  .location-main-section-new iframe {
    height: 300px;
  }

  /* Mobile Bottom Elements Hierarchy */
  .floating-cta {
    padding: 10px 14px;
    gap: 5px;
    max-width: 360px;
    bottom: 15px;
    display: center;
  }

  .cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
    font-size: 12px;
    font-weight: 800;
    border-radius: 30px;
    white-space: nowrap;
    gap: 10px;
  }

  .wa-icon {
    width: 15px;
    height: 15px;
    animation: waPulse 1.8s ease-in-out infinite;
  }

  /* Scroll Top Above CTA */
  .glass-scroll-top {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background-clip: padding-box !important;
    bottom: 85px !important;
  }

  /* Zoho Chatbot ABOVE CTA */
  #zsiq_float,
  #zsiqcontainer,
  #zsiq_chat {
    bottom: 78px !important;
    right: 16px !important;
    z-index: var(--z-zoho-bot) !important;
  }
}

@media (max-width: 600px) {
  .premium-gallery {
    columns: 1;
  }

  /* .amenities-grid {
    grid-template-columns: 1fr;
  } */

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .amenity-inner {
    height: 150px;
  }

  .footer-logo,
  .hk-logo {
    width: 140px;
  }

  /* 
     *** MOBILE FIX FOR GLOBALLY POSITIONED DROPDOWN ***
     Targeted the .iti--container wrapper to control mobile width
  */
  .iti--container .iti__country-list {
    position: absolute !important;
    z-index: 2147483647 !important;

    width: 100% !important;
    /* ← dropdown matches field width */
    min-width: 100% !important;
    /* ← prevents overflow */
    max-width: 100% !important;
    /* ← keeps it inside */

    left: 0 !important;
    /* ← align under input */
    right: 0 !important;
    /* ← ensure perfect alignment */

    transform: none !important;
  }


  /* Note: don't force `.iti--container` to fixed positioning here.
     The dropdown is appended to <body> (see JS `dropdownContainer`) and
     the library will compute correct absolute positioning. Forcing
     `position: fixed` created misalignment/clipping inside popups. */

  /* 2. Style the individual country items */
  .iti__country {
    padding: 12px 15px !important;
    /* Bigger touch target */
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    border-bottom: 1px solid #f4f4f4 !important;
  }

  /* 3. Make the country name readable */
  .iti__country-name {
    font-size: 14px !important;
    color: #333 !important;
    /* margin-right: 5px !important; */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    /* Adds "..." if still too long */
    /* flex: 1; */
  }

  /* 4. Fix padding on the input itself */
  #heroMobile,
  #popupMobile {
    padding-left: 94px !important;
  }
}

/* Animations */
@keyframes floatCapsule {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes shineMove {
  from {
    left: -120%;
  }

  to {
    left: 140%;
  }
}

@keyframes waPulse {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0));
  }

  50% {
    transform: scale(1.15);
    filter: drop-shadow(0 0 6px rgba(37, 211, 102, 0.65));
  }

  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(37, 211, 102, 0));
  }
}

@keyframes popupFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes borderGlow {
  0% {
    filter: hue-rotate(0deg);
  }

  100% {
    filter: hue-rotate(360deg);
  }
}

@keyframes highlightFadeIn {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mapFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInError {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes errorPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.25);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 22px rgba(255, 200, 80, 0.55);
    transform: scale(1.06);
  }

  100% {
    box-shadow: 0 0 12px rgba(255, 183, 0, 0.25);
    transform: scale(1);
  }
}

@keyframes chatGlowPulse {
  0% {
    box-shadow: 0 0 0 0 rgb(255, 211, 52);
    transform: scale(1);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(255, 225, 0, 0);
    transform: scale(1.1);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 191, 0, 0);
    transform: scale(1);
  }
}

#zsiq_float:active,
.zsiq_float:active {
  animation: chatGlowPulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 20px var(--green);
}

/* =========================================================
   FIX: SCROLL OFFSET FOR ANCHOR LINKS
   Ensures titles aren't hidden behind the sticky header
========================================================= */
html {
  scroll-behavior: smooth;
  /* Ensures the scroll glides nicely */
}

/* Apply offset to any section that has an ID (About, Overview, etc.) */
section[id] {
  /* Header Height (approx 85px) + Extra Space (25px) */
  scroll-margin-top: 110px;
}

/* Adjust for mobile if header is thinner */
@media (max-width: 600px) {
  section[id] {
    scroll-margin-top: 90px;
  }
}

/* =========================================================
   13. UNSURE SECTION (Image Background + Green Overlay)
========================================================= */
.unsure-section {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #fff;

  /* 1. The Green Gradient Overlay (85% - 95% opacity) */
  /* 2. The Background Image */
  background:
    linear-gradient(135deg, rgba(72, 115, 7, 0.85), rgba(45, 83, 0, 0.95)),
    url('../assets/images/godrej/gallery/g1.webp');
  /* <-- REPLACE IMAGE PATH HERE */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* Optional: Parallax effect (image stays fixed while scrolling) */
  background-attachment: fixed;
}

/* Container Box */
.unsure-box {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Heading */
.unsure-box h2 {
  font-size: 38px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  /* Drop shadow for readability */
}

/* Paragraph */
.unsure-box p {
  font-size: 25px;
  color: #f4f9ec !important;
  /* Bright, crisp text */
  margin-bottom: 35px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Button Styling */
.primary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 45px;
  font-size: 18px;
  font-weight: 800;

  /* Premium Gold Gradient */
  background: linear-gradient(135deg, #ffdb73, #f2c21a, #ffdb73);
  background-size: 200% auto;
  color: #2d5300;
  /* Dark green text */

  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: 0.4s ease;
}

.primary-btn:hover {
  background-position: right center;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  color: #000;
  border-color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .unsure-section {
    padding: 70px 20px;
    background-attachment: scroll !important;
    /* Better performance on mobile */
  }

  .unsure-box h2 {
    font-size: 28px;
  }

  .unsure-box p {
    font-size: 17px;
  }

  .primary-btn {
    font-size: 16px;
    padding: 14px 35px;
  }
}

/* =========================================================
   14. FAQ SECTION STYLING (Mobile Optimized)
========================================================= */

/* 1. Grid Container */
.faq-grid {
  max-width: 850px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 2. The Card */
.faq-grid .accordion-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-left: 4px solid #487307;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
}

/* 3. Hover Effect */
.faq-grid .accordion-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(72, 115, 7, 0.1);
}

/* 4. Active State */
.faq-grid .accordion-card.active {
  border-left-color: #f2c21a;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* 5. Header */
.faq-grid .accordion-header {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: #333;
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  line-height: 1.4;
}

.faq-grid .accordion-card.active .accordion-header {
  color: #487307;
}

/* Icon */
.faq-grid .accordion-header i {
  font-size: 16px;
  color: #ccc;
  transition: 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
}

.faq-grid .accordion-card.active .accordion-header i {
  color: #f2c21a;
  transform: rotate(180deg);
}

/* 6. Body */
.faq-grid .accordion-body {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 1;
  transition:
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.5s ease;
  background: #fff;
}

.faq-grid .accordion-card.active .accordion-body {
  max-height: 1000px !important;
  padding: 0 24px 24px 24px;
  opacity: 1;
}

.faq-grid .accordion-body p {
  font-size: 16px;
  line-height: 1.6;
  color: #555;
  margin: 0;
  padding-top: 15px;
  border-top: 1px solid #b9b9b9;
  margin-bottom: 10px;
}

/* --- MOBILE ADJUSTMENTS --- */
@media (max-width: 600px) {
  .faq-grid {
    gap: 12px;
  }

  .faq-grid .accordion-header {
    padding: 18px 20px;
    font-size: 16px;
  }

  .faq-grid .accordion-body {
    padding: 0 20px;
  }

  .faq-grid .accordion-card.active .accordion-body {
    padding: 0 20px 20px 20px;
  }

  .faq-grid .accordion-body p {
    font-size: 15px;
  }
}

/* =========================================================
   FAQ STAGED REVEAL EXTENSIONS
========================================================= */

/* FAQ hidden initially */
.faq-hidden {
  display: none !important;
  opacity: 0;
  transform: translateY(10px);
}

/* FAQ revealed smoothly */
.faq-revealed {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  transition: opacity .35s ease, transform .35s ease;
}

/* Ask a Question button (hide until final stage) */
.faq-ask-hidden {
  display: none !important;
}

/* Read More button spacing */
#faqToggleBtn {
  margin-top: 20px;
}

/* =========================================================
   SECTION BUTTON STYLES (.sec-btn)
========================================================= */

/* 1. Wrapper to center the button */
.sec-btn-wrapper {
  text-align: center;
  margin-top: 35px;
  margin-bottom: 10px;
}

/* 2. The Button Base Style */
.sec-btn {
  display: inline-block;
  padding: 14px 45px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;

  /* Initial State: Transparent with Green Border */
  background: transparent;
  color: #487307;
  /* Brand Green */
  border: 2px solid #487307;
  border-radius: 50px;

  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* 3. Hover Effect (Fills Green + Lifts) */
.sec-btn:hover {
  background: #487307;
  color: #fff;
  border-color: #487307;

  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(72, 115, 7, 0.3);
  /* Green Glow */
}

/* 4. Active/Click Effect */
.sec-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(72, 115, 7, 0.2);
}

/* 5. Mobile Optimization */
@media (max-width: 600px) {
  .sec-btn {
    width: 100%;
    /* Make button full width for easier tapping */
    padding: 16px 0;
    /* Taller touch target */
    font-size: 15px;
  }

  .sec-btn-wrapper {
    margin-top: 25px;
    padding: 0 10px;
    /* Add side padding so it doesn't touch edges */
  }
}

/* =========================================================
   15. ABOUT DEVELOPER SECTION STYLING
========================================================= */

#developer {
  /* Very subtle warm/green tint to differentiate from white sections */
  background-color: #fcfdfa;
  text-align: center;
  padding-bottom: 60px;
}

/* 1. Logo Styling */
.dev-logo {
  max-width: 240px;
  width: 100%;
  height: auto;
  margin: 0 auto 35px;
  /* Center and add space below */
  display: block;

  /* Subtle shadow to make logo pop */
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
  transition: transform 0.4s ease;
}

/* Logo Hover Effect */
.dev-logo:hover {
  transform: scale(1.05) translateY(-3px);
}

/* 2. Text Container */
.dev-text {
  max-width: 850px;
  margin: 0 auto 40px;
  padding: 0 20px;
  position: relative;
}

/* 3. Paragraph Typography */
.dev-text p {
  font-size: 18px;
  line-height: 1.8;
  /* Relaxed line height for readability */
  color: #444;
  font-weight: 400;
  text-align: center;
}

/* 4. Decorative Gold Divider (Premium Touch) */
.dev-text::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #e0b043, #f9d06a);
  /* Gold Gradient */
  margin: 35px auto 0;
  /* Center below text */
  border-radius: 2px;
}

/* Mobile Adjustment */
@media (max-width: 600px) {
  .dev-logo {
    max-width: 180px;
    margin-bottom: 25px;
  }

  .dev-text p {
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
  }
}

/* =========================================================
   FLOOR PLAN 3D CYLINDER EFFECT (Mobile)
========================================================= */
.floor-controls {
  display: none;
}

/* Hidden on Desktop */

/* DESKTOP DEFAULT GRID */
.floor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.floor-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  position: relative;
  transition: 0.3s ease;
}

.floor-card {
  will-change: transform, opacity;
  transition: all 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
}

.floor-badge {
  display: inline-block;
  background: #f2c21a;
  color: #000000;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 4px;
  font-size: 14px;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.floor-img-box {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-top: 15px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blur-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: blur(4px);
  transition: 0.3s;
  opacity: 0.8;
}

.floor-card:hover {
  border-color: #f2c21a;
}

.floor-card:hover .blur-img {
  transform: scale(1.05);
}

.view-plan-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  padding: 10px 25px;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  z-index: 3;
  white-space: nowrap;
}

.view-plan-btn:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}


/* --- MOBILE 3D MODE --- */
@media (max-width: 600px) {

  .floor-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  /* Reuse the same arrow style we made for Price/Floor */
  .nav-arrow {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background-clip: padding-box !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f2c21a;
    background: #fff;
    color: #487307;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-arrow:hover,
  .nav-arrow:active {
    background: #f2c21a;
    color: #fff;
    transform: scale(1.1);
  }

  /* 3D Grid Setup */
  .floor-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding: 40px 50vw 40px 50vw;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .floor-grid::-webkit-scrollbar {
    display: none;
  }

  /* Card Base Style */
  .floor-card {
    min-width: 280px;
    width: 280px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    margin: 0 -20px;
    opacity: 0.5;
    filter: grayscale(80%);
    transform: scale(0.85) rotateY(0deg);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    background: #fff;
  }

  /* Active Center Card */
  .floor-card.active-card {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.08) translateZ(20px) rotateY(0deg);
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid #f2c21a;
  }

  /* Rotated Side Cards */
  .floor-card.prev-card {
    transform: scale(0.85) rotateY(25deg) translateX(-20px);
    z-index: 5;
  }

  .floor-card.next-card {
    transform: scale(0.85) rotateY(-25deg) translateX(20px);
    z-index: 5;
  }
}

/* =========================================================
   PRICE LIST SECTION (Centered Floating Rupee Animation)
========================================================= */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.price-card {
  background: #f9f9f9;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  transition: 0.3s ease;
  border: 1px solid #eee;

  /* Required for positioning the background symbol */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.price-card {
  will-change: transform, opacity;
  transition: all 0.65s cubic-bezier(0.22, 0.8, 0.2, 1);
}

/* Ensure the text stays ON TOP of the background symbol */
.price-card>* {
  position: relative;
  z-index: 2;
}

/* 1. The Hidden Rupee Symbol (Centered & Big) */
.price-card::before {
  content: "₹";
  position: absolute;

  /* CENTER IT PERFECTLY */
  top: 50%;
  left: 50%;

  font-size: 180px;
  /* Massive Font */
  font-weight: 900;
  line-height: 1;
  color: #f2c21a;
  /* Gold Brand Color */

  /* Initial State: Hidden, Centered, Scaled Down, Rotated */
  transform: translate(-50%, -50%) scale(0.5) rotate(-30deg);
  opacity: 0;

  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Pop-up animation */
  z-index: 0;
  /* Sits behind text */
  pointer-events: none;
}

/* 2. Hover State: Scale Up & Fade In */
.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  background: #fff;
  border-color: #f2c21a;
  /* Border turns gold */
}

.price-card:hover::before {
  opacity: 0.12;
  /* Transparent Gold Effect */
  /* Final State: Centered, Full Size, Straight */
  transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
}

/* --- Badge & Text Styles --- */
.price-badge {
  display: inline-block;
  background: #f2c21a;
  color: #333;
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid #d4c49a;
}

.price-amount {
  font-size: 32px;
  font-weight: 800;
  color: #333;
  margin-bottom: 25px;
}

.price-details {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dotted #ccc;
  padding: 8px 0;
  font-size: 15px;
  color: #666;
  margin: 25px;
  /* Remove large bottom gaps */
}

/* Remove top border on all except the first row */
.price-details:not(:first-of-type) {
  border-top: none;
  margin-top: -8px;
  /* Pull rows closer */
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================================
   MOBILE PRICE 3D CYLINDER EFFECT & CONTROLS
========================================================= */
.price-controls {
  display: none;
}

/* Hidden on Desktop */

@media (max-width: 600px) {

  /* 1. Container Setup for 3D */
  .price-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 0;
    /* Gap handled by padding/margin for smoother 3D */
    padding: 60px 50vw 60px 50vw;
    /* Huge padding to center items */

    /* 3D Scene Setup */
    perspective: 1000px;
    scroll-behavior: smooth;

    /* Hide Scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .price-grid::-webkit-scrollbar {
    display: none;
  }

  /* 2. The Card Base Style */
  .price-card {
    min-width: 280px;
    /* Fixed width for consistent rotation */
    width: 280px;
    flex: 0 0 auto;
    scroll-snap-align: center;
    margin: 0 -20px;
    /* Negative margin to pull them closer for cylinder look */

    /* Default State (Side/Faded) */
    opacity: 0.5;
    filter: blur(2px) grayscale(60%);
    transform: scale(0.85) rotateY(0deg);
    /* Base state */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
    background: #fff;
    /* Ensure background is white */
  }

  /* 3. ACTIVE CARD (Center, Big, Clear) */
  .price-card.active-card {
    opacity: 1;
    filter: blur(0) grayscale(0%);
    transform: scale(1.1) translateZ(20px) rotateY(0deg);
    /* Pop out */
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 2px solid #f2c21a;
  }

  /* 4. PREV CARD (Rotated Left) */
  .price-card.prev-card {
    transform: scale(0.85) rotateY(25deg) translateX(-20px);
    z-index: 5;
  }

  /* 5. NEXT CARD (Rotated Right) */
  .price-card.next-card {
    transform: scale(0.85) rotateY(-25deg) translateX(20px);
    z-index: 5;
  }

  /* 6. Arrow Controls Styling */
  .price-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
  }

  /* Reuse the same arrow style we made for Price/Floor */
  .nav-arrow {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    background-clip: padding-box !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #f2c21a;
    background: #fff;
    color: #487307;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-arrow:hover,
  .nav-arrow:active {
    background: #f2c21a;
    color: #fff;
    transform: scale(1.1);
  }
}

/* =========================================================
   GOOGLE REVIEWS / TRUST SECTION
========================================================= */

.trust-section {
  padding: 70px 0;
  background: #f8f8f8;
}

/* -------------------------
   TITLE & SUBTITLE
------------------------- */
.trust-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #000;
}

.trust-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.5;
}

/* -------------------------
   REVIEW COUNTER LINE
------------------------- */
.trust-count {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-top: -5px;
  margin-bottom: 30px;
  line-height: 1.4;
}

.review-number,
.review-date {
  font-weight: 800;
  font-size: 22px;
  color: #000;
}

/* -------------------------
   TRUST INDEX WIDGET
------------------------- */
.trust-widget {
  max-width: 1000px;
  margin: 0 auto;
}

/* =========================================================
   BUTTON GROUP (YOUTUBE + GOOGLE)
========================================================= */
.trust-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 35px;
}

.trust-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  transition: 0.3s ease;
}

/* -------------------------
   YOUTUBE BUTTON
------------------------- */
.youtube-btn {
  background: #ff0000;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.25);
}

.youtube-btn i {
  font-size: 20px;
}

.youtube-btn:hover {
  background: #d40000;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(255, 0, 0, 0.32);
}

/* -------------------------
   GOOGLE REVIEW BUTTON (MULTI-COLOR OG STYLE)
------------------------- */
.google-btn {
  background: #fff;
  border: 2px solid #4285F4;
  color: #000;
  border-radius: 50px;
  box-shadow: 0 8px 18px rgba(66, 133, 244, 0.15);
}

.google-btn:hover {
  background: #f7f7f7;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(66, 133, 244, 0.25);
}

/* Multi-color "G" */
.google-g {
  font-weight: 900;
  font-size: 20px;
  background: linear-gradient(90deg,
      #4285F4 0%,
      #DB4437 25%,
      #F4B400 50%,
      #0F9D58 75%,
      #4285F4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

html,
body {
  /* overflow-x: hidden !important; */
  max-width: 100%;
}

.about-img {
  border-radius: 50% 50% 0 0;
}