/* ==========================================================================
   ScrapK - 3D Apple Glassmorphism System (Vanilla CSS)
   ========================================================================== */
/* Font loaded via HTML preconnect for instant rendering */

:root {
  /* Light 3D Theme Palette */
  --light-bg-main: #f5f5f7;
  --light-bg-alt: #ffffff;
  --light-bg-section: #eef2f6;
  --light-card-bg: rgba(255, 255, 255, 0.92);
  --light-card-border: rgba(0, 0, 0, 0.08);
  --light-card-border-glow: rgba(37, 99, 235, 0.45);
  
  /* Cool Royal Sapphire & Sky Blue Accents */
  --royal-blue: #2563eb;
  --royal-blue-hover: #1d4ed8;
  --sky-blue: #0ea5e9;
  --indigo-deep: #4f46e5;
  --teal-cool: #0284c7;
  
  /* High-Contrast Obsidian & Slate Text */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-tertiary: #64748b;
  
  --font-apple: 'Inter', -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif;
  
  --radius-bento: 24px;
  --radius-pill: 9999px;
  --radius-sm: 12px;
  
  /* 3D Multi-Layered Shadows */
  --shadow-bento-3d: 0 15px 35px -10px rgba(0, 0, 0, 0.07), 0 5px 15px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-hover-3d: 0 30px 65px -15px rgba(37, 99, 235, 0.3), 0 15px 30px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
  --shadow-glow: 0 0 35px rgba(14, 165, 233, 0.3);
  --transition-apple: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-apple);
  background-color: var(--light-bg-main);
  color: var(--text-primary);
  line-height: 1.47059;
  font-weight: 400;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: var(--light-bg-main);
  padding-bottom: 70px; /* Space for Sticky Mobile Bar */
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ==========================================================================
   Hero Section & High-Definition Video Architecture
   ========================================================================== */

.hero-apple {
  position: relative;
  padding: 3.5rem 0 2.5rem 0;
  overflow: hidden;
  background: #0f172a;
}

.hero-video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.88;
  image-rendering: -webkit-optimize-contrast;
  filter: brightness(0.96) contrast(1.12) saturate(1.18);
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: opacity;
  transition: opacity 0.6s ease;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.60) 0%, rgba(15, 23, 42, 0.38) 45%, rgba(15, 23, 42, 0.84) 100%);
  pointer-events: none;
}

[data-theme="dark"] .hero-video-bg {
  opacity: 0.84;
  filter: brightness(0.90) contrast(1.15) saturate(1.20);
}

[data-theme="dark"] .hero-video-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.70) 0%, rgba(15, 23, 42, 0.48) 45%, rgba(15, 23, 42, 0.90) 100%);
}

/* Hero Text & Badges styling over transparent video background */
.hero-apple .eyebrow-badge {
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #60a5fa !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.hero-apple .hero-title {
  color: #ffffff !important;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.hero-apple .hero-title .gradient-text-cool,
.hero-logo-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #60a5fa !important;
  filter: none !important;
  text-shadow: none !important;
}

[data-theme="dark"] .hero-apple .hero-title .gradient-text-cool,
[data-theme="dark"] .hero-logo-blue {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #93c5fd 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #60a5fa !important;
  filter: none !important;
  text-shadow: none !important;
}

.hero-apple .sub-title {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
  font-weight: 450;
}

/* Big High-Visibility Hindi Tagline */
.hero-hindi-tagline {
  font-size: clamp(1.85rem, 4.8vw, 2.85rem);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 0.15rem;
  margin-bottom: 1.6rem;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.9);
}

.hero-hindi-tagline .gradient-hindi {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 45%, #93c5fd 85%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 22px rgba(14, 165, 233, 0.55));
}

.hero-apple .sub-title strong {
  color: #ffffff !important;
}

.hero-apple .floating-glass-badge {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

/* ==========================================================================
   Background Tech Grid & 3D Ambient Glows
   ========================================================================== */

.tech-grid-pattern {
  background-image: radial-gradient(rgba(37, 99, 235, 0.14) 1.2px, transparent 1.2px);
  background-size: 32px 32px;
}

.ambient-glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.glow-orb-blue {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0) 70%);
}

.glow-orb-cyan {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, rgba(14, 165, 233, 0) 70%);
}

.glow-orb-indigo {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.2) 0%, rgba(79, 70, 229, 0) 70%);
}

/* 3D Floating Glass Widgets */
.floating-glass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.35rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 247, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  border-left: 1.5px solid rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.2), 0 5px 15px rgba(0, 0, 0, 0.05);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: float3dBounce 4s ease-in-out infinite alternate;
  transform-style: preserve-3d;
}

@keyframes float3dBounce {
  0% { transform: translateY(0px) rotateX(0deg); }
  100% { transform: translateY(-12px) rotateX(4deg); }
}

/* 3D Hero Perspective Frame */
.hero-showcase-frame {
  margin-top: 3.5rem;
  border-radius: var(--radius-bento);
  overflow: hidden;
  border-top: 2px solid rgba(255, 255, 255, 0.9);
  border-left: 2px solid rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(37, 99, 235, 0.2);
  border-bottom: 1px solid rgba(37, 99, 235, 0.3);
  box-shadow: 0 35px 80px -20px rgba(37, 99, 235, 0.3), 0 15px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #ffffff;
  transform: perspective(1200px) rotateX(3deg) scale(0.99);
  transform-style: preserve-3d;
  transition: var(--transition-apple);
}

.hero-showcase-frame:hover {
  transform: perspective(1200px) rotateX(0deg) scale(1.02);
  box-shadow: 0 45px 95px -20px rgba(37, 99, 235, 0.4), 0 20px 45px rgba(0, 0, 0, 0.1);
}

.hero-showcase-frame img,
.hero-showcase-frame video {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-showcase-frame:hover img,
.hero-showcase-frame:hover video {
  transform: scale(1.03);
}

.showcase-video-toggle {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-apple);
}

.showcase-video-toggle:hover {
  background: rgba(37, 99, 235, 0.9);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.05);
}

/* ==========================================================================
   How It Works Process Steps
   ========================================================================== */

.step-card-3d {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-bento);
  padding: 2.25rem 1.75rem;
  position: relative;
  box-shadow: var(--shadow-bento-3d);
  transition: var(--transition-apple);
  display: flex;
  flex-direction: column;
}

.step-card-3d:hover {
  transform: translateY(-6px) rotateX(2.5deg);
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-hover-3d);
}

.step-num-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 6px 15px rgba(37, 99, 235, 0.3);
}

/* ==========================================================================
   Interactive FAQ Accordion
   ========================================================================== */

