/* ============================================================
   JAYAM INTELLECTA ACADEMY — Premium CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400..800&display=swap');

/* ── CSS VARIABLES ── */
:root {
  /* Editorial light surfaces */
  --cream: #fafaf7;
  --cream-warm: #f3f0e8;
  --surface: #ffffff;
  --line: rgba(10, 14, 34, 0.08);
  --line-strong: rgba(10, 14, 34, 0.14);

  /* Ink (text on light) */
  --ink: #0a0e22;
  --ink-soft: #3a4055;
  --ink-faint: rgba(10, 14, 34, 0.55);

  /* Brand — deep forest green */
  --gold: #1692fa;
  --gold-light: #4d8e6f;
  --gold-pale: #d5e6db;
  --gold-deep: #1f4733;

  /* Royal blue */
  --royal: #15296b;
  --royal-soft: #243f8f;
  --royal-deep: #0a1a4d;

  /* Dark (kept for occasional contrast use) */
  --navy: #0a0d1e;
  --navy-mid: #131730;
  --navy-light: #1d2147;
  --purple: #15296b;

  --white: #ffffff;
  --off-white: #f0eeea;

  --glass-bg: rgba(255, 255, 255, 0.78);
  --glass-border: rgba(10, 14, 34, 0.08);
  --text-muted: rgba(10, 14, 34, 0.55);

  /* Premium layered shadows */
  --shadow-sm: 0 1px 2px rgba(10, 14, 34, 0.04);
  --shadow-md: 0 4px 14px rgba(10, 14, 34, 0.06), 0 1px 3px rgba(10, 14, 34, 0.04);
  --shadow-lg: 0 18px 50px rgba(10, 14, 34, 0.10), 0 4px 12px rgba(10, 14, 34, 0.05);
  --shadow-xl: 0 32px 80px rgba(10, 14, 34, 0.14), 0 8px 24px rgba(10, 14, 34, 0.06);
  --shadow-gold: 0 16px 50px rgba(49, 105, 78, 0.22), 0 2px 8px rgba(49, 105, 78, 0.10);
  --shadow-deep: 0 28px 80px rgba(10, 14, 34, 0.14);

  --transition: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Baloo 2', sans-serif;
  --font-accent: 'Baloo 2', sans-serif;
}

/* ── RESET & BASE ── */
*,
*::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(--ink);
  overflow-x: hidden;
  /* cursor: none; */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.3s, height 0.3s, opacity 0.3s;
  mix-blend-mode: normal;
}

#cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s var(--transition), width 0.4s, height 0.4s, opacity 0.3s;
  opacity: 0.5;
}

body:hover #cursor {
  opacity: 1;
}

a:hover~#cursor,
button:hover~#cursor {
  transform: translate(-50%, -50%) scale(2);
}

/* ── PAGE LOADER ── */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 100000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s;
}

#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(49, 105, 78, 0.15);
  border-top-color: var(--gold);
  border-right-color: var(--gold);
  animation: loaderSpin 0.9s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--cream-warm);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ── SELECTION ── */
::selection {
  background: var(--gold);
  color: #ffffff;
}

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  height: 90px;
  padding: 0 3%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #ffffff 0%, var(--cream-warm) 55%, var(--gold-pale) 100%);
  border-bottom: 1px solid rgba(49, 105, 78, 0.14);
  box-shadow: 0 2px 16px rgba(20, 24, 42, 0.04);
  transition: background 0.5s, backdrop-filter 0.5s, box-shadow 0.4s, border-color 0.4s;
}

#navbar.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(243, 240, 232, 0.9) 55%, rgba(213, 230, 219, 0.9) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 6px 28px rgba(20, 24, 42, 0.10);
  border-bottom: 1px solid rgba(49, 105, 78, 0.22);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.15;
}

