/* =========================================
   DECA INFRA — Premium Design System
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto:wght@400;500;700;900&display=swap');

/* ---- Variables ---- */
:root {
  --white: #FFFFFF;
  --off-white: #F2F7EE;
  --navy: #0D1F2D;
  --navy-mid: #162C3E;
  --navy-light: #1E3A50;
  --near-black: #0A1620;
  --dark: #0D1F2D;
  --charcoal: #152333;
  --grey-mid: #7A8E80;
  --grey-light: #C8D4C0;
  --grey-subtle: #E8EFE4;
  --green: #6DBE25;
  --green-light: #8ED44A;
  --green-bright: #A3E063;
  --green-dim: rgba(109, 190, 37, 0.12);
  --green-glow: rgba(109, 190, 37, 0.20);

  /* Legacy aliases so nothing breaks */
  --gold: #6DBE25;
  --gold-light: #8ED44A;
  --gold-dim: rgba(109, 190, 37, 0.12);

  --font-heading: 'Roboto', sans-serif;
  --font-body: 'Inter', sans-serif;

  --ease-premium: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  --section-pad: clamp(80px, 10vw, 140px);
  --container-max: 1320px;
  --container-pad: clamp(20px, 5vw, 80px);
}


/* ---- Reset ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  background: var(--white);
}

body {
  font-family: var(--font-body);
  background: transparent;
  color: var(--near-black);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Faded Logo Watermark to minimize empty whitespace */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../img/logo.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 70%;
  opacity: 0.04;
  pointer-events: none;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ---- Mouse Follower Glow ---- */
#mouse-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(109,190,37,0.08) 0%, transparent 70%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s ease;
  will-change: transform;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ========================
   NAVIGATION
   ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.5s var(--ease-premium);
  /* Permanent dark+blur strip keeps logo visible over any hero image */
  background: linear-gradient(to bottom, rgba(0,0,0,0.70) 0%, rgba(0,0,0,0.20) 80%, transparent 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.navbar.scrolled {
  background: rgba(13, 31, 45, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 18px var(--container-pad);
  border-bottom: 1px solid rgba(109,190,37,0.25);
  box-shadow: 0 4px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(109,190,37,0.08);
}

.navbar.light-nav {
  background: transparent;
}

.navbar.light-nav.scrolled {
  background: rgba(242, 247, 238, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(109,190,37,0.2);
}

.navbar.light-nav .nav-logo .logo-text,
.navbar.light-nav .nav-links a,
.navbar.light-nav .nav-cta {
  color: var(--near-black);
}

.navbar.light-nav.scrolled .nav-links a,
.navbar.light-nav.scrolled .nav-logo .logo-text {
  color: var(--near-black);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Actual logo image in nav */
.nav-logo img {
  height: 88px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.3) contrast(1.15) drop-shadow(0 4px 18px rgba(0,0,0,0.7));
  transition: height 0.45s var(--ease-premium), filter 0.35s ease;
}

/* Compact when navbar has scrolled — still prominent */
.navbar.scrolled .nav-logo img {
  height: 68px;
  filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 10px rgba(0,0,0,0.5));
}

/* Light-nav pages (about / services) — on lighter bg, keep crisp */
.navbar.light-nav .nav-logo img {
  filter: brightness(1.1) contrast(1.15);
}

.navbar.light-nav.scrolled .nav-logo img {
  filter: brightness(1.05) contrast(1.15);
}

.nav-logo:hover img {
  filter: brightness(1.35) contrast(1.15) drop-shadow(0 0 18px rgba(109,190,37,0.7));
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--green);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  flex-shrink: 0;
  transition: filter 0.3s ease;
}

.logo-mark:hover, .nav-logo:hover .logo-mark {
  filter: drop-shadow(0 0 8px rgba(109,190,37,0.6));
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 1px;
  transition: color 0.4s ease;
}

.logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.3s ease;
  position: relative;
}

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

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

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

.navbar.scrolled .nav-links a {
  color: rgba(255,255,255,0.75);
}

.navbar.light-nav .nav-links a {
  color: rgba(10,10,10,0.6);
}

.navbar.light-nav .nav-links a:hover,
.navbar.light-nav .nav-links a.active {
  color: var(--near-black);
}

.nav-cta {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy) !important;
  background: var(--green);
  padding: 12px 28px;
  transition: all 0.3s ease;
  border: 1px solid var(--green);
}

.nav-cta:hover {
  background: transparent;
  color: var(--green) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile Nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s ease;
}

