/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  background-image: url('../assets/images/img_background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-size: 14px; /* Mobile-first base font size */
}

/* Layout components */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px;
}

/* .hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('img/banner-background-2.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
} */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-image: url('img/banner-m-background-2.webp'); /* Default: Mobile-first (portrait/vertical focus) */
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Tablet (768px and up) - Optional: Use a medium image or keep mobile */
@media (min-width: 768px) {
  .hero-section {
    background-image: url('img/banner-m-background-2.webp'); /* Tablet-specific if needed */
  }
}

/* Desktop/Large screens (1024px and up) - Wide landscape image */
@media (min-width: 1024px) {
  .hero-section {
    background-image: url('img/banner-background-2.webp'); /* Full wide hero for desktop */
  }
}

/* Extra large desktops (optional refinement) */
@media (min-width: 1440px) {
  .hero-section {
    background-image: url('img/banner-background-2.webp'); /* Even higher-res if desired */
  }
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3)); */
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  padding: 20px;
}

/* Header - Transparent initially with proper scroll effect */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  backdrop-filter: blur(0px);
  z-index: 9999;
  padding: 15px 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  width: 80px;
  height: auto;
  transition: filter 0.4s ease;
}

.header.scrolled .logo {
  filter: none;
}

.nav-menu {
  display: none;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.98);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 20px;
  text-align: center;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #f39006 !important;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.header.scrolled .nav-links a {
  color: #6a1311;
}

.nav-links a:hover {
  color: #e3c27a;
}

.nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
/* Default (transparent header) */
.header .menu-list li a {
    color: #fff;   /* white */
    transition: color 0.3s ease;
}

/* When header is white */
.header.white-header .menu-list li a {
    color: #000;   /* black */
}

.btn-primary,
.btn-secondary {
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #E3C27A;
  color: white;
  border: 2px solid #722525;
}

.btn-secondary {
  background-color: #722525;
  color: white;
  border: 1px solid #E3C27A;
;
}

.header.scrolled .btn-primary {
  color: #692b27;
  border-color: #722525;
}

.header.scrolled .btn-secondary {
  background-color: #722525;
  color: #e3c27a;
  border-color: #e3c27a;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hamburger {
  display: block;
  background: none;
  border: none;
  font-size: 30px;
  color: #f07a08;
  cursor: pointer;
  transition: color 0.4s ease;
}

.header.scrolled .hamburger {
  color: #6a1311;
}

/* Main content */
.main-content {
  margin-top: 0;
}

/* Project header */
.project-header {
  text-align: center;
  padding: 40px 20px;
  background: rgba(255,255,255,0.9);
}

.project-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-bottom: 10px;
}

.project-title {
  font-size: 18px;
  color: #692b27;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
}

.project-tagline {
  font-size: 16px;
  color: #692b27;
  font-weight: 600;
  margin-bottom: 10px;
}

.rera-info {
  font-size: 14px;
  color: #692b27;
  font-weight: 600;
}

/* Stats section */
/* .stats-section {
  background-color: #e3c27a;
  padding: 40px 20px;
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-number {
  font-size: 24px;
  font-weight: 600;
  color: #692b27;
  line-height: 1.2;
}

.stat-label {
  font-size: 16px;
  font-weight: 300;
  color: #692b27;
  line-height: 1.2;
}

.stat-divider {
  width: 10px;
  height: 100px;
  background-color: #692b27;
  display: none;
} */
/* === STATS SECTION (exact style) === */
.stats-section {
  background-image: url('img/project-highlights-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 25px 0;
  width: 100%;
  /* border-top: 4px solid #1e88a8;
  border-bottom: 4px solid #1e88a8; */
}

/* ---- IMPORTANT ----  
   Forces single long row like real website
------------------------------------------- */
/* === MAIN DESKTOP (one full row) === */
.stats-container {
  width: 100%;
  max-width: 2500px !important;
  margin: 0 auto;

  display: flex;
  justify-content: space-between;
  align-items: center;

  white-space: nowrap; /* prevents wrapping */
  padding: 20px 0;
}

.stat-item {
  text-align: center;
  padding: 0 25px;
  color: #692b27;
  font-family: 'Poppins', sans-serif;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
}

.stat-label {
  font-size: 16px;
  margin-top: 3px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 65px;
  background-color: #692b27;
  opacity: 0.6;
}


/* ============================
   TABLET RESPONSIVE (2 rows)
   ============================ */
@media (max-width: 1024px) {
  .stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    white-space: normal;
    row-gap: 25px;
    text-align: center;
  }

  .stat-item {
    padding: 10px;
  }

  .stat-divider {
    display: none; /* no dividers on tablet */
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 14px;
  }
}


/* ============================
   MOBILE RESPONSIVE (2 per row)
   ============================ */
@media (max-width: 600px) {
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 13px;
  }

  .stat-item {
    padding: 5px;
  }
}

/* ----------- RESPONSIVE FIX ----------- */