.faq-container-apple {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item-apple {
  background: #ffffff;
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-apple);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.faq-item-apple.open {
  border-color: var(--royal-blue);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.12);
}

.faq-question-apple {
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  user-select: none;
}

.faq-icon-apple {
  color: var(--royal-blue);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  font-size: 1.1rem;
}

.faq-item-apple.open .faq-icon-apple {
  transform: rotate(180deg);
}

.faq-answer-apple {
  padding: 0 1.75rem 1.35rem 1.75rem;
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
  display: none;
}

.faq-item-apple.open .faq-answer-apple {
  display: block;
}

/* ==========================================================================
   Sticky Mobile Action Bar
   ========================================================================== */

.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 0.75rem;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.mobile-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-mobile-call {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.btn-mobile-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

@media (max-width: 768px) {
  .sticky-mobile-bar {
    display: flex;
  }
}

/* ==========================================================================
   3D Video Showcase & Testimonials
   ========================================================================== */

.video-card-3d {
  position: relative;
  border-radius: var(--radius-bento);
  overflow: hidden;
  height: 280px;
  background: #0f172a;
  border-top: 1.5px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-bento-3d);
  cursor: pointer;
  transition: var(--transition-apple);
  transform-style: preserve-3d;
}

.video-card-3d:hover {
  transform: translateY(-8px) rotateX(3deg) scale(1.02);
  box-shadow: var(--shadow-hover-3d);
}

.video-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.video-card-3d:hover img {
  transform: scale(1.06);
  opacity: 0.95;
}

.play-btn-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(30px);
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  transition: var(--transition-apple);
}

.video-card-3d:hover .play-btn-3d {
  transform: translate(-50%, -50%) translateZ(40px) scale(1.12);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5);
}

.video-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, transparent 100%);
  color: #ffffff;
}

.video-card-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.video-card-info p {
  font-size: 0.825rem;
  color: #94a3b8;
}

/* 3D Testimonial Card */
.testimonial-card-3d {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-bento);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-bento-3d);
  transition: var(--transition-apple);
  transform-style: preserve-3d;
}

.testimonial-card-3d:hover {
  transform: translateY(-8px) rotateX(2.5deg) scale(1.02);
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-hover-3d);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 0.975rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.08);
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--royal-blue);
}

.testimonial-author h5 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.testimonial-author p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* ==========================================================================
   3D Light Typography & Gradients
   ========================================================================== */

.hero-title {
  font-size: 4.25rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.038em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.sub-title {
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.5;
}

.gradient-text-apple {
  background: linear-gradient(180deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cool {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.05rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 242, 246, 0.9) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--radius-pill);
  color: var(--royal-blue);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

/* ==========================================================================
   3D Buttons & Click Physics
   ========================================================================== */

.btn-apple {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-pill);
  transition: var(--transition-apple);
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: -0.01em;
  position: relative;
  transform-style: preserve-3d;
}

.btn-apple-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 12px 25px -5px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-apple-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 35px -5px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-apple-primary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 5px 12px -3px rgba(37, 99, 235, 0.4);
}

.btn-apple-secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  color: var(--text-primary);
  border-top: 1px solid rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.btn-apple-secondary:hover {
  background: #ffffff;
  border-color: var(--royal-blue);
  transform: translateY(-3px) scale(1.03);
  color: var(--royal-blue);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.15);
}

.btn-apple-secondary:active {
  transform: translateY(2px) scale(0.98);
}

.btn-apple-link {
  color: var(--royal-blue);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-apple);
}

.btn-apple-link:hover {
  color: var(--royal-blue-hover);
  text-decoration: underline;
  transform: translateX(4px);
}

/* ==========================================================================
   Header & Translucent Navigation (Light Theme)
   ========================================================================== */

.header-apple {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: var(--transition-apple);
}

[data-theme="dark"] .header-apple {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.navbar-apple {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-apple {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.logo-apple img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

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

.nav-link-apple {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: var(--transition-apple);
}

.nav-link-apple:hover,
.nav-link-apple.active {
  color: var(--royal-blue);
  font-weight: 700;
}

/* Mobile Drawer */
.mobile-drawer-apple {
  position: fixed;
  top: 64px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: none;
  flex-direction: column;
  gap: 1rem;
  z-index: 999;
}

.mobile-drawer-apple.open {
  display: flex;
}

.mobile-drawer-apple .nav-link-apple {
  font-size: 1.1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ==========================================================================
   Hero Section (Light 3D Mode)
   ========================================================================== */

.hero-apple {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

.hero-apple-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   3D Glass Bento Grid System
   ========================================================================== */

.section-apple {
  padding: 6rem 0;
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.bento-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 247, 0.85) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1.5px solid rgba(255, 255, 255, 0.95);
  border-left: 1.5px solid rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-bento);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-bento-3d);
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: var(--light-card-border-glow);
  box-shadow: var(--shadow-hover-3d);
}

.bento-col-4 { grid-column: span 4; }
.bento-col-6 { grid-column: span 6; }
.bento-col-8 { grid-column: span 8; }
.bento-col-12 { grid-column: span 12; }

.bento-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-blue);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  transform: translateZ(20px);
}

.bento-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  line-height: 1.55;
  flex-grow: 1;
}

/* ==========================================================================
   3D Stats Banner
   ========================================================================== */

.apple-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.apple-stat-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-bento);
  padding: 2.25rem 1.5rem;
  text-align: center;
  transition: var(--transition-apple);
  box-shadow: var(--shadow-bento-3d);
}

.apple-stat-card:hover {
  border-color: var(--royal-blue);
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover-3d);
}

.apple-stat-num {
  font-size: 3.25rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(180deg, #0f172a 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.apple-stat-label {
  color: var(--text-secondary);
  font-size: 0.925rem;
  font-weight: 600;
}

/* ==========================================================================
   3D Executive Leadership & Circular Team Cards
   ========================================================================== */

.leader-bento {
  background: #ffffff;
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-bento);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-bento-3d);
  transition: var(--transition-apple);
}

.leader-bento:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover-3d);
}

.leader-bento img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.leader-bento-content {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 3D Concentric Ring Circular Team Grid */
.team-circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

/* ==========================================================================
   CEO & Founder Top-Middle Showcase Architecture
   ========================================================================== */

.ceo-hero-card {
  max-width: 820px;
  margin: 0 auto 3.5rem auto;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 60%, #eff6ff 100%);
  border-top: 2px solid rgba(255, 255, 255, 1);
  border: 1.5px solid rgba(239, 68, 68, 0.35);
  border-radius: 32px;
  padding: 3.25rem 2.5rem 2.75rem 2.5rem;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 50px -15px rgba(239, 68, 68, 0.15), 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  overflow: hidden;
}

.ceo-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #2563eb 100%);
}