.nav-logo-img {
  height: 70px;
  width: 100px;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* .nav-logo:hover .nav-logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(49, 105, 78, 0.5), 0 0 22px rgba(49, 105, 78, 0.25);
} */

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.nav-logo-text span {
  font-size: 0.58em;
  font-weight: 400;
  color: var(--ink-soft);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-top: 2px;
}

/* Brand wrapper — keeps "Jayam Intellecta" on a single line, restores main type sizing */
.nav-logo-text .logo-brand {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  font-family: var(--font-display);
  margin-top: 0;
  display: inline-flex;
  gap: 0.35em;
  color: inherit;
}

.nav-logo-text .logo-brand .logo-jayam {
  color: #1692fa;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  font-family: inherit;
  margin-top: 0;
}

.nav-logo-text .logo-brand .logo-intellecta {
  color: #ec9702;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: none;
  font-family: inherit;
  margin-top: 0;
}

/* Call icon + phone number — single line, vertically centered */
.call-icon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 24px;
  font-weight: 600;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
  color: #0c4d8d;
}

.call-icon-wrap svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.call-icon-wrap .call-number {
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: rgba(247, 243, 233, 0.97);
  backdrop-filter: blur(30px);
  z-index: 8999;
  flex-direction: column;
  padding: 7rem 2.5rem 3rem;
  gap: 2rem;
  transition: right 0.4s var(--transition);
  border-left: 1px solid var(--line);
}

.nav-mobile.open {
  right: 0;
  display: flex;
}

.nav-mobile a {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
  transition: color 0.3s;
}

.nav-mobile a:hover {
  color: var(--gold);
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 8998;
}

.nav-overlay.open {
  display: block;
}

/* ── UTILITY ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-deep);
  padding: 0.5rem 1.1rem 0.5rem 1.1rem;
  border: 1px solid rgba(49, 105, 78, 0.28);
  border-radius: 4px;
  margin-bottom: 1.4rem;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 1px 2px rgba(10, 14, 34, 0.04);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-title .gold {
  color: var(--gold);
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 580px;
  line-height: 1.75;
  margin-top: 1rem;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem 0;
  border-radius: 2px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-center .divider-gold {
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--transition);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-deep), var(--gold));
  color: #ffffff;
  box-shadow: var(--shadow-gold);
  letter-spacing: 0.12em;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 60px rgba(49, 105, 78, 0.32), 0 4px 12px rgba(49, 105, 78, 0.18);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid rgba(20, 24, 42, 0.25);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-deep);
  transform: translateY(-3px);
}

/* ── GLASS CARD ── */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s var(--transition), box-shadow 0.4s, border-color 0.4s;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(49, 105, 78, 0.35);
}

/* ── PARTICLES CANVAS ── */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

/* ── DUAL HERO — CBSE / MATRICULATION ── */
.hero-dual {
  padding: 7rem 3% 4rem;
}

.hero-dual-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-dual-eyebrow {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink);
  position: absolute;
  z-index: 9;
  left: 50%;
  transform: translateX(-50%);
  top: 30px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.94);
  padding: 0rem 0.2rem;
  border-radius: 5px;
  box-shadow: 0 6px 22px rgba(10, 14, 34, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.hero-dual-eyebrow-text {
  background: linear-gradient(90deg, #c47b14 0%, #1f4733 50%, #0c5fb0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  background-size: 200% auto;
  animation: eyebrowShimmer 6s linear infinite;
}

@keyframes eyebrowShimmer {
  to {
    background-position: 200% center;
  }
}

.hero-dual-eyebrow::before,
.hero-dual-eyebrow::after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(10, 14, 34, 0.3);
  vertical-align: middle;
  margin: 0 0.5rem 6px;
}

.hero-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.curriculum-card {
  position: relative;
  overflow: hidden;
  min-height: 495px;
  padding: 5.5rem 2.6rem 3rem;
  box-shadow: var(--shadow-xl);
  isolation: isolate;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--transition), box-shadow 0.5s;
}

