/* ============================================================
   GAVYA GLOBAL ENTERPRISES — STYLE.CSS
   Color Palette: Fox Nut · Makhana · Chestnut · White · Gold
   ============================================================ */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Brand Colors — extracted from Fox Nut / Makhana / Chestnut */
  --ivory:        #F8F1E4;      /* Makhana / Fox Nut shell — warm off-white */
  --cream:        #EDE0C4;      /* Fox Nut inner skin — light cream */
  --gold:         #C9922A;      /* Golden accent — premium */
  --gold-light:   #E5B54A;      /* Lighter gold for glows */
  --gold-pale:    #F5DFA0;      /* Very pale gold for backgrounds */
  --chestnut:     #6B3520;      /* Deep chestnut brown */
  --chestnut-mid: #8B4513;      /* Mid chestnut */
  --chestnut-dk:  #3D1A0A;      /* Very dark chestnut */
  --white:        #FFFFFF;
  --off-white:    #FDFAF5;      /* Warmish white */

  /* Typography Scale — Golden Ratio (1.618) */
  --t-xs:   0.618rem;    /* ~10px */
  --t-sm:   0.764rem;    /* ~12px */
  --t-base: 1rem;        /* 16px */
  --t-md:   1.272rem;    /* ~20px */
  --t-lg:   1.618rem;    /* ~26px */
  --t-xl:   2.618rem;    /* ~42px */
  --t-2xl:  4.236rem;    /* ~68px */
  --t-3xl:  6.854rem;    /* ~110px */

  /* Spacing */
  --section-pad: 6rem 0;
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   28px;
  --radius-xl:   48px;

  /* Transitions */
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-sm: 0 2px 12px rgba(107,53,32,0.10);
  --shadow-md: 0 8px 32px rgba(107,53,32,0.14);
  --shadow-lg: 0 20px 60px rgba(107,53,32,0.18);
  --shadow-gold: 0 4px 28px rgba(201,146,42,0.30);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--off-white);
  color: var(--chestnut-dk);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
/* Restore visible cursors on interactive elements (body has cursor:none for custom cursor) */
a, button, [role="button"], input, select, textarea, label { cursor: pointer !important; }
input[type="text"], input[type="email"], input[type="tel"], textarea, select { cursor: text !important; }
select { cursor: pointer !important; }

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--ease), width 0.3s, height 0.3s, opacity 0.3s;
  opacity: 0.7;
}
.cursor-ring.hovered {
  width: 56px; height: 56px;
  opacity: 0.4;
  border-color: var(--gold);
}

/* ===== PAGE LOADER ===== */
.page-loader {
  position: fixed; inset: 0;
  background: var(--chestnut-dk);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1.5rem;
  z-index: 10000;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo img {
  width: 100px; height: 100px; object-fit: contain;
  border-radius: 50%;
  animation: loaderPulse 1.5s ease-in-out infinite;
  background: var(--white);
  padding: 8px;
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}
.loader-bar {
  width: 240px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 99px;
  overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 99px;
  transition: width 0.05s linear;
}
.loader-text {
  color: var(--cream);
  font-size: var(--t-sm);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.8rem 0;
  transition: background 0.4s var(--ease), box-shadow 0.4s;
  /* Ensure navbar never clips content beneath it */
  min-height: 72px;
}
.navbar.scrolled {
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: 1280px; margin: auto;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
  height: 52px; width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.12));
  transition: transform 0.3s var(--ease-bounce);
}
.nav-logo:hover img { transform: scale(1.05); }
.nav-links {
  display: flex; align-items: center; gap: 0.4rem;
}
.nav-link {
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  /* White on the dark/transparent navbar */
  color: var(--white);
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--gold);
  border-radius: 99px;
  transition: left 0.3s var(--ease), right 0.3s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after {
  left: 1rem; right: 1rem;
}
.nav-link:hover { color: var(--gold-light); }
.nav-link.active { color: var(--gold-light); font-weight: 600; }
/* When scrolled (light background), switch links back to a dark readable tone */
.navbar.scrolled .nav-link { color: var(--chestnut); }
.navbar.scrolled .nav-link:hover { color: var(--gold); }
.navbar.scrolled .nav-link.active { color: var(--gold); }
.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--chestnut-mid));
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(201,146,42,0.45);
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none;
  /* Override body's cursor:none for interactive controls */
  cursor: pointer !important;
  padding: 4px;
  position: relative;
  z-index: 1001; /* Above nav-links panel */
}
.hamburger span {
  display: block; width: 26px; height: 2.5px;
  /* Match hamburger bar color to nav link color */
  background: var(--white);
  border-radius: 99px;
  transition: transform 0.35s var(--ease), opacity 0.3s, background 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--chestnut); }

