/* ==========================================================================
   RIFT — Enhanced Design System with Day/Night Mode & 3D Effects
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
  /* Core Brand Colors (lighter, warmer) */
  --crimson: #C0392B;
  --crimson-light: #E74C3C;
  --crimson-dark: #922B21;
  --crimson-glow: rgba(192, 57, 43, 0.25);
  --orange: #E67E22;
  --orange-light: #F39C12;
  --orange-glow: rgba(230, 126, 34, 0.2);
  --gold: #F1C40F;
  --green: #27AE60;

  /* Day Mode (default) */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8F6F2;
  --bg-tertiary: #F0EDE8;
  --bg-card: #FFFFFF;
  --bg-hero: #1A1A2E;

  --text-primary: #1A1A2E;
  --text-secondary: #3D3D5C;
  --text-tertiary: #6B6B8A;
  --text-inverse: #FFFFFF;

  --border-color: rgba(0, 0, 0, 0.08);
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.15);

  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.3);

  --header-bg: rgba(255, 255, 255, 0.92);
  --header-border: rgba(0, 0, 0, 0.06);
  --nav-link: rgba(26, 26, 46, 0.7);

  --footer-bg: #1A1A2E;
  --footer-text: rgba(255, 255, 255, 0.5);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;

  --transition-smooth: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --header-h: 80px;
}

/* ---------- DARK MODE ---------- */
[data-theme="dark"] {
  --bg-primary: #0D0D1A;
  --bg-secondary: #141425;
  --bg-tertiary: #1A1A35;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-hero: #0A0A18;

  --text-primary: #F0EFF4;
  --text-secondary: #B8B5CC;
  --text-tertiary: #8A87A0;

  --border-color: rgba(255, 255, 255, 0.08);
  --shadow-sm: 0 2px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.5);

  --glass-bg: rgba(20, 20, 37, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);

  --header-bg: rgba(13, 13, 26, 0.92);
  --header-border: rgba(255, 255, 255, 0.06);
  --nav-link: rgba(255, 255, 255, 0.6);

  --footer-bg: #080812;
  --footer-text: rgba(255, 255, 255, 0.35);
}

/* ---------- Reset & Base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background 0.4s var(--transition-smooth), color 0.4s var(--transition-smooth);
  overflow-x: hidden;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2.5px solid var(--orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ---------- Glassmorphism ---------- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--crimson), var(--orange));
  border-radius: 2px;
  display: inline-block;
}

.eyebrow.center {
  justify-content: center;
}

.eyebrow.center::before {
  display: none;
}

.section-title {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.12;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title.on-dark {
  color: #fff;
}

.section-title.on-dark .highlight {
  background: linear-gradient(135deg, var(--orange-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-intro {
  font-size: 17px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.85;
  max-width: 640px;
}

.section-intro.on-dark {
  color: rgba(255, 255, 255, 0.62);
}

.section-head {
  margin-bottom: 56px;
}

.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: none;
  transition: all 0.35s var(--transition-bounce);
  letter-spacing: 0.2px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  box-shadow: 0 8px 32px var(--crimson-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 48px var(--crimson-glow);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.15));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.btn-outline.dark {
  border-color: rgba(17, 17, 17, 0.25);
  color: var(--text-primary);
}

.btn-outline.dark:hover {
  border-color: var(--text-primary);
  background: rgba(17, 17, 17, 0.05);
}

.btn-ghost {
  background: none;
  border: none;
  color: var(--crimson);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--transition-smooth);
  font-size: 15px;
}

.btn-ghost:hover {
  gap: 16px;
}

.btn-ghost i {
  transition: transform 0.3s ease;
}

.btn-ghost:hover i {
  transform: translateX(4px);
}

/* ---------- Navigation ---------- */
header.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-h);
  transition: all 0.4s var(--transition-smooth);
}

header.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img {
  transition: transform 0.4s var(--transition-bounce);
}

.brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

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

.nav-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--crimson), var(--orange));
  border-radius: 2px;
  transition: width 0.4s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff !important;
  padding: 22px 77px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 2px 4px 20px var(--crimson-glow);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px var(--crimson-glow);
}

/* Theme Toggle */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s var(--transition-bounce);
  cursor: pointer;
  position: relative;
}

.theme-toggle:hover {
  transform: rotate(60deg) scale(1.08);
  border-color: var(--orange);
  box-shadow: 0 0 30px var(--orange-glow);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: absolute;
  transition: all 0.4s var(--transition-bounce);
}

.theme-toggle .sun-icon {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1200;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--transition-smooth), opacity 0.2s;
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 340px);
  background: var(--bg-secondary);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 110px 32px 40px;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-scrim.open {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 60px) 5% 80px;
  position: relative;
  overflow: hidden;
}

