/* ==========================================================================
   NANDAN DIGITAL - HIGH-TECH DUAL CONTRAST DESIGN
   Brand Color: #DE080F (Signature Crimson Energy)
   Typography:
     - Headings & Titles: 'M PLUS 1p', 'Lato'
     - Quotes & Testimonials: 'Noticia Text' (Italic/Bold)
     - Body & Descriptions: 'Roboto', 'Open Sans'
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1p:wght@300;400;500;700;800;900&family=Noticia+Text:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,400&family=Open+Sans:wght@400;600;700&family=Lato:wght@400;700;900&display=swap');

:root {
  /* Signature Brand Red */
  --primary: #DE080F;
  --primary-rgb: 222, 8, 15;
  --primary-light: #FF2E36;
  --primary-dark: #B5060C;
  --primary-deep: #850308;
  --primary-glow: rgba(222, 8, 15, 0.28);
  --primary-subtle: rgba(222, 8, 15, 0.09);
  --primary-border: rgba(222, 8, 15, 0.28);

  /* Light Theme Surfaces */
  --bg-main: #FFFFFF;
  --bg-surface: #F8FAFC;
  --bg-subtle: #F1F5F9;
  --bg-card: #FFFFFF;

  /* Dark Tech Surfaces */
  --bg-dark-base: #06080C;
  --bg-dark-header: rgba(10, 13, 20, 0.92);
  --bg-dark-card: rgba(14, 18, 27, 0.82);
  --bg-dark-footer: #06080C;

  /* Borders & Dividers */
  --border-subtle: #E2E8F0;
  --border-medium: #CBD5E1;
  --border-dark: rgba(255, 255, 255, 0.09);
  --border-dark-hover: rgba(222, 8, 15, 0.45);

  /* Typography / Text Colors */
  --text-dark: #0F172A;
  /* Slate 900 - Primary headings */
  --text-heading: #1E293B;
  /* Slate 800 - Secondary headings */
  --text-body: #334155;
  /* Slate 700 - Body paragraphs */
  --text-muted: #64748B;
  /* Slate 500 - Captions, subtext */
  --text-light: #94A3B8;
  /* Slate 400 - Placeholder */

  /* Dark Section Text */
  --text-dark-white: #FFFFFF;
  --text-dark-gray: #CBD5E1;
  --text-dark-muted: #94A3B8;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 24px 48px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-brand: 0 10px 25px -4px rgba(222, 8, 15, 0.32);

  /* Fonts */
  --font-heading: 'M PLUS 1p', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-quote: 'Noticia Text', Georgia, serif;
  --font-body: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.22s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-body);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.7;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ----------------- Ambient Light Glow & Subtle Grid ----------------- */
.bg-ambient-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(222, 8, 15, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 8, 15, 0.08) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at 50% 25%, black 40%, transparent 85%);
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.45;
  pointer-events: none;
  animation: floatOrb 22s ease-in-out infinite alternate;
}

.glow-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(222, 8, 15, 0.12) 0%, rgba(254, 205, 211, 0.1) 45%, transparent 70%);
  top: -120px;
  right: -100px;
}

.glow-orb-2 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(254, 226, 226, 0.6) 0%, rgba(241, 245, 249, 0.2) 50%, transparent 70%);
  bottom: 25%;
  left: -150px;
  animation-duration: 26s;
}

.glow-orb-3 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(222, 8, 15, 0.08) 0%, transparent 70%);
  top: 55%;
  right: 8%;
  opacity: 0.35;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

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

  100% {
    transform: translate(25px, -30px) scale(0.96);
  }
}

/* ----------------- Typography & Helpers ----------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-font {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  color: var(--text-dark);
  line-height: 1.22;
}

.text-gradient {
  background: linear-gradient(135deg, #DE080F 0%, #B5060C 60%, #850308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-red {
  background: linear-gradient(135deg, #FF6B70 0%, #FFA5A8 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  background: rgba(222, 8, 15, 0.08);
  border: 1px solid rgba(222, 8, 15, 0.28);
  color: var(--primary-dark);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(222, 8, 15, 0.08);
  margin-bottom: 20px;
}

.badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 8, 15, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(222, 8, 15, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(222, 8, 15, 0);
  }
}

.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   1. HEADER (DARK TECH BACKGROUND)
   ========================================================================== */
