/* Reset + base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { 
  scroll-behavior: smooth;
  scroll-padding-top: 72px; /* default navbar height */
}

body {
  margin: 0;
  padding: 0;
  font-family: 'ProductSans-Regular', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
  color: #333;
}

:root {
  --main-color: #00a5e1; /* your main color */
  --vh: 1vh;  /* safe default */
}

/* Headings / Titles */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Wondar-Quason', serif;
  font-weight: 600;
}

h1 {
  letter-spacing: 1.5px; /* adjust to taste */
}

/* Paragraphs & regular text */
p, li, span, a, input, textarea, button {
  font-family: 'ProductSans-Regular', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 500;
}

/* Keep ProductSans-Bold available for special elements */
.bold-text, .home-box h3, .enquire-now-btn {
  font-family: 'ProductSansBold', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
}

/* NAVBAR (stays on top of the image) */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: saturate(140%) blur(20px);
  transform: translateY(0);
  transition: transform 0.2s ease-out;
  will-change: transform;
}

.navbar.slide-up { transform: translateY(-72px); }
.navbar.sticky { background: rgba(0, 0, 0, 0.85); }

/* Mobile-first layout (logo left, hamburger right) */
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 0 16px;
}

/* Optional legacy menu list styles */
.nav-left, .nav-right {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-left a, .nav-right a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: color 0.25s ease;
}
.nav-left a:hover, .nav-right a:hover { color: var(--main-color); }

/* Logo */
.nav-logo img {
  height: 60px;
  width: auto;
  display: block;
}

/* Hamburger */
.hamburger {
  display: block;
  width: 32px; height: 24px;
  position: relative;
  background: transparent; border: 0;
  cursor: pointer; justify-self: end;
}
.hamburger .line {
  position: absolute; left: 0; right: 0;
  height: 3px; background: #fff; border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease, width 0.35s ease;
}
.hamburger .line:nth-child(1) { top: 0; }
.hamburger .line:nth-child(2) { top: 10.5px; }
.hamburger .line:nth-child(3) { top: 21px; }
.hamburger.is-active { transform: rotate(45deg); }
.hamburger.is-active .line:nth-child(2) { width: 0; opacity: 0; }
.hamburger.is-active .line:nth-child(1) { transform: translateY(10.5px); }
.hamburger.is-active .line:nth-child(3) { transform: translateY(-10.5px) rotate(90deg); }

/* Mobile menu hidden by default on desktop */
.mobile-menu { display: none !important; }

/* Section demo placeholder */
.section-demo {
  min-height: 60vh;
  display: grid;
  place-items: center;
  color: #333;
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
}

/* Desktop navbar layout */
@media (min-width: 769px) {
  .nav-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 80px;
    padding: 0 48px;
  }

  .nav-logo {
    grid-column: 2;
    justify-self: center;
  }

  .enquire-now-btn {
    grid-column: 3;
    justify-self: end;
    background: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
  }
  .enquire-now-btn:hover { background: #0085b5; }

  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
}

/* Mobile navbar layout */
@media (max-width: 768px) {
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 16px;
  }

  .nav-left, .nav-right { display: none !important; }

  .mobile-menu {
    display: block !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(0, 165, 225, 1);
    backdrop-filter: blur(15px) saturate(140%);
    -webkit-backdrop-filter: blur(15px) saturate(140%);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
    z-index: 2000; /* ensure it's above everything */
  }

  .mobile-menu.open { max-height: 80vh; }
  .mobile-menu a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.18);
  }
  .mobile-menu a:first-child { border-top: 0; }
  .mobile-menu a:hover { background: rgba(0,0,0,0.12); }

  .enquire-now-btn { display: none; }
}



/* SECTION NAV */
.section-nav {
  position: sticky;
  top: 0;
  z-index: 1001;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.navbar, .section-nav { transition: transform 0.4s ease, opacity 0.4s ease; }
.section-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.section-nav ul {
  margin: 0;
  padding: 0;
}

.section-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}
.section-nav a:hover { color: var(--main-color); }
.section-nav.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  transform: translateY(0);
  background: #fff;
  z-index: 999;
}
.navbar.hidden { transform: translateY(-100%); opacity: 0; }
@media (max-width: 768px) { .section-nav { display: none; } }

/* Desktop & Tablet */
.home-section {
  position: relative;
  background: url('../assets/images/home.webp') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  overflow: hidden;

  /* New approach: use custom vh unit */
  height: 100vh;                     /* baseline */
  height: calc(var(--vh, 1vh) * 100);/* JS fallback for old iOS */
}

