/* ================================================
   KATHAN INFRASTRUCTURE — Premium Website CSS
   Color Palette: White + Dark Navy + Gold
   Font: Cormorant Garamond (Display) + Poppins (Body)
   ================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --navy: #0d1b3e;
  --navy-light: #1a2f5c;
  --navy-mid: #162444;
  --gold: #c8960c;
  --gold-light: #e8b84b;
  --gold-pale: #f5e6c0;
  --white: #ffffff;
  --off-white: #faf9f6;
  --light-bg: #f4f1ea;
  --text-dark: #0d1b3e;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2d9c5;
  --shadow-sm: 0 2px 12px rgba(13,27,62,0.08);
  --shadow-md: 0 8px 32px rgba(13,27,62,0.12);
  --shadow-lg: 0 20px 60px rgba(13,27,62,0.16);
  --shadow-gold: 0 8px 32px rgba(200,150,12,0.2);
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; line-height: 1.2; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; color: var(--navy); }
.section-title em { color: var(--gold); font-style: italic; }
.section-title.light { color: var(--white); }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label.light { color: var(--gold-light); }
.section-desc { font-size: 1rem; color: var(--text-mid); margin-top: 0.75rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.section-desc.light { color: rgba(255,255,255,0.75); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 4rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--navy);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-gold);
  font-family: 'Poppins', sans-serif;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(200,150,12,0.35); }
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: transparent;
  color: var(--white);
  font-weight: 500;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border: 1.5px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  background: #25D366;
  color: white;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.btn-whatsapp:hover { background: #128C7E; transform: translateY(-2px); }
.btn-nav-call {
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-nav-call:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(13,27,62,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-main { font-size: 0.9rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; }
.logo-sub { font-size: 0.55rem; font-weight: 500; color: var(--gold-light); letter-spacing: 0.12em; }
.nav-links { display: flex; align-items: center; gap: 0.25rem; flex: 1; justify-content: center; }
.nav-link {
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; transition: var(--transition); border-radius: 2px; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 6rem;
}
.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: var(--navy);
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  z-index: 2;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,62,0.8) 0%, rgba(13,27,62,0.1) 40%, rgba(0,0,0,0.1) 100%);
  z-index: 3;
}
.hero-overlay-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.5rem;
  background: rgba(200,150,12,0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(200,150,12,0.4);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-btns { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 1rem; 
  flex-wrap: wrap; 
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: var(--transition);
}
.slider-arrow:hover {
  background: rgba(200,150,12,0.8);
  border-color: var(--gold-light);
}
.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.75rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--gold-light);
  transform: scale(1.2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 10;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(200,150,12,0.9), transparent);
  animation: scrollLine 2s infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 1rem 0;
  border-top: 2px solid var(--gold);
}
.trust-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: rgba(255,255,255,0.85); text-align: center; }
.trust-item strong { color: var(--gold-light); word-break: break-all; overflow-wrap: break-word; white-space: normal; display: block; margin-top: 0.2rem; }
.trust-icon { color: var(--gold); font-size: 0.9rem; flex-shrink: 0; }
.trust-divider { color: rgba(255,255,255,0.2); font-size: 1.2rem; }

/* ===== ABOUT ===== */
.about { padding: 7rem 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-img-wrapper { position: relative; padding: 2rem; }
.about-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 85%;
  height: 85%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
}
.about-img-card {
  position: relative;
  z-index: 2;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  margin-top: 2rem;
  margin-left: 2rem;
  border: 1px solid var(--border);
}
.about-year {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.about-logo-img {
  position: absolute;
  top: -1.5rem;
  right: 0;
  width: 140px;
  height: 140px;
  object-fit: contain;
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  z-index: 3;
}
.about-img-card h3 { font-size: 1.5rem; color: var(--navy); margin-bottom: 0.75rem; }
.about-img-card p { font-size: 0.875rem; color: var(--text-mid); }
.about-badge-card {
  position: absolute;
  bottom: -0.5rem;
  left: -1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-gold);
  z-index: 3;
}
.about-badge-card span { font-size: 1.5rem; }
.about-badge-card strong { display: block; font-size: 0.8rem; font-weight: 700; }
.about-badge-card p { font-size: 0.7rem; margin: 0; }
.about-content .section-title { margin-bottom: 1.5rem; }
.about-text { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 1.25rem; }
.about-pillars { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.pillar { display: flex; align-items: flex-start; gap: 1rem; }
.pillar-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.pillar strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.pillar p { font-size: 0.825rem; color: var(--text-mid); margin: 0; }

/* ===== HIGHLIGHTS ===== */
.highlights {
  padding: 7rem 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #0a1628 100%);
  position: relative;
  overflow: hidden;
}
.highlights::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(200,150,12,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.highlight-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}
.highlight-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(200,150,12,0.25); transform: translateY(-4px); }
.highlight-card:hover::before { transform: scaleX(1); }
.highlight-icon { font-size: 2rem; margin-bottom: 1.25rem; }
.highlight-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--white); margin-bottom: 0.75rem; }
.highlight-card p { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ===== GALLERY ===== */
.gallery { padding: 7rem 0; background: var(--off-white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}
.gallery-large { grid-column: 1 / 3; grid-row: 1 / 3; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; position: relative; }
.gallery-img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.gallery-large .gallery-img { min-height: 460px; }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,62,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-overlay p { color: white; font-size: 0.875rem; font-weight: 500; }
.gallery-zoom { font-size: 2rem; color: var(--gold-light); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-img { transform: scale(1.03); }
.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.gallery-placeholder.small svg { width: 100%; height: 100%; }
.building-svg { width: 80%; max-width: 350px; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,10,25,0.95);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-content { max-width: 80vw; max-height: 80vh; text-align: center; }
.lightbox-img { max-width: 100%; max-height: 70vh; overflow: hidden; border-radius: var(--radius-lg); }
.lightbox-caption { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 1rem; }

/* ===== FLOOR PLANS ===== */
.floorplans { padding: 7rem 0; background: var(--white); }
.floor-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  background: var(--light-bg);
  padding: 0.5rem;
  border-radius: 50px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.floor-tab {
  padding: 0.625rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  border-radius: 50px;
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
}
.floor-tab.active {
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow-md);
}
.floor-tab:hover:not(.active) { color: var(--navy); }
.floor-plan { display: none; }
.floor-plan.active { display: block; }
.fp-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.fp-info h3 { font-size: 2rem; color: var(--navy); margin-bottom: 1rem; }
.fp-info p { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 1.5rem; }
.fp-features { margin-bottom: 2rem; }
.fp-features li { font-size: 0.875rem; color: var(--text-mid); padding: 0.375rem 0; }
.fp-features li::before { content: ''; }
.fp-img-wrapper {
  background: var(--off-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-img-wrapper:hover { border-color: var(--gold); box-shadow: var(--shadow-gold); }
.fp-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(13,27,62,0.7);
  color: rgba(255,255,255,0.8);
  font-size: 0.7rem;
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
}

/* Floor Modal */
.fp-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.fp-modal.open { display: flex; }
.fp-modal-content {
  background: white;
  border-radius: var(--radius-lg);
  max-width: 90vw;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 1.5rem;
}
.fp-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--navy);
  font-size: 1.25rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1;
}
.fp-modal-close:hover { background: var(--navy); color: white; }
.fp-modal-img { max-width: 100%; overflow: hidden; }

/* ===== AMENITIES ===== */
.amenities { padding: 7rem 0; background: var(--off-white); }
.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.amenity {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.amenity:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.amenity-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.amenity h4 { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.5rem; font-family: 'Poppins', sans-serif; }
.amenity p { font-size: 0.8rem; color: var(--text-mid); }

/* ===== FOUNDER ===== */
.founder { padding: 7rem 0; background: var(--white); }
.founder-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.founder-img-wrapper { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.founder-img-frame {
  width: 340px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
}
.founder-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.founder-initials { font-size: 5rem; font-weight: 700; color: var(--gold-light); font-family: 'Cormorant Garamond', serif; }
.founder-name-card {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  padding: 1rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-gold);
}
.founder-name-card strong { display: block; font-size: 0.95rem; font-weight: 700; }
.founder-name-card span { font-size: 0.75rem; font-weight: 500; }
.founder-gold-accent {
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 50%;
  opacity: 0.1;
  z-index: -1;
}
.founder-content .section-title { margin-bottom: 0.5rem; }
.founder-name { font-size: 1.75rem; color: var(--navy); font-family: 'Cormorant Garamond', serif; margin-bottom: 0.25rem; }
.founder-title-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 0.3rem 0.875rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.founder-bio { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 1rem; }
.founder-values { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0 2rem; }
.fv {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 500;
  color: var(--navy);
  padding: 0.625rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius);
}
.fv span { font-size: 1rem; }
.founder-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== DOCUMENTS ===== */
.documents {
  padding: 7rem 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.documents::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(200,150,12,0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(200,150,12,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.docs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; position: relative; }
.doc-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: var(--transition);
}
.doc-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(200,150,12,0.4); transform: translateY(-4px); }
.doc-icon { font-size: 2.5rem; }
.doc-info h3 { font-size: 1.25rem; color: var(--white); margin-bottom: 0.5rem; font-family: 'Cormorant Garamond', serif; }
.doc-info p { font-size: 0.825rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.doc-tags { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.doc-tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.6rem;
  background: rgba(200,150,12,0.2);
  color: var(--gold-light);
  border-radius: 50px;
}
.doc-btns { display: flex; gap: 0.75rem; }
.btn-doc-view {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: rgba(255,255,255,0.08);
  color: white;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  border: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  text-decoration: none;
}
.btn-doc-view:hover { background: rgba(255,255,255,0.15); }
.btn-doc-download {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 0.825rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: var(--transition);
  font-family: 'Poppins', sans-serif;
  text-align: center;
  text-decoration: none;
}
.btn-doc-download:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); }