.navbar {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-smooth);
}

.nav-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-dark-header);
  background-image:
    radial-gradient(circle at 50% 0%, rgba(222, 8, 15, 0.2) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.55), 0 0 20px rgba(222, 8, 15, 0.1);
  transition: var(--transition-smooth);
}

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

.navbar .brand-logo-img {
  /* height: 38px; */
  width: 220px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(222, 8, 15, 0.35));
  transition: var(--transition-fast);
}

.navbar .brand-logo:hover .brand-logo-img {
  transform: scale(1.03);
}

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

.nav-links a {
  font-family: var(--font-heading);
  color: #E2E8F0;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
  cursor: pointer;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #FF575D;
}

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

/* Contact link special pill button style in nav */
.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-contact-link svg {
  color: var(--primary-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* Mobile Drawer (Dark) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 13, 0.75);
  backdrop-filter: blur(8px);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 85px;
  left: 20px;
  right: 20px;
  background-color: #0E121A;
  background-image:
    radial-gradient(circle at 80% 10%, rgba(222, 8, 15, 0.18) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateY(0);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-links a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #E2E8F0;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: rgba(222, 8, 15, 0.15);
  color: #FF575D;
}

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 9999px;
  font-size: 0.93rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  font-family: var(--font-heading);
  letter-spacing: 0.015em;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #AF040A 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-brand);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -4px rgba(222, 8, 15, 0.5);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ----------------- Hero Section ----------------- */
.hero-section {
  position: relative;
  padding-top: 165px;
  padding-bottom: 95px;
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 50% -15%, rgba(222, 8, 15, 0.05) 0%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 55px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}

.hero-description {
  font-family: var(--font-body);
  font-size: 1.12rem;
  color: var(--text-body);
  line-height: 1.78;
  margin-bottom: 34px;
}

.hero-description strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* Metrics Bar */
.hero-metrics-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 22px 26px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 34px;
}

.metric-item {
  border-right: 1px solid var(--border-subtle);
  padding-right: 14px;
}

.metric-item:last-child {
  border-right: none;
  padding-right: 0;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.metric-number .accent {
  color: var(--primary);
  margin-left: 2px;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
  font-weight: 500;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* 3D Tilt Portrait Card */
.hero-visual-wrapper {
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
}

.portrait-card-3d {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 32px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.12), 0 0 35px rgba(222, 8, 15, 0.08);
  padding: 16px;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.portrait-card-3d:hover {
  border-color: rgba(222, 8, 15, 0.45);
  box-shadow: 0 35px 80px -20px rgba(15, 23, 42, 0.18), 0 0 50px rgba(222, 8, 15, 0.16);
}

.portrait-inner-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #F1F5F9;
  aspect-ratio: 4 / 4.8;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: brightness(1.02) contrast(1.02);
}

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

.portrait-glow-ring {
  position: absolute;
  inset: -2px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(222, 8, 15, 0.4) 0%, transparent 40%, rgba(222, 8, 15, 0.3) 100%);
  z-index: -1;
  opacity: 0.5;
  filter: blur(14px);
  transition: opacity 0.4s ease, filter 0.4s ease;
}

.portrait-card-3d:hover .portrait-glow-ring {
  opacity: 0.9;
  filter: blur(24px);
}

.light-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.45) 50%,
      transparent 70%);
  transform: skewX(-20deg);
  pointer-events: none;
  transition: 0.8s ease;
}

.portrait-card-3d:hover .light-shine {
  left: 200%;
}

.floating-stat-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 15px 35px -8px rgba(15, 23, 42, 0.12), 0 0 20px rgba(222, 8, 15, 0.08);
  z-index: 10;
  transform: translateZ(40px);
  transition: var(--transition-smooth);
}

.badge-top-left {
  top: -20px;
  left: -25px;
  animation: floatBadge1 5s ease-in-out infinite alternate;
}

.badge-bottom-right {
  bottom: 20px;
  right: -25px;
  animation: floatBadge2 6s ease-in-out infinite alternate;
}

@keyframes floatBadge1 {
  0% {
    transform: translateZ(40px) translateY(0px);
  }

  100% {
    transform: translateZ(40px) translateY(-10px);
  }
}