.navbar.light-nav .nav-toggle span {
  background: var(--near-black);
}

/* ========================
   SCROLL SEQUENCE HERO
   ======================== */
.sequence-scroll-container {
  position: relative;
  height: 700vh;
}

.sequence-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #0D1F2D;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0D1F2D;
}


.sequence-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,31,45,0.7) 0%, rgba(0,0,0,0.6) 50%, rgba(13,31,45,0.8) 100%);
  pointer-events: none;
}

.sequence-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.seq-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 1s var(--ease-out-expo);
}

.seq-tag.visible {
  opacity: 1;
  transform: translateY(0);
}

.seq-headline {
  font-family: var(--font-heading);
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1.2s var(--ease-out-expo) 0.1s;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0px 4px 20px rgba(0,0,0,0.8);
}

.seq-headline.visible {
  opacity: 1;
  transform: translateY(0);
}

.seq-sub {
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 1s var(--ease-out-expo) 0.3s;
}

.seq-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

.seq-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.seq-scroll-hint span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLineAnim 1.8s ease-in-out infinite;
}

@keyframes scrollLineAnim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* Phase text overlays */
.seq-phase {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.seq-phase.active { opacity: 1; }

/* Progress bar */
.seq-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  width: 0%;
  transition: width 0.1s linear;
}

/* ========================
   SECTION ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(48px);
  transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================
   SECTION HEADINGS
   ======================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  font-weight:  700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.section-sub {
  font-size: 16px;
  font-weight: 400;
  color: var(--grey-mid);
  line-height: 1.8;
  max-width: 560px;
}

/* ========================
   BUTTONS
   ======================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--near-black);
  background: var(--gold);
  padding: 17px 38px;
  transition: all 0.35s var(--ease-premium);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--gold);
  gap: 18px;
}

.btn-primary .btn-arrow {
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width 0.3s ease;
}

.btn-primary .btn-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

.btn-primary:hover .btn-arrow {
  width: 22px;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: transparent;
  padding: 17px 38px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.35s var(--ease-premium);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--near-black);
  padding: 17px 38px;
  border: 1px solid var(--near-black);
  transition: all 0.35s var(--ease-premium);
}

.btn-dark:hover {
  background: transparent;
  color: var(--near-black);
}

/* ========================
   IMAGE HOVER EFFECTS
   ======================== */
.img-hover-wrap {
  overflow: hidden;
  position: relative;
}

.img-hover-wrap img {
  transition: transform 0.8s var(--ease-out-expo);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-hover-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 0px solid var(--gold);
  opacity: 0;
  transition: all 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

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

.img-hover-wrap:hover::after {
  border-width: 2px;
  opacity: 0.6;
}

/* ========================
   HOME — INTRO BAND
   ======================== */
.intro-band {
  background: var(--navy);
  padding: var(--section-pad) var(--container-pad);
  position: relative;
  overflow: hidden;
}

.intro-band::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(109,190,37,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.intro-band::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(109,190,37,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.intro-band .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-statement {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 78px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.intro-statement em {
  color: var(--gold);
}

.intro-right {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.intro-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-item {
  border-top: 1px solid rgba(109,190,37,0.3);
  padding-top: 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 6px;
  word-wrap: break-word;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* ========================
   SERVICES SECTION (HOME)
   ======================== */
.services-preview {
  padding: var(--section-pad) var(--container-pad);
  background: var(--off-white);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 72px;
  flex-wrap: wrap;
  gap: 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.4s ease, transform 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.5s var(--ease-out-expo);
}

.service-card:hover::before {
  width: 100%;
}

.service-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(13,31,45,0.3), inset 0 0 40px rgba(109,190,37,0.04);
}

.service-icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--grey-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover .service-icon {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--grey-mid);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s ease;
}

.service-card:hover .service-icon svg {
  stroke: var(--gold);
}

.service-num {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.6;
}

.service-name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--near-black);
  transition: color 0.3s ease;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.service-card:hover .service-name {
  color: var(--white);
}

.service-desc {
  font-size: 14px;
  color: var(--grey-mid);
  line-height: 1.8;
  transition: color 0.3s ease;
}

.service-card:hover .service-desc {
  color: rgba(255,255,255,0.5);
}

.service-arrow {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

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

/* ========================
   PROJECTS PREVIEW (HOME)
   ======================== */
.projects-preview {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
  flex-wrap: wrap;
  gap: 24px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.project-card .card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
}

.project-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.project-card:hover .card-img img {
  transform: scale(1.07);
}

.project-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,45,0.92) 0%, rgba(13,31,45,0.3) 50%, transparent 80%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
  transition: all 0.4s ease;
}

.card-tag {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 6px;
}

.card-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
}

.card-reveal {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gold);
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-premium);
}