.curriculum-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 40px 90px -20px rgba(10, 14, 34, 0.28), 0 18px 40px -12px rgba(10, 14, 34, 0.14);
}

.curriculum-cbse {
  background: linear-gradient(135deg, #ec9702 0%, #ec9702 100%);
}

.curriculum-matric {
  background: linear-gradient(135deg, #1692fa 0%, #1692fa 100%);
}

.curriculum-content {
  position: relative;
  top: 30px;
  left: 15px;
  z-index: 2;
  max-width: 60%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.curriculum-content h2 {
  font-size: 32px;
  text-shadow: 1px 1px 2px rgb(39 38 38 / 70%);
}

.curriculum-content .curriculum-cta {
  margin-top: auto;
  align-self: flex-start;
}

.curriculum-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.curriculum-content ul {
  list-style: none;
  padding: 0;
  margin: 7px 0 0 1rem;
}

.curriculum-content li {
  font-size: 22px;
  line-height: 25px;
  font-weight: 500;
  margin-bottom: 0.60rem;
  padding-left: 1.4rem;
  position: relative;
  color: rgba(255, 255, 255, 0.96);
}

.curriculum-content li::before {
  content: '✦';
  position: absolute;
  left: -5px;
  font-weight: 700;
  color: #ffffff;
}

.curriculum-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  background: rgba(0, 0, 0, 0.78);
  color: #ffffff;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.curriculum-cta:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
}

.curriculum-img {
  position: absolute;
  right: -40px;
  bottom: 0;
  height: 80%;
  width: auto;
  max-width: 65%;
  /* object-fit: contain; */
  object-position: bottom right;
  pointer-events: none;
  z-index: 1;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.28));
}

@media (max-width: 900px) {
  .hero-dual-grid {
    grid-template-columns: 1fr;
  }

  .curriculum-card {
    min-height: 380px;
  }
}

@media (max-width: 600px) {
  .curriculum-card {
    padding: 2.2rem 1.8rem;
  }

  .curriculum-content {
    max-width: 100%;
  }

  .curriculum-img {
    opacity: 0.18;
    max-width: 75%;
  }

  /* Eyebrow pill — shrink so it doesn't overflow the viewport */
  .hero-dual {
    padding: 5.5rem 0% 3rem;
  }

  /* Hero H1 — stack as a centered pill above the cards instead of overflowing */
  .hero-dual-eyebrow {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    white-space: normal;
    width: fit-content;
    max-width: 90%;
    margin: 0 auto 1.4rem;
    font-size: 26px;
    padding: 0.5rem 1rem;
    letter-spacing: 0.1em;
    line-height: 1.35;
  }

  .hero-dual-eyebrow::before,
  .hero-dual-eyebrow::after {
    width: 18px;
    margin: 0 0.5rem 4px;
  }

  /* Navbar — shrink logo + phone so nothing overflows on small screens */
  #navbar {
    padding: 0 4%;
  }

  .nav-logo {
    gap: 0.45rem;
  }

  .nav-logo-img {
    width: 62px;
    height: 44px;
  }

  .nav-logo-text .logo-brand {
    font-size: 18px;
  }

  .nav-logo-text span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .call-icon-wrap {
    font-size: 15px;
    gap: 0.35rem;
  }

  .call-icon-wrap svg {
    width: 18px;
    height: 18px;
  }

  .curriculum-content li {
    font-size: 18px;
  }

  .curriculum-cta {
    font-size: 16px;
  }

  .curriculum-content h2 {
    font-size: 24px
  }
}