@keyframes floatBadge2 {
  0% {
    transform: translateZ(40px) translateY(0px);
  }

  100% {
    transform: translateZ(40px) translateY(10px);
  }
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(222, 8, 15, 0.09);
  border: 1px solid rgba(222, 8, 15, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-content h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--text-dark);
}

.badge-content p {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   2. PARTNER / PEDIGREE BANNER (DARK TECH GRID LINES)
   ========================================================================== */
.partners-section {
  position: relative;
  padding: 55px 0;
  background-color: var(--bg-dark-base);
  background-image:
    radial-gradient(circle at 50% 50%, rgba(222, 8, 15, 0.16) 0%, transparent 60%),
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.partners-header {
  text-align: center;
  margin-bottom: 28px;
}

.partners-header p {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #94A3B8;
  font-weight: 700;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-container:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  height: 64px;
  min-width: 165px;
  transition: var(--transition-fast);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.partner-logo-item:hover {
  background: rgba(222, 8, 15, 0.16);
  border-color: rgba(222, 8, 15, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px -5px rgba(222, 8, 15, 0.35);
}

.partner-logo-item img {
  max-height: 38px;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0.95);
  border-radius: 6px;
  transition: var(--transition-fast);
}

.partner-logo-item:hover img {
  filter: brightness(1.1);
}

.partner-logo-item span {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 800;
  color: #F1F5F9;
  transition: var(--transition-fast);
}

.partner-logo-item:hover span {
  color: #FF575D;
}

/* ----------------- Section Containers ----------------- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 900;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.section-head p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ----------------- Executive Story Section ----------------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.story-card-highlight {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 42px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.story-card-highlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #FF5757);
}

.quote-icon {
  font-family: var(--font-quote);
  font-size: 3rem;
  color: var(--primary);
  line-height: 1;
  opacity: 0.35;
}

.story-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.story-body-text {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.78;
  margin-bottom: 20px;
}

.story-body-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 22px;
}

.author-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 2.5px solid var(--primary);
  object-fit: cover;
  object-position: top;
  box-shadow: var(--shadow-sm);
}

.author-info h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-dark);
}

.author-info p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Timeline Milestones */
.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 18px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(222, 8, 15, 0.2) 100%);
}

.timeline-item {
  position: relative;
  padding-left: 54px;
  transition: var(--transition-fast);
}

.timeline-dot {
  position: absolute;
  top: 6px;
  left: 10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3.5px solid var(--primary);
  box-shadow: 0 0 10px rgba(222, 8, 15, 0.3);
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background: var(--primary);
  transform: scale(1.25);
}

.timeline-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-box {
  background: #FFFFFF;
  border-color: rgba(222, 8, 15, 0.45);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.timeline-year {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.68;
}

.timeline-desc strong {
  color: var(--text-dark);
  font-weight: 700;
}

/* ==========================================================================
   3. CORE COMPETENCIES (HOVER STYLE VISIBLE ON NORMAL VIEW)
   ========================================================================== */
.services-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(222, 8, 15, 0.22);
  border-radius: 24px;
  padding: 34px 28px;
  transition: var(--transition-smooth);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.06), 0 0 12px rgba(222, 8, 15, 0.04);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 4%, var(--primary) 50%, transparent 96%);
  opacity: 1;
  transition: var(--transition-fast);
}

.bento-icon-wrapper {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #B5060C 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px -2px rgba(222, 8, 15, 0.42), 0 0 14px rgba(222, 8, 15, 0.25);
  transition: var(--transition-fast);
}

.bento-icon-wrapper img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition-fast);
}

.bento-card:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.12), 0 0 28px rgba(222, 8, 15, 0.18);
}