/* Doc Modal */
.doc-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}
.doc-modal.open { display: flex; }
.doc-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.85); }
.doc-modal-content {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 90%;
  max-height: 88vh;
  overflow: auto;
  padding: 2.5rem;
}
.doc-modal-close {
  position: sticky;
  top: 0;
  float: right;
  color: var(--navy);
  font-size: 1.2rem;
  cursor: pointer;
  width: 36px;
  height: 36px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-bottom: 1rem;
}
.doc-modal-close:hover { background: var(--navy); color: white; }
.doc-modal-title { font-size: 1.75rem; color: var(--navy); margin-bottom: 1.5rem; clear: both; }
.doc-modal-body { font-size: 0.9rem; color: var(--text-mid); line-height: 1.9; }

/* ===== CONTACT ===== */
.contact { padding: 7rem 0; background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-form { background: white; border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--gold); background: white; box-shadow: 0 0 0 3px rgba(200,150,12,0.1); }
.form-group textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.75rem; color: var(--text-light); margin-top: 0.875rem; }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  gap: 1rem;
}
.form-success.show { display: flex; }
.success-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 { font-size: 1.75rem; color: var(--navy); }
.form-success p { color: var(--text-mid); font-size: 0.9rem; }
.contact-info-cards { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
}
.contact-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.contact-card-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; }
.contact-card strong { display: block; font-size: 0.8rem; color: var(--navy); margin-bottom: 0.2rem; }
.contact-card p { font-size: 0.825rem; color: var(--text-mid); margin: 0; }
.contact-link { font-size: 0.9rem; color: var(--gold); font-weight: 600; }
.contact-link:hover { color: var(--navy); }
.map-wrapper { border-radius: var(--radius-lg); overflow: hidden; border: 2px solid var(--border); }