.ceo-hero-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 65px -15px rgba(239, 68, 68, 0.25), 0 15px 35px rgba(37, 99, 235, 0.12);
  border-color: rgba(239, 68, 68, 0.6);
}

.ceo-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.ceo-hero-avatar-wrap {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 1.75rem auto;
}

.ceo-hero-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, #ef4444 0%, #f97316 40%, #2563eb 100%);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ceo-hero-card:hover .ceo-hero-ring {
  transform: scale(1.05);
}

.ceo-hero-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  display: block;
  background: #f8fafc;
}

.ceo-hero-badge-pill {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 2.5px solid #ffffff;
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
}

.ceo-hero-name {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.ceo-hero-role {
  color: #ef4444;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.ceo-hero-title-sub {
  font-size: 0.95rem;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
}

.ceo-hero-quote {
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.65;
  font-style: italic;
  max-width: 660px;
  margin: 0 auto 1.75rem auto;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border: 1px dashed rgba(239, 68, 68, 0.25);
}

.ceo-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

[data-theme="dark"] .ceo-hero-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 60%, #1c1917 100%);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .ceo-hero-img {
  border-color: #1e293b;
}

[data-theme="dark"] .ceo-hero-badge-pill {
  border-color: #1e293b;
}

[data-theme="dark"] .ceo-hero-quote {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(239, 68, 68, 0.35);
  color: #cbd5e1;
}

/* ==========================================================================
   Team Circle Grid & Founding Member Cards
   ========================================================================== */

.team-circle-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-bento);
  padding: 2.25rem 1.6rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: var(--shadow-bento-3d);
  position: relative;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

.team-circle-card:hover {
  transform: translateY(-8px);
  border-color: var(--royal-blue);
  box-shadow: var(--shadow-hover-3d);
}

.team-circle-avatar-wrap {
  position: relative;
  width: 155px;
  height: 155px;
  margin-bottom: 1.25rem;
}

.team-circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--royal-blue);
  outline: 3px solid rgba(14, 165, 233, 0.35);
  outline-offset: 3px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), outline-color 0.4s;
  background: #f1f5f9;
}

.team-circle-card:hover .team-circle-img {
  transform: scale(1.06);
  border-color: var(--sky-blue);
  outline-color: rgba(37, 99, 235, 0.8);
  box-shadow: 0 16px 35px rgba(14, 165, 233, 0.35);
}

.team-circle-badge {
  position: absolute;
  bottom: 2px;
  right: 6px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.team-circle-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.team-circle-card .role {
  color: var(--royal-blue);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.team-circle-card .education {
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
}

.team-circle-card .quote {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.55;
  font-style: italic;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Light Media Gallery & Lightbox
   ========================================================================== */

.filter-pills {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.6rem 1.4rem;
  background: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 1);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-apple);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.filter-pill:hover,
.filter-pill.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transform: translateY(-2px);
}

.gallery-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gallery-bento-item {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 240px;
  cursor: pointer;
  border: 1px solid var(--light-card-border);
  background: #ffffff;
  box-shadow: var(--shadow-bento-3d);
  transition: var(--transition-apple);
}

.gallery-bento-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-hover-3d);
}

.gallery-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-bento-item:hover img {
  transform: scale(1.08);
}

.gallery-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, transparent 65%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition-apple);
}

.gallery-bento-item:hover .gallery-bento-overlay {
  opacity: 1;
}

/* ==========================================================================
   Modals & Glassmorphic Popups Engine
   ========================================================================== */

.apple-modal-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 99999999 !important;
  background: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.25rem !important;
  margin: 0 !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.apple-modal-backdrop.open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.apple-modal-box {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  width: 100%;
  max-width: 580px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem 2rem;
  position: relative !important;
  margin: auto !important;
  box-shadow: 0 25px 80px -15px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.3) transparent;
}

.apple-modal-backdrop.open .apple-modal-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.apple-modal-box::-webkit-scrollbar {
  width: 6px;
}

.apple-modal-box::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.25);
  border-radius: 10px;
}

.apple-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--text-primary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-apple);
  z-index: 10;
}

.apple-modal-close:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  transform: scale(1.1);
}

.form-group-apple {
  margin-bottom: 1.25rem;
}

.form-group-apple label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control-apple {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-apple);
}

.form-control-apple:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18);
}

/* ==========================================================================
   Light Footer
   ========================================================================== */

.footer-apple {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-grid-apple {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col-apple h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.footer-links-apple {
  list-style: none;
}

.footer-links-apple li {
  margin-bottom: 0.6rem;
}

.footer-links-apple a {
  color: var(--text-secondary);
  transition: var(--transition-apple);
}

.footer-links-apple a:hover {
  color: var(--royal-blue);
}

/* ==========================================================================
   Mobile Toggle Button
   ========================================================================== */

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================================================
   Form Validation & Error States
   ========================================================================== */

.form-control-apple.error {
  border-color: #ef4444;
  background: #fef2f2;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.field-error-msg {
  display: none;
  color: #ef4444;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.3rem;
  padding-left: 0.15rem;
}

.field-error-msg.visible {
  display: block;
}

/* ==========================================================================
   Quote Flow States (Loading / Success / Error)
   ========================================================================== */

.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.8;
}

.btn-loading::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spinLoader 0.65s linear infinite;
}

@keyframes spinLoader {
  to { transform: translateY(-50%) rotate(360deg); }
}

.quote-success-state,
.quote-error-state {
  text-align: center;
  padding: 2rem 1rem;
}

.quote-success-state .state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
}

.quote-success-state .state-icon {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(16, 185, 129, 0.15) 100%);
  color: #16a34a;
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.quote-error-state .state-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
  color: #dc2626;
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.quote-success-state h3,
.quote-error-state h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.quote-success-state p,
.quote-error-state p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.request-id-badge {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-pill);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--royal-blue);
  margin: 1rem 0 1.25rem 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

/* ==========================================================================
   Footer Social Media Icons
   ========================================================================== */

.footer-social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-icons a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--royal-blue);
  font-size: 1.1rem;
  transition: var(--transition-apple);
}

.footer-social-icons a:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   1. SCROLL REVEAL ANIMATION SYSTEM (Safe & Always Visible)
   ========================================================================== */