/* Prefer dvh when supported */
@supports (height: 100dvh) {
  .home-section { height: 100dvh; }
}

/* Prefer svh over dvh to avoid iOS “jump” / half-screen */
@supports (height: 100svh) {
  .home-section { height: 100svh; }
}

.home-overlay {
  width: 100%;
  background: transparent; /* No gradient now */
  padding: 60px 20px;
}

.home-content {
  max-width: 1200px;
  margin: 0 auto;
  color: white;
  animation: fadeUp 1s ease-out;
}

.home-content .row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.home-box {
  flex: 1;
  min-width: 220px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(25px);
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 90px; /* uniform height */
  transition: transform 0.3s ease;
}

.home-box:hover { transform: translateY(-3px); }

.home-box h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.home-box span {
  font-size: 18px;
  font-weight: normal;
  color: var(--main-color);
}

.enquire-btn {
  display: inline-block;
  padding: 14px 34px;
  background: linear-gradient(90deg, var(--main-color), #007ca3);
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  font-size: 16px;
  box-shadow: 0 6px 20px rgba(0,165,225,0.4);
  transition: background 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.enquire-btn:hover {
  background: linear-gradient(90deg, #007ca3, #005d7a);
  box-shadow: 0 8px 24px rgba(0,165,225,0.6);
  transform: translateY(-2px);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === FINAL MOBILE FIX: 2-2-1 layout === */
@media (max-width: 768px) {
  /* Make the whole block a 2-column grid */
  .home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: stretch;
  }

  /* Flatten the two .row wrappers so the 5 boxes become grid items */
  .home-content .row { display: contents; }

  /* Default tile look (2 per row) */
  .home-box {
    width: 100%;
    min-width: 0;              /* allow shrinking in grid */
    min-height: 56px;
    padding: 6px 8px;
    text-align: center;
    background: rgba(0,0,0,0.5);
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Last card (RERA) spans the row and is narrower/centered */
  .home-content .row:nth-of-type(2) .home-box:last-child {
    grid-column: 1 / -1;      /* take both columns */
    justify-self: center;
    width: 60%;               /* tweak to taste: 60–100% */
  }

  /* Type tweaks */
  .home-box h3 { font-size: 9px; margin-bottom: 2px; color: #fff; }
  .home-box span { font-size: 11px; font-weight: 300; color: var(--main-color); }
}

/* ===== OVERVIEW SECTION (Grid-based) ===== */

.overview-section {
  background: #fff;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 0px;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%; /* More text space, less image space */
  gap: 40px;
  align-items: center;
}

.overview-text {
  flex: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 40px; /* moves text right inside its own column */
  padding-right: 20px;
  text-align: left;
}

.overview-text h1 {
  font-family: 'Wondar-Quason', serif;
  font-size: 56px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  color: #000;
}

.overview-text p {
  font-family: 'ProductSans-Regular', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #555;
}

.overview-image {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transform: translateX(-40px); /* Shift image slightly left */
}

.overview-image img {
  max-height: 75vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 2px solid #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {
  .overview-image {
    justify-content: center; /* stays centered in its half */
    margin-left: 20px;  /* slight push to the right */
    /* use margin-right: 20px; for slight push to the left */
  }
}

/* Responsive layout for mobile */
/* === MOBILE: Overview = Title → Image → Content (Centered) === */
@media (max-width: 992px) {
  /* Make the container a 1-col grid */
  .overview-container {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 16px;
    text-align: center; /* center all text */
  }

  /* Flatten .overview-text so its children (h1, p) become grid items */
  .overview-text { 
    display: contents;
  }

  /* 1) Title on top */
  .overview-text h1 {
    grid-column: 1;
    grid-row: 1;
    font-size: 28px !important;   /* smaller mobile heading */
    line-height: 1.2;
    margin: 0 0 6px;
  }

  /* 2) Image next */
  .overview-image {
    grid-column: 1;
    grid-row: 2;
    justify-content: center !important;
    transform: none !important;
    margin: 4px 0 6px;
  }
  .overview-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    border-radius: 10px;
  }

  /* 3) Content paragraphs after the image */
  .overview-text p {
    grid-column: 1;
    font-size: 14px !important;   /* reduced font size */
    line-height: 1.7;
    margin: 8px 0;
  }
}

/* === MOBILE: Overview center + sizing (no display: contents) === */
@media (max-width: 992px) {
  #overview .overview-container {
    grid-template-columns: 1fr;   /* 1 column stack */
    gap: 16px;
    padding: 24px 16px;
  }

  #overview .overview-text {
    text-align: center;           /* center everything in text block */
    padding: 0;                    /* remove left padding from desktop */
  }

  #overview .overview-text h1 {
    font-size: 28px !important;
    line-height: 1.2;
    margin: 5px 0 5px;
  }

  #overview .overview-text p {
    font-size: 14px !important;
    line-height: 1.7;
    margin: 8px 0;
  }

  #overview .overview-image {
    justify-content: center !important;
    transform: none !important;
    margin: 0 auto;
  }

  #overview .overview-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
  }
}