/* 3D Animated Background */
.hero-bg-3d {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-bg-3d .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 20s ease-in-out infinite alternate;
}

.hero-bg-3d .orb:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  background: var(--crimson);
  animation-delay: 0s;
}

.hero-bg-3d .orb:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -100px;
  background: var(--orange);
  animation-delay: -7s;
}

.hero-bg-3d .orb:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  background: var(--gold);
  opacity: 0.15;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  33% { transform: translate(60px, -40px) scale(1.1) rotate(120deg); }
  66% { transform: translate(-30px, 50px) scale(0.9) rotate(240deg); }
  100% { transform: translate(20px, -20px) scale(1.05) rotate(360deg); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 58px, rgba(255,255,255,0.3) 58px, rgba(255,255,255,0.3) 59px),
    repeating-linear-gradient(90deg, transparent, transparent 58px, rgba(255,255,255,0.3) 58px, rgba(255,255,255,0.3) 59px);
  animation: gridPulse 8s ease-in-out infinite alternate;
}

@keyframes gridPulse {
  0% { opacity: 0.03; transform: scale(1); }
  100% { opacity: 0.06; transform: scale(1.02); }
}

.particles-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  animation: particleFloat var(--duration, 15s) ease-in-out infinite alternate;
}

@keyframes particleFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.1; }
  50% { opacity: 0.4; }
  100% { transform: translate(var(--tx, 60px), var(--ty, -40px)) scale(0); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-text h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.06;
  margin-bottom: 24px;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--orange-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  gap: 16px;
}

.stat-card-3d {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.4s var(--transition-bounce);
  cursor: default;
  transform: perspective(800px) rotateY(0deg) rotateX(0deg);
}

.stat-card-3d:hover {
  transform: perspective(800px) rotateY(-4deg) rotateX(4deg) translateY(-4px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.stat-card-3d .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px var(--crimson-glow);
}

.stat-card-3d .stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1.1;
}

.stat-card-3d .stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ---------- About Strip ---------- */
.about-strip {
  background: var(--crimson);
  padding: 26px 5%;
}

.about-strip p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  font-weight: 400;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

.about-strip strong {
  font-weight: 700;
}

/* ---------- Sections ---------- */
section {
  padding: 100px 0;
}

.bg-white {
  background: var(--bg-primary);
}

.bg-offwhite {
  background: var(--bg-secondary);
}

.bg-dark {
  background: var(--bg-hero);
  color: #fff;
}

.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: #fff;
}

/* ---------- Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

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

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

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

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

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: var(--bg-card);
  padding: 46px 38px;
  position: relative;
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:nth-child(2)::before {
  background: var(--orange);
}

.service-card:nth-child(3)::before {
  background: var(--green);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 26px;
  background: rgba(192, 57, 43, 0.08);
  color: var(--crimson);
  transition: transform 0.4s var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(230, 126, 34, 0.08);
  color: var(--orange);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(39, 174, 96, 0.08);
  color: var(--green);
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
}

.mini-list li {
  font-size: 13.2px;
  color: var(--text-tertiary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-list li i {
  color: var(--orange);
  font-size: 10px;
}

.mini-list li:last-child {
  border-bottom: none;
}

/* ---------- Flip Cards ---------- */
.flip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.flip-card {
  perspective: 1600px;
  height: 340px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s var(--transition-smooth);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-inner,
.flip-card.flipped .flip-inner {
  transform: rotateY(180deg);
}

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-md);
  padding: 34px;
  display: flex;
  flex-direction: column;
}

.flip-front {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  justify-content: space-between;
}

.flip-front .flip-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.08);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.flip-front h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.flip-front p {
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

.flip-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.flip-back {
  background: linear-gradient(155deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-back h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.flip-back ul li {
  font-size: 12.8px;
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.flip-back ul li i {
  color: var(--orange);
  margin-top: 3px;
  font-size: 10px;
}

/* ---------- Mission / Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 54px;
}

.mv-card {
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--transition-smooth);
}

.mv-card:hover {
  transform: translateY(-6px);
}

.mv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mv-card:nth-child(1)::after {
  background: var(--crimson);
}

.mv-card:nth-child(2)::after {
  background: var(--orange);
}

.mv-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
}

.mv-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.value-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.3s var(--transition-smooth), background 0.3s;
}

.value-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
}

.value-item i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}

.value-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* ---------- Leader Showcase ---------- */
.leader-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
  padding: 30px 40px 40px 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.leader-photo {
  flex: 0 0 280px;
}

.photo-frame {
  position: relative;
  width: 280px;
  height: 320px;
  border-radius: 40px 20px 40px 20px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--transition-bounce);
}

.photo-frame:hover {
  transform: scale(1.02) rotate(-1deg);
}

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

.photo-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 215, 0, 0.15);
  border-radius: 40px 20px 40px 20px;
  top: 12px;
  left: 12px;
  pointer-events: none;
  z-index: 1;
}

.photo-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60px;
  height: 60px;
  background: var(--crimson);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
}

