/* ============================================================
   MANFILL TECH — Design System
   Premium Enterprise Website
   ============================================================ */

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

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --midnight-navy: #081B4B;
  --electric-blue: #00AEEF;
  --neon-cyan: #4CF2FF;
  --premium-white: #F8FAFC;
  --silver-start: #E2E8F0;
  --silver-end: #FFFFFF;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --border-glass: rgba(255, 255, 255, 0.18);
  --shadow-glass: 0 8px 32px rgba(8, 27, 75, 0.08);
  --shadow-card: 0 4px 24px rgba(8, 27, 75, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 174, 239, 0.15);
  --shadow-glow: 0 0 30px rgba(76, 242, 255, 0.2);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fs-hero: clamp(2.5rem, 5vw, 4.5rem);
  --fs-h1: clamp(2rem, 4vw, 3.5rem);
  --fs-h2: clamp(1.75rem, 3vw, 2.75rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;
  --lh-heading: 1.15;
  --lh-body: 1.7;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
  --fw-black: 900;

  /* Spacing */
  --section-padding: clamp(2.5rem, 5vw, 4.5rem);
  --container-max: 1280px;
  --container-padding: clamp(1.5rem, 4vw, 3rem);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background-color: var(--premium-white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-family);
  cursor: pointer;
  border: none;
  background: none;
}
.glass-card__image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: 16px;
  margin-bottom: 1.5rem;
}

.glass-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.glass-card:hover .glass-card__image img {
  transform: scale(1.05);
}
/* ============================================================
   3. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section--dark {
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0A2463 50%, #0D2E6B 100%);
  color: #fff;
}

.section--gradient {
  background: linear-gradient(180deg, var(--silver-start) 0%, var(--silver-end) 100%);
}

/* ============================================================
   4. TYPOGRAPHY
   ============================================================ */
.headline-hero {
  font-size: var(--fs-hero);
  font-weight: var(--fw-black);
  line-height: var(--lh-heading);
  letter-spacing: -0.03em;
  color: var(--midnight-navy);
}

.headline-section {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  line-height: var(--lh-heading);
  letter-spacing: -0.02em;
  color: var(--midnight-navy);
  text-align: center;
  margin-bottom: 1rem;
}

.headline-section--light {
  color: #fff;
}

.subheadline {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.subheadline--light {
  color: rgba(255, 255, 255, 0.75);
}

.label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--electric-blue);
  margin-bottom: 0.75rem;
  display: inline-block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: linear-gradient(135deg, var(--electric-blue), #0098D4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 174, 239, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 174, 239, 0.45);
}

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

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

.btn--outline {
  border: 1.5px solid var(--midnight-navy);
  color: var(--midnight-navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--midnight-navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}

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

.btn--glow {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
  color: var(--midnight-navy);
  font-weight: var(--fw-bold);
  box-shadow: 0 0 20px rgba(76, 242, 255, 0.3);
}

.btn--glow:hover {
  box-shadow: 0 0 40px rgba(76, 242, 255, 0.5);
  transform: translateY(-2px) scale(1.02);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-left: 80px;

}

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding: 0.6rem 0;
  box-shadow: 0 1px 20px rgba(8, 27, 75, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.nav__logo img {
  height: 120px;
  width: auto;
}

.nav__logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
}

.nav__logo-name {
  font-family: var(--font-family);
  font-size: 1.45rem;
  font-weight: var(--fw-extrabold);
  color: var(--midnight-navy);
  letter-spacing: -0.02em;
}

.nav__logo-sub {
  font-family: var(--font-family);
  font-size: 0.725rem;
  font-weight: var(--fw-bold);
  color: var(--electric-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--electric-blue);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--neon-cyan));
  border-radius: 1px;
  transition: width var(--transition-base);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 0.5rem;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--midnight-navy);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F7 30%, #E8EDF5 60%, #F0F4F9 100%);
  padding-top: 5rem;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  max-width: 600px;
}

.hero__tagline {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--electric-blue);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 174, 239, 0.08);
  border: 1px solid rgba(0, 174, 239, 0.15);
  border-radius: var(--radius-full);
}