/* ===== AMENITIES SECTION ===== */
.amenities-section {
  background: #fff; /* white background */
  color: #000; /* black text */
  padding: 30px 60px;
  text-align: center;
}

.amenities-title {
  font-size: 36px;
  margin-bottom: 20px;
  font-family: 'Wondar-Quason', serif;
  letter-spacing: 1.5px;
  color: #000;
}

.amenities-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  color: #555;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.amenity-item img {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  filter: brightness(0) saturate(100%) invert(54%) sepia(99%) saturate(400%) hue-rotate(164deg) brightness(94%) contrast(101%);
}

.amenity-item span {
  font-size: 14px;
  color: #000;
}

@media (max-width: 768px) {
  .amenities-section {
    padding: 40px 20px;
  }
  .amenities-title {
    font-size: 20px;
    line-height: 1.4;
  }
  .amenities-description {
    font-size: 14px;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr); /* exactly 2 per row */
    gap: 30px;
  }

  /* Smaller icons only on mobile */
  .amenity-item img {
    width: 40px; /* was 60px */
    height: 40px;
  }

  /* Optional: make amenity text smaller too */
  .amenity-item span {
    font-size: 12px;
  }  
}

/* =============================
   Layouts & Pricing Section
   ============================= */
.layouts-pricing-section {
  background: #fff;
  padding: 0;
}

.lp-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 30px;
  width: 100%;
}

.lp-title {
  text-align: center;
  font-size: 36px;
  letter-spacing: 1.2px;
  font-family: 'Wondar-Quason', serif;
  margin-top: -50px; /* moves it higher on desktop */
  margin-bottom: 40px;
  color: #000;
}

.lp-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.lp-tab {
  background: #f5f5f5;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-size: 15px;
  font-family: 'ProductSans-Regular', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.lp-tab.active {
  background: var(--main-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,165,225,0.4);
}
.lp-tab:hover {
  background: var(--main-color);
  color: #fff;
}

.lp-content { position: relative; }

.lp-pane { display: none; }
.lp-pane.active { display: block; }

.lp-text h3 {
  font-size: 22px;
  margin-bottom: 8px;
  font-family: 'ProductSans-Regular', sans-serif;
  color: #000;
}
.lp-text p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #333;
  font-family: 'ProductSans-Regular', sans-serif;
}

/* Download button (base styles, works both views) */
.lp-btn {
  background: linear-gradient(90deg, var(--main-color), #007ca3);
  color: #fff;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-family: 'ProductSans-Regular', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.3s ease;
}
.lp-btn:hover {
  background: linear-gradient(90deg, #007ca3, #005d7a);
}

/* =============================
   Desktop (>=769px)
   ============================= */
@media (min-width: 769px) {
  .layouts-pricing-section {
    height: 90vh;
    display: flex;
    align-items: center;
  }

  /* GRID: text left, image right, button under text */
  .lp-details {
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-areas:
      "text image"
      "btn  image";
    align-items: start;
    gap: 20px;
  }
  .lp-text {
    grid-area: text;
    padding-left: 60px;
    text-align: left;
    line-height: 1.8;
  }
  .lp-image {
    grid-area: image;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .lp-image img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: opacity 0.4s ease;
    z-index: 1; /* keep image under arrows */
  }
  .lp-btn {
    grid-area: btn;
    justify-self: left;   /* stays aligned exactly under text */
    margin-left: 57px;
    margin-top: 12px;
  }

  /* Arrows outside image */
  .lp-image .lp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    font-size: 20px;
    background: rgba(255,255,255,0.95);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: none;
    z-index: 3;
    cursor: pointer;     /* force pointer */
    pointer-events: auto;/* ensure clicks/hover work */
  }
  .lp-image .lp-arrow.left  { left: -70px; }
  .lp-image .lp-arrow.right { right: -70px; }
}

/* =============================
   Mobile (<=768px)
   ============================= */
@media (max-width: 768px) {
  .layouts-pricing-section {
    height: auto;
    padding: 20px 0;
  }
  .lp-title {
    font-size: 20px;
    line-height: 1.4;
    margin: 0 0 30px;
  }

  .lp-tabs {
    display: flex;                  /* ✅ keeps tabs in a row */
    overflow-x: auto;               /* ✅ horizontal scroll */
    -webkit-overflow-scrolling: touch; /* ✅ smooth iOS scroll */
    gap: 10px;
    padding: 0 10px 10px;
    justify-content: flex-start;    /* align left */
    scrollbar-width: none;          /* hide scrollbar (Firefox) */
  }
  .lp-tabs::-webkit-scrollbar { 
    display: none;                  /* hide scrollbar (Chrome, Safari) */
  }
  .lp-tab {
    flex: 0 0 auto;                 /* ✅ prevent wrapping */
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 25px;
  }

  /* Stacked layout */
  .lp-details {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    padding: 0 16px;
  }
  .lp-text { order: 1; padding: 0; }
  .lp-image {
    order: 2;
    position: relative;
    width: 100%;
    margin: 10px 0;
  }
  .lp-image img {
    width: 100% !important;
    max-height: 260px;
    height: auto !important;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12); /* ✅ shadow restored */
  }
  .lp-btn {
    order: 3;
    display: block;
    margin: 10px auto 0;
    min-width: 60%;
    text-align: center;
    padding: 12px 24px;
  }

  /* Arrows overlay inside image */
  .lp-image .lp-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;              /* smaller size */
    height: 34px;
    font-size: 16px;
    background: rgba(255,255,255,0.95); /* subtle white */
    color: #000;              /* black arrow */
    border: none;             /* remove thick border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* soft shadow */
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
  }

  .lp-image .lp-arrow:hover {
    background: rgba(0,165,225,0.9);
    color: #fff; /* invert on hover */
  }
  
  .lp-image .lp-arrow.left  { left: -40px; }
  .lp-image .lp-arrow.right { right: -40px; }
}