.bento-card:hover .bento-icon-wrapper {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 10px 28px rgba(222, 8, 15, 0.55), 0 0 22px var(--primary);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.bento-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.68;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* ==========================================================================
   4. BUSINESS DIAGNOSTIC (REFERENCE IMAGE DARK TECH GRID LINES)
   ========================================================================== */
.section-dark,
#challenges {
  position: relative;
  background-color: var(--bg-dark-base);
  background-image:
    radial-gradient(circle at 50% 5%, rgba(222, 8, 15, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 90% 25%, rgba(222, 8, 15, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 10% 75%, rgba(222, 8, 15, 0.16) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 54px 54px, 54px 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

#challenges .section-head h2 {
  color: #FFFFFF;
}

#challenges .section-head p {
  color: #94A3B8;
}

#challenges .badge-pill {
  background: rgba(222, 8, 15, 0.18);
  border-color: rgba(222, 8, 15, 0.45);
  color: #FFA5A8;
  box-shadow: 0 0 20px rgba(222, 8, 15, 0.25);
}

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

.challenge-card {
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  transition: var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(14px);
}

.challenge-card:hover {
  background: rgba(24, 30, 44, 0.95);
  border-color: rgba(222, 8, 15, 0.5);
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 30px rgba(222, 8, 15, 0.25);
}

.challenge-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  background: rgba(222, 8, 15, 0.18);
  color: #FFA5A8;
  border: 1px solid rgba(222, 8, 15, 0.38);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.challenge-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.challenge-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: #CBD5E1;
  line-height: 1.68;
}

/* ==========================================================================
   5. TESTIMONIAL SLIDER (HIGH CONVERSION CAROUSEL)
   ========================================================================== */
.testimonial-slider-wrapper {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 4px 30px;
  user-select: none;
}

.testimonial-slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 24px;
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 6px 20px -4px rgba(15, 23, 42, 0.06);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.testimonial-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--primary) 50%, transparent 95%);
  opacity: 0;
  transition: var(--transition-fast);
}

.testimonial-slide:hover {
  border-color: rgba(222, 8, 15, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12), 0 0 25px rgba(222, 8, 15, 0.1);
}

.testimonial-slide:hover::before {
  opacity: 1;
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.testimonial-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #F59E0B;
  font-size: 1.05rem;
}

.testimonial-quote-glyph {
  font-family: var(--font-quote);
  font-size: 2.8rem;
  line-height: 0.8;
  color: var(--primary);
  opacity: 0.35;
}

.testimonial-quote {
  font-family: var(--font-quote);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-heading);
  line-height: 1.75;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-client {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.client-avatar-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(222, 8, 15, 0.12) 0%, rgba(222, 8, 15, 0.22) 100%);
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}

.client-info h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.client-info p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--primary-dark);
  font-weight: 700;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 36px;
}

.slider-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.slider-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 18px rgba(222, 8, 15, 0.35);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: var(--border-medium);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dot.active {
  width: 28px;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(222, 8, 15, 0.4);
}

/* ==========================================================================
   5B. MY TALKS — YOUTUBE VIDEO CARDS (DARK RED GRID BACKGROUND)
   ========================================================================== */
.talks-section.full-width-dark-grid {
  position: relative;
  width: 100%;
  padding: 100px 0;
  background-color: #080A10;
  background-image:
    radial-gradient(circle at 25% 20%, rgba(222, 8, 15, 0.38) 0%, transparent 50%),
    radial-gradient(circle at 75% 80%, rgba(222, 8, 15, 0.32) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(222, 8, 15, 0.14) 0%, transparent 65%),
    linear-gradient(to right, rgba(222, 8, 15, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(222, 8, 15, 0.35) 1.5px, transparent 1.5px),
    linear-gradient(to right, rgba(222, 8, 15, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 8, 15, 0.15) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 192px 192px, 192px 192px, 48px 48px, 48px 48px;
  overflow: hidden;
  box-shadow: 
    inset 0 25px 60px rgba(0, 0, 0, 0.75), 
    inset 0 -25px 60px rgba(0, 0, 0, 0.75);
}

/* Laser accent lines top & bottom */
.talks-laser-top,
.talks-laser-bottom {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(222, 8, 15, 0.6) 20%, #FF3E45 50%, rgba(222, 8, 15, 0.6) 80%, transparent 100%);
  box-shadow: 0 0 16px #DE080F, 0 0 32px #DE080F;
  z-index: 3;
}

.talks-laser-top {
  top: 0;
}

.talks-laser-bottom {
  bottom: 0;
}

.talks-head h2 {
  color: #FFFFFF;
}

.talks-head p {
  color: #94A3B8;
}

/* Talk card grid (3 across on desktop) */
.talks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 10px;
}

/* Individual talk card */
.talk-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-fast);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.talk-card:hover {
  border-color: rgba(222, 8, 15, 0.45);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(222, 8, 15, 0.18), 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Thumbnail wrapper (16:9 ratio) */
.talk-thumbnail-wrap {
  position: relative;
  width: 100%;
}

.talk-thumbnail {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  background: #0C0E15;
  cursor: pointer;
}

.talk-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.talk-card:hover .talk-thumbnail img {
  transform: scale(1.04);
  filter: brightness(0.85);
}

/* Play button overlay */
.talk-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(222, 8, 15, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 0 24px rgba(222, 8, 15, 0.5), 0 8px 20px rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
  z-index: 2;
}

.talk-card:hover .talk-play-btn {
  background: #DE080F;
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 36px rgba(222, 8, 15, 0.7), 0 10px 28px rgba(0, 0, 0, 0.5);
}

/* YouTube badge on thumbnail */
.talk-yt-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFF;
  z-index: 2;
}