.scroll-reveal,
.scroll-reveal-left,
.scroll-reveal-right,
.scroll-reveal-scale {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed,
.scroll-reveal-left.revealed,
.scroll-reveal-right.revealed,
.scroll-reveal-scale.revealed {
  opacity: 1;
  transform: none;
}

/* Stagger delays for child elements */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ==========================================================================
   2. DARK MODE SYSTEM
   ========================================================================== */

/* Dark Mode Toggle Button */
.dark-mode-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 245, 247, 0.9) 100%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-apple);
  color: var(--text-primary);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.dark-mode-toggle:hover {
  transform: rotate(30deg) scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.dark-mode-toggle .icon-sun,
.dark-mode-toggle .icon-moon {
  position: absolute;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Dark Theme Variable Overrides */
[data-theme="dark"] {
  --light-bg-main: #0f172a;
  --light-bg-alt: #1e293b;
  --light-bg-section: #1a2332;
  --light-card-bg: rgba(30, 41, 59, 0.92);
  --light-card-border: rgba(255, 255, 255, 0.08);
  --light-card-border-glow: rgba(56, 132, 255, 0.5);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
}

[data-theme="dark"] body,
[data-theme="dark"] html {
  background-color: #0f172a;
  color: #e2e8f0;
}

[data-theme="dark"] .tech-grid-pattern {
  background-image: radial-gradient(rgba(56, 132, 255, 0.12) 1.2px, transparent 1.2px);
}

[data-theme="dark"] .header-apple {
  background: rgba(15, 23, 42, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .step-card-3d,
[data-theme="dark"] .bento-card,
[data-theme="dark"] .apple-stat-card,
[data-theme="dark"] .testimonial-card-3d,
[data-theme="dark"] .team-circle-card,
[data-theme="dark"] .faq-item-apple,
[data-theme="dark"] .leader-bento {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .step-card-3d:hover,
[data-theme="dark"] .bento-card:hover,
[data-theme="dark"] .apple-stat-card:hover,
[data-theme="dark"] .testimonial-card-3d:hover,
[data-theme="dark"] .team-circle-card:hover,
[data-theme="dark"] .leader-bento:hover {
  box-shadow: 0 30px 65px -15px rgba(37, 99, 235, 0.4), 0 15px 30px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .eyebrow-badge {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.9) 100%);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="dark"] .floating-glass-badge {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

[data-theme="dark"] .hero-showcase-frame {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .btn-apple-secondary {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

[data-theme="dark"] .btn-apple-secondary:hover {
  background: #1e293b;
  border-color: var(--royal-blue);
  color: var(--sky-blue);
}

[data-theme="dark"] .footer-apple {
  background: #0f172a;
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .mobile-drawer-apple {
  background: rgba(15, 23, 42, 0.98);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .apple-modal-box {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .form-control-apple {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
}

[data-theme="dark"] .form-control-apple:focus {
  background: #1e293b;
  border-color: var(--royal-blue);
}

[data-theme="dark"] .filter-pill {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

[data-theme="dark"] .gallery-bento-item {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .apple-stat-num {
  background: linear-gradient(180deg, #e2e8f0 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .gradient-text-cool {
  background: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .sticky-mobile-bar {
  background: rgba(15, 23, 42, 0.95);
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .dark-mode-toggle {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fbbf24;
}

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

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

[data-theme="dark"] .faq-question-apple {
  color: #e2e8f0;
}

[data-theme="dark"] .apple-modal-close {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

/* ==========================================================================
   3. HERO ANIMATED GRADIENT MESH
   ========================================================================== */

.hero-gradient-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-gradient-mesh::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 30%, rgba(2, 132, 199, 0.06) 0%, transparent 40%);
  animation: gradientMeshDrift 20s ease-in-out infinite alternate;
}

@keyframes gradientMeshDrift {
  0% { transform: translate(0, 0) rotate(0deg) scale(1); }
  25% { transform: translate(3%, -2%) rotate(1deg) scale(1.02); }
  50% { transform: translate(-2%, 3%) rotate(-0.5deg) scale(0.98); }
  75% { transform: translate(1%, -1%) rotate(0.5deg) scale(1.01); }
  100% { transform: translate(-3%, 2%) rotate(-1deg) scale(1); }
}

[data-theme="dark"] .hero-gradient-mesh::before {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 40% 30%, rgba(2, 132, 199, 0.1) 0%, transparent 40%);
}

/* ==========================================================================
   4. BUTTON MICRO-ANIMATIONS
   ========================================================================== */

/* Ripple Effect */
.btn-apple {
  overflow: hidden;
}

.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Arrow Slide on Hover */
.btn-apple i.fa-arrow-right,
.btn-apple .btn-arrow {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-apple:hover i.fa-arrow-right,
.btn-apple:hover .btn-arrow {
  transform: translateX(5px);
}

/* Gradient Shimmer on Primary Buttons */
.btn-apple-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-apple-primary:hover::before {
  left: 100%;
}

/* ==========================================================================
   5. 3D CARD TILT SYSTEM
   ========================================================================== */

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card .tilt-glare {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  z-index: 2;
}

.tilt-card:hover .tilt-glare {
  opacity: 1;
}

/* ==========================================================================
   6. REVIEWS AUTO-SCROLLING CAROUSEL
   ========================================================================== */

.reviews-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.reviews-carousel-track {
  display: flex;
  gap: 1.5rem;
  animation: reviewsScroll 30s linear infinite;
  width: max-content;
}

.reviews-carousel-track:hover {
  animation-play-state: paused;
}

.reviews-carousel-track .testimonial-card-3d {
  min-width: 360px;
  max-width: 360px;
  flex-shrink: 0;
}

@keyframes reviewsScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .reviews-carousel-track .testimonial-card-3d {
    min-width: 300px;
    max-width: 300px;
  }
}

/* ==========================================================================
   7. PARALLAX DEPTH SYSTEM
   ========================================================================== */

[data-parallax] {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ==========================================================================
   8. FLOATING WHATSAPP FAB
   ========================================================================== */

.whatsapp-fab {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.whatsapp-fab-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45), 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-apple);
  animation: fabPulse 2.5s ease-in-out infinite;
  position: relative;
}

.whatsapp-fab-btn:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 14px 35px rgba(37, 211, 102, 0.55), 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: none;
}

.whatsapp-fab-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: fabRing 2.5s ease-in-out infinite;
}

@keyframes fabPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes fabRing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0; }
}

.whatsapp-fab-tooltip {
  background: #ffffff;
  color: var(--text-primary);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.whatsapp-fab:hover .whatsapp-fab-tooltip {
  opacity: 1;
  transform: translateX(0);
}

[data-theme="dark"] .whatsapp-fab-tooltip {
  background: #1e293b;
  color: #e2e8f0;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .whatsapp-fab {
    bottom: 80px;
    right: 16px;
  }
  .whatsapp-fab-btn {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
  }
  .whatsapp-fab-tooltip { display: none; }
}

/* ==========================================================================
   9. FULL-SCREEN MOBILE NAV OVERLAY
   ========================================================================== */

@media (max-width: 768px) {
  .mobile-drawer-apple {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    z-index: 999;
    padding: 2rem;
    border-bottom: none;
  }

  .mobile-drawer-apple.open {
    display: flex;
  }

  .mobile-drawer-apple .nav-link-apple {
    color: #e2e8f0;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    width: 100%;
    max-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s;
  }

  .mobile-drawer-apple.open .nav-link-apple {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger animation for each nav link */
  .mobile-drawer-apple.open .nav-link-apple:nth-child(1) { transition-delay: 0.05s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(2) { transition-delay: 0.1s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(3) { transition-delay: 0.15s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(4) { transition-delay: 0.2s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(5) { transition-delay: 0.25s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(6) { transition-delay: 0.3s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(7) { transition-delay: 0.35s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(8) { transition-delay: 0.4s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(9) { transition-delay: 0.45s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(10) { transition-delay: 0.5s; }
  .mobile-drawer-apple.open .nav-link-apple:nth-child(11) { transition-delay: 0.55s; }

  .mobile-drawer-apple .nav-link-apple:hover,
  .mobile-drawer-apple .nav-link-apple.active {
    color: var(--sky-blue);
  }

  .mobile-drawer-apple .btn-apple {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.55s, transform 0.4s ease 0.55s, background 0.3s, box-shadow 0.3s;
  }

  .mobile-drawer-apple.open .btn-apple {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   10. SMOOTH FAQ ACCORDION (Height Transition)
   ========================================================================== */

.faq-answer-apple {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  padding: 0 1.75rem;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item-apple.open .faq-answer-apple {
  max-height: 300px;
  padding: 0 1.75rem 1.35rem 1.75rem;
}

/* ==========================================================================
   11. ENHANCED GALLERY MASONRY + LIGHTBOX
   ========================================================================== */

/* Masonry-style variable heights */
.gallery-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  grid-auto-rows: 10px;
}

.gallery-bento-item {
  height: auto !important;
}

.gallery-bento-item:nth-child(3n+1) { grid-row: span 24; }
.gallery-bento-item:nth-child(3n+2) { grid-row: span 20; }
.gallery-bento-item:nth-child(3n+3) { grid-row: span 28; }

.gallery-bento-item img {
  height: 100%;
  min-height: 200px;
}

/* Gallery filter animation */
.gallery-bento-item {
  transition: var(--transition-apple), opacity 0.4s ease;
}

.gallery-bento-item.filter-hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Enhanced Lightbox with prev/next */
.lightbox-enhanced {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lightbox-enhanced.open {
  display: flex;
  opacity: 1;
}

.lightbox-enhanced img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  animation: lightboxZoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-apple);
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-apple);
  z-index: 10;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ==========================================================================
   12. PAGE TRANSITIONS
   ========================================================================== */

.page-transition-overlay {
  display: none !important;
}

/* ==========================================================================
   13. TOP LOADING BAR
   ========================================================================== */

.loading-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--royal-blue) 0%, var(--sky-blue) 50%, var(--indigo-deep) 100%);
  z-index: 10000;
  width: 0%;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

.loading-bar.loading {
  width: 70%;
  transition: width 2s cubic-bezier(0.1, 0.7, 0.3, 1);
}

.loading-bar.complete {
  width: 100%;
  transition: width 0.3s ease;
}

.loading-bar.hide {
  opacity: 0;
  transition: opacity 0.4s ease 0.3s;
}

/* ==========================================================================
   3D Legacy Growth Tree (Vertical Timeline Architecture)
   ========================================================================== */

.legacy-tree-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 3.5rem auto 2rem;
  padding: 2rem 0;
}

/* Tree Filters / Navigation Bar */
.tree-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--light-card-border);
  border-radius: var(--radius-pill);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.tree-filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-apple);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-apple);
}

.tree-filter-btn:hover {
  color: var(--royal-blue);
  background: rgba(37, 99, 235, 0.06);
}

.tree-filter-btn.active {
  background: var(--royal-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Vertical Center Trunk */
.tree-trunk-line {
  position: absolute;
  top: 60px;
  bottom: 60px;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0.9) 25%, rgba(14, 165, 233, 0.9) 75%, rgba(79, 70, 229, 0.4) 100%);
  border-radius: 4px;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.35);
  z-index: 1;
}

/* Tree Milestone Item */
.tree-milestone {
  position: relative;
  display: flex;
  margin-bottom: 3.5rem;
  z-index: 2;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.tree-milestone.hidden {
  display: none;
  opacity: 0;
  transform: scale(0.95);
}

.tree-milestone.tree-left {
  justify-content: flex-start;
  padding-right: calc(50% + 40px);
}

.tree-milestone.tree-right {
  justify-content: flex-end;
  padding-left: calc(50% + 40px);
}

/* Central Node Marker */
.tree-node-marker {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translate(-50%, 0);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 5;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.95), 0 0 0 9px rgba(37, 99, 235, 0.2), 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: var(--transition-apple);
}

.tree-milestone:hover .tree-node-marker {
  transform: translate(-50%, -4px) scale(1.1);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 1), 0 0 0 11px rgba(37, 99, 235, 0.35), 0 12px 25px rgba(37, 99, 235, 0.5);
}

/* Branch Arm (connector from trunk to card) */
.tree-branch-arm {
  position: absolute;
  top: 50px;
  height: 2px;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.6) 0%, rgba(14, 165, 233, 0.3) 100%);
  z-index: 1;
}

.tree-left .tree-branch-arm {
  right: 50%;
  width: 40px;
  transform-origin: right center;
}

.tree-right .tree-branch-arm {
  left: 50%;
  width: 40px;
  transform-origin: left center;
}

/* Tree Milestone Card */
.tree-card {
  width: 100%;
  background: #ffffff;
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
  transition: var(--transition-apple);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.tree-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.18), 0 8px 20px rgba(0, 0, 0, 0.04);
}

.tree-card-featured {
  background: linear-gradient(145deg, #ffffff 0%, #f0f7ff 100%);
  border: 1.5px solid rgba(37, 99, 235, 0.5);
  box-shadow: 0 15px 40px -10px rgba(37, 99, 235, 0.22);
}

/* Card Header */
.tree-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.tree-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--royal-blue);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tree-phase-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.tree-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Card Top Row with Circular Portrait */
.tree-card-top-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.tree-circle-wrapper {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-circle-ring {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  padding: 3.5px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-apple);
  position: relative;
}

.tree-circle-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tree-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tree-circle-img.doc-img {
  object-fit: contain;
  padding: 8px;
}

.tree-card:hover .tree-circle-ring {
  transform: scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4), 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.tree-card:hover .tree-circle-img {
  transform: scale(1.08);
}

.tree-circle-badge {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.tree-card-header-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.tree-card-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* Dark mode for circle */
[data-theme="dark"] .tree-circle-inner {
  background: #1e293b;
}

[data-theme="dark"] .tree-circle-ring {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .tree-card:hover .tree-circle-ring {
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5), 0 0 0 4px rgba(37, 99, 235, 0.3);
}

/* Compact Image Frame — fallback / full media */
.tree-media-frame {
  position: relative;
  width: 100%;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.tree-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tree-media-frame.doc-frame {
  background: #ffffff;
}

.tree-media-frame.doc-frame img {
  object-fit: contain;
  padding: 0.75rem;
}

.tree-card:hover .tree-media-frame img {
  transform: scale(1.05);
}

.tree-media-caption {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  pointer-events: none;
}

/* Description Text */
.tree-card-desc {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

/* Meta Details Box */
.tree-meta-box {
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.tree-meta-title {
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.2rem;
  font-size: 0.85rem;
}

.tree-meta-row {
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 0.15rem;
}

.tree-meta-row:last-child {
  margin-bottom: 0;
}

/* Card Footer Tags */
.tree-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--royal-blue);
}

/* Root and Crown Badges */
.tree-anchor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--light-card-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.tree-anchor-root {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  color: #166534;
  border-color: rgba(34, 197, 94, 0.3);
}

.tree-anchor-crown {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  color: var(--royal-blue);
  border-color: rgba(37, 99, 235, 0.3);
}

/* Dark Mode Overrides for Legacy Tree */
[data-theme="dark"] .tree-filter-bar {
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tree-filter-btn {
  color: #94a3b8;
}

[data-theme="dark"] .tree-filter-btn:hover {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .tree-filter-btn.active {
  background: var(--royal-blue);
  color: #ffffff;
}

[data-theme="dark"] .tree-node-marker {
  box-shadow: 0 0 0 6px #0f172a, 0 0 0 9px rgba(37, 99, 235, 0.35), 0 8px 20px rgba(37, 99, 235, 0.45);
}

[data-theme="dark"] .tree-milestone:hover .tree-node-marker {
  box-shadow: 0 0 0 6px #0f172a, 0 0 0 11px rgba(37, 99, 235, 0.5), 0 12px 25px rgba(37, 99, 235, 0.6);
}

[data-theme="dark"] .tree-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .tree-card:hover {
  border-color: rgba(56, 132, 255, 0.45);
  box-shadow: 0 25px 50px -10px rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .tree-card-featured {
  background: linear-gradient(135deg, #1e293b 0%, #172554 100%);
  border-color: var(--royal-blue);
}

[data-theme="dark"] .tree-media-frame {
  background: #0b1120;
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .tree-media-frame.doc-frame {
  background: #ffffff;
}

[data-theme="dark"] .tree-meta-box {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
}

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

[data-theme="dark"] .tree-anchor-badge {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
}

[data-theme="dark"] .tree-anchor-root {
  background: linear-gradient(135deg, #052e16 0%, #14532d 100%);
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.4);
}

[data-theme="dark"] .tree-anchor-crown {
  background: linear-gradient(135deg, #172554 0%, #1e3a8a 100%);
  color: #93c5fd;
  border-color: rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Social Media & Events Showcase Section
   ========================================================================== */

.social-connect-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.social-channel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.4rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--light-card-border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition-apple);
}

.social-channel-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.social-channel-pill.pill-insta:hover {
  border-color: #e1306c;
  color: #e1306c;
}

.social-channel-pill.pill-yt:hover {
  border-color: #ff0000;
  color: #ff0000;
}

.social-channel-pill i {
  font-size: 1.25rem;
}

.social-pill-btn {
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  margin-left: 0.25rem;
}

.btn-insta-gradient {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.btn-yt-red {
  background: #ff0000;
}

/* Event Cards Grid */
.social-event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.social-event-card {
  background: #ffffff;
  border-top: 1.5px solid rgba(255, 255, 255, 1);
  border: 1px solid var(--light-card-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.06);
  transition: var(--transition-apple);
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
}

.social-event-card:hover {
  transform: translateY(-6px);
  border-color: var(--royal-blue);
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.22);
}

.social-event-media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0f172a;
}

.social-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-event-card:hover .social-event-media img {
  transform: scale(1.08);
}

/* Play Badge Overlay for YouTube */
.social-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 0, 0, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  padding-left: 3px;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(255, 0, 0, 0.5);
  transition: var(--transition-apple);
  z-index: 2;
}

.social-event-card:hover .social-play-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ff0000;
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.4), 0 15px 30px rgba(255, 0, 0, 0.7);
}

/* Reel Overlay for Instagram */
.social-reel-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.95), rgba(253, 29, 29, 0.95), rgba(252, 176, 69, 0.95));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.3), 0 10px 25px rgba(225, 48, 108, 0.5);
  transition: var(--transition-apple);
  z-index: 2;
}

.social-event-card:hover .social-reel-overlay {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.4), 0 15px 30px rgba(225, 48, 108, 0.7);
}

.social-platform-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}

.badge-tag-insta {
  background: linear-gradient(135deg, rgba(131, 58, 180, 0.9), rgba(253, 29, 29, 0.9), rgba(252, 176, 69, 0.9));
}

.badge-tag-yt {
  background: rgba(255, 0, 0, 0.9);
}

.social-event-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.social-event-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--royal-blue);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.social-event-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.social-event-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex: 1;
}

.social-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.8rem;
}

.social-stats-tags {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-tertiary);
  font-weight: 600;
}