@media (max-width: 400px) {
  .hero-dual-eyebrow {
    font-size: 26px;
    padding: 0.45rem 0.85rem;
    letter-spacing: 0.08em;
  }

  .hero-dual-eyebrow::before,
  .hero-dual-eyebrow::after {
    width: 12px;
    margin: 0 0.35rem 3px;
  }

  /* Navbar — further shrink for very small phones (~360px) */
  #navbar {
    padding: 0 3%;
  }

  .nav-logo {
    gap: 0.4rem;
  }

  .nav-logo-img {
    width: 48px;
    height: 34px;
  }

  .nav-logo-text .logo-brand {
    font-size: 15px;
  }

  .nav-logo-text span {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  .call-icon-wrap {
    font-size: 14px;
    gap: 0.3rem;
  }

  .call-icon-wrap svg {
    width: 16px;
    height: 16px;
  }

  .curriculum-content li {
    font-size: 16px;
  }

  .curriculum-cta {
    font-size: 15px;
  }

  .curriculum-content h2 {
    font-size: 24px
  }
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(20, 24, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 24, 42, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  pointer-events: none;
}

/* Letter animation — Moving Letters style (entrance drop + rotate) */
.letter-anim {
  visibility: hidden;
}

.letter-anim.split {
  visibility: visible;
}

.letter-anim.split .letter {
  display: inline-block;
  opacity: 0;
  transform-origin: 0 100%;
  transform: translate3d(0, -120px, 0) rotate(-28deg);
  animation: letterFall 1s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.045s);
  will-change: transform, opacity;
}

.letter-anim.split .letter-space {
  animation: none;
  opacity: 1;
  transform: none;
}

@keyframes letterFall {
  0% {
    opacity: 0;
    transform: translate3d(0, -120px, 0) rotate(-28deg);
  }

  60% {
    opacity: 1;
    transform: translate3d(0, 8px, 0) rotate(4deg);
  }

  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
  }
}

/* Light rays */
.hero-rays {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.ray {
  position: absolute;
  top: -20%;
  width: 1px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(49, 105, 78, 0.18), transparent);
  transform-origin: top center;
}

.ray:nth-child(1) {
  right: 30%;
  transform: rotate(-20deg);
}

.ray:nth-child(2) {
  right: 40%;
  transform: rotate(-15deg);
  animation: rayFlicker 4s infinite;
}

.ray:nth-child(3) {
  right: 20%;
  transform: rotate(-25deg);
  animation: rayFlicker 6s 1s infinite;
}

.ray:nth-child(4) {
  right: 10%;
  transform: rotate(-30deg);
}

.ray:nth-child(5) {
  right: 50%;
  transform: rotate(-12deg);
  animation: rayFlicker 5s 2s infinite;
}

@keyframes rayFlicker {

  0%,
  100% {
    opacity: 0.6;
  }

  50% {
    opacity: 1;
  }
}

/* ── ABOUT ── */
.about-section {
  padding: 8rem 5%;
  position: relative;
  background: var(--surface);
  overflow: hidden;
}

.about-blob {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(49, 105, 78, 0.10) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  animation: blobMove 8s infinite ease-in-out;
}

@keyframes blobMove {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(-30px, 30px);
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.about-img-wrap {
  position: relative;
  border-radius: 24px;
  overflow: visible;
}

.about-img-inner {
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cream-warm), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(49, 105, 78, 0.25);
  position: relative;
}

.about-img-inner svg {
  width: 70%;
  height: 70%;
  opacity: 0.85;
}

.about-img-inner .about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s var(--transition);
}

.about-img-wrap:hover .about-img {
  transform: scale(1.04);
}

.about-badge {
  position: absolute;
  bottom: -65px;
  right: -50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 16px;
  padding: 1.2rem 1.2rem;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 15px 50px rgba(49, 105, 78, 0.45);
}

.about-badge .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

.about-badge .lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.about-text {
  color: var(--ink-soft);
  line-height: 1.85;
  font-size: 1.02rem;
  margin-bottom: 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.about-feat {
  padding: 1.2rem 1.4rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.about-feat:hover {
  border-color: rgba(49, 105, 78, 0.5);
  background: rgba(243, 222, 171, 0.35);
  box-shadow: 0 4px 16px rgba(20, 24, 42, 0.06);
}

.about-feat .icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.18), rgba(49, 105, 78, 0.04));
  border: 1px solid rgba(49, 105, 78, 0.28);
  color: var(--gold);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, background 0.35s ease;
}