.project-card:hover .card-reveal {
  transform: scaleX(1);
}

/* ========================
   CTA BAND
   ======================== */
.cta-band {
  background: var(--navy);
  padding: 120px var(--container-pad);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(109,190,37,0.14) 0%, rgba(13,31,45,0) 68%);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(109,190,37,0.4), transparent);
  pointer-events: none;
}

.cta-band .section-label {
  justify-content: center;
}

.cta-band .section-label::before { display: none; }

.cta-headline {
  font-family: var(--font-heading);
  font-size: clamp(44px, 6vw, 88px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  margin: 20px 0 40px;
}

.cta-headline em {
  color: var(--gold);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--navy);
  padding: 80px var(--container-pad) 40px;
  border-top: 1px solid rgba(109,190,37,0.2);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(109,190,37,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Footer logo image sizing */
.footer-brand .nav-logo {
  display: inline-flex;
  margin-bottom: 0;
}

.footer-brand .nav-logo img {
  height: 130px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(1.15) contrast(1.1);
  transition: filter 0.3s ease;
}

.footer-brand .nav-logo:hover img {
  filter: brightness(1.15) drop-shadow(0 0 10px rgba(109,190,37,0.45));
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.footer-tagline em {
  color: var(--gold);
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 16px;
}

.footer-contact-item .contact-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

.footer-contact-item .contact-value {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color 0.3s ease;
}

.footer-contact-item .contact-value:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

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

/* ========================
   INNER PAGE HERO
   ======================== */
.page-hero {
  min-height: 55vh;
  background: var(--navy);
  display: flex;
  align-items: flex-end;
  padding: 140px var(--container-pad) 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,31,45,0.7) 0%, rgba(13,31,45,0.9) 100%),
              url('../img/Decan-Infra-Home.jpg') center/cover no-repeat;
  opacity: 0.6;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(109,190,37,0.3), transparent);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.page-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(52px, 7vw, 110px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: -1px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.page-hero-heading em {
  color: var(--gold);
}

.page-hero-sub {
  margin-top: 24px;
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  line-height: 1.8;
}

/* ========================
   ABOUT PAGE
   ======================== */
.about-intro {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-main-img {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 140px;
  height: 140px;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  border: 2px solid var(--green);
  box-shadow: 0 0 30px rgba(109,190,37,0.2);
}

.about-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 400;
  color: var(--green);
  line-height: 1.2;
}

.about-badge .badge-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.about-desc {
  font-size: 17px;
  color: var(--grey-mid);
  line-height: 1.9;
}

.mission-vision {
  padding: var(--section-pad) var(--container-pad);
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.mission-vision::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(109,190,37,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 64px;
}

.mv-card {
  background: rgba(109,190,37,0.03);
  border-left: 2px solid rgba(109,190,37,0.25);
  padding: 56px 48px;
  transition: background 0.4s ease, border-color 0.3s ease;
}

.mv-card:hover {
  background: rgba(109,190,37,0.07);
  border-left-color: var(--green);
}

.mv-icon {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 32px;
}

.mv-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 16px;
}

.mv-text {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}

.about-services {
  padding: var(--section-pad) var(--container-pad);
  background: var(--off-white);
}

.about-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.about-service-item {
  background: var(--white);
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.4s ease;
  border-bottom: 2px solid transparent;
  transition: all 0.4s ease;
}

.about-service-item:hover {
  border-bottom-color: var(--gold);
  transform: translateY(-4px);
}

.service-item-num {
  font-family: var(--font-heading);
  font-size: 60px;
  font-weight: 500;
  color: rgba(109,190,37,0.15);
  line-height: 1.2;
}

.service-item-name {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 500;
  color: var(--near-black);
}

.service-item-desc {
  font-size: 15px;
  color: var(--grey-mid);
  line-height: 1.8;
}

.service-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.service-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border: 1px solid var(--grey-light);
  color: var(--grey-mid);
}

.expertise-section {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
}

.expertise-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: default;
}

.expertise-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.expertise-item:hover img {
  transform: scale(1.06);
}

.expertise-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,31,45,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 28px 24px;
}