.leader-details {
  flex: 1;
}

.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}

.leader-role {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--crimson);
  background: rgba(192, 57, 43, 0.06);
  padding: 4px 18px;
  border-radius: 40px;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
}

.leader-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), rgba(192, 57, 43, 0.2));
  border-radius: 4px;
  margin-bottom: 20px;
}

.leader-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
}

.leader-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.leader-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.leader-socials a:hover {
  background: var(--crimson);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px -4px var(--crimson-glow);
}

/* ---------- Stats Strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  padding: 0;
}

.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-block {
  padding: 44px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-block:last-child {
  border-right: none;
}

.stat-block .num {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  font-weight: 900;
  color: #fff;
  display: block;
}

.stat-block .lbl {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ---------- Why Us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 56px;
}

.why-features {
  display: grid;
  gap: 16px;
}

.why-feature {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s, transform 0.3s;
  border: 1px solid var(--border-color);
}

.why-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(192, 57, 43, 0.08);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.why-feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-feature p {
  font-size: 13px;
  color: var(--text-tertiary);
  line-height: 1.7;
}

/* ---------- Isometric Card ---------- */
.iso-visual {
  perspective: 1400px;
}

.iso-card {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--text-primary);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.iso-visual:hover .iso-card {
  transform: rotateY(0deg) rotateX(0deg);
}

.iso-card h3 {
  font-size: 30px;
  margin-bottom: 22px;
  line-height: 1.3;
}

.iso-card h3 span {
  color: var(--orange);
}

.iso-quote {
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin-bottom: 30px;
}

.iso-quote p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 12.6px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.pill i {
  color: var(--orange);
  font-size: 11px;
}

/* ---------- 3D Projects Carousel ---------- */
.projects-carousel-3d {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  perspective: 2000px;
  padding: 40px 0;
}

.carousel-stage-3d {
  position: relative;
  width: 100%;
  height: 480px;
  transform-style: preserve-3d;
}

.carousel-ring-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.9s var(--transition-smooth);
}

.project-card-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 220px;
  margin: -110px 0 0 -160px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  backface-visibility: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.5s var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.project-card-3d:hover {
  transform: scale(1.05) translateZ(30px) !important;
  box-shadow: var(--shadow-lg), 0 0 60px var(--crimson-glow);
  border-color: var(--crimson);
}

.project-card-3d .card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--crimson);
  background: var(--crimson-glow);
  padding: 4px 14px;
  border-radius: 100px;
  width: fit-content;
}

.project-card-3d h4 {
  font-size: 18px;
  line-height: 1.3;
  margin: 12px 0 8px;
  color: var(--text-primary);
}

.project-card-3d .card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-tertiary);
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

.project-card-3d .card-meta strong {
  color: var(--crimson);
  font-weight: 700;
}

.carousel-controls-3d {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.carousel-btn-3d {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.4s var(--transition-bounce);
  cursor: pointer;
}

.carousel-btn-3d:hover {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 8px 32px var(--crimson-glow);
}

.carousel-dots-3d {
  display: flex;
  gap: 10px;
}

.carousel-dots-3d button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--border-color);
  transition: all 0.4s var(--transition-smooth);
  cursor: pointer;
}

.carousel-dots-3d button.active {
  background: linear-gradient(135deg, var(--crimson), var(--orange));
  width: 36px;
  border-radius: 6px;
  box-shadow: 0 4px 16px var(--crimson-glow);
}

.carousel-progress-3d {
  font-size: 13px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  font-weight: 600;
}

.carousel-progress-3d strong {
  color: var(--crimson);
  font-size: 18px;
}

/* ---------- 3D Project Grid ---------- */
.projects-grid-3d {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
  margin-top: 56px;
}

.project-card-3d-grid {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all 0.5s var(--transition-bounce);
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.project-card-3d-grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--orange), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.project-card-3d-grid:hover::before {
  opacity: 1;
}

.project-card-3d-grid:hover {
  transform: perspective(1000px) rotateX(-2deg) rotateY(2deg) translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--crimson);
}

.project-card-3d-grid .project-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.project-card-3d-grid .project-tag.health {
  background: rgba(192, 57, 43, 0.1);
  color: var(--crimson);
}

.project-card-3d-grid .project-tag.tech {
  background: rgba(230, 126, 34, 0.1);
  color: var(--orange);
}

.project-card-3d-grid .project-tag.community {
  background: rgba(39, 174, 96, 0.1);
  color: var(--green);
}

.project-card-3d-grid h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.project-card-3d-grid p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.project-card-3d-grid .project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.project-card-3d-grid .project-footer span {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.5px;
}