.hero__title--single {
  font-size: clamp(2rem, 4vw, 4.5rem);
  line-height: 1.1;
  max-width: 1100px;
  margin-left: 80px;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #0099FF 0%,
    #0066FF 50%,
    #00D4FF 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #334155;
  max-width: 700px;
  margin-bottom: 2.5rem;
  font-weight: 400;
   margin-left: 80px;
}

.hero__subtitle strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0099FF;
  margin-bottom: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
   
}


.hero {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;

    background-image: url('../images/manfill-tech-logo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero__inner {
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero__content {
    max-width: 900px;
    margin-left: 40px;
}

/* ============================================================
   8. TRUST STRIP
   ============================================================ */
.trust-strip {
  padding: 3rem 0;
  background: var(--premium-white);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  overflow: hidden;
}

.trust-strip__title {
  text-align: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.trust-strip__track {
  display: flex;
  gap: 3.5rem;
  animation: scrollStrip 3s linear infinite;
  width: max-content;
}

.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  opacity: 1;
  transition: opacity var(--transition-base);
}

.trust-strip__item:hover {
  opacity: 1;
}

.trust-strip__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00AEEF;
  transition: all 0.3s ease;
}

.trust-strip__item:hover .trust-strip__icon {
  color: #0066FF;
  transform: translateY(-3px) scale(1.1);
}

.trust-strip__icon svg {
  width: 32px;
  height: 32px;
}

.trust-strip__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  white-space: nowrap;
}

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

/* ============================================================
   9. GLASS CARD
   ============================================================ */
.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--electric-blue), var(--neon-cyan));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 174, 239, 0.2);
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(76, 242, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--electric-blue);
  transition: all var(--transition-base);
}

.glass-card:hover .glass-card__icon {
  background: linear-gradient(135deg, var(--electric-blue), #0098D4);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 174, 239, 0.3);
}

.glass-card__icon svg {
  width: 28px;
  height: 28px;
}

.glass-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 0.5rem;
}

.glass-card__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================================
   10. GRID LAYOUTS
   ============================================================ */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ============================================================
   11. MARKET SHIFT (Two Column)
   ============================================================ */
.market-shift__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(8, 27, 75, 0.1);
}

.market-shift__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.market-shift__image:hover img {
  transform: scale(1.03);
}

.market-shift__content {
  padding-left: 2rem;
}

.market-shift__list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.market-shift__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-body);
  color: var(--text-secondary);
}

.market-shift__item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* ============================================================
   12. ECOSYSTEM
   ============================================================ */
.ecosystem-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  animation: cardFloat 6s ease-in-out infinite;
}

.ecosystem-card:nth-child(2) { animation-delay: -1.5s; }
.ecosystem-card:nth-child(3) { animation-delay: -3s; }
.ecosystem-card:nth-child(4) { animation-delay: -4.5s; }

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.ecosystem-card:hover {
  transform: translateY(-12px) !important;
  box-shadow: var(--shadow-hover);
}

.ecosystem-card__image {
  height: 180px;
  overflow: hidden;
}

.ecosystem-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.ecosystem-card:hover .ecosystem-card__image img {
  transform: scale(1.08);
}

.ecosystem-card__body {
  padding: 1.5rem;
}

.ecosystem-card__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 0.35rem;
}

.ecosystem-card__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

/* ============================================================
   13. INDUSTRIES (Globe Visual)
   ============================================================ */
.industries__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.industries__globe {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-visual {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #1a3a7a, var(--midnight-navy), #050f2e);
  position: relative;
  box-shadow: 0 0 60px rgba(0, 174, 239, 0.2), inset 0 0 40px rgba(0, 174, 239, 0.1);
  animation: rotateGlobe 20s linear infinite;
}

@keyframes rotateGlobe {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.globe-visual::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid rgba(0, 174, 239, 0.2);
}

.globe-visual::after {
  content: '';
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  border: 1px dashed rgba(76, 242, 255, 0.15);
  animation: rotateGlobe 15s linear infinite reverse;
}

.globe-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: dotPulse 2s ease-in-out infinite;
}