/* === Force mobile tabs to be horizontally scrollable ===*/

@media (max-width: 768px) {
  /* target within the layouts section with more specificity */
  .layouts-pricing-section .lp-tabs {
    display: flex !important;                   /* ensure row layout */
    flex-wrap: nowrap !important;               /* prevent wrapping */
    overflow-x: auto !important;                /* enable horizontal scroll */
    -webkit-overflow-scrolling: touch !important;/* smooth iOS scrolling */
    gap: 10px;
    padding: 0 12px 12px;
    justify-content: flex-start !important;     /* start from left edge */
    scrollbar-width: none;                      /* hide firefox scrollbar */
    white-space: nowrap !important;
    touch-action: pan-x;                        /* prioritize horizontal pan */
  }

  /* hide webkit scrollbar for cleanliness */
  .layouts-pricing-section .lp-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Make each tab stay inline and reasonably sized */
  .layouts-pricing-section .lp-tab {
    flex: 0 0 auto !important;   /* never shrink, stay on single row */
    min-width: 84px;             /* ensures touchable size; adjust if needed */
    padding: 10px 18px;
    box-sizing: border-box;
  }

  /* If your tabs are inside a centered container, allow left padding so first tab isn't hidden */
  .layouts-pricing-section .lp-tabs > .lp-tab:first-child {
    margin-left: 4px;
  }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 60px 90px;
  background: #fff;
  text-align: center;
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 40px 0;   /* remove side padding on mobile */
  }
}

.gallery-title {
  font-size: 36px;
  letter-spacing: 1.4px;
  margin-bottom: 20px;
  font-family: 'Wondar-Quason', serif;
  color: #000;
}

.gallery-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  color: #333;
}

@media (max-width: 768px) {
  .gallery-title { font-size: 22px; }
  .gallery-description {
    font-size: 15px;
    margin-left: 20px;
    margin-right: 20px;
  }
}

/* --- Carousel --- */
.gallery-carousel {
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto 40px;
  align-items: center;
}

.gallery-track {
  display: flex;
  gap: 20px;   /* spacing between images */
  transition: transform 0.6s ease;
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 calc(100% - 30px); /* ✅ leave 15px on both sides */
  margin: 0 auto;             /* ✅ center each slide */
  aspect-ratio: 4/3;       /* balanced height */
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.3s ease;
}
.gallery-slide img:hover { transform: scale(1.05); }

/* Desktop: exactly 3 per view */
@media (min-width: 992px) {
  .gallery-slide {
    flex: 0 0 calc((100% - 40px) / 3);
    aspect-ratio: 16/10;    /* ✅ fixed rectangle */
    max-height: none;       /* override mobile */
  }
  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* ✅ consistent size */
  }
}