/* ---------- Featured Project ---------- */
.project-card.featured {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.project-card.featured .project-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
  padding: 42px;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(192, 57, 43, 0.1);
  color: var(--crimson);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.project-card h3 {
  font-size: 25px;
  margin-bottom: 12px;
  line-height: 1.25;
}

.project-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.project-visual {
  background: linear-gradient(150deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.project-visual i {
  font-size: 70px;
  color: rgba(255, 255, 255, 0.18);
}

.project-divider {
  height: 1px;
  background: var(--border-color);
  margin: 0 42px;
}

.project-bottom {
  padding: 20px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.project-bottom span {
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 56px;
  align-items: start;
}

.contact-info h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 18px;
}

.contact-info>p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(192, 57, 43, 0.28);
  border: 1px solid rgba(192, 57, 43, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 16px;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.09);
}

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

.form-group select option {
  background: var(--bg-hero);
  color: #fff;
}

.form-error {
  font-size: 12px;
  color: #ff8a7a;
  margin-top: 6px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #c0392b;
}

.form-group.invalid .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 700;
  transition: all 0.3s var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--crimson-glow);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}

.form-success i {
  font-size: 46px;
  color: var(--orange);
  margin-bottom: 18px;
}

.form-success h3 {
  color: #fff;
  font-size: 23px;
  margin-bottom: 12px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
}

.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  height: 220px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  gap: 10px;
  font-size: 13px;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}

.faq-q i {
  color: var(--orange);
  transition: transform 0.3s var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  margin-top: 60px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--crimson), var(--orange));
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--crimson);
}

.timeline-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.timeline-item .t-year {
  font-size: 11.5px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.timeline-item p {
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.75;
}

/* ---------- Page Hero ---------- */
.page-hero {
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + 70px) 5% 70px;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(192, 57, 43, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(230, 126, 34, 0.14) 0%, transparent 50%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 58px, rgba(255, 255, 255, 0.3) 58px, rgba(255, 255, 255, 0.3) 59px),
    repeating-linear-gradient(90deg, transparent, transparent 58px, rgba(255, 255, 255, 0.3) 58px, rgba(255, 255, 255, 0.3) 59px);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 22px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.page-hero h1 {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
}

.page-hero h1 em {
  font-style: normal;
  color: var(--orange);
}

.page-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 400;
  line-height: 1.8;
  max-width: 560px;
}

/* ---------- Floating Actions ---------- */
.floating-actions {
  position: fixed;
  bottom: 32px;
  right: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 500;
}

.floating-actions button {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 18px;
  box-shadow: var(--shadow-md);
  transition: all 0.4s var(--transition-bounce);
  cursor: pointer;
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
}

.floating-actions button:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.floating-actions .btn-theme-floating:hover {
  border-color: var(--orange);
  box-shadow: 0 0 40px var(--orange-glow);
}

.floating-actions .btn-top {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s var(--transition-smooth);
}

.floating-actions .btn-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-actions .btn-top:hover {
  background: var(--crimson);
  color: #fff;
  box-shadow: 0 8px 32px var(--crimson-glow);
}

/* ---------- Footer ---------- */
footer {
  background: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 28px;
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.footer-brand-text span {
  color: var(--orange);
}

.footer-col p.desc {
  font-size: 13px;
  color: var(--footer-text);
  line-height: 1.85;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-col ul li i {
  font-size: 11px;
  color: var(--orange);
  width: 14px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-size: 14px;
}

.footer-social a:hover {
  background: var(--crimson);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 5%;
  padding-right: 5%;
}

.footer-bottom p {
  font-size: 12.8px;
  color: var(--footer-text);
}

.footer-bottom span {
  color: var(--orange);
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--crimson);
  color: #fff;
  padding: 12px 20px;
  z-index: 3000;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-card-3d {
    padding: 18px 20px;
  }

  .projects-grid-3d {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

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

  .hamburger {
    display: flex;
  }

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

  .stat-block:nth-child(2) {
    border-right: none;
  }

  .stat-block {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .leader-showcase {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 30px;
  }

  .leader-photo {
    flex: 0 0 auto;
  }

  .photo-frame {
    width: 200px;
    height: 240px;
  }

  .leader-name {
    font-size: 2rem;
  }

  .leader-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .leader-bio {
    max-width: 100%;
  }

  .leader-socials {
    justify-content: center;
  }

  .project-card.featured .project-top {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .project-divider {
    margin: 0 30px;
  }

  .project-bottom {
    padding: 16px 30px;
  }
}

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

  .projects-grid-3d {
    grid-template-columns: 1fr;
  }

  .carousel-stage-3d {
    height: 380px;
  }

  .project-card-3d {
    width: 260px;
    height: 190px;
    margin: -95px 0 0 -130px;
    padding: 20px 22px;
  }

  .project-card-3d h4 {
    font-size: 15px;
  }

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

  .contact-grid {
    gap: 40px;
  }

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

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

@media (max-width: 600px) {
  section {
    padding: 72px 0;
  }

  .page-hero {
    padding: calc(var(--header-h) + 50px) 5% 50px;
    min-height: 44vh;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .project-card-3d {
    width: 220px;
    height: 170px;
    margin: -85px 0 0 -110px;
    padding: 16px 18px;
  }

  .project-card-3d h4 {
    font-size: 13px;
  }

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

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

  .container {
    padding: 0 6%;
  }

  .carousel-stage-3d {
    height: 320px;
  }
}


/* ---------- Navigation (ADD/REPLACE this section) ---------- */
header.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--header-border);
  height: var(--header-h);
  transition: all 0.4s var(--transition-smooth);
}

header.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  transition: transform 0.4s var(--transition-bounce);
  display: block;
}

.brand:hover img {
  transform: scale(1.05) rotate(-2deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
}

.nav-links a {
  color: var(--nav-link);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--crimson), var(--orange));
  border-radius: 2px;
  transition: width 0.4s var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff !important;
  padding: 22px 26px;
  border-radius: 100px;
  font-weight: 600;
  box-shadow: 0 4px 20px var(--crimson-glow);
}

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

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--crimson-glow);
}