/* Talk card info section */
.talk-info {
  padding: 22px 20px;
}

.talk-info h4 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.3;
}

.talk-info p {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.6;
  margin-bottom: 14px;
}

/* YouTube watch link */
.talk-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #FF575D;
  text-decoration: none;
  transition: var(--transition-fast);
}

.talk-yt-link:hover {
  color: #FFFFFF;
  gap: 10px;
}

/* YouTube Channel CTA Button */
.talks-yt-cta {
  text-align: center;
  margin-top: 40px;
}

.btn-yt-channel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-fast);
}

.btn-yt-channel:hover {
  background: #DE080F;
  border-color: #DE080F;
  box-shadow: 0 0 24px rgba(222, 8, 15, 0.5);
}

/* ==========================================================================
   5C. TESTIMONIAL CARD — CLIENT COMPANY LOGO BAR
   ========================================================================== */
.client-logo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  min-height: 48px;
}

.client-company-logo {
  height: 36px;
  max-width: 130px;
  object-fit: contain;
  object-position: left center;
  transition: var(--transition-fast);
}

.testimonial-card:hover .client-company-logo {
  transform: scale(1.05);
}

/* ==========================================================================
   6. EXPONENTIAL GROWTH BLUEPRINT (FULL WIDTH DARK TECH GRID)
   ========================================================================== */
.cta-banner-section.full-width-banner {
  position: relative;
  width: 100%;
  padding: 110px 0;
  background-color: #080A10;
  background-image:
    /* Ambient brand glow points */
    radial-gradient(circle at 18% 28%, rgba(222, 8, 15, 0.42) 0%, transparent 48%),
    radial-gradient(circle at 82% 72%, rgba(222, 8, 15, 0.35) 0%, transparent 48%),
    radial-gradient(circle at 50% 50%, rgba(222, 8, 15, 0.18) 0%, transparent 65%),
    /* Major brand color (#DE080F) grid lines */
    linear-gradient(to right, rgba(222, 8, 15, 0.38) 1.5px, transparent 1.5px),
    linear-gradient(to bottom, rgba(222, 8, 15, 0.38) 1.5px, transparent 1.5px),
    /* Minor brand color (#DE080F) grid lines */
    linear-gradient(to right, rgba(222, 8, 15, 0.18) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(222, 8, 15, 0.18) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 192px 192px, 192px 192px, 48px 48px, 48px 48px;
  border-top: 2px solid rgba(222, 8, 15, 0.6);
  border-bottom: 2px solid rgba(222, 8, 15, 0.6);
  overflow: hidden;
  box-shadow: 
    inset 0 25px 60px rgba(0, 0, 0, 0.75), 
    inset 0 -25px 60px rgba(0, 0, 0, 0.75),
    0 0 40px rgba(222, 8, 15, 0.2);
}

/* Glowing brand laser accent lines along banner top & bottom */
.cta-banner-section.full-width-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(222, 8, 15, 0.6) 20%, #FF3E45 50%, rgba(222, 8, 15, 0.6) 80%, transparent 100%);
  box-shadow: 0 0 16px #DE080F, 0 0 32px #DE080F;
  z-index: 3;
}

.cta-banner-section.full-width-banner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(222, 8, 15, 0.6) 20%, #FF3E45 50%, rgba(222, 8, 15, 0.6) 80%, transparent 100%);
  box-shadow: 0 0 16px #DE080F, 0 0 32px #DE080F;
  z-index: 3;
}