/* Mobile: keep images inside screen */
@media (max-width: 768px) {
  .gallery-slide {
    flex: 0 0 90%;     /* ✅ smaller than screen */
    margin: 0 auto;    /* ✅ always centered */
    aspect-ratio: 4/3;       /* ✅ all slides same height */
    border-radius: 14px;
    overflow: hidden;        /* ✅ round corners visible */
  }

  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;       /* ✅ crop if needed, but uniform size */
    border-radius: 0;        /* ✅ corners handled by parent */
  }
}

@media (max-width: 768px) {
  .gallery-carousel {
    padding: 0 15px;   /* ✅ space on left/right */
  }

  .gallery-track {
    gap: 15px;         /* ✅ keep spacing consistent */
  }
}

/* --- Navigation Arrows --- */
.gallery-arrow {
  position: absolute;
  top: 45%;                     /* ✅ always center vertically */
  transform: translateY(-50%);
  background: white;
  border-radius: 50%;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  font-size: 20px;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 10;
}
.gallery-arrow.left { left: 12px; }
.gallery-arrow.right { right: 12px; }
.gallery-arrow:hover { background: var(--main-color); color: #fff; }

/* --- Brochure Button --- */
.btn-gallery-brochure {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--main-color);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.btn-gallery-brochure:hover {
  background-color: #008bbf;
  transform: translateY(-2px);
}
.gallery-brochure-btn-wrapper { text-align: center; margin: 20px 0; }

/* --- Lightbox --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.5);
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;    /* smaller so it fits evenly */
  line-height: 1;     /* removes font padding */
  font-weight: 300;   /* lighter stroke looks more centered */
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s ease;
}

.lightbox .close:hover {
  background: var(--main-color);
}

/* Lightbox arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  background: rgba(255,255,255,0.2);
  border: none;
  border-radius: 50%;
  width: 50px; height: 50px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}
.lightbox-arrow:hover { background: var(--main-color); }
.lightbox-arrow.left { left: 30px; }
.lightbox-arrow.right { right: 30px; }

/* Mobile: smaller arrows in lightbox */
@media (max-width: 768px) {
  .lightbox-arrow {
    width: 36px; height: 36px;
    font-size: 20px;
  }
}

/* ===== LOCATION SECTION ===== */

#location {
  scroll-margin-top: 72px; /* adjust to your header height */
}

.location-section {
  padding: 72px; /* equal to navbar height */
  margin-top: -72px; /* pulls it back up */
  scroll-margin-top: 72px; /* ensures anchor scroll is correct */
  background: #fff;
  text-align: center;
}

.location-title {
  font-size: 36px;
  letter-spacing: 1.4px;
  margin-top: -30px; 
  margin-bottom: 20px;
  font-family: 'Wondar-Quason', serif;
  color: #000;
}

.location-description {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.7;
  color: #333;
}

.location-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  align-items: center;
  justify-content: center;
}

/* MAP */
.location-map iframe {
  width: 100%;
  max-width: 500px;
  height: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
  .location-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 768px) {
  .location-title {
    font-size: 20px;  
    line-height: 1.4;
  }

  .location-description {
    font-size: 14px;   /* same as .amenities-description */
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  .location-map iframe {
    width: 100% !important;   /* stretch full width of container */
    height: 250px !important; /* adjust height for small screens */
  }

  .location-map {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;           /* keep it centered */
  }
}

/* ===== HEXAGON WRAPPER ===== */
.hexagon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* Parent container for hexagon + icons */
.hexagon-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 380px;   /* bigger hexagon */
  height: 340px;
}

/* Outer Hexagon */
.hexagon {
  width: 100%;
  height: 100%;
  background: #f0f0f0; /* hexagon fill */
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease;
}
.hexagon:hover {
  transform: scale(1.02);
}

/* ===== Inner Hexagon Content ===== */
.hex-content {
  width: 300px;
  height: 260px;
  background: #fff;
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-shadow: inset 0 0 0 3px #e0e0e0; /* inner border */
}

/* Text styles inside content */
.hex-content .time {
  font-size: 28px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 8px;
}

.hex-content .place {
  font-size: 20px;
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 6px;
}

.hex-content .desc {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

/* ===== ICONS ===== */
.hex-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
  z-index: 2; /* above hexagon */
}

.hex-icon img {
  width: 50px;
  height: 50px;
  filter: grayscale(100%); /* default grey */
  transition: filter 0.3s ease;
}
.hex-icon:hover img,
.hex-icon.active img {
  filter: brightness(0) saturate(100%) invert(52%) sepia(90%) saturate(600%) hue-rotate(170deg) brightness(95%) contrast(101%);
}
.hex-icon:hover {
  transform: scale(1.15);
}