/* ===== CONTAINER ===== */
.container {
  max-width: 1280px;
  margin: auto;
  padding: 0 2.5rem;
}

/* ===== SECTION UTILITY ===== */
.section { padding: var(--section-pad); }
.section-tag {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,146,42,0.10);
  border: 1px solid rgba(201,146,42,0.25);
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, var(--t-xl));
  font-weight: 700;
  line-height: 1.12;
  color: var(--chestnut-dk);
  margin-bottom: 1.2rem;
}
.section-sub {
  font-size: var(--t-md);
  color: var(--chestnut-mid);
  max-width: 620px;
  line-height: 1.6;
  margin-bottom: 3rem;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }
.golden { color: var(--gold); }
.inline-link {
  color: var(--gold);
  border-bottom: 1px solid rgba(201,146,42,0.4);
  transition: border-color 0.2s;
}
.inline-link:hover { border-color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-sm);
  font-size: var(--t-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold), #A36B1C);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,146,42,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 36px rgba(201,146,42,0.50);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 1.1rem 2.8rem; font-size: var(--t-md); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal-up.visible { opacity: 1; transform: translateY(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, var(--chestnut-dk) 0%, #5C2E00 40%, #8B4513 80%, var(--chestnut-mid) 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  /* Top padding accounts for fixed navbar (~72px) + comfortable breathing room */
  padding: 8rem 2.5rem 7rem;
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  /* Ensure content is never hidden behind scroll-hint */
  padding-bottom: 3rem;
}
.hero-eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 9vw, var(--t-3xl));
  font-weight: 900;
  line-height: 1.05;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.title-line { display: block; }
.hero-title .golden { color: var(--gold-light); }
.hero-sub {
  font-size: clamp(var(--t-base), 2.5vw, var(--t-md));
  color: rgba(245,237,216,0.80);
  max-width: 680px; margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 1.2rem; flex-wrap: wrap;
}
/* Hero staggered animation */
.hero .reveal-up:nth-child(1) { transition-delay: 0.1s; }
.hero .reveal-up:nth-child(2) { transition-delay: 0.25s; }
.hero .reveal-up:nth-child(3) { transition-delay: 0.4s; }
.hero .reveal-up:nth-child(4) { transition-delay: 0.55s; }

/* Floating shapes */
.hero-shape {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.15;
  animation: floatShape 8s ease-in-out infinite;
}
.shape-1 { width: 500px; height: 500px; background: var(--gold); top: -150px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 350px; height: 350px; background: var(--cream); bottom: -100px; right: -50px; animation-delay: 3s; }
.shape-3 { width: 250px; height: 250px; background: var(--gold-light); top: 40%; left: 60%; animation-delay: 1.5s; }
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.97); }
}