.cta-banner-section.full-width-banner .cta-banner-bg-graphic,
.talks-section.full-width-dark-grid .cta-banner-bg-graphic {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}

.cta-banner-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 55px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-banner-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 18px;
  line-height: 1.18;
  color: #FFFFFF;
}

.cta-banner-content p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #E2E8F0;
  margin-bottom: 28px;
  line-height: 1.75;
}

.cta-badge-pill {
  background: rgba(222, 8, 15, 0.2);
  color: #FFA5A8;
  border-color: rgba(222, 8, 15, 0.45);
}

.cta-pills-wrap {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.cta-pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cta-pill-item span {
  font-size: 0.94rem;
  color: #F8FAFC;
  font-weight: 600;
}

.cta-form-glass {
  position: relative;
  z-index: 2;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 26px;
  padding: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1.5px solid var(--border-medium);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(222, 8, 15, 0.18);
}

/* ==========================================================================
   7. FOOTER (DARK TECH GRID LINES)
   ========================================================================== */
.site-footer {
  position: relative;
  padding: 85px 0 35px;
  background-color: var(--bg-dark-footer);
  background-image:
    radial-gradient(circle at 80% 90%, rgba(222, 8, 15, 0.14) 0%, transparent 50%),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 54px 54px, 54px 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.footer-bg-graphic {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center bottom;
  opacity: 0.16;
  pointer-events: none;
}

.site-footer .brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.1fr;
  gap: 50px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.footer-brand p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #94A3B8;
  margin-top: 18px;
  margin-bottom: 24px;
  max-width: 340px;
  line-height: 1.68;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFFFFF;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--font-body);
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  transition: var(--transition-fast);
  cursor: pointer;
}

.footer-links a:hover {
  color: #FF575D;
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-contact-item svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a {
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: #FF575D;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: #64748B;
  position: relative;
  z-index: 2;
}

.footer-bottom a {
  color: #94A3B8;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: #FF575D;
}

.social-pills {
  display: flex;
  gap: 10px;
}

.social-pill {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  text-decoration: none;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.social-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(222, 8, 15, 0.45);
}

/* ==========================================================================
   8. SAVE CONTACT MODAL POPUP
   ========================================================================== */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 13, 0.76);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.contact-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-card {
  background: #FFFFFF;
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  padding: 34px 28px;
  position: relative;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.45);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.contact-modal-overlay.active .contact-modal-card {
  transform: scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.contact-modal-close:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.contact-avatar-wrap {
  width: 82px;
  height: 82px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  padding: 3px;
  box-shadow: 0 8px 24px rgba(222, 8, 15, 0.25);
}

.contact-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
}

.contact-modal-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-modal-card p.role-subtitle {
  font-size: 0.92rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-modal-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(222, 8, 15, 0.08);
  border: 1px solid rgba(222, 8, 15, 0.28);
  padding: 9px 20px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 22px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.contact-modal-phone:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.contact-modal-actions {
  display: flex;
  flex-direction: column;
}

.contact-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition-fast);
}

.contact-action-btn.btn-save-vcf {
  background: linear-gradient(135deg, var(--primary) 0%, #AF040A 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(222, 8, 15, 0.35);
}

.contact-action-btn.btn-save-vcf:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(222, 8, 15, 0.5);
}

.contact-action-btn.btn-call {
  background: #0F172A;
  color: #FFFFFF;
}

.contact-action-btn.btn-call:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

.contact-action-btn.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
}

.contact-action-btn.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT PAGE STYLING
   ========================================================================== */
.about-hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 80px;
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.5) 0%, var(--bg-main) 100%);
  overflow: hidden;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

.breadcrumb-nav .sep {
  color: var(--text-light);
}

.breadcrumb-nav .current {
  color: var(--primary);
}

.about-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 60px;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 22px;
  color: var(--text-dark);
}

.about-hero-lead {
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-visual-showcase {
  position: relative;
}

.about-main-photo-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 32px;
  padding: 16px;
  box-shadow: var(--shadow-xl);
}

.about-main-photo-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #F1F5F9;
  aspect-ratio: 4 / 4.7;
}