/* ===== Icon Positions (50% inside, 50% outside) ===== */
.hex-icon.top {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hex-icon.top-right {
  top: 25%;
  right: 0;
  transform: translate(50%, -50%);
}
.hex-icon.bottom-right {
  bottom: 25%;
  right: 0;
  transform: translate(50%, 50%);
}
.hex-icon.bottom {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}
.hex-icon.bottom-left {
  bottom: 25%;
  left: 0;
  transform: translate(-50%, 50%);
}
.hex-icon.top-left {
  top: 25%;
  left: 0;
  transform: translate(-50%, -50%);
}

/* ===== Responsive (mobile) ===== */
@media (max-width: 768px) {
  .hexagon-container {
    width: 260px;
    height: 230px;
    margin-bottom: 30px;
  }
  .hex-content {
    width: 210px;
    height: 190px;
    padding: 18px;
  }
  .hex-content .time {
    font-size: 20px;
  }
  .hex-content .place {
    font-size: 16px;
  }
  .hex-content .desc {
    font-size: 12px;
  }
  .hex-icon {
    width: 55px;
    height: 55px;
  }
  .hex-icon img {
    width: 32px;
    height: 32px;
  }
}

/* === FIX: Location title & description full width on mobile === */
@media (max-width: 768px) {
  /* Reduce heavy section padding that’s narrowing the content */
  #location.location-section {
    padding: 24px 16px !important;
    margin-top: 0; /* avoids the -72px pull-up on small screens */
  }
}

@media (max-width: 768px) {
  .location-container {
    grid-template-columns: 1fr !important; /* stack vertically */
    gap: 20px;
  }

  .location-map iframe {
    width: 100% !important;
    height: 250px !important;
  }

  .hexagon-wrapper {
    max-width: 100% !important;
    overflow-x: hidden;  /* prevent it from pushing viewport */
    margin: 0 auto;
  }

  /* Safety: ensure the whole section never overflows */
  .location-section {
    overflow-x: hidden;
  }
}

/* --- Hexagon top icon clipping fix (mobile, refined) --- */
@media (max-width: 768px) {
  .location-section {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .hexagon-wrapper,
  .hexagon-container {
    overflow: visible !important;
    position: relative;
    z-index: 1;
  }

  /* Let the top icon stay on the edge, not moved down */
  .hex-icon.top {
    top: 0 !important;
    transform: translate(-50%, -50%) !important; /* original math */
    margin-top: 0px; /* give breathing space without shifting geometry */
  }

  @media (max-width: 360px) {
    .hex-icon {
      width: 52px;
      height: 52px;
    }
    .hex-icon img {
      width: 30px;
      height: 30px;
    }
  }
}


@media (max-width: 768px) {
  .location-title {
    font-size: 20px !important;    /* smaller so it fits */
    line-height: 1.3 !important;   /* prevent clipping */
    margin-top: 0 !important;      /* remove negative margin */
    padding: 0 0px;               /* little breathing room */
    word-break: break-word;        /* force wrap if too long */
    text-align: center;            /* keep centered */
  }
}

@media (max-width: 768px) {
  .navbar {
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .navbar.nav-hidden {
    transform: translateY(-100%); /* push it up */
    opacity: 0;
  }
}

#overview,
#amenities,
#layouts-pricing,
#gallery,
#location,
#contact {
  margin-bottom: 60px; /* adjust to taste */
}

#overview,
#amenities,
#layouts-pricing,
#gallery,
#location,
#contact {
  scroll-margin-top: 72px; /* navbar height */
}

@media (max-width: 768px) {
  /* Reset section spacing on mobile */
  .overview-section {
    margin-bottom: 0 !important;
    padding-bottom: 0px !important;
  }
}