/* Particle canvas */
.hero-bg-particles { position: absolute; inset: 0; z-index: 1; }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(245,237,216,0.5);
  font-size: var(--t-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: fadeUpIn 1s 1s both;
  /* Prevent scroll hint from overlapping hero text on short viewports */
  pointer-events: none;
}
.scroll-arrow {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(201,146,42,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
@keyframes fadeUpIn { from { opacity: 0; transform: translateX(-50%) translateY(20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

/* ===== MARQUEE STRIP ===== */
.marquee-strip {
  background: linear-gradient(90deg, var(--gold), var(--chestnut-mid), var(--gold));
  background-size: 200% 100%;
  animation: gradientShift 6s linear infinite;
  overflow: hidden;
  padding: 0.7rem 0;
}
@keyframes gradientShift { 0% { background-position: 0 50%; } 100% { background-position: 200% 50%; } }
.marquee-track {
  display: flex; align-items: center; gap: 2rem;
  white-space: nowrap;
  animation: marquee 25s linear infinite;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track span {
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.marquee-track .dot { color: rgba(255,255,255,0.5); font-size: 0.6rem; }

/* ===== ABOUT SECTION ===== */
.about-section { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-para {
  font-size: var(--t-base);
  line-height: 1.85;
  color: #5a3a1e;
  margin-bottom: 1.4rem;
}
.about-para strong { color: var(--chestnut); font-weight: 600; }
.about-badges {
  display: flex; gap: 0.8rem; flex-wrap: wrap;
  margin-top: 2rem;
}
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, rgba(201,146,42,0.12), rgba(107,53,32,0.08));
  border: 1px solid rgba(201,146,42,0.25);
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--chestnut);
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
}
.badge:hover { transform: scale(1.06); box-shadow: var(--shadow-gold); }
.badge-icon { font-size: 1rem; }

/* About card stack */
.about-visual { position: relative; }
.about-card-stack {
  display: flex; flex-direction: column; gap: 1.2rem;
  position: relative;
}
.acard {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.8rem 2rem;
  box-shadow: var(--shadow-md);
  display: flex; align-items: flex-start; gap: 1.2rem;
  border-left: 4px solid var(--gold);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
  animation: floatCard 6s ease-in-out infinite;
}
.acard:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); }
.acard-1 { animation-delay: 0s; }
/* Removed margin-left that caused horizontal overflow on the card stack */
.acard-2 { animation-delay: 2s; border-left-color: var(--chestnut-mid); }
.acard-3 { animation-delay: 4s; border-left-color: var(--gold-light); }
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.acard:hover { animation-play-state: paused; transform: translateX(8px) !important; }
.acard-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.acard-label {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 0.3rem;
}
.acard-desc {
  font-size: var(--t-sm);
  color: var(--chestnut-mid);
  line-height: 1.5;
}

/* ===== STATS SECTION ===== */
.stats-section {
  position: relative;
  background: linear-gradient(135deg, var(--chestnut-dk), var(--chestnut) 60%, #5C2E00);
  padding: 5rem 0;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(201,146,42,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(229,181,74,0.1) 0%, transparent 60%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative; z-index: 1;
}
.stat-item {
  text-align: center; padding: 2rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, var(--t-2xl));
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}
.stat-plus {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, var(--t-xl));
  color: var(--gold-light);
}
.stat-label {
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.6rem;
}

/* ===== VENTURES SECTION ===== */
.ventures-section { background: var(--ivory); }
.ventures-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
}
.venture-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s;
}
.venture-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.vc-accent {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}
.vc-accent-1 { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.vc-accent-2 { background: linear-gradient(90deg, var(--chestnut), var(--chestnut-mid)); }
.vc-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(201,146,42,0.15), rgba(201,146,42,0.05));
  border: 1.5px solid rgba(201,146,42,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.35s var(--ease-bounce);
}
.venture-card:hover .vc-icon-wrap { transform: scale(1.1) rotate(-4deg); }
.vc-icon-wrap-2 {
  background: linear-gradient(135deg, rgba(107,53,32,0.15), rgba(107,53,32,0.05));
  border-color: rgba(107,53,32,0.25);
}
.vc-icon { font-size: 2.2rem; }
.vc-tag {
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.vc-tag-2 { color: var(--chestnut); }
.vc-title {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.vc-desc {
  font-size: var(--t-base);
  line-height: 1.75;
  color: #5a3a1e;
  margin-bottom: 1.8rem;
}
.vc-features {
  display: flex; flex-direction: column; gap: 0.55rem;
  margin-bottom: 2rem;
}
.vc-features li {
  font-size: var(--t-sm);
  color: var(--chestnut-mid);
  font-weight: 500;
  padding-left: 0;
}
.vc-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700;
  font-size: var(--t-base);
  color: var(--gold);
  border-bottom: 2px solid transparent;
  transition: border-color 0.25s, gap 0.25s;
}
.vc-link:hover { border-color: var(--gold); gap: 0.85rem; }
.vc-link-2 { color: var(--chestnut); }
.vc-link-2:hover { border-color: var(--chestnut); }
.arrow { transition: transform 0.25s var(--ease-bounce); display: inline-block; }
.vc-link:hover .arrow { transform: translateX(4px); }

/* ===== WHY SECTION ===== */
.why-section { background: var(--off-white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,146,42,0.10);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s, border-color 0.35s;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 0;
  background: linear-gradient(to top, rgba(201,146,42,0.06), transparent);
  transition: height 0.4s var(--ease);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(201,146,42,0.3); }
.why-card:hover::before { height: 100%; }
.why-icon { font-size: 2.4rem; margin-bottom: 1.2rem; }
.why-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 0.8rem;
}
.why-card p {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: var(--chestnut-mid);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(155deg, var(--chestnut-dk) 0%, #5C2E00 50%, var(--chestnut) 100%);
  padding: 7rem 2.5rem;
  position: relative; overflow: hidden;
  text-align: center;
}
.cta-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(201,146,42,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; max-width: 760px; margin: auto; }
.cta-eyebrow {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, var(--t-xl));
  font-weight: 900;
  color: var(--ivory);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.cta-sub {
  font-size: var(--t-md);
  color: rgba(245,237,216,0.75);
  max-width: 580px; margin: 0 auto 2.5rem;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--chestnut-dk);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  /* Balanced columns that prevent text overflow in the contact column */
  grid-template-columns: 1.6fr 0.9fr 0.9fr 1.6fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  width: 80px; height: 80px; object-fit: contain;
  border-radius: 50%; background: var(--white);
  padding: 6px; margin-bottom: 1rem;
}
.footer-brand p {
  font-size: var(--t-sm);
  line-height: 1.7;
  color: rgba(245,237,216,0.65);
  max-width: 260px;
}
.footer-socials {
  display: flex; gap: 0.8rem; margin-top: 1.2rem;
}
.social-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--cream);
  transition: background 0.25s, transform 0.25s var(--ease-bounce);
}
.social-icon:hover { background: var(--gold); transform: scale(1.12); }
.footer-links-group h5 {
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.footer-links-group ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  font-size: var(--t-sm);
  color: rgba(245,237,216,0.65);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links-group a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-info h5 {
  font-size: var(--t-sm);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}
.footer-contact-info p {
  font-size: var(--t-sm);
  color: rgba(245,237,216,0.65);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}
.footer-contact-info a {
  color: rgba(245,237,216,0.65);
  transition: color 0.2s;
}
.footer-contact-info a:hover { color: var(--gold-light); }
.footer-bottom {
  text-align: center;
  font-size: var(--t-xs);
  color: rgba(245,237,216,0.35);
  letter-spacing: 0.05em;
  padding-top: 0.5rem;
}

/* ===== CONTACT PAGE ===== */
.contact-hero {
  min-height: 50vh;
  background: linear-gradient(160deg, var(--chestnut-dk) 0%, #5C2E00 50%, var(--chestnut-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  /* Navbar is 72px fixed; top padding clears it properly */
  padding: 7rem 2.5rem 4rem;
  text-align: center;
}
.contact-hero-inner { position: relative; z-index: 2; max-width: 780px; }
.contact-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 7vw, var(--t-2xl));
  font-weight: 900;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.contact-hero-sub {
  font-size: var(--t-md);
  color: rgba(245,237,216,0.75);
  line-height: 1.65;
}
.contact-hero .reveal-up:nth-child(1) { transition-delay: 0.1s; }
.contact-hero .reveal-up:nth-child(2) { transition-delay: 0.25s; }
.contact-hero .reveal-up:nth-child(3) { transition-delay: 0.4s; }

/* Contact Layout */
.contact-body { background: var(--off-white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact-intro {
  font-size: var(--t-base);
  line-height: 1.8;
  color: #5a3a1e;
  margin-bottom: 2.5rem;
}
.info-cards { display: flex; flex-direction: column; gap: 1.2rem; margin-bottom: 2.5rem; }
.info-card {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.4rem 1.6rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(201,146,42,0.10);
  transition: transform 0.3s var(--ease-bounce), box-shadow 0.3s, border-color 0.3s;
}
.info-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: rgba(201,146,42,0.3); }
.info-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.info-card-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-base);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 0.25rem;
}
.info-card-body a {
  font-size: var(--t-sm);
  color: var(--gold);
  font-weight: 600;
  display: block;
  transition: color 0.2s;
}
.info-card-body a:hover { color: var(--chestnut); }
.info-card-body p { font-size: var(--t-sm); color: var(--chestnut-dk); font-weight: 600; }
.info-card-body span {
  display: block;
  font-size: var(--t-xs);
  color: var(--chestnut-mid);
  margin-top: 0.2rem;
}
.contact-ventures h4 {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-md);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 1rem;
}
.cv-tags { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cv-tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(201,146,42,0.12);
  border: 1px solid rgba(201,146,42,0.3);
  color: var(--chestnut);
  font-size: var(--t-sm);
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  transition: transform 0.25s var(--ease-bounce);
}
.cv-tag:hover { transform: scale(1.06); }
.cv-tag-2 {
  background: rgba(107,53,32,0.10);
  border-color: rgba(107,53,32,0.25);
  color: var(--chestnut-mid);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.8rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,146,42,0.12);
}
.form-header { margin-bottom: 2.2rem; }
.form-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: var(--t-lg);
  font-weight: 700;
  color: var(--chestnut-dk);
  margin-bottom: 0.5rem;
}
.form-header p { font-size: var(--t-sm); color: var(--chestnut-mid); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1.2rem; }
.form-group label {
  font-size: var(--t-sm);
  font-weight: 600;
  color: var(--chestnut-dk);
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(107,53,32,0.15);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: var(--t-base);
  color: var(--chestnut-dk);
  background: var(--off-white);
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,146,42,0.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-error {
  font-size: var(--t-xs);
  color: #c0392b;
  display: none;
}
.form-error.visible { display: block; }
.form-success {
  display: none;
  text-align: center;
  padding: 1.8rem;
  background: linear-gradient(135deg, rgba(201,146,42,0.08), rgba(107,53,32,0.05));
  border: 1px solid rgba(201,146,42,0.3);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}
.form-success.visible { display: block; animation: successPop 0.5s var(--ease-bounce); }
@keyframes successPop { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.success-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.form-success p { color: var(--chestnut); font-weight: 500; }
#submitBtn { position: relative; overflow: hidden; }
#submitBtn .btn-icon { font-size: 1rem; }
#submitBtn.loading .btn-text { opacity: 0; }
#submitBtn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  pointer-events: none;
}

/* ===== MAP SECTION ===== */
.map-section { background: var(--ivory); padding: 5rem 0 0; }
.map-header { text-align: center; margin-bottom: 3rem; }
.map-wrapper {
  position: relative;
  height: 500px;
  overflow: hidden;
}
.map-overlay-label {
  position: absolute; top: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: rgba(61,26,10,0.9);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  font-size: var(--t-sm);
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 99px;
  z-index: 10;
  letter-spacing: 0.05em;
  border: 1px solid rgba(201,146,42,0.3);
  /* Allow wrapping to prevent horizontal overflow on all screen sizes */
  white-space: normal;
  text-align: center;
  max-width: 90%;
}
.map-wrapper iframe {
  width: 100%; height: 100%;
  border: none;
  filter: sepia(0.15) contrast(1.05);
  transition: filter 0.3s;
}
.map-wrapper:hover iframe { filter: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }

/* ===== PARTICLES CANVAS ===== */
#particles { position: absolute; inset: 0; }

/* ===== FOX NUT IMAGE ICONS ===== */
/* Inside the venture card icon wrapper (72×72 box) */
.vc-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  padding: 6px;
  transition: transform 0.35s var(--ease-bounce);
}
.venture-card:hover .vc-icon-img { transform: scale(1.12) rotate(-4deg); }

