/* MEMBERS Section Custom Styles */
.members-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-bottom: 24px;
}
.member-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 32px 24px;
  max-width: 320px;
  min-width: 260px;
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .2s;
}
.member-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-xl);
}
.member-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 2em;
  box-shadow: var(--shadow-sm);
}
.member-card h3 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 1.25em;
  margin-bottom: 12px;
}
.member-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.member-card li {
  margin-bottom: 8px;
  color: var(--gray-700);
  font-size: 1em;
}
.member-card li strong {
  color: var(--accent);
}
.member-card small {
  color: var(--gray-500);
  font-size: 0.95em;
}
@media (max-width: 900px) {
  .members-grid {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .member-card {
    max-width: 100%;
    min-width: 0;
  }
}
/* ============================================
   DR. ANJAN KUMAR DUTTA - A.K. DUTTA & ASSOCIATES
   Professional Website Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #0b1120;
  --primary-light: #141e33;
  --accent: #c9a84c;
  --accent-light: #dfc076;
  --accent-dark: #a98e3a;
  --white: #ffffff;
  --off-white: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --success: #10b981;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,.04), 0 10px 20px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,.07), 0 20px 48px rgba(0,0,0,.05);
  --shadow-xl: 0 24px 50px rgba(0,0,0,.12);
  --glass: rgba(255,255,255,.06);
  --glass-border: rgba(255,255,255,.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: .55s cubic-bezier(.4,0,.2,1);
  --transition-spring: .5s cubic-bezier(.175,.885,.32,1.275);
  --font-heading: 'Plus Jakarta Sans', 'Playfair Display', Georgia, sans-serif;
  --font-body: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1320px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Modern selection */
::selection {
  background: rgba(201, 168, 76, 0.2);
  color: var(--primary);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* Modern focus ring */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); color: var(--primary); line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 600; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
  position: relative;
  padding: 6px 16px 6px 0;
}
.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title { margin-bottom: .75rem; }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 3rem;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--radius);
  transition: all var(--transition-spring);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  z-index: -1;
  transition: transform var(--transition);
  transform: scaleX(0);
  transform-origin: right;
}

.btn:hover::after { transform: scaleX(1); transform-origin: left; }

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(201,168,76,.2);
}
.btn-primary::after { background: var(--accent-light); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(201,168,76,.35); transform: translateY(-2px); }

.btn-outline {
  border: 1.5px solid rgba(201,168,76,.5);
  color: var(--accent);
  backdrop-filter: blur(4px);
}
.btn-outline::after { background: var(--accent); }
.btn-outline:hover { color: var(--primary); border-color: var(--accent); }

.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white::after { background: var(--accent); }
.btn-white:hover { color: var(--white); box-shadow: var(--shadow-lg); }

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.08);
}
.btn-dark::after { background: var(--primary-light); }
.btn-dark:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-arrow::after { display: none; }
.btn-arrow svg { transition: transform var(--transition); }
.btn-arrow:hover svg { transform: translateX(4px); }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }

.loader {
  width: 40px;
  height: 40px;
  border: 2.5px solid rgba(201,168,76,.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(11,17,32,.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.05), 0 4px 30px rgba(0,0,0,.2);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--primary);
  transition: all var(--transition-spring);
  box-shadow: 0 2px 10px rgba(201,168,76,.2);
}
.nav-logo:hover .nav-logo-icon { transform: rotate(-3deg) scale(1.06); box-shadow: 0 4px 16px rgba(201,168,76,.3); }

.nav-logo-text h3 {
  font-size: .95rem;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .5px;
}
.nav-logo-text span {
  font-size: .65rem;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  color: rgba(255,255,255,.65);
  font-size: .84rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 18px; }

.nav-cta {
  margin-left: 12px;
  padding: 9px 22px !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: var(--primary) !important;
  border-radius: var(--radius) !important;
  font-weight: 600 !important;
  box-shadow: 0 2px 10px rgba(201,168,76,.2) !important;
  font-size: .82rem !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 4px 18px rgba(201,168,76,.35) !important; transform: translateY(-1px); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
  border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ---------- Hero ---------- */
/* ========== HERO SLIDER ========== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 920px;
  overflow: hidden;
  background: var(--primary);
}

/* --- Slider wrapper --- */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

/* --- Individual Slide (fade based) --- */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* --- Slide Image --- */
.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: heroKenBurns 8s ease-in-out forwards;
}

.hero-slide.active .hero-slide-img {
  animation: heroKenBurns 8s ease-in-out forwards;
}

@keyframes heroKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* --- Overlay gradient --- */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 17, 32, 0.82) 0%,
    rgba(11, 17, 32, 0.55) 45%,
    rgba(11, 17, 32, 0.30) 100%
  );
  z-index: 2;
}

/* --- Content --- */
.hero-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8%;
  max-width: 780px;
}

/* Tag / Badge */
.hero-slide-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.28);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 8px 22px;
  border-radius: 50px;
  margin-bottom: 26px;
  width: fit-content;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s ease;
}

.hero-slide.active .hero-slide-tag {
  opacity: 1;
  transform: translateY(0);
}

.tag-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: tagDotPulse 2s ease-in-out infinite;
}

@keyframes tagDotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(201,168,76,.6); }
  50%      { opacity: .7; box-shadow: 0 0 0 6px rgba(201,168,76,0); }
}

/* Title */
.hero-slide-content h1 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s 0.5s ease, transform 0.7s 0.5s ease;
}

.hero-slide.active .hero-slide-content h1 {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-content h1 .accent {
  color: var(--accent);
  position: relative;
}

/* Description */
.hero-slide-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.92rem, 1.4vw, 1.08rem);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s 0.7s ease, transform 0.7s 0.7s ease;
}

.hero-slide.active .hero-slide-desc {
  opacity: 1;
  transform: translateY(0);
}

.hero-slide-desc strong {
  color: var(--accent);
  font-weight: 700;
}

/* Buttons */
.hero-slide-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s 0.9s ease, transform 0.7s 0.9s ease;
}

