/* ══════════════════════════════════════════════════════════
   MAHALAKSHMI DEVELOPERS — style.css
   Theme : Dark Red · Gold · Forest Green
   Fonts : Cormorant Garamond (display) + Outfit (body)
   Sections:
     01. Variables & Reset
     02. Typography helpers
     03. Header & Navigation
     04. Hero & Slideshow
     05. About / Why Red Sandalwood
     06. Plans
     07. Surrounding Developments
     08. Visit Booking
     09. Register
     10. Contact
     11. Footer
     12. Utilities (back-to-top, reveal)
     13. Responsive
══════════════════════════════════════════════════════════ */


/* ══ 01. VARIABLES & RESET ══════════════════════════════ */

:root {
  --crimson:    #8B1A1A;
  --crimson-dk: #6B0F0F;
  --crimson-lt: #A52020;
  --gold:       #C8960C;
  --gold-lt:    #E5B12A;
  --gold-pale:  #F5DFA0;
  --forest:     #2d6a4f;
  --forest-lt:  #40916c;
  --cream:      #FAF6EE;
  --dark:       #1A0A0A;
  --dark-card:  #220E0E;
  --dark-2:     #2D1010;
  --muted:      #8A7560;
  --border:     rgba(200,150,12,0.2);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Outfit', sans-serif;

  --radius:        12px;
  --radius-lg:     20px;
  --shadow:        0 20px 60px rgba(0,0,0,0.3);
  --shadow-gold:   0 8px 30px rgba(200,150,12,0.2);
  --transition:    0.35s cubic-bezier(0.25,0.46,0.45,0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; object-fit: cover; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ══ 02. TYPOGRAPHY HELPERS ═════════════════════════════ */

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 12px;
  display: block;
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-title.light { color: #fff; }
.section-title em    { font-style: italic; color: var(--gold); }

.section-header { text-align: center; margin-bottom: 64px; }

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.6); }

/* Scroll reveal — always visible (JS can enhance) */
.reveal { opacity: 1; transform: translateY(0); }
.reveal.in-view { opacity: 1; transform: translateY(0); }


/* ══ 03. HEADER & NAVIGATION ════════════════════════════ */

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  transition: background var(--transition), box-shadow var(--transition);
}
#header.scrolled {
  background: rgba(26,10,10,0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }

/* No circle / round on logo — ever */
.logo-img-wrap,
.logo-emblem {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0 !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.logo-img-wrap.sm,
.logo-emblem.sm { width: 38px; height: 38px; }

.logo-img-wrap img,
.logo-emblem img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0 !important;
}
/* Hide any SVG circle used as decorative ring */
.logo-img-wrap svg circle,
.logo-emblem svg circle { display: none !important; }

.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Desktop nav */
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover            { color: var(--gold); }
.nav-links a:hover::after     { width: 100%; }

.btn-nav {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 4px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn-nav:hover { background: var(--gold); color: var(--dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  background: rgba(26,10,10,0.98);
  padding: 24px 0 32px;
  border-top: 1px solid var(--border);
}
.mobile-nav.open { display: block; }
.mobile-nav ul   { display: flex; flex-direction: column; align-items: center; }
.mobile-nav li a {
  display: block;
  padding: 14px 24px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.mobile-nav li a:hover { color: var(--gold); }
.btn-mobile-nav {
  margin-top: 8px;
  border: 1.5px solid var(--gold) !important;
  color: var(--gold) !important;
  border-radius: 4px;
  padding: 10px 28px !important;
}


/* ══ 04. HERO & SLIDESHOW ═══════════════════════════════ */

#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Slideshow */
.slideshow-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.18); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26,10,10,0.82) 0%,
    rgba(107,15,15,0.65) 40%,
    rgba(26,10,10,0.90) 100%
  );
  z-index: 1;
}
.grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* Slideshow dots */
.slideshow-dots {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}
.dot.active { background: var(--gold); transform: scale(1.3); }

/* Hero text */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 120px 24px 80px;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 24px;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero-title em { font-style: italic; color: var(--gold-lt); }

.hero-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 20px;
  animation: fadeUp 1s 0.3s ease both;
}

/* 2nd Venture line */
.hero-venture {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  background: rgba(200,150,12,0.1);
  border: 1px solid rgba(200,150,12,0.28);
  border-radius: 8px;
  padding: 12px 22px;
  display: inline-block;
  animation: fadeUp 1s 0.38s ease both;
}
.hero-venture strong { color: var(--gold-lt); font-weight: 600; }