.about-feat .icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.about-feat:hover .icon {
  transform: translateY(-2px) scale(1.04) rotate(360deg);
  box-shadow: 0 8px 22px rgba(49, 105, 78, 0.18);
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.28), rgba(49, 105, 78, 0.08));
}

.about-feat p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* Stats row */
.stats-row {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
  letter-spacing: 0.08em;
}

/* Mission / Vision */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.mv-card {
  padding: 2.5rem;
  border-radius: 20px;
}

.mv-card .mv-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.18), rgba(49, 105, 78, 0.04));
  border: 1px solid rgba(49, 105, 78, 0.28);
  color: var(--gold);
  margin-bottom: 1.4rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, background 0.4s;
}

.mv-card:hover .mv-icon {
  transform: rotate(360deg) scale(1.06);
  box-shadow: 0 10px 30px rgba(49, 105, 78, 0.22);
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.3), rgba(49, 105, 78, 0.08));
}

.mv-card .mv-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.mv-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.mv-card p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.97rem;
}

/* ── SERVICES ── */
.services-section {
  padding: 8rem 5%;
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(243, 222, 171, 0.4) 0%, transparent 70%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.8rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  position: relative;
}

.service-card {
  padding: 2.5rem 2rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transform-style: preserve-3d;
  perspective: 800px;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.service-card:hover .card-glow {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.18), rgba(49, 105, 78, 0.04));
  border: 1px solid rgba(49, 105, 78, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, background 0.4s;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.service-card:hover .service-icon {
  transform: translateY(-5px) scale(1.05) rotate(360deg);
  box-shadow: 0 10px 30px rgba(49, 105, 78, 0.22);
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.3), rgba(49, 105, 78, 0.08));
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

.service-card .card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ── ENQUIRY FORM ── */
.enquiry-section {
  padding: 8rem 5%;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.enquiry-bg-shape {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(243, 222, 171, 0.5) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.enquiry-inner {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
}

.enquiry-form {
  padding: 3.5rem;
  border-radius: 28px;
  margin-top: 3rem;
  scroll-margin-top: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.35s, box-shadow 0.35s, background 0.35s;
  appearance: none;
}

.form-group select option {
  background: var(--surface);
  color: var(--ink);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(49, 105, 78, 0.12);
  background: var(--surface);
}

.form-group input:not(:placeholder-shown):invalid,
.form-group select:not(:focus):invalid:not(:placeholder-shown) {
  border-color: #c8443a;
  box-shadow: 0 0 0 3px rgba(200, 68, 58, 0.10);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-faint);
}

.form-group .focus-line {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.35s;
  border-radius: 2px;
}

.form-group input:focus~.focus-line,
.form-group select:focus~.focus-line {
  width: calc(100% - 20px);
}

.form-submit {
  text-align: center;
  margin-top: 2rem;
}

.btn-submit {
  padding: 1rem 3.5rem;
  font-size: 0.95rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 28px rgba(49, 105, 78, 0.32);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(49, 105, 78, 0.45);
}

.btn-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-submit:hover::after {
  transform: translateX(100%);
}

/* ── SUCCESS POPUP ── */
.success-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50000;
  align-items: center;
  justify-content: center;
  background: rgba(20, 24, 42, 0.55);
  backdrop-filter: blur(10px);
}

.success-popup.show {
  display: flex;
}

.success-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 4rem 3rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  animation: popupIn 0.5s var(--transition);
  box-shadow: 0 30px 80px rgba(20, 24, 42, 0.25);
}

@keyframes popupIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1.2rem;
  animation: successPop 0.6s 0.3s both;
}

@keyframes successPop {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

.success-box h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-deep);
  margin-bottom: 0.7rem;
}