/* Overview Brochure Button */
.btn-overview-brochure {
  display: inline-block;
  width: auto;               /* shrink to content */
  max-width: fit-content;    /* don’t stretch */
  padding: 12px 28px;
  background: linear-gradient(90deg, var(--main-color), #007ca3);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px; /* rounded pill */
  box-shadow: 0 6px 20px rgba(0,165,225,0.4);
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
  margin-top: 20px;
}

.btn-overview-brochure:hover {
  background: linear-gradient(90deg, #007ca3, #005d7a);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,165,225,0.5);
}

@media (max-width: 768px) {
  .btn-overview-brochure {
    font-size: 14px;
    padding: 10px 22px;
    margin-top: 16px;

    /* critical fix for grid children */
    justify-self: center;  /* align left inside grid */
    align-self: center;
  }
}


/* ===== FAQ SECTION ===== */
.faq-section {
  padding: 70px 20px;
  background: #fff; /* white background */
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: var(--main-color);
  font-weight: 700;
  letter-spacing: 1px;
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  color: #333;
  letter-spacing: 0.5px;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f9f9f9;
}

.faq-question::after {
  content: "▼";
  position: absolute;
  right: 20px;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
  color: var(--main-color);
}

.faq-item.active .faq-question::after {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 0 20px;
  background: #fff;
  text-align: left;
}

.faq-answer p {
  margin: 0;
  padding: 12px 0 18px;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 400px; /* smooth expansion */
  padding: 0 20px;
}

@media (max-width: 768px) {
  .faq-title {
    font-size: 20px;
    line-height: 1.2;
  }
  .faq-question {
    font-size: 14px;
    padding: 16px 45px 16px 16px; /* extra padding for mobile */
  }

  .faq-answer p {
  margin: 0;
  padding: 12px 0 18px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

/* Force About section title to use Wondar-Quason */
.about-title {
  font-family: 'Wondar-Quason', serif !important;
  font-size: 2.4rem;
  font-weight: 400;
  text-align: center;
  margin-bottom: 50px;
  letter-spacing: 1.4;
}

.about-title .text-black {
  color: #000;
  font-family: 'Wondar-Quason', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
}

.about-title .text-main {
  color: var(--main-color);
  font-family: 'Wondar-Quason', serif !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
}

.about-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stat-box {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 35px 25px;
  flex: 1 1 240px;
  max-width: 280px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  text-align: center;
}

.stat-box h3 {
  font-size: 2rem;   /* matches scale but still bold */
  font-weight: 800;
  color: var(--main-color);
  margin-bottom: 8px;
}

/* Stat numbers - Product Sans Bold */
.stat-box h3 {
  font-family: 'ProductSans-Bold', sans-serif;
  font-size: 2.4rem;   /* bigger + bold */
  font-weight: 700;
  color: var(--main-color);
  margin-bottom: 8px;
}

/* Stat labels */
.stat-box p {
  font-family: 'ProductSans-Regular', sans-serif;
  font-size: 1rem;
  color: #444;
  margin: 0;
  font-weight: 500;
}

.about-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-text p {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.2;
  color: #555;
}

.rishabraj-btn {
  grid-column: 3;
  justify-self: end;
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  transition: background 0.3s ease;
  letter-spacing: 1.05px;
}
  .rishabraj-btn:hover { background: #0085b5; 
}

@media (max-width: 768px) {
  .about-title { font-size: 24px; margin-top: -40px;}
  .stat-box h3 { font-size: 20px; }
  .stat-box { padding: 25px 18px; }
}

/* Reduce spacing between Location → FAQ → About sections */
.location-section,
.faq-section,
.about-section {
  padding-top: 40px;
  padding-bottom: 40px;
}

.location-section h2,
.faq-section h2,
.about-section h2 {
  margin-top: 0;
}

.faq-section {
  margin-top: -20px; /* reduces gap after Location */
}

.about-section {
  margin-top: -20px; /* reduces gap after FAQ */
}



/* ===== CONTACT SECTION ===== */
.contact-section {
  min-height: 90vh;        /* full screen */
  width: 100%;              /* edge to edge */
  background: linear-gradient(135deg, #f0faff, #e3f3f9); /* gradient here */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.contact-container {
  max-width: 900px;
  width: 90%;
  background: #fff;          /* keep this solid white card */
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.08);
  text-align: center;
}

.contact-title {
  font-family: 'Wondar-Quason', serif;
  font-size: 42px;
  letter-spacing: 2px; /* added spacing */
  margin-bottom: 16px;
  color: #000;
}

.contact-subtitle {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-cta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0,165,225,0.3);
  min-width: 200px; /* keeps both CTAs same width */
  text-align: center;
}

.contact-btn.open-enquiry {
  background: linear-gradient(90deg, var(--main-color), #007ca3);
  color: #fff;
}
.contact-btn.open-enquiry:hover {
  background: linear-gradient(90deg, #007ca3, #005d7a);
  transform: translateY(-2px);
}

.contact-btn.secondary {
  background: #fff;
  color: var(--main-color);
  border: 2px solid var(--main-color);
  box-shadow: none;
}
.contact-btn.secondary:hover {
  background: var(--main-color);
  color: #fff;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .contact-title { font-size: 24px; letter-spacing: 1.2px; }
  .contact-subtitle { font-size: 14px; }

  .contact-cta { flex-direction: column; gap: 15px; }

  .contact-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 14px;
    min-width: unset; /* let them shrink equally */
  }
}

html, body { overflow-x: clip; }

/* ===== FOOTER ===== */
.footer {
  background: #f9fbfc; /* light elegant background */
  color: #444;
  padding: 50px 30px;
  font-family: 'ProductSans-Regular', sans-serif;
  border-top: 1px solid #e5e5e5; /* subtle separation */
  margin-top: 0 !important; /* remove gap from above */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 30px;
  text-align: center;
  line-height: 1.6; /* consistent vertical rhythm */
}

/* LEFT */
.footer-left {
  text-align: left;
}
.footer-link {
  display: block;
  color: #555;
  font-size: 14px;
  margin-bottom: 8px; /* extra spacing */
  text-decoration: none;
  line-height: 1.6;
  transition: color 0.3s ease;
}
.footer-link:hover { color: var(--main-color); }
.footer-copy {
  font-size: 13px;
  color: #777;
  margin-top: 14px;
  line-height: 1.6;
}

/* CENTER */
.footer-center {
  text-align: center;
}
.footer-logo {
  height: 40px;
  margin-bottom: 12px;
}
.footer-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.6;
}
.footer-rera {
  font-size: 14px;
  color: var(--main-color);
  font-weight: 600;
  line-height: 1.6;
}

/* RIGHT */
.footer-right {
  text-align: right;
}
.footer-follow {
  font-size: 15px;
  margin-bottom: 12px; /* more space before icons */
  font-weight: 600;
  color: #333;
  line-height: 1.6;
}
.footer-social a {
  display: inline-block;
  margin-left: 14px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-social img {
  width: 28px;   /* larger default size */
  height: 28px;
  object-fit: contain;
}
.footer-social a:hover {
  transform: translateY(-2px);
  opacity: 0.7;
}

/* Remove gap between last section and footer */
#contact {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px; /* extra spacing between blocks */
  }

  /* Reorder blocks on mobile */
  .footer-center { order: 1; }
  .footer-right  { order: 2; }
  .footer-left   { order: 3; }

  .footer-left, 
  .footer-right { text-align: center; }
  .footer-social a { margin: 0 12px; }

  /* Larger social icons on mobile */
  .footer-social img {
    width: 32px;
    height: 32px;
  }

  /* Smaller logo on mobile */
  .footer-logo {
    height: 36px;
    margin-bottom: 10px;
  }
}

/* ===== ENQUIRY MODAL ===== */
.enquiry-modal {
  display: none; /* hidden by default */
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.enquiry-content {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  animation: fadeInUp 0.4s ease;
  text-align: center;
}

.enquiry-close {
  position: absolute;
  top: 18px; right: 22px;
  font-size: 28px;
  cursor: pointer;
  color: #777;
  transition: color 0.3s ease;
}
.enquiry-close:hover { color: var(--main-color); }

.enquiry-title {
  font-size: 24px;
  letter-spacing: 1.5px;
  font-weight: 700;
  margin-bottom: 8px;
}

.enquiry-sub {
  font-size: 14px;
  color: #666;
  margin-bottom: 24px;
  line-height: 1.6;
}

.enquiry-form .form-group {
  margin-bottom: 16px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  background: #fafafa;
  outline: none;
  transition: all 0.3s ease;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: var(--main-color);
  background: #fff;
  box-shadow: 0 0 8px rgba(0,64,128,0.15);
}

.enquiry-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--main-color), #0a3d8f);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.enquiry-btn:hover {
  background: linear-gradient(135deg, #0a3d8f, var(--main-color));
  transform: translateY(-2px);
}

/* ===== Phone + Country Code Layout ===== */
.enquiry-form .form-group.contact_number {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Country code dropdown */
.enquiry-form select.countryCode {
  width: 110px;   /* fixed small width */
  min-width: 90px;
  flex-shrink: 0;
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: 'ProductSans-Regular', sans-serif;
  background: #fff url("../assets/images/icons/chevron-down.svg") no-repeat right 10px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color: #444;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.enquiry-form select.countryCode:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
  outline: none;
}

/* Phone number input expands */
.enquiry-form .form-group.contact_number input[type="text"] {
  flex: 1; /* take remaining space */
  padding: 12px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  color: #444;
}

/* Animation */
@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ===== Mobile adjustments ===== */
@media (max-width: 480px) {
  .enquiry-content {
    padding: 30px 22px;
  }
  .enquiry-title {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .enquiry-btn {
    font-size: 15px;
    padding: 12px;
  }

  /* Stack country + phone vertically */
  .enquiry-form .form-group.contact_number {
    flex-direction: column;
    align-items: stretch;
  }
  .enquiry-form select.countryCode {
    width: 100%;
  }
}