.hero-slide.active .hero-slide-btns {
  opacity: 1;
  transform: translateY(0);
}

/* --- Progress Bar --- */
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255,255,255,.1);
  z-index: 10;
}

.hero-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #e8d48b);
  transition: width 0.1s linear;
}

.hero-progress-bar.running {
  animation: heroProgressFill 5s linear forwards;
}

@keyframes heroProgressFill {
  0%   { width: 0%; }
  100% { width: 100%; }
}

/* --- Navigation Arrows --- */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.22);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s ease;
}

.hero-arrow-prev { left: 28px; }
.hero-arrow-next { right: 28px; }

.hero-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--primary);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 24px rgba(201,168,76,.35);
}

/* --- Bottom Nav (Counter + Dots) --- */
.hero-nav-bottom {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: rgba(255,255,255,.8);
}

.hero-counter-current {
  color: var(--accent);
  font-size: 1.3rem;
  font-weight: 800;
}

.hero-counter-sep {
  color: rgba(255,255,255,.3);
  margin: 0 2px;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 28px;
  height: 4px;
  border-radius: 4px;
  border: none;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  padding: 0;
  transition: all .4s ease;
}

.hero-dot.active {
  width: 44px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(201,168,76,.4);
}

.hero-dot:hover:not(.active) {
  background: rgba(255,255,255,.5);
}

/* --- Hero Stats Strip --- */
.hero-stats-strip {
  position: absolute;
  bottom: 72px;
  right: 5%;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(11, 17, 32, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 32px;
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.hero-stat-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.hero-stat-text {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.55);
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,.12);
}

/* --- Hero Responsive --- */
@media (max-width: 768px) {
  .hero { max-height: none; height: 85vh; min-height: 520px; }
  .hero-slide-content { padding: 0 6%; max-width: 100%; }
  .hero-slide-content h1 { font-size: clamp(1.65rem, 6vw, 2.3rem); }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
  .hero-stats-strip { display: none; }
  .hero-slide-overlay {
    background: linear-gradient(
      to bottom,
      rgba(11,17,32,.80) 0%,
      rgba(11,17,32,.55) 50%,
      rgba(11,17,32,.80) 100%
    );
  }
}

@media (max-width: 480px) {
  .hero { height: 80vh; min-height: 450px; }
  .hero-slide-content h1 { font-size: clamp(1.4rem, 7vw, 1.8rem); }
  .hero-slide-btns { flex-direction: column; }
  .hero-slide-btns .btn { width: 100%; text-align: center; justify-content: center; }
  .hero-arrow { width: 36px; height: 36px; }
  .hero-nav-bottom { bottom: 20px; }
}

/* ---------- Section Styling ---------- */
section { padding: 110px 0; }

.section-dark {
  background: var(--primary);
  position: relative;
}
.section-dark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,.03) 0%, transparent 60%);
  pointer-events: none;
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p, .section-dark li { color: rgba(255,255,255,.65); }
.section-dark .section-subtitle { color: rgba(255,255,255,.45); }

.section-light { background: var(--off-white); }

/* ---------- Services Grid ---------- */
.services-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 40%, var(--off-white) 100%);
}

/* Floating particles */
.services-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat 8s ease-in-out infinite;
}
.p1 { width: 8px; height: 8px; background: var(--accent); top: 15%; left: 10%; animation-delay: 0s; }
.p2 { width: 5px; height: 5px; background: var(--accent-light); top: 45%; left: 85%; animation-delay: 1.5s; }
.p3 { width: 10px; height: 10px; background: rgba(200,164,86,.3); top: 70%; left: 20%; animation-delay: 3s; }
.p4 { width: 6px; height: 6px; background: var(--accent); top: 25%; left: 75%; animation-delay: 4.5s; }
.p5 { width: 4px; height: 4px; background: var(--accent-light); top: 80%; left: 60%; animation-delay: 2s; }
.p6 { width: 7px; height: 7px; background: rgba(200,164,86,.25); top: 55%; left: 5%; animation-delay: 5.5s; }

@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(0.5); }
  20%  { opacity: 0.6; }
  50%  { opacity: 0.4; transform: translateY(-40px) scale(1); }
  80%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* Services Showcase Grid */
.services-showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* Service Card */
.srv-card {
  perspective: 1000px;
  cursor: pointer;
}

.srv-card-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.5s cubic-bezier(.03,.98,.52,.99), box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
  box-shadow: var(--shadow-sm);
}

.srv-card-inner:hover {
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(201, 168, 76, 0.15);
}

/* Card Image - overlapping icon style */
.srv-card-img {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.srv-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.25,.46,.45,.94), filter 0.5s ease;
  filter: saturate(0.9) brightness(0.95);
}
.srv-card:hover .srv-card-img img {
  transform: scale(1.1);
  filter: saturate(1.05) brightness(1);
}

.srv-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 30%,
    rgba(10, 22, 40, 0.5) 100%
  );
  transition: background 0.5s ease;
}
.srv-card:hover .srv-card-img-overlay {
  background: linear-gradient(
    180deg,
    rgba(200, 164, 86, 0.03) 0%,
    rgba(10, 22, 40, 0.6) 100%
  );
}

/* Card number - bottom right of image */
.srv-card-number {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  transition: all 0.5s ease;
}
.srv-card:hover .srv-card-number {
  color: rgba(200, 164, 86, 0.2);
  letter-spacing: 2px;
}

/* Content - icon overlaps the image/content boundary */
.srv-card-content {
  padding: 32px 24px 24px;
  position: relative;
}

/* Icon with animated ring - pulled up to overlap image */
.srv-icon-wrap {
  position: absolute;
  top: -28px;
  left: 24px;
  width: 56px;
  height: 56px;
}
.srv-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 0 6px 18px rgba(200, 164, 86, 0.3);
  border: 3px solid var(--white);
}
.srv-card:hover .srv-icon {
  transform: rotateY(360deg) scale(1.05);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(200, 164, 86, 0.45);
}