.social-event-link {
  font-weight: 700;
  color: var(--royal-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-apple);
}

.social-event-link:hover {
  color: var(--royal-blue-hover);
  transform: translateX(3px);
}

/* Dark Mode Overrides for Social Section */
[data-theme="dark"] .social-channel-pill {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

[data-theme="dark"] .social-event-card {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .social-event-card:hover {
  border-color: rgba(56, 132, 255, 0.45);
}

[data-theme="dark"] .social-event-footer {
  border-top-color: rgba(255, 255, 255, 0.08);
}



@media (max-width: 600px) {
  .tree-card-top-row {
    gap: 0.85rem;
  }

  .tree-circle-ring {
    width: 84px;
    height: 84px;
    padding: 2.5px;
  }

  .tree-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .tree-card-title {
    font-size: 1.15rem;
  }

  .tree-circle-badge {
    font-size: 0.6rem;
    padding: 0.12rem 0.45rem;
  }
}




@media (max-width: 1024px) {
  .bento-col-4, .bento-col-6, .bento-col-8 { grid-column: span 12; }
  .hero-title { font-size: 3.25rem; }
  .apple-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .leader-bento { grid-template-columns: 1fr; }
  .footer-grid-apple { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links-apple { display: none; }
  .mobile-toggle { display: block; }
  .hero-title { font-size: 2.25rem; }
  .section-title { font-size: 2rem; }
  .apple-stats-grid { grid-template-columns: 1fr; }
  .team-circle-grid { grid-template-columns: 1fr; }
  .footer-grid-apple { grid-template-columns: 1fr; }
  .hero-showcase-frame img { height: 300px; }

  .apple-modal-box {
    padding: 1.75rem 1.25rem;
    max-height: 85vh;
    border-radius: 18px;
  }

  .apple-modal-box h3 {
    font-size: 1.35rem;
  }

  .gallery-bento-item:nth-child(3n+1),
  .gallery-bento-item:nth-child(3n+2),
  .gallery-bento-item:nth-child(3n+3) {
    grid-row: span 22;
  }
}

/* ==========================================================================
   Apple-Grade Team Grid & Leadership Cards
   ========================================================================== */

.team-circle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-circle-card {
  background: var(--card-bg);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

[data-theme="dark"] .team-circle-card {
  background: #111827;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.team-circle-card:hover {
  transform: translateY(-8px);
  border-color: var(--royal-blue);
  box-shadow: 0 20px 45px -10px rgba(37, 99, 235, 0.25);
}

.team-circle-avatar-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin-bottom: 1.5rem;
}

.team-circle-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--royal-blue);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
  transition: transform 0.3s ease;
}

.team-circle-card:hover .team-circle-img {
  transform: scale(1.05);
}

.team-circle-badge {
  position: absolute;
  bottom: 0;
  right: 4px;
  width: 32px;
  height: 32px;
  background: var(--royal-blue);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border: 2.5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .team-circle-badge {
  border-color: #111827;
}

.team-circle-card h4 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 0.35rem 0;
  letter-spacing: -0.01em;
}

.team-circle-card .role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-bottom: 0.5rem;
}