.hero-ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
  animation: fadeUp 1s 0.5s ease both;
}
.btn-primary {
  padding: 15px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(200,150,12,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,150,12,0.5); }
.btn-secondary {
  padding: 15px 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: border-color var(--transition), background var(--transition);
}
.btn-secondary:hover { border-color: var(--gold); background: rgba(200,150,12,0.1); }

/* Hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 1s 0.65s ease both;
}
.stat { display: flex; flex-direction: column; align-items: center; padding: 0 36px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 44px; background: rgba(200,150,12,0.35); }

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.5);
  animation: bounce 2s infinite;
  width: 36px; height: 36px;
}
.scroll-arrow svg { width: 100%; height: 100%; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}


/* ══ 05. ABOUT / WHY RED SANDALWOOD ════════════════════ */

.section-why {
  padding: 100px 0;
  background: var(--cream);
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.why-desc {
  font-size: 1.02rem;
  color: #4A3728;
  line-height: 1.8;
  margin: 20px 0 28px;
}
.why-list  { display: flex; flex-direction: column; gap: 12px; }
.why-list li {
  font-size: 0.95rem;
  color: #4A3728;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}
.check { color: var(--gold); font-size: 0.85rem; margin-top: 2px; flex-shrink: 0; }

/* Products section */
.products-section  { margin-top: 32px; }
.govt-prices-section { margin-top: 28px; }
.products-heading {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 14px;
}
.products-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.product-pill {
  background: rgba(139,26,26,0.07);
  border: 1px solid rgba(139,26,26,0.18);
  border-radius: 20px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: #4A3728;
  font-weight: 500;
}

/* Government grade price cards */
.grade-prices {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin-top: 8px;
}
.grade-card {
  background: #fff;
  border: 1px solid rgba(139,26,26,0.12);
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.grade-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); }
.grade-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.grade-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--crimson);
  line-height: 1;
}
.grade-sub  { font-size: 0.7rem; color: var(--muted); margin-top: 4px; }
.grade-note { font-size: 0.72rem; color: var(--muted); margin-top: 8px; }
.grade-card.grade-a { border-top: 3px solid var(--gold); }
.grade-card.grade-b { border-top: 3px solid var(--crimson); }
.grade-card.grade-c { border-top: 3px solid var(--forest); }

/* Why image */
.why-image { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.why-image img {
  border-radius: var(--radius-lg);
  height: 600px;
  box-shadow: var(--shadow);
}
.why-badge {
  position: absolute;
  bottom: -24px; right: -24px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dk));
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-lt);
  line-height: 1;
}
.badge-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
}


/* ══ 06. PLANS ══════════════════════════════════════════ */

.section-plans {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  position: relative;
  overflow: hidden;
}
.section-plans::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,150,12,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  justify-content: center;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.plan-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4), 0 0 0 1px var(--gold);
}
.plan-featured {
  background: linear-gradient(160deg,#2D0E0E 0%,var(--dark-card) 100%);
  border-color: var(--gold);
  transform: scale(1.03);
  box-shadow: var(--shadow-gold);
}
.plan-featured:hover { transform: scale(1.03) translateY(-8px); }

.plan-ribbon {
  position: absolute;
  top: -1px; right: 28px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 4px 14px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.featured-ribbon {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark) !important;
  border-color: var(--gold);
}

.plan-icon  { width: 72px; height: 72px; margin-bottom: 20px; }
.plan-name  { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.plan-plants { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }

.plan-price { display: flex; align-items: flex-start; gap: 4px; margin-bottom: 32px; line-height: 1; }
.price-currency { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--gold-lt); padding-top: 8px; }
.price-amount   { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; color: var(--gold-lt); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  margin-bottom: 36px;
  border-top: 1px solid var(--border);
  padding-top: 28px;
}
.plan-features li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: rgba(255,255,255,0.75); }
.plan-features li::before { content: '✦'; color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }

.btn-plan {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  border: 1.5px solid rgba(200,150,12,0.5);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 6px;
  margin-top: auto;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-plan:hover  { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.featured-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: var(--dark) !important;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(200,150,12,0.35);
}
.featured-btn:hover { filter: brightness(1.1); }

.plans-note {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}


/* ══ 07. SURROUNDING DEVELOPMENTS ══════════════════════ */

.section-surroundings {
  padding: 100px 0;
  background: var(--cream);
  position: relative;
}
.section-surroundings::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold), var(--forest));
}

.surroundings-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}