.globe-dot:nth-child(1) { top: 20%; left: 40%; animation-delay: 0s; }
.globe-dot:nth-child(2) { top: 35%; left: 70%; animation-delay: 0.4s; }
.globe-dot:nth-child(3) { top: 55%; left: 25%; animation-delay: 0.8s; }
.globe-dot:nth-child(4) { top: 70%; left: 55%; animation-delay: 1.2s; }
.globe-dot:nth-child(5) { top: 45%; left: 50%; animation-delay: 1.6s; }

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.5); opacity: 1; }
}

.industries__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: var(--radius-md);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--text-primary);
  transition: all var(--transition-base);
  cursor: default;
}

.industry-tag:hover {
  border-color: var(--electric-blue);
  background: rgba(0, 174, 239, 0.05);
  transform: translateX(4px);
  box-shadow: 0 2px 12px rgba(0, 174, 239, 0.1);
}

.industry-tag__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--electric-blue);
  flex-shrink: 0;
}

/* ============================================================
   14. PROCESS (Horizontal Timeline)
   ============================================================ */
.process__timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  margin-top: 4rem;
  padding: 0 2rem;
}

.process__timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--electric-blue), var(--neon-cyan), var(--electric-blue));
}

.process__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 200px;
  position: relative;
  z-index: 1;
}

.process__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.1), rgba(76, 242, 255, 0.05));
  border: 2px solid rgba(0, 174, 239, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--electric-blue);
  transition: all var(--transition-base);
  font-size: 1.75rem;
}

.process__step:hover .process__icon {
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 30px rgba(0, 174, 239, 0.3);
  transform: scale(1.1);
}

.process__label {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 0.25rem;
}

.process__desc {
  font-size: var(--fs-small);
  color: var(--text-secondary);
}

/* ============================================================
   15. IMPACT (Counters)
   ============================================================ */
.impact__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.impact__item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(76, 242, 255, 0.1);
  transition: all var(--transition-base);
}

.impact__item:hover {
  border-color: rgba(76, 242, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.impact__number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-black);
  background: linear-gradient(135deg, var(--electric-blue), var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.impact__label {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  font-weight: var(--fw-medium);
}

/* ============================================================
   16. SUCCESS STORIES (Carousel)
   ============================================================ */
.carousel {
  position: relative;
  overflow: hidden;
  margin-top: 3rem;
}

.carousel__track {
  display: flex;
  transition: transform var(--transition-slow);
}

.carousel__slide {
  min-width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: center;
}

.story-card {
  max-width: 800px;
  width: 100%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-glass);
}

.story-card__label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--electric-blue);
  margin-bottom: 1rem;
}

.story-card__title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 1.5rem;
}

.story-card__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.story-card__section h4 {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.story-card__section p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

.carousel__controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(8, 27, 75, 0.15);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel__dot.active {
  background: var(--electric-blue);
  width: 32px;
  border-radius: 5px;
}


/* ==========================================
   CEO / FOUNDER MESSAGE SECTION
========================================== */

.ceo {
  padding: 120px 0;
  background: #ffffff;
}

.ceo-modern {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: start;
}

.ceo-modern__left {
  position: sticky;
  top: 120px;
}

.ceo-modern__title {
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 1;
  margin-top: 20px;
  color: #081B4B;
}

.ceo-modern__person {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,.1);
}

.ceo-modern__person h4 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.ceo-modern__person span {
  color: #00AEEF;
  font-weight: 600;
}

.ceo-modern__right {
  font-size: 1.25rem;
  line-height: 2;
  color: #475569;
}

.ceo-modern__right p {
  margin-bottom: 30px;
}

.ceo-modern__right .btn {
  margin-top: 20px;
}
/* ============================================================
   18. CTA SECTION
   ============================================================ */
.cta-section {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, var(--midnight-navy) 0%, #0A2463 50%, #0D2E6B 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0, 174, 239, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(76, 242, 255, 0.2) 0%, transparent 50%);
}

/* Network lines background */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(76, 242, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 242, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 70%);
}

.cta-section__content {
  position: relative;
  z-index: 1;
}

.cta-section__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  color: #fff;
  margin-bottom: 1rem;
}

.cta-section__subtitle {
  font-size: var(--fs-body);
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}


/* ============================================================
   19. SERVICE PAGE HERO
   ============================================================ */