.about-main-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.about-main-photo-card:hover .about-main-photo-frame img {
  transform: scale(1.04);
}

.about-floating-experience {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.16);
  z-index: 5;
}

.experience-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.experience-text h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.experience-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.about-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.about-stat-box {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  text-align: center;
}

.about-stat-box:hover {
  border-color: rgba(222, 8, 15, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.about-stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.about-stat-number span.accent {
  color: var(--primary);
}

.about-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.story-chapter {
  padding: 85px 0;
  position: relative;
}

.story-chapter:nth-child(even) {
  background: var(--bg-surface);
}

.chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.chapter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(222, 8, 15, 0.08);
  color: var(--primary);
  border: 1px solid rgba(222, 8, 15, 0.2);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chapter-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.chapter-text {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 20px;
}

.chapter-text strong {
  color: var(--text-dark);
  font-weight: 700;
}

.chapter-quote-box {
  background: #FFFFFF;
  border-left: 4px solid var(--primary);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-heading);
  line-height: 1.6;
}

.chapter-image-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 28px;
  padding: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.chapter-image-inner {
  border-radius: 20px;
  overflow: hidden;
  background: #F1F5F9;
}

.chapter-image-inner img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.chapter-image-card:hover .chapter-image-inner img {
  transform: scale(1.04);
}

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

.pillar-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid rgba(222, 8, 15, 0.22);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, var(--primary) 50%, transparent 95%);
  opacity: 1;
}

.pillar-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 20px 42px -10px rgba(15, 23, 42, 0.12), 0 0 28px rgba(222, 8, 15, 0.16);
}

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary) 0%, #AF040A 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: 22px;
  box-shadow: 0 8px 22px -2px rgba(222, 8, 15, 0.42);
  transition: var(--transition-fast);
}

.pillar-card:hover .pillar-icon-box {
  transform: scale(1.08) rotate(4deg);
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.pillar-desc {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.7;
}

.about-timeline-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.about-timeline-wrap::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(222, 8, 15, 0.15) 100%);
}

.about-timeline-step {
  position: relative;
  padding-left: 60px;
  margin-bottom: 35px;
}

.about-timeline-step:last-child {
  margin-bottom: 0;
}

.about-timeline-node {
  position: absolute;
  top: 6px;
  left: 11px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--primary);
  box-shadow: 0 0 10px rgba(222, 8, 15, 0.25);
  transition: var(--transition-fast);
}

.about-timeline-step:hover .about-timeline-node {
  background: var(--primary);
  transform: scale(1.2);
}

.about-timeline-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.about-timeline-step:hover .about-timeline-card {
  border-color: rgba(222, 8, 15, 0.4);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.about-timeline-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.about-timeline-header h3 {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-dark);
}

.about-timeline-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  background: rgba(222, 8, 15, 0.08);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* ==========================================================================
   AOS (ANIMATE ON SCROLL) NATIVE FALLBACK STYLES
   ========================================================================== */