.success-box p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.success-close {
  padding: 0.8rem 2.5rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* ── TESTIMONIALS ── */
.testimonials-section {
  padding: 8rem 5%;
  background: var(--cream);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
}

.testimonial-track {
  overflow: hidden;
}

.testimonial-slides {
  display: flex;
  transition: transform 0.6s var(--transition);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 0.5rem;
}

.testimonial-card {
  padding: 3rem;
  border-radius: 24px;
  position: relative;
}

/* Image-based testimonial slide */
.testimonial-img-card {
  max-width: 780px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial-img-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.4), transparent 40%, transparent 60%, rgba(49, 105, 78, 0.25));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.testimonial-img-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.quote-icon {
  font-family: var(--font-display);
  font-size: 6rem;
  line-height: 0.5;
  color: var(--gold);
  opacity: 0.35;
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  font-style: italic;
}

.testimonial-text {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  padding-top: 1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.author-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
  border: 2px solid rgba(49, 105, 78, 0.5);
}

.author-info .name {
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.author-info .role {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.star-rating {
  margin-top: 0.4rem;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 2px;
}

/* Slider controls */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s;
}

.slider-btn:hover {
  background: rgba(49, 105, 78, 0.15);
  border-color: var(--gold);
}

.slider-dots {
  display: flex;
  gap: 0.6rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(49, 105, 78, 0.3);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.dot.active {
  background: var(--gold);
  transform: scale(1.3);
}

/* ── CONTACT ── */
.contact-section {
  padding: 8rem 5%;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto 0;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-card {
  padding: 1.8rem;
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.18), rgba(49, 105, 78, 0.04));
  border: 1px solid rgba(49, 105, 78, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, background 0.4s;
}

.contact-card:hover .contact-card-icon {
  transform: rotate(360deg) scale(1.06);
  box-shadow: 0 10px 28px rgba(49, 105, 78, 0.22);
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.3), rgba(49, 105, 78, 0.08));
}

.contact-card-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.contact-card-body h3 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-card-body p,
.contact-card-body a {
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-card-body a:hover {
  color: var(--gold-deep);
}

.contact-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  height: 380px;
  box-shadow: 0 12px 40px rgba(20, 24, 42, 0.08);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FOOTER ── */
footer {
  background: var(--cream-warm);
  border-top: 1px solid rgba(49, 105, 78, 0.25);
  padding: 5rem 5% 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr;
  gap: 2.5rem;
  max-width: 1300px;
  margin: 0 auto;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--line);
}

.footer-brand .nav-logo {
  font-size: 1.15rem;
  display: inline-block;
  margin-bottom: 1rem;
  color: #0a4d8c;
}

.footer-brand p {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s;
}

.social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.social-link:hover {
  background: rgba(49, 105, 78, 0.15);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(220, 39, 67, 0.35);
}

.social-link--youtube:hover {
  background: #ff0000;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 0, 0, 0.35);
}

.social-link--whatsapp:hover {
  background: #25d366;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #0a4d8c;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-col ul a {
  color: #3a4055;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s, padding-left 0.3s;
  display: block;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 18px;
  color: #3a4055;
  line-height: 1.5;
}

.footer-contact-item .ico {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(49, 105, 78, 0.18), rgba(49, 105, 78, 0.04));
  border: 1px solid rgba(49, 105, 78, 0.25);
  color: var(--gold);
  margin-top: 0;
}

.footer-contact-item .ico svg {
  width: 15px;
  height: 15px;
  display: block;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #3a4055;
  font-size: 0.82rem;
}

.footer-bottom .gold {
  color: var(--gold-deep);
}

.footer-bottom a {
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--transition), transform 0.8s var(--transition);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ── SECTION SEPARATOR ── */
.section-sep {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(49, 105, 78, 0.2), transparent);
  margin: 0;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  padding: 0px 5% 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  padding-bottom: 0px;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(49, 105, 78, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(29, 58, 138, 0.08) 0%, transparent 70%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 1rem;
}