.expertise-item-name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
}

/* ========================
   SERVICES PAGE
   ======================== */
.services-full {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--grey-subtle);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-block-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.service-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out-expo);
}

.service-block:hover .service-block-img img {
  transform: scale(1.04);
}

.service-block-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-block-num {
  font-family: var(--font-heading);
  font-size: 80px;
  font-weight: 500;
  color: rgba(109,190,37,0.12);
  line-height: 1.2;
}

.service-block-name {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.2;
}

.service-block-desc {
  font-size: 16px;
  color: var(--grey-mid);
  line-height: 1.9;
}

.capability-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.capability-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: var(--near-black);
  font-weight: 500;
}

.capability-item::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ========================
   PROJECTS PAGE
   ======================== */
.projects-section {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--grey-subtle);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar { display: none; }

.filter-tab {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 16px 28px;
  cursor: pointer;
  color: var(--grey-mid);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
}

.filter-tab:hover {
  color: var(--near-black);
}

.filter-tab.active {
  color: var(--near-black);
  border-bottom-color: var(--gold);
}

.projects-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-full-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.project-full-card .pfc-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.project-full-card .pfc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.project-full-card:hover .pfc-img img {
  transform: scale(1.05);
}

.pfc-category-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--near-black);
  background: var(--gold);
  padding: 5px 12px;
}

.pfc-info {
  padding: 24px 0 0;
  border-top: 1px solid var(--grey-subtle);
}