/* ---------- THEME TOGGLE BUTTON (FIXED) ---------- */
.theme-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.4s var(--transition-bounce);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  z-index: 10;
  padding: 0;
  line-height: 1;
}

.theme-toggle:hover {
  transform: rotate(60deg) scale(1.08);
  border-color: var(--orange);
  box-shadow: 0 0 30px var(--orange-glow);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
  position: absolute;
  transition: all 0.4s var(--transition-bounce);
  font-size: 20px;
  line-height: 1;
}

.theme-toggle .sun-icon {
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
}

.theme-toggle .moon-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .sun-icon {
  opacity: 1;
  transform: scale(1) rotate(0);
}

[data-theme="dark"] .theme-toggle .moon-icon {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

/* ---------- Hamburger (repositioned) ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1200;
  flex-shrink: 0;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s var(--transition-smooth), opacity 0.2s;
  display: block;
}

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

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(78vw, 340px);
  background: var(--bg-secondary);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: 110px 32px 40px;
  gap: 6px;
  transform: translateX(100%);
  transition: transform 0.4s var(--transition-smooth);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 17px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-color);
}

.menu-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.menu-scrim.open {
  opacity: 1;
  pointer-events: all;
}

/* ---------- Responsive Fixes ---------- */
@media (max-width: 1024px) {
  .nav-links {
    gap: 24px;
  }
  
  .nav-links a {
    font-size: 13px;
  }
}

@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  
  .hamburger {
    display: flex !important;
  }
  
  .theme-toggle {
    order: 0;
    margin-right: 8px;
  }
  
  .hamburger {
    order: 1;
  }
  
  .brand {
    order: 0;
  }
  
  .nav-inner {
    justify-content: space-between;
  }
}

@media (max-width: 600px) {
  .theme-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 16px;
  }
  
  .theme-toggle .sun-icon,
  .theme-toggle .moon-icon {
    font-size: 16px;
  }
}


/* ---------- About Page Specific Styles ---------- */

/* About Narrative Grid */
.about-narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Timeline - Dark Mode Support */
.timeline {
  position: relative;
  margin-top: 20px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--crimson), var(--orange));
}

.timeline-item {
  position: relative;
  padding-bottom: 44px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -40px;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--crimson);
  transition: background 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .timeline-item::before {
  background: var(--bg-secondary);
  border-color: var(--orange);
}

.timeline-item h4 {
  font-size: 17px;
  margin-bottom: 6px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.timeline-item .t-year {
  font-size: 11.5px;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.timeline-item p {
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.75;
  transition: color 0.3s ease;
}

/* MV Cards - Dark Mode Support */
.mv-card {
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.4s var(--transition-smooth), background 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .mv-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.mv-card:hover {
  transform: translateY(-6px);
}

.mv-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.mv-card:nth-child(1)::after {
  background: var(--crimson);
}

.mv-card:nth-child(2)::after {
  background: var(--orange);
}

.mv-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(230, 126, 34, 0.12);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  margin-bottom: 20px;
}

.mv-card h3 {
  color: #fff;
  font-size: 22px;
  margin-bottom: 16px;
}

.mv-card p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
}

/* Values Grid - Dark Mode Support */
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.value-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.3s var(--transition-smooth), background 0.3s, border-color 0.3s;
}

[data-theme="dark"] .value-item {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.value-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.07);
}