/* ===== FOOTER ===== */
.footer-main { background: var(--navy); padding: 5rem 0 3rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
.footer-logo { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.25rem; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.8; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  color: rgba(255,255,255,0.7);
}
.social-link:hover { background: var(--gold); color: var(--navy); }
.footer-links-col h4,
.footer-contact-col h4 { font-size: 0.9rem; font-weight: 600; color: var(--gold-light); margin-bottom: 1.25rem; font-family: 'Poppins', sans-serif; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links-col a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-links-col a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-col p { font-size: 0.825rem; color: rgba(255,255,255,0.55); margin-bottom: 0.75rem; line-height: 1.7; }
.footer-phone { display: block; font-size: 1.1rem; font-weight: 700; color: var(--gold-light); margin-bottom: 1.5rem; }
.footer-compliance { display: flex; flex-direction: column; gap: 0.625rem; padding: 1rem; background: rgba(200,150,12,0.06); border: 1px solid rgba(200,150,12,0.15); border-radius: var(--radius); }
.compliance-item { display: flex; flex-direction: column; gap: 0.15rem; }
.compliance-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; }
.compliance-val { font-size: 0.72rem; color: rgba(255,255,255,0.6); line-height: 1.5; }
.footer-bottom { background: rgba(0,0,0,0.3); padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); text-align: center; }
.footer-disclaimer { margin-top: 0.25rem; font-size: 0.65rem !important; color: rgba(255,255,255,0.25) !important; }