/* Inside the about-section floating card acard-icon */
.acard-icon-img {
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Inside the contact page cv-tag pill */
.cv-tag-img {
  width: 1.1rem;
  height: 1.1rem;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.1rem;
  position: relative;
  top: -1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid, .ventures-grid, .contact-layout { grid-template-columns: 1fr; gap: 3rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  /* Footer: 2 columns on tablet — prevents overflow */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .about-visual { display: none; }
}
@media (max-width: 768px) {
  :root { font-size: 15px; }
  .nav-links {
    position: fixed;
    /* Start fully off-screen to the right */
    top: 0; right: -100%; bottom: 0;
    width: 280px;
    background: var(--off-white);
    flex-direction: column;
    /* Padding-top clears the navbar bar at the top */
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    box-shadow: -4px 0 30px rgba(0,0,0,0.15);
    transition: right 0.4s var(--ease);
    /* Nav panel sits below hamburger button */
    z-index: 998;
    overflow-y: auto;
  }
  .nav-links.open { right: 0; }
  .nav-link {
    font-size: var(--t-base);
    padding: 0.9rem 1rem;
    width: 100%;
    color: #FFFFFF;
  }
  /* Show hamburger, keep its z-index above the side panel */
  .hamburger { display: flex; z-index: 1001; }
  .hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  /* When mobile menu is open, show a dim overlay behind it */
  body.nav-open::before {
    content: '';
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 997;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  /* Remove right border from right-column stats to avoid orphan line */
  .stats-grid .stat-item:nth-child(2n) { border-right: none; }
  .stats-grid .stat-item { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stats-grid .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 2rem 1.5rem; }
  .map-wrapper { height: 380px; }
  /* Hero: reduce padding so content fits without overlap */
  .hero { padding: 6rem 1.5rem 5rem; }
  .contact-hero { padding: 6rem 1.5rem 3.5rem; }
  /* Hide scroll hint on short viewports to avoid content overlap */
  .hero-scroll-hint { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .nav-inner { padding: 0 1rem; }
  .hero { padding: 5.5rem 1rem 4.5rem; }
  .contact-hero { padding: 5.5rem 1rem 3rem; }
  .hero-content { padding-bottom: 1rem; }
  /* All stat items stack; remove side borders entirely */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
  .ventures-grid, .why-grid { gap: 1.5rem; }
  .venture-card { padding: 2rem 1.2rem; }
  /* Footer single-column on small mobile */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand p { max-width: 100%; }
}