[data-theme="dark"] .value-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.value-item i {
  font-size: 24px;
  color: var(--orange);
  margin-bottom: 14px;
  display: block;
}

.value-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.value-item p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* Leader Showcase - Dark Mode Support */
.leader-showcase {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-top: 40px;
  padding: 30px 40px 40px 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] .leader-showcase {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-md);
}

.leader-photo {
  flex: 0 0 280px;
}

.photo-frame {
  position: relative;
  width: 280px;
  height: 320px;
  border-radius: 40px 20px 40px 20px;
  overflow: hidden;
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--transition-bounce), box-shadow 0.4s ease;
}

[data-theme="dark"] .photo-frame {
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.5);
}

.photo-frame:hover {
  transform: scale(1.02) rotate(-1deg);
}

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

.photo-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 215, 0, 0.15);
  border-radius: 40px 20px 40px 20px;
  top: 12px;
  left: 12px;
  pointer-events: none;
  z-index: 1;
}

.photo-accent {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 60px;
  height: 60px;
  background: var(--crimson);
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(20px);
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

[data-theme="dark"] .photo-accent {
  opacity: 0.2;
}

.leader-details {
  flex: 1;
}

.leader-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  transition: color 0.3s ease;
}

.leader-role {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--crimson);
  background: rgba(192, 57, 43, 0.06);
  padding: 4px 18px;
  border-radius: 40px;
  letter-spacing: 0.3px;
  margin-bottom: 16px;
  transition: color 0.3s ease, background 0.3s ease;
}

[data-theme="dark"] .leader-role {
  background: rgba(192, 57, 43, 0.15);
}

.leader-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--crimson), rgba(192, 57, 43, 0.2));
  border-radius: 4px;
  margin-bottom: 20px;
  transition: background 0.4s ease;
}

[data-theme="dark"] .leader-divider {
  background: linear-gradient(90deg, var(--orange), rgba(230, 126, 34, 0.2));
}

.leader-bio {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 540px;
  transition: color 0.3s ease;
}

.leader-socials {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.leader-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

[data-theme="dark"] .leader-socials a {
  background: rgba(255, 255, 255, 0.06);
}

.leader-socials a:hover {
  background: var(--crimson);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 16px -4px var(--crimson-glow);
}

/* ---------- Responsive About Page ---------- */
@media (max-width: 1024px) {
  .about-narrative-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .leader-showcase {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 30px;
  }
  
  .leader-photo {
    flex: 0 0 auto;
  }
  
  .photo-frame {
    width: 200px;
    height: 240px;
    margin: 0 auto;
  }
  
  .leader-name {
    font-size: 2rem;
  }
  
  .leader-divider {
    margin-left: auto;
    margin-right: auto;
  }
  
  .leader-bio {
    max-width: 100%;
  }
  
  .leader-socials {
    justify-content: center;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .mv-grid {
    grid-template-columns: 1fr;
  }
  
  .photo-frame {
    width: 160px;
    height: 200px;
  }
  
  .leader-name {
    font-size: 1.6rem;
  }
  
  .leader-showcase {
    padding: 20px 16px;
  }
}


/* ==========================================================================
   SERVICES PAGE - Dark Mode Support
   ========================================================================== */

/* Approach Grid */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Service Cards - Dark Mode Support */
.service-card {
  background: var(--bg-card);
  padding: 46px 38px;
  position: relative;
  transition: transform 0.35s var(--transition-smooth), box-shadow 0.35s var(--transition-smooth), background 0.4s ease;
  border: 1px solid transparent;
}

[data-theme="dark"] .service-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.04);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--transition-smooth);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:nth-child(2)::before {
  background: var(--orange);
}

.service-card:nth-child(3)::before {
  background: var(--green);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 26px;
  background: rgba(192, 57, 43, 0.08);
  color: var(--crimson);
  transition: transform 0.4s var(--transition-smooth), background 0.4s ease;
}

[data-theme="dark"] .service-icon {
  background: rgba(192, 57, 43, 0.15);
}

.service-card:hover .service-icon {
  transform: rotateY(180deg);
}

.service-card:nth-child(2) .service-icon {
  background: rgba(230, 126, 34, 0.08);
  color: var(--orange);
}

[data-theme="dark"] .service-card:nth-child(2) .service-icon {
  background: rgba(230, 126, 34, 0.15);
}

.service-card:nth-child(3) .service-icon {
  background: rgba(39, 174, 96, 0.08);
  color: var(--green);
}

[data-theme="dark"] .service-card:nth-child(3) .service-icon {
  background: rgba(39, 174, 96, 0.15);
}

.service-card h3 {
  font-size: 23px;
  margin-bottom: 14px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 22px;
  transition: color 0.3s ease;
}