.page-hero h1 .gold {
  color: var(--gold-deep);
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* About-page hero — image-led variant, left-aligned */
.page-hero-about {
  background:
    linear-gradient(135deg, rgba(49, 105, 78, 0.72) 0%, rgba(10, 14, 34, 0.55) 100%),
    url('images/about_us_hero_section.webp') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin-top: 90px;
}

.page-hero-about::before {
  display: none;
}

.page-hero-about .page-hero-content {
  color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-hero-about h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  white-space: nowrap;
  line-height: 1.15;
}

.page-hero-about h1 .gold {
  color: var(--gold-pale);
}

.page-hero-about p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0;
}

.page-hero-about .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
}

.page-hero-about .breadcrumb a {
  color: var(--gold-pale);
}

.page-hero-about .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-about .section-tag {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-hero-about .section-tag::before {
  background: var(--gold-pale);
}

/* Services-page hero — image-led variant, left-aligned */
.page-hero-services {
  background:
    linear-gradient(135deg, rgba(49, 105, 78, 0.72) 0%, rgba(10, 14, 34, 0.55) 100%),
    url('images/services_hero_sections.webp') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin-top: 90px;
  background-size: 100% 100%;
}

.page-hero-services::before {
  display: none;
}

.page-hero-services .page-hero-content {
  color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-hero-services h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  white-space: nowrap;
  line-height: 1.15;
}

.page-hero-services h1 .gold {
  color: var(--gold-pale);
}

.page-hero-services p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0;
}

.page-hero-services .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
}

.page-hero-services .breadcrumb a {
  color: var(--gold-pale);
}

.page-hero-services .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-services .section-tag {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-hero-services .section-tag::before {
  background: var(--gold-pale);
}

/* Testimonial-page hero — image-led variant, right-aligned */
.page-hero-testimonial {
  background:
    linear-gradient(135deg, rgba(49, 105, 78, 0.72) 0%, rgba(10, 14, 34, 0.55) 100%),
    url('images/testimonial_hero_section.webp') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
  margin-top: 90px;
}

.page-hero-testimonial::before {
  display: none;
}

.page-hero-testimonial .page-hero-content {
  color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: right;
}

.page-hero-testimonial .section-tag {
  align-self: flex-end;
}

.page-hero-testimonial h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  white-space: nowrap;
  line-height: 1.15;
}

.page-hero-testimonial h1 .gold {
  color: var(--gold-pale);
}

.page-hero-testimonial p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 0 0 auto;
}

.page-hero-testimonial .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-end;
}

.page-hero-testimonial .breadcrumb a {
  color: var(--gold-pale);
}

.page-hero-testimonial .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-testimonial .section-tag {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-hero-testimonial .section-tag::before {
  background: var(--gold-pale);
}

/* Contact-page hero — image-led variant, left-aligned */
.page-hero-contact {
  background:
    linear-gradient(135deg, rgba(49, 105, 78, 0.72) 0%, rgba(10, 14, 34, 0.55) 100%),
    url('images/contact_hero_section.webp') center/cover no-repeat;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  margin-top: 90px;
}

.page-hero-contact::before {
  display: none;
}

.page-hero-contact .page-hero-content {
  color: #ffffff;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.page-hero-contact h1 {
  color: #ffffff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  white-space: nowrap;
  line-height: 1.15;
}

.page-hero-contact h1 .gold {
  color: var(--gold-pale);
}

.page-hero-contact p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0;
}

.page-hero-contact .breadcrumb {
  color: rgba(255, 255, 255, 0.7);
  justify-content: flex-start;
}

.page-hero-contact .breadcrumb a {
  color: var(--gold-pale);
}

.page-hero-contact .breadcrumb span {
  color: rgba(255, 255, 255, 0.4);
}