.page-hero {
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F7 50%, #E8EDF5 100%);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.page-hero__title {
  font-size: var(--fs-h1);
  font-weight: var(--fw-extrabold);
  color: var(--midnight-navy);
  margin-bottom: 1rem;
  line-height: var(--lh-heading);
}

.page-hero__subtitle {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
}

.page-hero__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(8, 27, 75, 0.12);
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   20. SERVICE SECTIONS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-detail {
  padding: var(--section-padding) 0;
}

.service-detail:nth-child(even) {
  background: linear-gradient(180deg, var(--silver-start) 0%, var(--silver-end) 100%);
}

/* ============================================================
   21. ABOUT TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 3rem 0;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--electric-blue), var(--neon-cyan), var(--electric-blue));
}

.timeline__item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline__item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2.5rem);
  text-align: right;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2.5rem);
}

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--electric-blue);
  border: 3px solid var(--premium-white);
  box-shadow: 0 0 0 3px var(--electric-blue), 0 0 15px rgba(0, 174, 239, 0.3);
  z-index: 1;
}

.timeline__year {
  font-size: var(--fs-h3);
  font-weight: var(--fw-extrabold);
  color: var(--electric-blue);
  margin-bottom: 0.25rem;
}

.timeline__title {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--midnight-navy);
  margin-bottom: 0.35rem;
}

.timeline__text {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer {
  background: var(--midnight-navy);
  color: #fff;
  padding: 4rem 0 2rem;
}

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

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}

.footer__logo img {
  height: 48px;
  width: auto;
}

.footer__logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.0;
}

.footer__logo-name {
  font-family: var(--font-family);
  font-size: 1.6rem;
  font-weight: var(--fw-extrabold);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.footer__logo-sub {
  font-family: var(--font-family);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  color: var(--electric-blue);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 2px;
}

.footer__tagline {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.25rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer__link:hover {
  color: var(--neon-cyan);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.footer__contact-icon {
  color: var(--electric-blue);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer__contact-icon svg {
  width: 16px;
  height: 16px;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition-fast);
}

.footer__social-link:hover {
  border-color: var(--electric-blue);
  color: var(--electric-blue);
  background: rgba(0, 174, 239, 0.1);
}

.footer__social-link svg {
  width: 16px;
  height: 16px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================================
   23. ANIMATIONS (Scroll Reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--left {
  transform: translateX(-20px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(20px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.45s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   24. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .impact__grid { grid-template-columns: repeat(2, 1fr); }
  .industries__grid { grid-template-columns: 1fr; gap: 2rem; }
  .industries__globe { display: none; }
  .industries__list { grid-template-columns: repeat(3, 1fr); }
  .ceo__inner { grid-template-columns: 300px 1fr; gap: 2.5rem; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .story-card__grid { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 768px) {
  .hero__inner { 
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 2rem;
  }
  .hero__content { max-width: 100%; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .btn-group { justify-content: center; }
  .hero__visual { order: -1; }
  .hero__image { max-width: 320px; }

  .nav__links { 
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav__links.active { display: flex; }
  .nav__hamburger { display: flex; z-index: 1001; }
  .nav__cta { margin-left: 0; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .impact__grid { grid-template-columns: 1fr 1fr; }

  .process__timeline {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0;
  }
  .process__timeline::before {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
  }

  .page-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .page-hero__subtitle { margin: 0 auto; }

  .ceo__inner { grid-template-columns: 1fr; text-align: center; }
  .ceo__image-wrap { max-width: 300px; margin: 0 auto; }
  .ceo__content { padding-right: 0; }
  .ceo__quote { text-align: left; }

  .market-shift__content { padding-left: 0; }

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

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

  .timeline__item:nth-child(odd),
  .timeline__item:nth-child(even) {
    flex-direction: column;
    padding: 0 0 0 3rem;
    text-align: left;
  }
  .timeline::before { left: 8px; }
  .timeline__dot { left: 8px; }
}

@media (max-width: 480px) {
  .impact__grid { grid-template-columns: 1fr; }
  .industries__list { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 7rem 0 3rem; }
}

/* ============================================================
   25. PARTICLE CANVAS (Hero Background)
   ============================================================ */
#neural-canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   26. MISC UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Page Hero with overlay gradient */
.page-hero__image-overlay {
  position: relative;
}

.page-hero__image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.08), transparent);
}