.surround-card {
  background: #fff;
  border: 1px solid rgba(139,26,26,0.1);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.surround-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  transition: width var(--transition);
}
.surround-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(139,26,26,0.1); border-color: rgba(200,150,12,0.3); }
.surround-card:hover::before { width: 100%; }

.surround-icon {
  width: 50px; height: 50px;
  margin-bottom: 20px;
  padding: 10px;
  background: rgba(200,150,12,0.08);
  border-radius: 10px;
}
.surround-icon svg { width: 100%; height: 100%; }
.surround-card h4  { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--crimson); margin-bottom: 10px; }
.surround-card p   { font-size: 0.9rem; color: #5A4A3A; line-height: 1.75; }
.surround-highlight { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 1.1rem; color: var(--gold); font-family: var(--font-display); }


/* ══ 08. VISIT BOOKING ══════════════════════════════════ */

.section-visit { padding: 100px 0; background: var(--cream); }
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.visit-desc { font-size: 1rem; color: #5A4A3A; line-height: 1.8; margin: 20px 0 32px; }
.visit-details { display: flex; flex-direction: column; gap: 16px; }
.vd-item { display: flex; align-items: flex-start; gap: 12px; font-size: 0.92rem; color: #5A4A3A; line-height: 1.6; }
.vd-item svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }

/* Video placeholder */
.video-placeholder {
  margin-top: 36px;
  background: rgba(139,26,26,0.06);
  border: 1px dashed rgba(139,26,26,0.25);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}
.video-placeholder svg { width: 36px; height: 36px; margin: 0 auto 10px; }
.video-placeholder p   { font-size: 0.82rem; color: var(--muted); }

/* Forms */
.visit-form-wrap,
.register-form {
  background: #fff;
  border: 1px solid rgba(139,26,26,0.1);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}
.form-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--crimson); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; position: relative; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A3728;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(139,26,26,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: #FDFAF6;
  outline: none;
  appearance: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,150,12,0.12); }
.form-group.error input,
.form-group.error select  { border-color: #c0392b; }
.err-msg { display: none; font-size: 0.76rem; color: #c0392b; margin-top: 4px; }
.form-group.error .err-msg { display: block; }

.online-msg {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(200,150,12,0.08);
  border: 1px solid rgba(200,150,12,0.3);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}
.online-msg svg { width: 22px; height: 22px; flex-shrink: 0; }
.online-msg p   { font-size: 0.9rem; color: #4A3728; line-height: 1.6; }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-lt));
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(139,26,26,0.25);
}
.btn-submit:hover      { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(139,26,26,0.35); }
.btn-submit-reg        { background: linear-gradient(135deg, var(--gold), var(--gold-lt)); color: var(--dark); box-shadow: 0 4px 16px rgba(200,150,12,0.3); }
.btn-submit-reg:hover  { box-shadow: 0 8px 24px rgba(200,150,12,0.45); }

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: rgba(45,106,79,0.1);
  border: 1px solid rgba(45,106,79,0.4);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
}
.form-success.show { display: flex; }
.form-success svg  { width: 28px; height: 28px; flex-shrink: 0; }
.form-success p    { font-size: 0.92rem; color: var(--forest); font-weight: 500; }


/* ══ 09. REGISTER ═══════════════════════════════════════ */

.section-register {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 100%);
  position: relative;
}
.section-register::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,26,26,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.register-inner { max-width: 860px; margin: 0 auto; }
.register-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
}
.register-form label              { color: rgba(255,255,255,0.7); }
.register-form input,
.register-form select,
.register-form textarea           { background: rgba(255,255,255,0.06); border-color: rgba(200,150,12,0.2); color: #fff; }
.register-form input::placeholder,
.register-form textarea::placeholder { color: rgba(255,255,255,0.3); }
.register-form input:focus,
.register-form select:focus,
.register-form textarea:focus     { border-color: var(--gold); background: rgba(255,255,255,0.08); }
.register-form select option      { background: var(--dark-card); color: #fff; }

.rform-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: 1 / -1; }


/* ══ 10. CONTACT ════════════════════════════════════════ */

.section-contact { padding: 100px 0; background: var(--cream); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; margin-top: 36px; }
.ci { display: flex; align-items: flex-start; gap: 16px; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(200,150,12,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 10px;
}
.ci-icon svg { width: 100%; height: 100%; }
.ci strong   { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--crimson); margin-bottom: 4px; }
.ci p, .ci a { font-size: 0.92rem; color: #5A4A3A; line-height: 1.6; transition: color var(--transition); }
.ci a:hover  { color: var(--gold); }


/* ══ 11. FOOTER ═════════════════════════════════════════ */

.footer {
  background: var(--dark);
  padding: 72px 0 0;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.45); margin-top: 16px; line-height: 1.7; max-width: 260px; }
.footer-links h5 { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links li a,
.footer-links li  { font-size: 0.88rem; color: rgba(255,255,255,0.5); transition: color var(--transition); line-height: 1.5; }
.footer-links li a:hover { color: var(--gold); }
.footer-bottom   { padding: 24px 0; display: flex; flex-direction: column; gap: 8px; }
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.3); }
.footer-disclaimer { font-size: 0.74rem !important; color: rgba(255,255,255,0.2) !important; line-height: 1.6; }