[data-aos] {
  transition-property: transform, opacity;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

[data-aos="fade-up"] {
  transform: translateY(32px);
  opacity: 0;
}

[data-aos="fade-down"] {
  transform: translateY(-32px);
  opacity: 0;
}

[data-aos="fade-right"] {
  transform: translateX(-35px);
  opacity: 0;
}

[data-aos="fade-left"] {
  transform: translateX(35px);
  opacity: 0;
}

[data-aos="zoom-in"] {
  transform: scale(0.92);
  opacity: 0;
}

[data-aos].aos-animate {
  transform: translate(0) scale(1);
  opacity: 1;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN (TABLET & MOBILE AUDIT)
   ========================================================================== */

/* ----------------- Large Tablets & iPad Pro (max-width: 1024px) ----------------- */
@media (max-width: 1024px) {
  .navbar {
    top: 12px;
  }

  .nav-wrapper {
    padding: 8px 20px;
  }

  .navbar .brand-logo-img {
    width: 175px;
  }

  .nav-links {
    display: none; /* Switch to clean mobile drawer menu on tablets to avoid squishing */
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    max-width: 720px;
    margin: 0 auto;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-metrics-bar {
    grid-template-columns: repeat(4, 1fr);
    margin: 32px auto 0;
  }

  .hero-visual-wrapper {
    order: -1;
    margin: 0 auto;
  }

  .portrait-card-3d {
    margin: 0 auto;
    max-width: 360px;
    height: 440px;
  }

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

  .challenges-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .testimonial-slide {
    flex: 0 0 calc((100% - 24px) / 2); /* 2 cards visible on tablet */
  }

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

  .cta-banner-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-banner-section.full-width-banner {
    padding: 75px 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }

  .about-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-hero-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .about-stats-strip {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .talks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .talks-section.full-width-dark-grid {
    padding: 70px 0;
  }
}

/* ----------------- Standard Tablets & iPad Portrait (max-width: 900px) ----------------- */
@media (max-width: 900px) {
  .hero-metrics-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

  .talks-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ----------------- Mobile Devices & Small Tablets (max-width: 768px) ----------------- */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
.story-card-highlight {
    padding: 20px;
}
  .navbar {
    top: 10px;
  }

  .nav-wrapper {
    padding: 8px 16px;
    border-radius: 20px;
  }

  .navbar .brand-logo-img {
    width: 160px;
  }

  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .about-hero {
    padding-top: 110px;
    padding-bottom: 50px;
  }

  .services-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-card {
    padding: 26px 20px;
  }

  .testimonial-slide {
    flex: 0 0 100%; /* 1 card visible on mobile */
  }

  .testimonial-slider-wrapper {
    padding: 10px 0 20px;
  }

  .testimonial-card {
    padding: 26px 20px;
  }

  .talks-section.full-width-dark-grid {
    padding: 55px 0;
  }

  .talk-info {
    padding: 18px 16px;
  }

  .talk-info h4 {
    font-size: 1rem;
  }

  .talk-play-btn {
    width: 50px;
    height: 50px;
  }

  .metric-item {
    border-right: none;
    border-bottom: none;
    background: rgba(222, 8, 15, 0.04);
    border: 1px solid rgba(222, 8, 15, 0.12);
    border-radius: 16px;
    padding: 14px 12px;
  }

  .metric-number {
    font-size: 1.85rem;
  }

  .floating-stat-badge,
  .about-floating-experience {
    display: none;
  }

  .cta-banner-section.full-width-banner {
    padding: 60px 0;
  }

  .cta-banner-content h2 {
    font-size: clamp(1.85rem, 6vw, 2.4rem);
  }

  .cta-form-glass {
    padding: 26px 20px;
    border-radius: 22px;
  }

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

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

  .contact-modal-card {
    padding: 28px 20px;
    max-height: 88vh;
    overflow-y: auto;
  }

  .about-timeline-step {
    padding-left: 50px;
    margin-bottom: 26px;
  }

  .about-timeline-wrap::before {
    left: 16px;
  }

  .about-timeline-node {
    left: 7px;
    width: 18px;
    height: 18px;
  }

  .about-timeline-card {
    padding: 20px 18px;
  }
}

/* ----------------- Compact Phones (max-width: 540px) ----------------- */
@media (max-width: 540px) {
  .hero-title {
    font-size: clamp(1.85rem, 7.5vw, 2.5rem);
  }
.story-card-highlight {
    padding: 20px;
}
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .portrait-card-3d {
    max-width: 310px;
    height: 380px;
  }

  .cta-pills-wrap {
    flex-direction: column;
    gap: 12px;
  }

  .cta-form-glass {
    padding: 22px 16px;
  }

  .form-control {
    font-size: 16px; /* Prevents auto-zoom on iOS Safari */
    padding: 13px 14px;
  }

  .btn {
    padding: 13px 20px;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .contact-modal-actions .contact-action-btn {
    padding: 13px 14px;
    font-size: 0.88rem;
  }

  .slider-controls {
    gap: 14px;
  }

  .slider-arrow-btn {
    width: 44px;
    height: 44px;
  }

  .about-stats-strip {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ----------------- Extra Small Devices (max-width: 380px) ----------------- */
@media (max-width: 380px) {
  .navbar .brand-logo-img {
    width: 135px;
  }

  .nav-actions .btn {
    padding: 7px 11px;
    font-size: 0.8rem;
  }

  .badge-pill {
    padding: 5px 12px;
    font-size: 0.74rem;
  }

  .metric-number {
    font-size: 1.6rem;
  }
}