.srv-icon-ring {
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  border: 2px dashed rgba(200, 164, 86, 0.2);
  z-index: 1;
  opacity: 0;
  transition: all 0.5s ease;
  animation: none;
}
.srv-card:hover .srv-icon-ring {
  opacity: 1;
  animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.srv-card-content h3 {
  font-size: 1.15rem;
  margin-top: 8px;
  margin-bottom: 8px;
  color: var(--primary);
  transition: color 0.3s ease;
}
.srv-card:hover .srv-card-content h3 {
  color: var(--accent-dark);
}

.srv-card-content p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Learn More link */
.srv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-dark);
  transition: all 0.3s ease;
  position: relative;
  padding: 6px 14px;
  border-radius: var(--radius);
  background: rgba(201, 168, 76, 0.08);
}
.srv-link::after {
  display: none;
}
.srv-link svg {
  transition: transform 0.3s ease;
}
.srv-card:hover .srv-link {
  background: var(--accent);
  color: var(--primary);
}
.srv-card:hover .srv-link svg {
  transform: translateX(3px);
}

/* Glow effect on hover */
.srv-card-glow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(200, 164, 86, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}
.srv-card:hover .srv-card-glow {
  opacity: 1;
}

/* Staggered reveal for service cards */
.services-showcase .srv-card:nth-child(1) { transition-delay: 0s; }
.services-showcase .srv-card:nth-child(2) { transition-delay: 0.08s; }
.services-showcase .srv-card:nth-child(3) { transition-delay: 0.16s; }
.services-showcase .srv-card:nth-child(4) { transition-delay: 0.24s; }
.services-showcase .srv-card:nth-child(5) { transition-delay: 0.32s; }
.services-showcase .srv-card:nth-child(6) { transition-delay: 0.4s; }

/* --- Accent left border on hover --- */
.srv-card-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10;
  background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.srv-card:hover .srv-card-inner::before {
  transform: scaleX(1);
  animation: shimmerBar 2s linear infinite;
}

@keyframes shimmerBar {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Responsive */
@media (max-width: 768px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .srv-card-img { height: 120px; }
  .srv-card-content { padding: 24px 14px 16px; }
  .srv-card-content h3 { font-size: 0.95rem; }
  .srv-card-content p { font-size: 0.78rem; margin-bottom: 10px; }
  .srv-card-number { font-size: 1.6rem; }
  .srv-icon-wrap { width: 40px; height: 40px; top: -20px; left: 14px; }
  .srv-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 10px; border-width: 2px; }
  .srv-icon-ring { inset: -4px; border-radius: 14px; }
  .srv-link { padding: 4px 10px; font-size: 0.75rem; }
  .srv-link { font-size: 0.78rem; }
  .services-bg-particles { display: none; }
}

@media (max-width: 380px) {
  .services-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .srv-card-img { height: 110px; }
  .srv-card-content { padding: 12px; }
  .srv-card-content h3 { font-size: 0.88rem; }
  .srv-card-content p { font-size: 0.75rem; line-height: 1.5; }
  .srv-card-content { padding: 22px; }
}

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
  max-width: 420px;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(11,17,32,.4));
}

.about-image-wrapper img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--accent);
}

.about-image-placeholder .initials {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  opacity: .3;
}

.about-float-card {
  position: absolute;
  bottom: 24px;
  right: -16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 8px 30px rgba(201,168,76,.3);
  z-index: 3;
  backdrop-filter: blur(4px);
}
.about-float-card h3 {
  font-size: 2rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-weight: 800;
}
.about-float-card p { font-size: .75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }

.about-content .section-label { margin-bottom: 10px; }
.about-content .section-title { margin-bottom: 16px; }

.about-text { font-size: .95rem; margin-bottom: 20px; color: var(--gray-500); }