/* ══ 12. UTILITIES ══════════════════════════════════════ */

.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-lt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(139,26,26,0.4);
  z-index: 99;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top svg  { width: 22px; height: 22px; color: #fff; }


/* ══ 13. RESPONSIVE ═════════════════════════════════════ */

@media (max-width: 1024px) {
  /* Nav */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }

  /* Layouts */
  .why-grid        { grid-template-columns: 1fr; gap: 48px; }
  .visit-grid      { grid-template-columns: 1fr; gap: 48px; }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .why-image img   { height: 340px; }
  .why-badge       { bottom: -16px; right: -8px; }

  /* Plans: single column on tablet */
  .plans-grid      { grid-template-columns: 1fr; }
  .plan-featured   { transform: scale(1); }

  /* Surrounding */
  .surroundings-grid { grid-template-columns: repeat(2,1fr); }

  /* Grade prices */
  .grade-prices    { grid-template-columns: repeat(3,1fr); }

  /* Register form */
  .rform-row       { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top      { grid-template-columns: 1fr 1fr; gap: 36px; }

  /* Header height */
  .header-inner    { height: 68px; }
}

@media (min-width: 900px) {
  /* Force 3-column plans on desktop */
  .plans-grid { grid-template-columns: repeat(3,1fr) !important; }
}

@media (max-width: 640px) {
  /* Hero */
  .hero-stats { gap: 0; }
  .stat       { padding: 0 18px; }
  .stat-num   { font-size: 1.8rem; }
  .hero-ctas  { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-secondary { width: 100%; text-align: center; }

  /* Surroundings & grades */
  .surroundings-grid { grid-template-columns: 1fr; }
  .grade-prices      { grid-template-columns: 1fr; }

  /* Plans */
  .plan-featured:hover { transform: translateY(-8px); }

  /* Forms */
  .visit-form-wrap,
  .register-form { padding: 28px 20px; }

  /* Footer */
  .footer-top  { grid-template-columns: 1fr; }

  /* Back to top */
  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .header-inner { height: 64px; }
  .logo-name    { font-size: 1.1rem; }
  .logo-img-wrap,
  .logo-emblem  { width: 36px; height: 36px; }
}


/* ══ 14. OTP STYLES ═════════════════════════════════════ */

/* OTP box — hidden by default */
.otp-box {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  background: rgba(200,150,12,0.06);
  border: 1px solid rgba(200,150,12,0.25);
  border-radius: 10px;
  padding: 20px;
  animation: fadeUp 0.4s ease both;
}
.otp-box.show { display: flex; }

.otp-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #4A3728;
  line-height: 1.5;
}
.otp-info svg   { flex-shrink: 0; }
.otp-info strong { color: var(--crimson); }

/* Register form OTP info text colour (dark bg) */
.register-form .otp-info       { color: rgba(255,255,255,0.75); }
.register-form .otp-info strong { color: var(--gold-lt); }
.register-form .otp-box        { background: rgba(200,150,12,0.08); border-color: rgba(200,150,12,0.3); }

.otp-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.otp-input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid rgba(200,150,12,0.4);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-align: center;
  color: var(--dark);
  background: #FDFAF6;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.otp-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,150,12,0.15);
}
.register-form .otp-input {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(200,150,12,0.4);
}
.register-form .otp-input::placeholder { color: rgba(255,255,255,0.3); }

.btn-resend {
  padding: 10px 16px;
  background: none;
  border: 1.5px solid rgba(200,150,12,0.4);
  border-radius: 8px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s, color 0.3s;
}
.btn-resend:hover:not(:disabled) { background: var(--gold); color: var(--dark); }
.btn-resend:disabled { opacity: 0.45; cursor: not-allowed; }

/* OTP error message */
.otp-box .err-msg {
  display: none;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: -4px;
}
.otp-box .err-msg.show { display: block; }

/* Sending spinner on button */
.btn-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-submit.loading::after {
  content: ' ⏳';
}