.mini-list li {
  font-size: 13.2px;
  color: var(--text-tertiary);
  padding: 7px 0;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.mini-list li i {
  color: var(--orange);
  font-size: 10px;
}

.mini-list li:last-child {
  border-bottom: none;
}

/* Flip Cards - Dark Mode Support */
.flip-front {
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  justify-content: space-between;
  transition: background 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .flip-front {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.flip-front .flip-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(192, 57, 43, 0.08);
  color: var(--crimson);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: background 0.4s ease;
}

[data-theme="dark"] .flip-front .flip-icon {
  background: rgba(192, 57, 43, 0.15);
}

.flip-front h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.flip-front p {
  font-size: 13.5px;
  color: var(--text-tertiary);
  line-height: 1.7;
  transition: color 0.3s ease;
}

.flip-hint {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease;
}

/* Flip Back - Already dark, but ensure text contrast */
.flip-back {
  background: linear-gradient(155deg, var(--crimson) 0%, var(--crimson-dark) 100%);
  color: #fff;
  transform: rotateY(180deg);
  justify-content: center;
}

.flip-back h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 16px;
}

.flip-back ul li {
  font-size: 12.8px;
  color: rgba(255, 255, 255, 0.85);
  padding: 5px 0;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.flip-back ul li i {
  color: var(--orange);
  margin-top: 3px;
  font-size: 10px;
}

/* Isometric Card - Dark Mode Support */
.iso-card {
  background: var(--bg-tertiary);
  border-radius: var(--radius-lg);
  padding: 50px;
  color: var(--text-primary);
  transform: rotateY(-8deg) rotateX(3deg);
  transition: transform 0.6s var(--transition-smooth), background 0.4s ease, border-color 0.4s ease;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .iso-card {
  background: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.iso-visual:hover .iso-card {
  transform: rotateY(0deg) rotateX(0deg);
}

.iso-card h3 {
  font-size: 30px;
  margin-bottom: 22px;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.iso-card h3 span {
  color: var(--orange);
}

.iso-quote p {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--text-secondary);
  font-style: italic;
  transition: color 0.3s ease;
}

[data-theme="dark"] .iso-quote p {
  color: rgba(255, 255, 255, 0.6);
}

.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 9px 16px;
  border-radius: 100px;
  font-size: 12.6px;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

[data-theme="dark"] .pill {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.6);
}

.pill i {
  color: var(--orange);
  font-size: 11px;
}

/* ---------- Responsive Services Page ---------- */
@media (max-width: 1024px) {
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

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

@media (max-width: 600px) {
  .flip-grid {
    grid-template-columns: 1fr;
  }
  
  .flip-card {
    height: 300px;
  }
  
  .iso-card {
    padding: 30px 20px;
  }
  
  .iso-card h3 {
    font-size: 24px;
  }
  
  .service-card {
    padding: 30px 24px;
  }
}


/* ==========================================================================
   CONTACT PAGE - Dark Mode Support
   ========================================================================== */

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  margin-top: 56px;
  align-items: start;
}

/* Contact Info - Dark Mode Support */
.contact-info h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 18px;
}

.contact-info > p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.85;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-detail-icon {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  background: rgba(192, 57, 43, 0.28);
  border: 1px solid rgba(192, 57, 43, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 16px;
  flex-shrink: 0;
  transition: background 0.3s ease, border-color 0.3s ease;
}

[data-theme="dark"] .contact-detail-icon {
  background: rgba(192, 57, 43, 0.15);
  border-color: rgba(192, 57, 43, 0.3);
}

.contact-detail h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

/* Contact Form - Dark Mode Support */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: background 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .contact-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 14px 16px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus,
[data-theme="dark"] .form-group select:focus {
  background: rgba(255, 255, 255, 0.06);
}

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

.form-group select option {
  background: var(--bg-hero);
  color: #fff;
}

.form-error {
  font-size: 12px;
  color: #ff8a7a;
  margin-top: 6px;
  display: none;
}

.form-group.invalid input,
.form-group.invalid textarea,
.form-group.invalid select {
  border-color: #c0392b;
}

.form-group.invalid .form-error {
  display: block;
}

.form-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 15.5px;
  font-weight: 700;
  transition: all 0.3s var(--transition-bounce);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--crimson-glow);
}

.form-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.32);
  margin-top: 14px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 50px 20px;
}

.form-success i {
  font-size: 46px;
  color: var(--orange);
  margin-bottom: 18px;
}

.form-success h3 {
  color: #fff;
  font-size: 23px;
  margin-bottom: 12px;
}

.form-success p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 14.5px;
}

/* Map Embed - Dark Mode Support */
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  height: 220px;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  gap: 10px;
  font-size: 13px;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

[data-theme="dark"] .map-embed {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.3);
}