.qualifications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.qualifications-list li {
  background: var(--gray-100);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.qualifications-list li:hover {
  border-color: rgba(201,168,76,.3);
  background: rgba(201,168,76,.05);
  color: var(--accent-dark);
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.team-card h4 { margin-bottom: 4px; font-size: .95rem; }
.team-card p { font-size: .8rem; color: var(--gray-500); }

/* ---------- Mission Section ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.mission-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition);
}
.mission-card:hover {
  background: rgba(255,255,255,.08);
  transform: translateY(-4px);
  border-color: rgba(200,164,86,.2);
}

.mission-card .icon {
  width: 48px;
  height: 48px;
  background: rgba(200,164,86,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 1.2rem;
}

.mission-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.mission-card p { font-size: .88rem; line-height: 1.7; }

/* ---------- Our Mission Section (3D) ---------- */
.mission-section {
  padding: 120px 0;
  background: linear-gradient(180deg, var(--off-white) 0%, var(--white) 50%, var(--off-white) 100%);
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

/* Floating 3D Shapes */
.mission-3d-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.shape {
  position: absolute;
  transform-style: preserve-3d;
}

/* 3D Cube */
.shape-cube {
  top: 10%;
  left: 5%;
  width: 50px;
  height: 50px;
  animation: floatCube 12s ease-in-out infinite;
}
.cube {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotateCube 20s linear infinite;
}
.face {
  position: absolute;
  width: 50px;
  height: 50px;
  border: 1.5px solid rgba(200, 164, 86, 0.15);
  background: rgba(200, 164, 86, 0.03);
  backdrop-filter: blur(2px);
}
.face.front  { transform: translateZ(25px); }
.face.back   { transform: rotateY(180deg) translateZ(25px); }
.face.left   { transform: rotateY(-90deg) translateZ(25px); }
.face.right  { transform: rotateY(90deg) translateZ(25px); }
.face.top    { transform: rotateX(90deg) translateZ(25px); }
.face.bottom { transform: rotateX(-90deg) translateZ(25px); }

@keyframes rotateCube {
  0%   { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}
@keyframes floatCube {
  0%, 100% { transform: translateY(0) translateX(0); }
  33%      { transform: translateY(-30px) translateX(15px); }
  66%      { transform: translateY(15px) translateX(-10px); }
}

/* 3D Pyramid */
.shape-pyramid {
  top: 60%;
  right: 8%;
  width: 60px;
  height: 60px;
  animation: floatPyramid 15s ease-in-out infinite;
}
.pyramid {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  animation: rotatePyramid 25s linear infinite;
  position: relative;
}
.pface {
  position: absolute;
  width: 0; height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-bottom: 52px solid rgba(200, 164, 86, 0.08);
  transform-origin: bottom center;
}
.pf1 { transform: rotateY(0deg)   translateZ(17px) rotateX(30deg); }
.pf2 { transform: rotateY(90deg)  translateZ(17px) rotateX(30deg); }
.pf3 { transform: rotateY(180deg) translateZ(17px) rotateX(30deg); }
.pf4 { transform: rotateY(270deg) translateZ(17px) rotateX(30deg); }

@keyframes rotatePyramid {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes floatPyramid {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-25px); }
}

/* 3D Ring */
.shape-ring {
  top: 30%;
  right: 15%;
  width: 70px;
  height: 70px;
  border: 3px solid rgba(200, 164, 86, 0.1);
  border-radius: 50%;
  animation: floatRing 18s ease-in-out infinite, spinRing 10s linear infinite;
}
@keyframes spinRing {
  0%   { transform: rotateX(60deg) rotateZ(0deg); }
  100% { transform: rotateX(60deg) rotateZ(360deg); }
}
@keyframes floatRing {
  0%, 100% { top: 30%; }
  50%      { top: 35%; }
}

/* Mission Slider */
.mission-slider-wrapper {
  position: relative;
  z-index: 1;
  margin-bottom: 56px;
  padding: 0 60px;
}

.mission-slider {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.mission-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}

.mission-slider-track .mission-tilt-card {
  flex: 0 0 33.3333%;
  min-width: 0;
  padding: 0 16px;
  box-sizing: border-box;
  display: flex;
}

/* 3D Tilt Card */
.mission-tilt-card {
  perspective: 1000px;
  cursor: pointer;
}

.mission-tilt-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: transform 0.5s cubic-bezier(.03,.98,.52,.99), box-shadow 0.5s ease;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.mission-tilt-card:hover .mission-tilt-inner {
  box-shadow: 0 30px 60px rgba(10, 22, 40, 0.15), 0 0 40px rgba(200, 164, 86, 0.08);
}

/* Card Image */
.mission-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.mission-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(.25,.46,.45,.94);
}
.mission-tilt-card:hover .mission-card-image img {
  transform: scale(1.08);
}
.mission-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.6) 100%);
}

/* 3D Badge floating over image */
.mission-card-3d-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(200, 164, 86, 0.9);
  backdrop-filter: blur(8px);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateZ(30px);
  box-shadow: 0 4px 12px rgba(200, 164, 86, 0.3);
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(200, 164, 86, 0.3); }
  50% { box-shadow: 0 4px 20px rgba(200, 164, 86, 0.5); }
}

/* Card Body */
.mission-card-body {
  padding: 28px;
  transform: translateZ(20px);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.mission-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 16px;
  transition: transform 0.4s ease;
  box-shadow: 0 6px 16px rgba(200, 164, 86, 0.25);
}
.mission-tilt-card:hover .mission-card-icon {
  transform: translateZ(40px) rotateY(10deg) scale(1.1);
}
.mission-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}
.mission-card-body p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.75;
  flex: 1;
}

/* Shine / glare effect */
.mission-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.08) 45%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.08) 55%,
    transparent 60%
  );
  transition: left 0.7s ease;
  pointer-events: none;
  z-index: 10;
}
.mission-tilt-card:hover .mission-card-shine,
.mission-highlight:hover .mission-card-shine {
  left: 130%;
}

/* Mission Slider Arrows */
.mission-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.mission-slider-arrow:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(200, 164, 86, 0.3);
  transform: translateY(-50%) scale(1.08);
}
.mission-slider-prev { left: 0; }
.mission-slider-next { right: 0; }

/* Mission Slider Dots */
.mission-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.mission-slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}
.mission-slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(200, 164, 86, 0.4);
}
.mission-slider-dot:hover:not(.active) {
  background: var(--gray-400);
}

/* Mission Highlight Banner */
.mission-highlight {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  perspective: 800px;
  cursor: pointer;
  z-index: 1;
  transition: transform 0.5s cubic-bezier(.03,.98,.52,.99), box-shadow 0.5s ease;
}
.mission-highlight:hover {
  box-shadow: 0 30px 80px rgba(10, 22, 40, 0.25);
}

.mission-highlight-bg {
  position: absolute;
  inset: 0;
}
.mission-highlight-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}
.mission-highlight:hover .mission-highlight-bg img {
  transform: scale(1.05);
}

.mission-highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.88) 0%, rgba(10, 22, 40, 0.65) 60%, rgba(10, 22, 40, 0.5) 100%);
}

.mission-highlight-content {
  position: relative;
  z-index: 2;
  padding: 50px 60px;
  max-width: 720px;
}
.mission-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 164, 86, 0.15);
  border: 1px solid rgba(200, 164, 86, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.mission-highlight-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 14px;
  font-family: var(--font-heading);
}
.mission-highlight-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.mission-highlight-content p strong {
  color: var(--accent);
}

.mission-highlight-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.mh-stat h4 {
  font-size: 1.5rem;
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 800;
  margin-bottom: 2px;
}
.mh-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive for Mission 3D Section */
@media (max-width: 768px) {
  .mission-section { padding: 80px 0; }
  .mission-slider-wrapper { padding: 0 44px; }
  .mission-slider-track .mission-tilt-card { flex: 0 0 100%; }
  .mission-slider-arrow { width: 36px; height: 36px; }
  .mission-slider-arrow svg { width: 18px; height: 18px; }
  .mission-slider-prev { left: 0; }
  .mission-slider-next { right: 0; }
  .mission-highlight-content { padding: 30px 24px; }
  .mission-highlight-stats { gap: 24px; }
  .shape-cube, .shape-pyramid, .shape-ring { display: none; }
}