/* Tablets */
@media (max-width: 1024px) {
  .stats-container {
    flex-wrap: wrap;
    white-space: normal;
    row-gap: 25px;
  }
  .stat-divider {
    display: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
}
/* Clubhouse section */


/* Amenities section */
.amenities-section {
  padding: 40px 20px;
  background: rgba(255,255,255,0.95);
}

.amenities-title {
  font-size: 40px;
  font-weight: 500;
  color: #e3c27a;
  text-align: center;
  margin-bottom: 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.amenity-icon {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.amenity-name {
  font-size: 16px;
  color: #000000b2;
  font-weight: 400;
}

.amenity-item:hover {
  transform: translateY(-5px);
}

/* Project plan section */
.project-plan-section {
  padding: 40px 20px;
  text-align: center;
}

.plan-title {
  font-size: 40px;
  font-weight: 500;
  color: #e3c27a;
  margin-bottom: 30px;
}

.plan-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.plan-tab {
  background: none;
  border: none;
  font-size: 20px;
  color: #722525;
  font-weight: 400;
  cursor: pointer;
  padding: 10px 20px;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.plan-tab.active {
  font-weight: 700;
  border-bottom-color: #722525;
}

.plan-tab:hover {
  color: #e3c27a;
}

.plan-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Slider section */
.slider-section {
  padding: 40px 20px;
  position: relative;
}

.slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(114, 37, 37, 0.8);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.slider-nav.prev {
  left: 20px;
}

.slider-nav.next {
  right: 20px;
}

.slider-indicators {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.indicator {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #722525;
}

/* Contact section */
.contact-section {
  padding: 40px 20px;
  /* background: linear-gradient(rgba(255, 124, 1, 0.6), rgba(255, 124, 1, 0.6)); */
  margin-bottom: 40px;
}

.contact-container {
  padding: 40px 20px;
  background: 
      /* Orange tint overlay */
    url('img/for-more-information-background.webp') center center / cover no-repeat;  /* Replace with your image URL */
  margin-bottom: 40px;
  
  /* Option 1: Full viewport height (image fills screen height on load) */
  /* height: 100vh; */
  
  /* Option 2: Minimum height for shorter content (adjust value as needed, e.g., 500px or 60vh) */
  min-height: 600px;
  
  /* Ensures the background covers the full area */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.contact-form {
  background-color: rgba(255, 124, 1, 0.6);
  padding: 20px;
  border-radius: 5px;
  width: 100%;
  max-width: 400px;
}

.form-title {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 12px 18px;
  background-color: #ffffff;
  border: none;
  border-radius: 3px;
  font-size: 16px;
  color: #7d7d7d;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.checkbox {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.checkbox-label {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
}

.submit-btn {
  background-color: #7c1b23;
  color: #ffffff;
  border: 1px solid #ffffff;
  padding: 12px 34px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  min-height: 48px;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: #ffffff;
  color: #7c1b23;
}

.contact-logo {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Location section */
.location-section {
  background-color: #ffffff;
  padding: 40px 20px;
}

.location-title {
  font-size: 28px;
  font-weight: 900;
  color: #7c1b23;
  text-align: center;
  margin-bottom: 30px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.location-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.category-title {
  font-size: 18px;
  font-weight: 600;
  color: #000000b2;
}

.category-items {
  font-size: 16px;
  font-weight: 400;
  color: #000000b2;
  line-height: 1.8;
}

/* Footer */


/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button:focus,
a:focus,
input:focus {
  outline: 2px solid #e3c27a;
  outline-offset: 2px;
}

/* Responsive Media Queries */

/* Extra small devices (phones < 480px) */
@media (max-width: 479px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  .amenities-title,
  .plan-title,
  .clubhouse-title {
    font-size: 36px;
  }
  .location-grid {
    grid-template-columns: 1fr;
  }
}

/* Small devices (480px and up) */
@media (min-width: 480px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Small tablets and larger phones (640px and up) */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .stats-container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .stat-divider {
    display: block;
  }

  .contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

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

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hamburger {
    display: none;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    position: static;
    background: transparent;
    padding: 0;
    gap: 40px;
  }

  .nav-links {
    flex-direction: row;
    gap: 30px;
  }

  .nav-buttons {
    flex-direction: row;
    gap: 15px;
  }

  .project-title {
    font-size: 24px;
  }

  .stats-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 20px;
  }

  .clubhouse-title {
    font-size: 100px;
  }

  .about-title {
    font-size: 32px;
  }

  .amenities-title,
  .plan-title {
    font-size: 60px;
  }

  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .location-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .footer-logos {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .nav-links a {
    font-size: 20px;
  }

  .btn-primary,
  .btn-secondary {
    font-size: 18px;
    padding: 10px 20px;
  }

  .project-title {
    font-size: 27px;
  }

  .stat-number {
    font-size: 41px;
  }

  .stat-label {
    font-size: 27px;
  }

  .clubhouse-title {
    font-size: 137px;
  }

  .about-title {
    font-size: 41px;
  }

  .amenities-title,
  .plan-title {
    font-size: 82px;
  }

  .amenities-grid {
    grid-template-columns: repeat(7, 1fr);
  }

  .plan-tab {
    font-size: 32px;
  }

  .location-title {
    font-size: 41px;
  }

  .location-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Extra large devices (1280px and up) */
@media (min-width: 1280px) {
  .stats-container {
    max-width: 1200px;
    margin: 0 auto;
  }
}

    .project-plan-section {
      padding: 80px 20px;
      background: #f5f0e6;
      position: relative;
    }

    /* Heading + Button - Responsive */
    .header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;
      flex-wrap: wrap;
      gap: 20px;
    }
    .plan-title {
      font-size: 2.8rem; /* Reduced slightly for mobile */
      font-weight: bold;
      color: #b89b6e;
      text-transform: uppercase;
      margin: 0;
      line-height: 1.2;
    }
    .download-brochure {
      padding: 10px 28px;
      background: #800000;
      color: #fff;
      border: none;
      border-radius: 30px;
      font-weight: bold;
      font-size: 0.95rem;
      white-space: nowrap;
      cursor: pointer;
      flex-shrink: 0;
    }

    /* Responsive Tabs */
    .plan-tabs {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 20px 40px;
      margin-bottom: 40px;
      border-bottom: 1px solid #ddd;
      padding-bottom: 15px;
    }
    .plan-tab {
      font-size: 1.2rem;
      font-weight: bold;
      color: #999;
      background: none;
      border: none;
      padding: 10px 15px;
      cursor: pointer;
      text-transform: uppercase;
      position: relative;
      white-space: nowrap;
    }
    .plan-tab.active {
      color: #b89b6e;
    }
    .plan-tab.active::after {
      content: '';
      position: absolute;
      bottom: -16px;
      left: 0;
      width: 100%;
      height: 4px;
      background: #b89b6e;
    }

    /* Content box */
    .plan-content {
      position: relative;
      padding: 30px;
      background: #fff;
      border: 8px solid #800000;
      border-radius: 20px;
      max-width: 1300px;
      margin: 0 auto;
    }
    .plan-content::before,
    .plan-content::after,
    .corner-bottom-left,
    .corner-bottom-right {
      content: '';
      position: absolute;
      width: 30px;
      height: 30px;
      background: #800000;
      border-radius: 50%;
    }
    .plan-content::before { top: -15px; left: -15px; }
    .plan-content::after { top: -15px; right: -15px; }
    .corner-bottom-left { bottom: -15px; left: -15px; }
    .corner-bottom-right { bottom: -15px; right: -15px; }

    .tab-pane {
      display: none;
    }
    .tab-pane.active {
      display: block;
    }

    /* Reduced image size & optimized loading */
    .plan-image {
      width: 100%;
      height: auto;
      max-width: 100%;
      display: none;
      border-radius: 8px;
      loading: lazy; /* Lazy load images */
      object-fit: contain;
      margin: 0 auto;
    }
    .tab-pane.active .plan-image.active {
      display: block;
    }

    /* Pagination dots */
    .custom-indicators {
      display: flex;
      justify-content: center;
      gap: 12px;
      margin-top: 30px;
      padding: 0;
      list-style: none;
      flex-wrap: wrap;
    }
    .custom-indicators li {
      width: 12px;
      height: 12px;
      background: #e0e0e0;
      border-radius: 50%;
      cursor: pointer;
      transition: background 0.3s;
    }
    .custom-indicators li.active {
      background: #800000;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
      .plan-title {
        font-size: 2.2rem;
        text-align: center;
      }
      .header-row {
        justify-content: center;
      }
      .plan-tabs {
        gap: 15px;
      }
      .plan-tab {
        font-size: 1rem;
        padding: 8px 10px;
      }
      .plan-content {
        padding: 20px;
      }
      .custom-indicators {
        gap: 10px;
        margin-top: 25px;
      }
    }

    @media (max-width: 480px) {
      .plan-title {
        font-size: 1.8rem;
      }
      .download-brochure {
        padding: 10px 20px;
        font-size: 0.9rem;
      }
      .plan-tabs {
        flex-direction: column;
        align-items: center;
        border-bottom: none;
      }
      .plan-tab.active::after {
        bottom: -8px;
        height: 3px;
      }
    }

    /* MODAL OVERLAY */
.rera-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 9999999;
  justify-content: center;
  align-items: center;
}

/* MODAL CONTENT */
.rera-content {
  background: #fff;
  padding: 12px;
  border-radius: 8px;
  max-height: 85vh;
  overflow: auto;
}

/* IMAGE */
.rera-content img {
  max-width: 85vw;
  height: auto;
}

/* CLOSE BUTTON */
.rera-close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  z-index: 10000000;
}

/* FREEZE PAGE WITHOUT BREAKING LAYOUT */
body.modal-open {
  position: fixed;
  width: 100%;
}