/* FAQ - Dark Mode Support */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  overflow: hidden;
  transition: background 0.4s ease, border-color 0.4s ease;
}

[data-theme="dark"] .faq-item {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.05);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-q i {
  color: var(--orange);
  transition: transform 0.3s var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.open .faq-q i {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-a-inner {
  padding: 0 24px 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

[data-theme="dark"] .faq-a-inner {
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive Contact Page ---------- */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 24px 20px;
  }
  
  .contact-info h3 {
    font-size: 22px;
  }
}

@media (max-width: 600px) {
  .contact-grid {
    gap: 30px;
    margin-top: 30px;
  }
  
  .contact-form-wrapper {
    padding: 20px 16px;
  }
  
  .contact-detail {
    gap: 12px;
  }
  
  .contact-detail-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .faq-q {
    font-size: 13px;
    padding: 16px 18px;
  }
  
  .faq-a-inner {
    padding: 0 18px 18px;
    font-size: 12.5px;
  }
}


/* ---------- Light Mode FAQ (Contact Page) ---------- */
.faq-list-light {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item-light {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--transition-smooth);
}

.faq-item-light:hover {
  box-shadow: var(--shadow-sm);
}

.faq-q-light {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-primary);
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-q-light:hover {
  color: var(--crimson);
}

.faq-q-light i {
  color: var(--crimson);
  transition: transform 0.3s var(--transition-smooth);
  flex-shrink: 0;
  margin-left: 16px;
  font-size: 14px;
}

.faq-item-light.open .faq-q-light i {
  transform: rotate(45deg);
}

.faq-a-light {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--transition-smooth);
}

.faq-a-inner-light {
  padding: 0 24px 22px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Contact Info Light Mode ---------- */
.contact-info h3 {
  color: var(--text-primary);
}

.contact-info > p {
  color: var(--text-secondary);
}

.contact-detail h4 {
  color: var(--crimson);
}

.contact-detail p {
  color: var(--text-secondary);
}

.contact-detail-icon {
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.2);
  color: var(--crimson);
}

.map-embed {
  background: var(--bg-secondary);
  color: var(--text-tertiary);
  border: 1px solid var(--border-color);
}

/* ---------- Contact Form Light Mode ---------- */
.contact-form-wrapper .contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrapper .form-group label {
  color: var(--crimson);
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group textarea,
.contact-form-wrapper .form-group select {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
}

.contact-form-wrapper .form-group input::placeholder,
.contact-form-wrapper .form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.contact-form-wrapper .form-group input:focus,
.contact-form-wrapper .form-group textarea:focus,
.contact-form-wrapper .form-group select:focus {
  border-color: var(--crimson);
  background: var(--bg-primary);
  box-shadow: 0 0 0 3px var(--crimson-glow);
}

.contact-form-wrapper .form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.contact-form-wrapper .form-note {
  color: var(--text-tertiary);
}

/* ---------- Dark Mode Overrides for Contact Page ---------- */
[data-theme="dark"] .contact-info h3 {
  color: #fff;
}

[data-theme="dark"] .contact-info > p {
  color: rgba(255, 255, 255, 0.62);
}

[data-theme="dark"] .contact-detail p {
  color: rgba(255, 255, 255, 0.78);
}

[data-theme="dark"] .contact-detail-icon {
  background: rgba(192, 57, 43, 0.28);
  border: 1px solid rgba(192, 57, 43, 0.5);
  color: var(--orange);
}

[data-theme="dark"] .contact-form-wrapper .contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .contact-form-wrapper .form-group input,
[data-theme="dark"] .contact-form-wrapper .form-group textarea,
[data-theme="dark"] .contact-form-wrapper .form-group select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

[data-theme="dark"] .contact-form-wrapper .form-group input::placeholder,
[data-theme="dark"] .contact-form-wrapper .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

[data-theme="dark"] .contact-form-wrapper .form-group input:focus,
[data-theme="dark"] .contact-form-wrapper .form-group textarea:focus,
[data-theme="dark"] .contact-form-wrapper .form-group select:focus {
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .contact-form-wrapper .form-group select option {
  background: var(--bg-hero);
  color: #fff;
}

[data-theme="dark"] .contact-form-wrapper .form-note {
  color: rgba(255, 255, 255, 0.32);
}

[data-theme="dark"] .map-embed {
  background: var(--bg-tertiary);
  color: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.09);
}

/* FAQ Light Mode Dark Override */
[data-theme="dark"] .faq-item-light {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

[data-theme="dark"] .faq-q-light {
  color: #fff;
}

[data-theme="dark"] .faq-q-light:hover {
  color: var(--orange);
}

[data-theme="dark"] .faq-q-light i {
  color: var(--orange);
}

[data-theme="dark"] .faq-a-inner-light {
  color: rgba(255, 255, 255, 0.6);
}