@media (max-width: 480px) {
  .mission-slider-wrapper { padding: 0 40px; }
  .mission-slider-track .mission-tilt-card { flex: 0 0 100%; padding: 0 8px; }
  .mission-highlight { min-height: 400px; }
  .mission-highlight-stats { flex-direction: column; gap: 16px; }
}

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 22px;
  font-size: .82rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
  transition: all var(--transition);
  background: var(--white);
}
.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(201,168,76,.2);
}

.gallery-grid {
  columns: 4;
  column-gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  transition: all var(--transition);
  break-inside: avoid;
  margin-bottom: 16px;
  display: inline-block;
  width: 100%;
}

.gallery-item-bg {
  width: 100%;
  position: relative;
  transition: transform var(--transition-slow);
}

.gallery-item-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.gallery-item-bg .gallery-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(11,17,32,.7) 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gallery-item-bg .gallery-img-label strong {
  color: var(--white);
  font-size: .88rem;
  font-weight: 600;
}

.gallery-item-bg .gallery-img-label span {
  color: rgba(255,255,255,.6);
  font-size: .75rem;
}

.gallery-item-bg .project-icon {
  font-size: 2rem;
  opacity: .3;
  margin-bottom: 4px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,22,40,.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 10;
  opacity: 0;
  transition: all var(--transition);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: 32px 32px;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-item:hover::before {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.gallery-item:hover .gallery-item-bg { transform: scale(1.05); }
.gallery-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-item:active { transform: translateY(-2px); }

.gallery-overlay h4 { color: var(--white); font-size: 1rem; margin-bottom: 4px; }
.gallery-overlay p { color: rgba(255,255,255,.7); font-size: .8rem; }
.gallery-overlay .tag {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 600;
  margin-bottom: 6px;
  width: fit-content;
}
  width: fit-content;
}

/* ---------- Stats Banner ---------- */
/* .stats-banner {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: #060a16;
} */

/* .stats-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
} */
.stats-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.2) brightness(0.2);
  animation: statsBgZoom 30s ease-in-out infinite alternate;
}
@keyframes statsBgZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}

/* .stats-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201,168,76,.05) 0%, transparent 60%),
    linear-gradient(180deg,
      rgba(6, 10, 22, 0.99) 0%,
      rgba(6, 10, 22, 0.96) 50%,
      rgba(6, 10, 22, 0.99) 100%
    );
} */

.stats-grid-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(200,164,86,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,86,.025) 1px, transparent 1px);
  background-size: 70px 70px;
  animation: gridDrift 30s linear infinite;
}

/* Animated light streaks */
.stats-streaks {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}
.streak {
  position: absolute;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
  animation: streakFall 6s linear infinite;
}
.s1 { left: 20%; height: 120px; animation-delay: 0s; }
.s2 { left: 55%; height: 80px; animation-delay: 2s; }
.s3 { left: 80%; height: 100px; animation-delay: 4s; }
@keyframes streakFall {
  0%   { top: -15%; opacity: 0; }
  10%  { opacity: 0.5; }
  50%  { opacity: 0.3; }
  90%  { opacity: 0.5; }
  100% { top: 110%; opacity: 0; }
}

/* ---------- Split Layout ---------- */
.stats-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Left Column */
.stats-left {
  position: relative;
}
.stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 164, 86, 0.08);
  border: 1px solid rgba(200, 164, 86, 0.2);
  padding: 6px 18px;
  border-radius: 50px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}
.stats-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
.stats-heading {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: #ffffff;
  font-family: var(--font-heading);
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.stats-heading-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,.3));
}
.stats-subtext {
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 420px;
}

/* Left image card */
.stats-left-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06);
}
.stats-left-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}
.stats-left-image:hover img {
  transform: scale(1.08);
}
.stats-left-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,10,22,.8) 100%);
}
.stats-left-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(201,168,76,.15);
  border: 1px solid rgba(201,168,76,.35);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  padding: 14px 22px;
  line-height: 1;
}
.stats-left-image-badge span {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  font-family: var(--font-heading);
}
.stats-left-image-badge small {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.9);
  margin-top: 4px;
}

/* ---------- Right Column: Stat Rows ---------- */
.stats-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  border-radius: 16px;
  background: rgba(14, 20, 38, 0.85);
  border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
  transition: all .45s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateX(40px);
}
.stat-row.reveal.active {
  opacity: 1;
  transform: translateX(0);
}
.stats-right .stat-row:nth-child(1) { transition-delay: .05s; }
.stats-right .stat-row:nth-child(2) { transition-delay: .15s; }
.stats-right .stat-row:nth-child(3) { transition-delay: .25s; }
.stats-right .stat-row:nth-child(4) { transition-delay: .35s; }

.stat-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.stat-row:hover::before {
  opacity: 1;
}
.stat-row:hover {
  background: rgba(18, 26, 48, 0.92);
  border-color: rgba(200, 164, 86, .25);
  box-shadow: 0 12px 40px rgba(0,0,0,.4), 0 0 30px rgba(200,164,86,.08);
  transform: translateX(6px);
}

/* Row icon with ring */
.stat-row-icon-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.stat-row-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.stat-row-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.4rem;
  color: var(--accent);
  transition: transform .5s cubic-bezier(.175,.885,.32,1.275);
}
.stat-row:hover .stat-row-icon {
  transform: translate(-50%, -50%) scale(1.18) rotateY(180deg);
}

/* Row content */
.stat-row-content {
  flex: 1;
  min-width: 0;
}
.stat-row-top {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.stat-row-top h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-body);
  line-height: 1;
  transition: color .4s ease;
}
.stat-row:hover .stat-row-top h2 {
  color: var(--accent);
}
.stat-row-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,.82);
}

/* Horizontal progress bar */
.stat-row-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.stat-row-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  border-radius: 10px;
  transition: width 2.2s cubic-bezier(.4,0,.2,1);
  position: relative;
}
.stat-row-bar-fill::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 8px;
  height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201,168,76,.6);
  opacity: 0;
  transition: opacity .3s ease 2s;
}
.stat-row-bar-fill.animated::after {
  opacity: 1;
}