.pfc-name {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  color: var(--near-black);
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.project-full-card:hover .pfc-name {
  color: var(--gold);
}

.pfc-meta {
  font-size: 12px;
  color: var(--grey-mid);
  display: flex;
  gap: 16px;
  align-items: center;
}

.pfc-meta span::before {
  content: '·';
  margin-right: 16px;
}

.pfc-meta span:first-child::before { display: none; }

/* ========================
   CONTACT PAGE
   ======================== */
.contact-section {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-detail-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-detail-value {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--near-black);
  line-height: 1.5;
}

.contact-detail-value a {
  transition: color 0.3s ease;
}

.contact-detail-value a:hover {
  color: var(--gold);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--near-black);
  border: none;
  border-bottom: 1px solid var(--grey-light);
  padding: 14px 0;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group textarea {
  resize: none;
  height: 120px;
}

.form-group select {
  appearance: none;
  cursor: pointer;
}

.map-section {
  padding: 0 var(--container-pad) var(--section-pad);
  background: var(--white);
}

.map-wrap {
  width: 100%;
  height: 400px;
  filter: grayscale(30%) contrast(1.05);
}

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

/* ========================
   PARALLAX HERO BG
   ======================== */
.parallax-bg {
  will-change: transform;
  transition: transform 0.05s linear;
}

.team-section {
  padding: var(--section-pad) var(--container-pad);
  background: var(--navy);
  position: relative;
}

.team-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(109,190,37,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.team-section .section-heading {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-collage-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  background: var(--near-black);
}

.team-collage-wrap img {
  display: block;
  transition: transform 0.8s var(--ease-premium);
  mix-blend-mode: luminosity;
  opacity: 0.85;
}

.team-collage-wrap:hover img {
  transform: scale(1.02);
  mix-blend-mode: normal;
  opacity: 1;
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .projects-grid,
  .projects-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-block,
  .about-intro .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .service-block.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .intro-band .container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nav-logo img {
    height: 72px;
  }

  .navbar.scrolled .nav-logo img {
    height: 56px;
  }

  .footer-brand .nav-logo img {
    height: 110px;
  }
}

@media (max-width: 768px) {
  #hero-section {
    height: 300vh !important;
  }

  .nav-links {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13, 31, 45, 0.85); /* Dark base */
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05); /* Slight initial scale out */
    transition: all 0.6s var(--ease-premium);
    padding: 120px 40px 100px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  /* Professional staggered reveal */
  .nav-links li {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--ease-premium);
    width: 100%;
    text-align: center;
  }

  .nav-links.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-links.open li:nth-child(1) { transition-delay: 0.15s; }
  .nav-links.open li:nth-child(2) { transition-delay: 0.25s; }
  .nav-links.open li:nth-child(3) { transition-delay: 0.35s; }
  .nav-links.open li:nth-child(4) { transition-delay: 0.45s; }
  .nav-links.open li:nth-child(5) { transition-delay: 0.55s; }

  .nav-links a {
    font-family: var(--font-heading);
    font-size: 32px !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    color: var(--white) !important;
    text-transform: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: block;
    padding: 8px 0;
  }

  .nav-links a:hover, .nav-links a:active {
    color: var(--green) !important;
    transform: scale(1.05);
  }

  .nav-links .nav-cta {
    background: var(--green);
    color: var(--navy) !important;
    padding: 16px 48px !important;
    border-radius: 100px;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase;
    margin-top: 16px;
    display: inline-block !important;
    box-shadow: 0 10px 30px rgba(109,190,37,0.3);
  }

  .nav-links .nav-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(109,190,37,0.5);
    background: var(--white);
  }

  /* Tagline branding */
  .nav-menu-footer {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-premium) 0.65s;
    pointer-events: none;
  }

  .nav-links.open ~ .nav-menu-footer,
  .nav-links.open .nav-menu-footer {
    opacity: 0.5;
    transform: translateY(0);
  }

  .nav-tagline {
    font-family: var(--font-body);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
  }

  /* Close toggle enhancement */
  .nav-toggle {
    display: flex;
    z-index: 2100;
    background: rgba(109,190,37,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .nav-toggle span {
    background-color: var(--white) !important;
    width: 24px;
    height: 2px;
  }

  .nav-toggle:hover {
    background: var(--green);
    transform: rotate(90deg);
  }

  .nav-toggle:hover span {
    background-color: var(--navy) !important;
  }

  .navbar.light-nav:not(.scrolled) .nav-toggle span {
    background-color: var(--near-black) !important;
  }

  .navbar.light-nav:not(.scrolled) .nav-toggle:hover span {
    background-color: var(--navy) !important;
  }

  .nav-logo img {
    height: 56px;
  }

  .navbar.scrolled .nav-logo img {
    height: 44px;
  }

  .footer-brand .nav-logo img {
    height: 88px;
  }

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

  .projects-grid,
  .projects-full-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

  .about-badge {
    right: 0;
    bottom: -20px;
    width: 110px;
    height: 110px;
  }

  /* Prevent text overlap on mobile */
  .seq-headline {
    font-size: clamp(40px, 8vw, 60px) !important;
    line-height: 1.1 !important;
  }
  
  .seq-phase > div > div:nth-child(2) {
    font-size: clamp(36px, 8vw, 56px) !important;
    line-height: 1.1 !important;
  }
  
  .seq-sub {
    margin-top: 15px !important;
    font-size: 14px !important;
  }
}

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .filter-tabs {
    gap: 0;
  }

  .filter-tab {
    padding: 12px 18px;
    font-size: 10px;
  }

  .services-header,
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Dropdown Menu Styles */
.nav-dropdown-container {
  position: relative;
}
.dropdown-arrow {
  font-size: 10px;
  margin-left: 4px;
  vertical-align: middle;
}
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 30px);
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--navy);
  min-width: 260px;
  border-radius: 8px;
  padding: 12px 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: all 0.4s var(--ease-premium);
  z-index: 1000;
}
.navbar.scrolled .nav-dropdown-menu {
  top: calc(100% + 20px);
}
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 40px;
}
@media (min-width: 769px) {
  .nav-dropdown-container:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }
}
.nav-dropdown-menu li {
  margin: 0;
}
.nav-dropdown-menu a {
  display: block;
  padding: 12px 24px !important;
  color: var(--grey-light) !important;
  font-size: 15px !important;
  text-transform: none !important;
  transition: all 0.3s ease !important;
}
.nav-dropdown-menu a:hover {
  color: var(--white) !important;
  background: rgba(255,255,255,0.08) !important;
  padding-left: 28px !important;
}
.light-nav .nav-dropdown-menu {
  background: var(--white);
  border-top: 3px solid var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.light-nav .nav-dropdown-menu a {
  color: var(--grey-mid) !important;
}
.light-nav .nav-dropdown-menu a:hover {
  background: rgba(0,0,0,0.04) !important;
  color: var(--gold) !important;
}

@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    padding: 12px;
    margin-top: 16px;
    display: none;
  }
  .nav-dropdown-container.mobile-dropdown-open .nav-dropdown-menu {
    display: block;
    animation: fadeIn 0.3s ease;
  }
  .nav-dropdown-menu a {
    font-size: 18px !important;
    padding: 10px 16px !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }
  .light-nav .nav-dropdown-menu a {
    color: rgba(255, 255, 255, 0.8) !important;
  }
}