.team-circle-card .education {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.team-circle-card .quote {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
  font-style: italic;
  flex-grow: 1;
}

/* ==========================================================================
   Milestone Preview Cards & Popup Modal System
   ========================================================================== */

.tree-card {
  cursor: pointer;
}

.tree-card:hover {
  border-color: rgba(37, 99, 235, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 35px -8px rgba(37, 99, 235, 0.2);
}

.btn-milestone-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--royal-blue);
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-apple);
}

.btn-milestone-trigger:hover {
  background: var(--royal-blue);
  color: #ffffff;
  border-color: var(--royal-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.btn-milestone-primary {
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-milestone-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

/* Milestone Modal Styling */
.milestone-modal-box {
  max-width: 620px;
  width: 92%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 2.25rem 2rem 1.75rem 2rem;
  border-radius: 24px;
}

.milestone-modal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .milestone-modal-nav {
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Comprehensive Mobile & Responsive Optimization System
   ========================================================================== */

/* Tablet & Smaller Desktops (<= 992px) */
@media (max-width: 992px) {
  .nav-links-apple {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-apple .btn-apple-primary {
    display: none;
  }

  .bento-grid,
  .footer-grid-apple {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .hero-title {
    font-size: 2.85rem;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  body {
    padding-bottom: 75px; /* ensure content doesn't get covered by sticky bar */
  }

  .container {
    padding: 0 1.15rem;
  }

  /* Header & Mobile Drawer */
  .navbar-apple {
    padding: 0.75rem 0;
  }

  .logo-apple img {
    width: 32px;
    height: 32px;
  }

  .logo-apple span {
    font-size: 1.2rem;
  }

  .mobile-drawer-apple {
    padding: 1.25rem;
  }

  .mobile-drawer-apple .nav-link-apple {
    padding: 0.85rem 1rem;
    font-size: 1rem;
  }

  /* Hero Section */
  .hero-apple {
    padding: 2.5rem 0 2rem 0;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.15;
    margin-bottom: 0.75rem;
  }

  .hero-hindi-tagline {
    font-size: clamp(1.55rem, 6.5vw, 2.1rem) !important;
    margin-top: 0.2rem !important;
    margin-bottom: 1.25rem !important;
  }

  .hero-apple .sub-title {
    font-size: 0.98rem !important;
    margin-bottom: 1.5rem !important;
  }

  .floating-glass-badge {
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;
    gap: 0.4rem;
  }

  .hero-apple-cta {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }

  .hero-apple-cta .btn-apple {
    width: 100%;
    justify-content: center;
    padding: 0.85rem;
  }

  /* Bento Stats Grid */
  .apple-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .apple-stat-card {
    padding: 1.25rem 0.85rem;
    border-radius: 18px;
  }

  .apple-stat-num {
    font-size: 1.75rem;
  }

  .apple-stat-label {
    font-size: 0.78rem;
  }

  /* General Bento Grids */
  .bento-grid,
  .services-grid,
  .materials-grid,
  .footer-grid-apple {
    grid-template-columns: 1fr !important;
    gap: 1.25rem;
  }

  .bento-col-4,
  .bento-col-6,
  .bento-col-8,
  .bento-col-12 {
    grid-column: span 1 !important;
  }

  .bento-card,
  .apple-card {
    padding: 1.35rem;
    border-radius: 20px;
  }

  .bento-card[style*="grid-template-columns"],
  .apple-card[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .bento-card h3 {
    font-size: 1.5rem !important;
  }

  .bento-card img {
    max-height: 260px !important;
    margin: 1rem auto !important;
  }

  /* Team Section Mobile */
  .team-circle-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 1.25rem;
  }

  .team-circle-avatar-wrap {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .team-circle-badge {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }

  .team-circle-card {
    padding: 1.5rem 1rem;
  }

  .team-circle-card h4 {
    font-size: 1.15rem;
  }

  /* Legacy Tree Timeline Mobile Redesign */
  .legacy-tree-wrapper {
    padding: 1rem 0;
  }

  .tree-trunk-line {
    left: 20px;
    transform: none;
    width: 3px;
  }

  .tree-milestone {
    padding: 0 0 0 46px !important;
    margin-bottom: 2rem;
    display: flex;
    justify-content: flex-start !important;
  }

  .tree-milestone.tree-left,
  .tree-milestone.tree-right {
    padding-left: 46px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  .tree-node-marker {
    left: 20px !important;
    top: 14px !important;
    transform: translate(-50%, 0) !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 0.8rem !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95), 0 4px 12px rgba(37, 99, 235, 0.3) !important;
  }

  .tree-branch-arm {
    left: 20px !important;
    right: auto !important;
    width: 26px !important;
    top: 30px !important;
  }

  .tree-card {
    padding: 1.15rem;
    border-radius: 16px;
    width: 100%;
  }

  .tree-card-top-row {
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
  }

  .tree-circle-wrapper {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }

  .tree-circle-ring {
    width: 48px;
    height: 48px;
  }

  .tree-circle-inner {
    width: 40px;
    height: 40px;
  }

  .tree-circle-badge {
    display: none;
  }

  .tree-card-title {
    font-size: 1.05rem;
    line-height: 1.3;
    margin-top: 0.25rem;
  }

  .tree-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.5rem 0.25rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    border-radius: 14px;
  }

  .tree-filter-btn {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.45rem 0.85rem;
    flex-shrink: 0;
  }

  .tree-anchor-badge {
    font-size: 0.78rem;
    padding: 0.45rem 0.95rem;
    max-width: 90%;
  }

  /* Modals on Mobile */
  .apple-modal-box {
    width: 94%;
    max-width: 520px;
    padding: 1.6rem 1.25rem;
    border-radius: 22px;
  }

  .apple-modal-close {
    width: 34px;
    height: 34px;
    font-size: 1.25rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  .milestone-modal-box {
    padding: 1.5rem 1.15rem 1.25rem 1.15rem;
  }

  .milestone-modal-nav {
    flex-direction: column-reverse;
    gap: 0.75rem;
  }

  .milestone-modal-nav .btn-apple {
    width: 100%;
    justify-content: center;
  }

  /* Header & Logo Mobile Protection */
  .header-apple {
    height: 64px;
  }

  .navbar-apple {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .logo-apple {
    flex-shrink: 0;
    min-width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10;
  }

  .logo-apple img {
    height: 32px;
    width: auto;
  }

  .logo-apple span {
    font-size: 1.15rem;
    white-space: nowrap;
  }

  .nav-links-apple {
    display: none;
  }

  /* Hide header CTA button on mobile so dark-mode-toggle & hamburger don't crowd/hide the logo */
  .header-apple .btn-apple-primary {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
  }

  [data-theme="dark"] .mobile-toggle {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
  }

  /* CEO Hero Card Mobile Styling */
  .ceo-hero-card {
    padding: 2.25rem 1.25rem 1.75rem 1.25rem;
    margin-bottom: 2.5rem;
    border-radius: 24px;
  }

  .ceo-hero-avatar-wrap {
    width: 165px;
    height: 165px;
    margin-bottom: 1.25rem;
  }

  .ceo-hero-name {
    font-size: 1.85rem;
  }

  .ceo-hero-role {
    font-size: 0.98rem;
  }

  .ceo-hero-title-sub {
    font-size: 0.85rem;
  }

  .ceo-hero-quote {
    font-size: 0.95rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    line-height: 1.55;
  }

  .ceo-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.6rem;
  }

  .ceo-hero-actions .btn-apple {
    width: 100%;
  }

  /* Legacy Tree Timeline Mobile High-Visibility Redesign */
  .legacy-tree-wrapper {
    padding: 1rem 0;
  }

  .tree-trunk-line {
    left: 20px !important;
    transform: none !important;
    width: 3px !important;
  }

  .tree-milestone {
    padding: 0 0 0 52px !important;
    margin-bottom: 2rem !important;
    display: flex !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .tree-milestone.tree-left,
  .tree-milestone.tree-right {
    padding-left: 52px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  .tree-node-marker {
    left: 20px !important;
    top: 14px !important;
    transform: translate(-50%, 0) !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.95), 0 4px 12px rgba(37, 99, 235, 0.3) !important;
  }

  .tree-branch-arm {
    display: none !important;
  }

  .tree-card {
    padding: 1.35rem 1.15rem !important;
    border-radius: 18px !important;
    width: 100% !important;
    text-align: left !important;
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
  }

  [data-theme="dark"] .tree-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
  }

  .tree-card-top-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.85rem !important;
  }

  .tree-circle-wrapper {
    width: 72px !important;
    height: 72px !important;
    margin: 0 0 0.25rem 0 !important;
  }

  .tree-circle-ring {
    width: 72px !important;
    height: 72px !important;
  }

  .tree-circle-inner {
    width: 62px !important;
    height: 62px !important;
  }

  .tree-circle-badge {
    display: inline-block !important;
    bottom: -6px !important;
    font-size: 0.65rem !important;
    padding: 0.15rem 0.5rem !important;
  }

  .tree-card-title {
    font-size: 1.18rem !important;
    line-height: 1.3 !important;
    margin-top: 0.35rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 800 !important;
    color: var(--text-primary) !important;
  }

  .tree-card-desc {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    color: var(--text-secondary) !important;
    margin-bottom: 0.85rem !important;
  }

  .tree-meta-box {
    padding: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    border-radius: 12px !important;
    background: rgba(241, 245, 249, 0.9) !important;
  }

  [data-theme="dark"] .tree-meta-box {
    background: rgba(15, 23, 42, 0.75) !important;
  }

  .tree-meta-title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
    color: var(--royal-blue) !important;
  }

  .tree-meta-row {
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
    color: var(--text-secondary) !important;
  }

  .tree-card-footer {
    padding-top: 0.75rem !important;
    font-size: 0.82rem !important;
  }

  /* Sticky Mobile Action Bar */
  .sticky-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 62px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    z-index: 999;
    padding: 0.5rem 0.85rem;
    gap: 0.65rem;
  }

  [data-theme="dark"] .sticky-mobile-bar {
    background: rgba(15, 23, 42, 0.92);
    border-top-color: rgba(255, 255, 255, 0.1);
  }

  .mobile-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
  }

  .btn-mobile-call {
    background: var(--royal-blue);
    color: #ffffff;
  }

  .btn-mobile-whatsapp {
    background: #25d366;
    color: #ffffff;
  }
}

/* Extra Small Screens (<= 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .apple-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
  }

  .apple-stat-card {
    padding: 1rem 0.5rem;
  }

  .apple-stat-num {
    font-size: 1.45rem;
  }

  .apple-stat-label {
    font-size: 0.72rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .filter-pills {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0.35rem 0;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .filter-pill {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.4rem 0.85rem;
    flex-shrink: 0;
  }
}