.stat-row-desc {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  line-height: 1.6;
}

/* Ring styles (shared) */
.stat-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 3;
}
.stat-ring-fill {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 264;
  transition: stroke-dashoffset 2s cubic-bezier(.4,0,.2,1);
  filter: drop-shadow(0 0 5px rgba(201,168,76,.25));
}

/* Stagger ring animations */
.stats-right .stat-row:nth-child(1) .stat-ring-fill { transition-delay: 0.2s; }
.stats-right .stat-row:nth-child(2) .stat-ring-fill { transition-delay: 0.4s; }
.stats-right .stat-row:nth-child(3) .stat-ring-fill { transition-delay: 0.6s; }
.stats-right .stat-row:nth-child(4) .stat-ring-fill { transition-delay: 0.8s; }
.stats-right .stat-row:nth-child(1) .stat-row-bar-fill { transition-delay: 0.3s; }
.stats-right .stat-row:nth-child(2) .stat-row-bar-fill { transition-delay: 0.5s; }
.stats-right .stat-row:nth-child(3) .stat-row-bar-fill { transition-delay: 0.7s; }
.stats-right .stat-row:nth-child(4) .stat-row-bar-fill { transition-delay: 0.9s; }

/* Bottom accent line */
.stats-bottom-line {
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  margin: 60px auto 0;
  border-radius: 10px;
  position: relative;
}
.stats-bottom-line::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation: statsLineDot 3s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(201,168,76,.5);
}
@keyframes statsLineDot {
  0%, 100% { left: 0; }
  50%      { left: calc(100% - 8px); }
}

/* Responsive */
@media (max-width: 992px) {
  .stats-split { grid-template-columns: 1fr; gap: 40px; }
  .stats-left { text-align: center; }
  .stats-subtext { margin-left: auto; margin-right: auto; }
  .stats-left-image { max-width: 500px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .stats-banner { padding: 80px 0; min-height: auto; }
  .stats-heading { font-size: 1.6rem; }
  .stat-row { padding: 18px 20px; gap: 14px; }
  .stat-row-icon-wrap { width: 50px; height: 50px; }
  .stat-row-icon { font-size: 1.1rem; }
  .stat-row-top h2 { font-size: 1.8rem; }
  .stat-row-label { font-size: .7rem; }
  .stat-row-desc { font-size: .72rem; }
  .stats-left-image { aspect-ratio: 16/9; }
}
@media (max-width: 480px) {
  .stat-row { flex-direction: column; align-items: center; text-align: center; padding: 20px 16px; }
  .stat-row-top { justify-content: center; }
  .stats-left-image-badge { bottom: 12px; left: 12px; padding: 10px 16px; }
  .stats-left-image-badge span { font-size: 1.5rem; }
}

/* ---------- Honours ---------- */
.honours-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.honour-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.honour-item:hover {
  border-color: rgba(201,168,76,.3);
  box-shadow: 0 4px 20px rgba(201,168,76,.06);
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(201,168,76,.02), transparent);
}

.honour-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1rem;
  transition: all var(--transition);
}
.honour-item:hover .honour-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--white);
  transform: scale(1.08);
}

.honour-item p { font-size: .88rem; color: var(--gray-700); }

/* ---------- Publications ---------- */
.publication-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.publication-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border-left: 3px solid var(--accent);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--accent);
}
.publication-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-left-color: var(--accent-dark);
}
.publication-item h4 { font-size: .92rem; margin-bottom: 6px; }
.publication-item p { font-size: .82rem; color: var(--gray-500); }

/* ---------- Speeches Grid ---------- */
.speeches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.speech-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 18px;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.speech-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.speech-item:hover::before {
  transform: scaleY(1);
}

.speech-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent-light);
}

.speech-number {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.speech-item h4 {
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--primary);
  line-height: 1.4;
  font-weight: 600;
}

.speech-item p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .speeches-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .speeches-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Clientele ---------- */
.clientele-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.client-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-size: .85rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.client-item:hover {
  border-color: var(--accent);
  background: rgba(200,164,86,.03);
}

.client-item .number {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 44px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(201,168,76,.06) 0%, transparent 60%);
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 8px;
}
.contact-info-card > p {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  position: relative;
}

.contact-detail .icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: rgba(200,164,86,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.contact-detail h4 {
  font-size: .8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.contact-detail p, .contact-detail a {
  font-size: .88rem;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}
.contact-detail a:hover { color: var(--accent); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
}

.contact-form h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.contact-form > p {
  color: var(--gray-500);
  font-size: .88rem;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grid .full-width { grid-column: 1 / -1; }

.form-group { position: relative; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: .88rem;
  font-family: var(--font-body);
  color: var(--gray-900);
  transition: all var(--transition);
  background: var(--off-white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,.08);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------- Patents ---------- */
.patents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.patent-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.patent-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(200,164,86,.25);
  transform: translateY(-2px);
}

.patent-card .p-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(200,164,86,.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .9rem;
}

.patent-card h4 { font-size: .9rem; margin-bottom: 4px; }
.patent-card p { font-size: .78rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--primary);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.3), transparent);
}
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 200px;
  background: radial-gradient(ellipse, rgba(201,168,76,.04) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer h4 {
  color: var(--white);
  font-size: .82rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 12px;
}
.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.footer-about p { color: rgba(255,255,255,.5); font-size: .85rem; margin-bottom: 16px; }

.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.45);
  font-size: .84rem;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover { color: var(--accent-light); transform: translateX(4px); }