/* ===== FLOATING BUTTONS ===== */
.floating-btns {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: var(--transition);
  font-size: 1.25rem;
  color: white;
  text-decoration: none;
  cursor: pointer;
}
.fab:hover { transform: scale(1.1); }
.fab-whatsapp { background: #25D366; }
.fab-call { background: var(--navy); font-size: 1.1rem; }
.fab-top {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.fab-top.visible { opacity: 1; pointer-events: all; }

/* ===== ANIMATIONS ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translateX(-30px); }
.reveal-right { transform: translateX(30px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* Stagger delay */
.highlights-grid .highlight-card:nth-child(1),
.amenities-grid .amenity:nth-child(1),
.docs-grid .doc-card:nth-child(1) { transition-delay: 0.1s; }
.highlights-grid .highlight-card:nth-child(2),
.amenities-grid .amenity:nth-child(2),
.docs-grid .doc-card:nth-child(2) { transition-delay: 0.2s; }
.highlights-grid .highlight-card:nth-child(3),
.amenities-grid .amenity:nth-child(3),
.docs-grid .doc-card:nth-child(3) { transition-delay: 0.3s; }
.highlights-grid .highlight-card:nth-child(4),
.amenities-grid .amenity:nth-child(4) { transition-delay: 0.1s; }
.highlights-grid .highlight-card:nth-child(5),
.amenities-grid .amenity:nth-child(5) { transition-delay: 0.2s; }
.highlights-grid .highlight-card:nth-child(6),
.amenities-grid .amenity:nth-child(6) { transition-delay: 0.3s; }
.amenities-grid .amenity:nth-child(7) { transition-delay: 0.15s; }
.amenities-grid .amenity:nth-child(8) { transition-delay: 0.25s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .about-img-wrapper { max-width: 480px; margin: 0 auto; }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
  .founder-img-wrapper { flex-direction: row; align-items: flex-start; }
  .founder-img-frame { width: 220px; height: 280px; }
}

@media (max-width: 768px) {
  .slider-arrow { display: none; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13,27,62,0.99);
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 9999;
    overflow: hidden;
  }
  .nav-links.open .nav-link { font-size: 1.25rem; }
  .hamburger {
    display: flex;
    z-index: 10001;
    margin-left: auto;
    position: relative;
  }
  .hamburger.open {
    position: fixed;
    top: 1.1rem;
    right: 1.25rem;
    margin-left: 0;
    z-index: 10001;
  }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns a { width: 100%; max-width: 280px; justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large { grid-column: 1; grid-row: auto; }
  .gallery-large .gallery-img { min-height: 280px; }
  .fp-grid { grid-template-columns: 1fr; gap: 2rem; }
  .highlights-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .docs-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .trust-container { flex-direction: column; gap: 0.75rem; text-align: center; }
  .trust-divider { display: none; }
  .hero-stats { gap: 1rem; }
  .founder-grid { gap: 2.5rem; }
  .founder-img-wrapper { flex-direction: column; align-items: center; }
  .founder-img-frame { width: 280px; height: 340px; }
  .founder-values { grid-template-columns: 1fr; }
  .about-img-wrapper { padding: 1.5rem; }
  section { padding: 4rem 0; }
  .about, .founder, .gallery, .floorplans, .amenities, .contact { padding: 5rem 0; }

  /* Document section — prevent overflow on mobile */
  .documents { overflow-x: hidden; }
  .documents .container { padding: 0 1rem; }

  /* Document cards — centered, clean layout on all mobile */
  .docs-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .doc-card {
    height: auto;
    min-height: unset;
    padding: 1.5rem 1.25rem;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .doc-icon { font-size: 2rem; }
  .doc-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
  }
  .doc-info h3 { font-size: 1.1rem; word-break: break-word; }
  .doc-info p {
    font-size: 0.8rem;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
  }
  .doc-tags { justify-content: center; flex-wrap: wrap; }
  .doc-btns { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; }
  .btn-doc-view,
  .btn-doc-download {
    flex: none;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    gap: 0.35rem;
    justify-content: center;
  }
  .btn-doc-view svg,
  .btn-doc-download svg { width: 15px; height: 15px; flex-shrink: 0; }
}

@media (max-width: 480px) {
  .amenities-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.75rem; }
  .hero-stats { gap: 0.75rem; }
  .stat-num { font-size: 1.5rem; }
  .fab { width: 46px; height: 46px; font-size: 1.1rem; }
  .floating-btns { right: 1rem; bottom: 1.5rem; }
  .founder-img-frame { width: 240px; height: 290px; }

  /* Smaller doc buttons on very small screens */
  .doc-card { padding: 1.25rem 1rem; }
  .btn-doc-view,
  .btn-doc-download {
    padding: 0.55rem 1rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }
  .btn-doc-view svg,
  .btn-doc-download svg { width: 13px; height: 13px; }
}