.page-hero-contact .section-tag {
  color: var(--gold-pale);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-hero-contact .section-tag::before {
  background: var(--gold-pale);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    max-width: 500px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }


  .enquiry-form {
    padding: 2rem 1.5rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .contact-map {
    height: 280px;
  }

  body {
    cursor: auto;
  }

  #cursor,
  #cursor-follower {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-badge {
    right: 0;
    bottom: -15px;
  }
}

/* ── RESPONSIVE: PAGE HERO SECTIONS (about/services/testimonial/contact) ── */
/* Tablet — allow wrapping, soften height, reduce nowrap so headings don't clip */
@media (max-width: 1024px) {

  .page-hero-about,
  .page-hero-services,
  .page-hero-contact,
  .page-hero-testimonial {
    min-height: 70vh;
    padding: 4rem 5%;
  }

  .page-hero-about h1,
  .page-hero-services h1,
  .page-hero-contact h1,
  .page-hero-testimonial h1 {
    white-space: normal;
    font-size: clamp(1.7rem, 4.2vw, 2.6rem);
    line-height: 1.2;
  }

  .page-hero-about p,
  .page-hero-services p,
  .page-hero-contact p,
  .page-hero-testimonial p {
    font-size: 1rem;
  }
}

/* Mobile — full wrap, centered testimonial, scaled spacing */
@media (max-width: 768px) {

  .page-hero-about,
  .page-hero-services,
  .page-hero-contact,
  .page-hero-testimonial {
    min-height: 60vh;
    padding: 3rem 5%;
    margin-top: 70px;
  }

  .page-hero-about h1,
  .page-hero-services h1,
  .page-hero-contact h1,
  .page-hero-testimonial h1 {
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: clamp(1.5rem, 6vw, 2.1rem);
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  .page-hero-about p,
  .page-hero-services p,
  .page-hero-contact p,
  .page-hero-testimonial p {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
  }

  /* Testimonial hero was right-aligned — center it on mobile so it reads well */
  .page-hero-testimonial {
    justify-content: center;
    text-align: center;
  }

  .page-hero-testimonial .page-hero-content {
    text-align: center;
  }

  .page-hero-testimonial .breadcrumb {
    justify-content: center;
  }

  .page-hero-testimonial p {
    margin: 0 auto;
  }

  .page-hero-testimonial .section-tag {
    align-self: center;
  }

  .breadcrumb {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
}

/* Small mobile — tighter spacing and slightly smaller type */
@media (max-width: 480px) {

  .page-hero-about,
  .page-hero-services,
  .page-hero-contact,
  .page-hero-testimonial {
    min-height: 55vh;
    padding: 2.5rem 5%;
  }

  .page-hero-about h1,
  .page-hero-services h1,
  .page-hero-contact h1,
  .page-hero-testimonial h1 {
    font-size: clamp(1.4rem, 7vw, 1.85rem);
  }

  .page-hero-about p,
  .page-hero-services p,
  .page-hero-contact p,
  .page-hero-testimonial p {
    font-size: 0.9rem;
  }

  /* ══ FAQ SECTION ══ */
  .faq-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--line);
  }

  .faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 14, 34, 0.08);
    border-color: rgba(49, 105, 78, 0.3);
  }

  .faq-item summary {
    outline: none;
    transition: color 0.3s ease;
  }

  .faq-item summary::-webkit-details-marker {
    display: none;
  }

  .faq-item[open] summary {
    color: var(--gold);
  }

  .faq-item[open] summary span {
    transform: rotate(45deg);
  }

  .faq-item summary span {
    transition: transform 0.35s ease;
    display: inline-block;
  }

  .faq-item p {
    animation: faqFadeIn 0.4s ease;
  }

  @keyframes faqFadeIn {
    from {
      opacity: 0;
      transform: translateY(-4px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ── SEO KEYWORD ANCHOR LINKS ── */
.seo-content a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted currentColor;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.seo-content a:hover,
.seo-content a:focus {
  color: var(--ink);
  border-bottom-color: var(--ink);
}