.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,.5);
  font-size: .82rem;
}
.footer-contact-item .fc-icon { color: var(--accent); min-width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.footer-bottom p {
  color: rgba(255,255,255,.35);
  font-size: .76rem;
  letter-spacing: .3px;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * { transition-delay: calc(var(--i, 0) * 80ms); }

/* ---------- Modern CTA Section ---------- */
.cta-modern {
  position: relative;
  padding: 120px 0;
  background: var(--primary);
  overflow: hidden;
}
.cta-modern-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(201,168,76,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(201,168,76,.04) 0%, transparent 50%);
  pointer-events: none;
}
.cta-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.2), transparent);
}
.cta-modern::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,.2), transparent);
}
.cta-modern .section-label::before {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

/* ---------- Members Section ---------- */
.members-section {
  background: linear-gradient(135deg, #f9fafb 60%, #f3f4f6 100%);
  position: relative;
  padding: 100px 0 80px 0;
  overflow: hidden;
}
.members-bg-svg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 180px;
  z-index: 0;
  pointer-events: none;
}
.members-section .container {
  position: relative;
  z-index: 1;
}

.members-quote {
  font-size: 1.1rem;
  color: var(--gray-500);
  font-style: italic;
  margin: 18px auto 0 auto;
  max-width: 600px;
  background: rgba(255,255,255,0.7);
  border-left: 4px solid var(--accent);
  padding: 12px 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(201,168,76,0.06);
}
.members-quote span {
  color: var(--accent-dark);
  font-size: .98em;
  font-style: normal;
}
}

.members-heading {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-dark);
  letter-spacing: .5px;
  margin-bottom: 40px;
  position: relative;
}

.members-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
  border-radius: 2px;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.members-wing {
  background: none;
  border-radius: 0;
  padding: 0 0 32px 0;
  box-shadow: none;
  border: none;
  position: relative;
}

.members-wing:hover {
  box-shadow: none;
  transform: none;
  border-color: none;
}
.wing-arch { border-left: 6px solid var(--accent-light); }
.wing-struct { border-left: 6px solid var(--primary-light); }
.wing-elec { border-left: 6px solid var(--success); }
.wing-acoust { border-left: 6px solid var(--accent-dark); }
.wing-tech { border-left: 6px solid var(--gray-300); }
/* Accent bars for department grouping */
.wing-arch, .wing-struct, .wing-elec, .wing-acoust, .wing-tech {
  border-left: 6px solid;
  margin-bottom: 32px;
  padding-left: 18px;
}
.wing-arch { border-color: var(--accent-light); }
.wing-struct { border-color: var(--primary-light); }
.wing-elec { border-color: var(--success); }
.wing-acoust { border-color: var(--accent-dark); }
.wing-tech { border-color: var(--gray-300); }
}

.wing-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: none;
  background: linear-gradient(90deg, var(--accent-light) 0%, var(--accent-dark) 100%);
  border-radius: 16px 0 0 16px;
  box-shadow: 0 2px 8px rgba(201,168,76,0.07);
}
.wing-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201,168,76,0.13);
}
.wing-header h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: .5px;
}
}

.wing-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wing-header h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
}

.members-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.members-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  margin-bottom: 18px;
  position: relative;
  transition: color .2s, background .2s;
}
.members-list li:hover {
  color: var(--accent-dark);
  background: rgba(201,168,76,0.07);
}
.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.12rem;
  color: #222;
  background: linear-gradient(135deg, rgba(255,255,255,0.7), var(--accent-light));
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #fff;
  margin-right: 10px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.13), 0 1px 4px rgba(0,0,0,0.04);
  backdrop-filter: blur(4px);
}
}

.members-list li:hover {
  background: none;
  border-color: none;
  box-shadow: none;
.member-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #222;
  background: var(--gray-200);
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid #fff;
  margin-right: 8px;
}
}
}

.members-list li strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
}
.member-badge {
  background: linear-gradient(90deg, #ffd700 0%, #c9a84c 100%);
  color: var(--primary-light);
  font-size: .75em;
  font-weight: 700;
  border-radius: 8px;
  padding: 3px 10px;
  margin-left: 8px;
  letter-spacing: .5px;
  box-shadow: 0 2px 8px rgba(201,168,76,0.13);
  border: 1px solid #fffbe6;
}
}
.member-badge {
  background: var(--accent);
  color: var(--primary);
  font-size: .7em;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 8px;
  margin-left: 6px;
  letter-spacing: .5px;
  box-shadow: none;
}
}

.members-list li span {
  font-size: .92rem;
  color: var(--gray-700);
  font-weight: 400;
}

.member-detail {
  font-size: .82rem !important;
  color: var(--accent-dark) !important;
  font-style: italic;
  font-weight: 400;
}

.members-list.tech-tools li {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.members-list.tech-tools li strong {
  font-size: .92rem;
}

@media (max-width: 1024px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .members-grid { grid-template-columns: 1fr; }
  .members-section { padding: 56px 0; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10,22,40,.95);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.lightbox.active { opacity: 1; visibility: visible; }

.lightbox-content {
  max-width: 700px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  transform: translateY(20px) scale(.95);
  transition: all var(--transition);
}
.lightbox.active .lightbox-content { transform: translateY(0) scale(1); }

.lightbox-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.lightbox-content > *:not(.lightbox-img) {
  padding-left: 32px;
  padding-right: 32px;
}

.lightbox-content > *:nth-child(2) {
  padding-top: 28px;
}

.lightbox-content > *:last-child {
  padding-bottom: 32px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition);
}
.lightbox-close:hover { background: var(--accent); color: var(--primary); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  cursor: pointer;
  transition: all var(--transition);
  z-index: 10001;
}
.lightbox-nav:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(201,168,76,.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-spring);
  z-index: 999;
  cursor: pointer;
  font-weight: 700;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(201,168,76,.35); }

/* ---------- Page Header ---------- */
.page-header {
  background: var(--primary);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,168,76,.04) 0%, transparent 50%),
    linear-gradient(rgba(201,168,76,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.015) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
}

.page-header h1 { color: var(--white); margin-bottom: 12px; position: relative; letter-spacing: -0.02em; }
.page-header p { color: rgba(255,255,255,.45); font-size: 1rem; max-width: 560px; margin: 0 auto; position: relative; line-height: 1.8; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  position: relative;
}
.breadcrumb a, .breadcrumb span {
  font-size: .82rem;
  color: rgba(255,255,255,.5);
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }
.breadcrumb .current { color: var(--accent); }

/* ---------- Tabs ---------- */
.tabs-wrapper { margin-bottom: 40px; }
.tabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  background: var(--gray-100);
  padding: 5px;
  border-radius: var(--radius);
  width: fit-content;
}
.tab-btn {
  padding: 10px 22px;
  font-size: .85rem;
  font-weight: 500;
  border-radius: 8px;
  color: var(--gray-500);
  transition: all var(--transition);
}
.tab-btn.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
}
.tab-btn:hover:not(.active) { color: var(--primary); }

.tab-content { display: none; animation: fadeIn .4s ease; }
.tab-content.active { display: block; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
  padding-left: 24px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-item h4 { font-size: .92rem; margin-bottom: 4px; }
.timeline-item p { font-size: .85rem; color: var(--gray-500); }

/* ---------- Accordion ---------- */
.accordion-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  opacity: 1 !important;
  position: relative;
  z-index: 1;
}
.accordion-item:hover { 
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  z-index: 2;
}

.accordion-header {
  width: 100%;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .95rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--white);
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  text-align: left;
  opacity: 1 !important;
  position: relative;
  z-index: 3;
}
.accordion-header:hover {
  background: rgba(201, 168, 76, 0.02);
}
.accordion-header .icon-toggle {
  transition: transform var(--transition);
  color: var(--accent);
  font-size: 1.2em;
  font-weight: bold;
  margin-left: 12px;
}
.accordion-item.active .accordion-header { 
  background: rgba(201, 168, 76, 0.06);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.accordion-item.active {
  z-index: 3;
}

.accordion-item.active .icon-toggle { 
  transform: rotate(180deg);
  color: var(--accent-dark);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(249, 250, 251, 0.8);
  opacity: 1 !important;
  position: relative;
  z-index: 2;
}
.accordion-body-inner {
  padding: 20px 24px 24px;
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.8;
  opacity: 1 !important;
}
.accordion-body-inner ul {
  margin: 0;
  padding-left: 0;
}
.accordion-body-inner li {
  margin-bottom: 10px;
  padding-left: 24px;
  position: relative;
  color: var(--gray-700);
}
.accordion-body-inner li::before {
  content: "▸";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ---------- Marquee ---------- */
.marquee-wrapper {
  overflow: hidden;
  padding: 20px 0;
  background: var(--primary);
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  border-bottom: 1px solid rgba(201, 168, 76, 0.08);
  position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
}
.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(270deg, var(--primary) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
}

.marquee-item {
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color var(--transition);
}

.marquee-item:hover {
  color: var(--accent);
}

.marquee-icon {
  font-size: 1.2rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
}

.marquee-sep {
  color: var(--accent);
  font-size: .6rem;
  opacity: .6;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- Counter Animation ---------- */
.counter-number {
  display: inline-block;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 40px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: -10px 0 30px rgba(0,0,0,.3);
  }
  .nav-links.open { right: 0; }
  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .form-grid { grid-template-columns: 1fr; }

  .gallery-grid { columns: 3; }

  .stats-grid { grid-template-columns: 1fr 1fr; }

  .publication-grid { grid-template-columns: 1fr; }
  .patents-grid { grid-template-columns: 1fr; }
  .speeches-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { width: 92%; }
  .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; }
  .contact-form, .contact-info-card { padding: 28px; }
}



/* ---------- Mobile Bottom Navigation ---------- */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--primary);
    border-top: 1px solid var(--glass-border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .25);
    padding: 6px 0;
    padding-bottom: calc(6px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: var(--gray-300);
    font-size: 10px;
    font-family: var(--font-body);
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 8px;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
    position: relative;
  }

  .mobile-nav-item svg {
    transition: var(--transition);
  }

  .mobile-nav-item:hover,
  .mobile-nav-item:focus {
    color: var(--accent-light);
  }

  .mobile-nav-item.active {
    color: var(--accent);
  }

  .mobile-nav-item.active::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 3px 3px;
  }

  /* Add padding to body so content doesn't hide behind the nav */
  body {
    padding-bottom: 70px;
  }
}

/* ---------- Owner Image ---------- */
.owner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}

.owner-image:hover {
  transform: scale(1.02);
}

/* ---------- Accordion Responsive ---------- */
@media (max-width: 768px) {
  .accordion-header {
    padding: 16px 20px;
    font-size: .9rem;
  }
  .accordion-body-inner {
    padding: 16px 20px 20px;
    font-size: .85rem;
  }
  .accordion-body-inner li {
    padding-left: 20px;
  }
}

/* ---------- Partners Slider ---------- */
.partners-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}

.partners-slider-wrapper {
  margin-top: 48px;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.partners-slider {
  overflow: hidden;
  position: relative;
}

.partners-track {
  display: flex;
  gap: 40px;
  animation: partnersScroll 60s linear infinite;
  will-change: transform;
}

.partners-track:hover {
  animation-play-state: paused;
}

.partner-logo {
  flex-shrink: 0;
  width: 200px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-light);
}

.partner-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

@keyframes partnersScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-200px * 27 - 40px * 27));
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 60px 0;
  }
  
  .partner-logo {
    width: 150px;
    height: 100px;
    padding: 15px;
  }
  
  .partners-track {
    gap: 30px;
  }
  
  @keyframes partnersScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-150px * 27 - 30px * 27));
    }
  }
}

@media (max-width: 480px) {
  .partner-logo {
    width: 120px;
    height: 80px;
    padding: 12px;
  }
  
  .partners-track {
    gap: 20px;
  }
  
  @keyframes partnersScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-120px * 27 - 20px * 27));
    }
  }
}

/* ---------- Print ---------- */
@media print {
  .navbar, .back-to-top, #preloader, .mobile-bottom-nav { display: none !important; }
  section { padding: 30px 0; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale { opacity: 1 !important; transform: none !important; }
}
