/* =============================================================================
   NKRAN DIGITAL HUB - ABOUT PAGE STYLES
   Organized: Variables → Reset → Base → Components → Layout → Animations → Responsive
   ============================================================================= */

/* ===== 1. CORE VARIABLES & CONFIG ===== */
:root {
  /* Colors */
  --bg-primary: #0A192F;
  --bg-secondary: #112240;
  --bg-tertiary: #1a3a5c;
  --accent-cyan: #00D4FF;
  --accent-cyan-glow: rgba(0, 212, 255, 0.6);
  --accent-green: #39FF14;
  --accent-green-glow: rgba(57, 255, 20, 0.4);
  --text-primary: #FFFFFF;
  --text-secondary: #E5E7EB;
  --text-muted: #8892B0;

  /* Typography */
  --font-heading: 'Orbitron', sans-serif;
  --font-sub: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Animation & Transitions */
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --transition-smooth: all 0.3s ease;

  /* Layout */
  --radius: 16px;
  --radius-lg: 24px;

  /* Shadows & Effects */
  --shadow-glow: 0 0 20px var(--accent-cyan-glow);
  --shadow-glow-green: 0 0 15px var(--accent-green-glow);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.5);
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan), #0099cc);
  --gradient-glow: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  --particle-color: rgba(0, 212, 255, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Glow */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 25%),
    radial-gradient(circle at 90% 80%, rgba(57, 255, 20, 0.06) 0%, transparent 30%),
    radial-gradient(circle at 50% 50%, rgba(100, 100, 255, 0.04) 0%, transparent 40%);
  z-index: -3;
  animation: bgPulse 20s ease-in-out infinite alternate;
}

@keyframes bgPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

/* Base Elements */
a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

ul { list-style: none; }

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

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-cyan);
  color: var(--bg-primary);
  padding: 0.5rem 1rem;
  z-index: 10000;
  transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ===== SCROLL ANIMATION SYSTEM ===== */
/* Initial state for animated elements */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation variants */
.animate-on-scroll.slide-left {
  transform: translateX(-50px);
}

.animate-on-scroll.slide-right {
  transform: translateX(50px);
}

.animate-on-scroll.fade-in {
  transform: translateY(0);
}

.animate-on-scroll.zoom-in {
  transform: scale(0.8);
}

/* Animated state - triggered when in viewport */
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger delays for multiple elements */
.animate-on-scroll:nth-child(1) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(2) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.4s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.5s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.6s; }

/* ===== 3. PARTICLE BACKGROUND ===== */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* ===== 4. NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 1.2rem 5%;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 212, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.navbar.scrolled {
  padding: 0.8rem 5%;
  background: rgba(10, 25, 47, 0.95);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
  border-bottom-color: var(--accent-cyan);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-cyan);
  position: relative;
  text-shadow: 0 0 10px var(--accent-cyan-glow);
  animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
  from { text-shadow: 0 0 5px var(--accent-cyan-glow); }
  to { text-shadow: 0 0 20px var(--accent-cyan-glow), 0 0 30px var(--accent-cyan); }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-nkran { font-weight: 900; letter-spacing: 1px; }
.logo-digital {
  font-size: 0.85em;
  color: var(--text-secondary);
  font-weight: 600;
}

.nav-menu { display: flex; gap: 2.2rem; }

.nav-link {
  font-family: var(--font-sub);
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
  letter-spacing: 0.5px;
  transition: var(--transition-smooth);
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 50%; left: -5px;
  width: 3px; height: 0;
  background: var(--accent-cyan);
  border-radius: 2px;
  transition: var(--transition);
  transform: translateY(-50%);
  opacity: 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  transform: translateX(3px);
}

.nav-link:hover::before,
.nav-link.active::before {
  height: 70%;
  opacity: 1;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  background: none;
  border: none;
}

.menu-toggle span {
  width: 28px; height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: var(--transition);
  box-shadow: 0 0 5px var(--accent-cyan-glow);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--accent-cyan);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--accent-cyan);
}

/* ===== 5. BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  border-radius: var(--radius);
  font-family: var(--font-sub);
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  border: none;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
  opacity: 0;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.btn:hover::after {
  width: 300px; height: 300px;
}

.btn-primary {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
}

.btn-primary:hover {
  color: var(--bg-primary);
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-glow), 0 10px 30px rgba(0, 212, 255, 0.4);
}

.btn-primary:hover::before {
  left: 0;
  opacity: 1;
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--text-muted);
}

.btn-secondary:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
/* ===== ABOUT VISUAL - TWO IMAGES LAYOUT ===== */
.about-visual-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 0 auto 2rem;
  max-width: 500px;
}

.about-visual-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 2px solid rgba(0, 212, 255, 0.3);
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-visual-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), transparent 60%);
  z-index: 2;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.about-visual-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-cyan) 0%, transparent 70%);
  opacity: 0;
  animation: imageGlow 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes imageGlow {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 0.1; transform: scale(1.05); }
}

.about-visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: brightness(0.9) contrast(1.1);
}

.about-visual:hover .about-visual-image {
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow), 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.about-visual:hover .about-visual-image::before {
  opacity: 1;
}

.about-visual:hover .about-visual-image img {
  transform: scale(1.05);
  filter: brightness(1) contrast(1.15) saturate(1.1);
}

/* Stagger animation */
.about-visual-image:nth-child(1) {
  animation-delay: 0.1s;
}

.about-visual-image:nth-child(2) {
  animation-delay: 0.2s;
}

/* Mobile responsive - stack vertically */
@media (max-width: 768px) {
  .about-visual-images {
    grid-template-columns: 1fr;
    max-width: 300px;
    gap: 1.5rem;
  }

  .about-visual-image {
    aspect-ratio: 4 / 3;
  }
}
/* ===== 6. PAGE HERO ===== */
.page-hero {
  min-height: 60vh;
  display: grid;
  place-items: center;
  padding: 10rem 5% 6rem;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 60%);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 70% 70% at center, black, transparent);
  animation: gridMove 25s linear infinite;
  opacity: 0.5;
}

@keyframes gridMove {
  0% { background-position: 0 0, 0 0; }
  100% { background-position: 40px 40px, 40px 40px; }
}

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

.page-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  opacity: 0;
  transform: translateY(-30px);
  animation: heroFadeDown 1s ease-out 0.3s forwards;
}

@keyframes heroFadeDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero-title span { color: var(--accent-cyan); }

.page-hero-subtitle {
  font-family: var(--font-sub);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeUp 1s ease-out 0.6s forwards;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 7. MAIN SECTIONS ===== */
.section-pad {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-pad::before {
  content: '';
  position: absolute;
  top: -2px; left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0.4;
  animation: lineGlow 3s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

.section-header {
  text-align: center;
  margin-bottom: 4.5rem;
  position: relative;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section-title.animated {
  opacity: 1;
  transform: translateY(0);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px; left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  animation: pulseLine 2s ease-in-out infinite;
}

@keyframes pulseLine {
  0%, 100% { width: 60%; opacity: 0.7; }
  50% { width: 80%; opacity: 1; }
}

.section-title span { color: var(--accent-cyan); }

.section-subtitle {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ===== 8. ABOUT CONTENT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.about-text.animated p {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger paragraph animations */
.about-text.animated p:nth-child(2) { transition-delay: 0.3s; }
.about-text.animated p:nth-child(3) { transition-delay: 0.4s; }
.about-text.animated p:nth-child(4) { transition-delay: 0.5s; }

.about-visual {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  padding: 3rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 212, 255, 0.3);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), transparent 40%);
  opacity: 0;
  transition: var(--transition);
}

.about-visual:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow), var(--shadow-hover);
}

.about-visual:hover::before { opacity: 1; }

/* Innovation Core Icon (SVG) */
.about-visual-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-visual-icon svg {
  width: 50px;
  height: 50px;
  color: var(--accent-cyan);
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.about-visual-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, var(--accent-cyan) 0%, transparent 60%);
  opacity: 0;
  animation: corePulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes corePulse {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 0.15; transform: scale(1.1); }
}

.about-visual:hover .about-visual-icon {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 35px rgba(0, 212, 255, 0.25);
  transform: translateY(-5px);
}

.about-visual:hover .about-visual-icon svg {
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.about-visual-icon svg circle:nth-child(7),
.about-visual-icon svg circle:nth-child(8) {
  transform-origin: 32px 32px;
  animation: orbitSpin 10s linear infinite;
}

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

.about-visual h3 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--accent-cyan);
  font-size: 1.8rem;
}

.about-visual p {
  color: var(--text-secondary);
  margin: 0;
}

/* ===== 9. MISSION & VISION CARDS ===== */
.mission-vision {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin: 4rem 0;
}

.mv-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition), opacity 0.6s ease-out, transform 0.6s ease-out;
}

.mv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.mv-card:hover {
  transform: translateY(-10px) scale(1.03);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow), var(--shadow-hover);
}

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

.mv-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  color: var(--accent-cyan);
  position: relative;
  display: inline-block;
}

.mv-card h3::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 50px; height: 3px;
  background: var(--accent-green);
  border-radius: 2px;
  animation: pulseLine 2s ease-in-out infinite;
}

.mv-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.mv-card.animated p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 10. WHY CHOOSE US ===== */
.why-choose { margin: 5rem 0; }

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

.feature-card {
  background: rgba(0, 212, 255, 0.06);
  border-left: 4px solid var(--accent-cyan);
  padding: 2rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  transition: var(--transition), opacity 0.6s ease-out, transform 0.6s ease-out;
}

.feature-card:hover {
  background: rgba(0, 212, 255, 0.15);
  transform: translateX(8px);
  border-left-color: var(--accent-green);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  font-size: 2rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  display: inline-block;
  animation: iconBounce 2s ease-in-out infinite;
}

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

.feature-card h4 {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.feature-card.animated p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 11. TEAM SECTION ===== */
.team-section {
  margin: 5rem 0;
  text-align: center;
}

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

.team-card {
  background: linear-gradient(145deg, var(--bg-secondary), var(--bg-tertiary));
  border: 1px solid rgba(57, 255, 20, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition), opacity 0.6s ease-out, transform 0.6s ease-out;
}

.team-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--accent-green);
  box-shadow: var(--shadow-glow-green), var(--shadow-hover);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-green));
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  font-size: 2.5rem;
  color: var(--bg-primary);
  font-weight: bold;
  animation: avatarGlow 3s ease-in-out infinite;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 20px var(--accent-cyan-glow);
}

@keyframes avatarGlow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-cyan-glow); }
  50% { box-shadow: 0 0 35px var(--accent-cyan-glow), 0 0 50px var(--accent-green-glow); }
}

.team-card h4 {
  font-family: var(--font-sub);
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
  color: var(--text-primary);
}

.team-card .role {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: block;
  font-weight: 500;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out 0.2s, transform 0.6s ease-out 0.2s;
}

.team-card.animated p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 12. STATS COUNTER ===== */
.stats-section {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(57, 255, 20, 0.05));
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  margin: 5rem 0;
  text-align: center;
  border: 1px solid rgba(0, 212, 255, 0.2);
  animation: ctaPulse 8s ease-in-out infinite;
}

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% {
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.6), 0 0 60px rgba(57, 255, 20, 0.4);
  }
}

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

.stat-item { padding: 1.5rem; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
  display: block;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.stat-item.animated .stat-number {
  opacity: 1;
  transform: scale(1);
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

/* ===== 13. CTA SECTION ===== */
.about-cta {
  background: linear-gradient(135deg, rgba(0,212,255,0.12), rgba(57,255,20,0.08), transparent);
  border-radius: var(--radius-lg);
  text-align: center;
  padding: 4.5rem 2.5rem;
  margin: 5rem auto;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.3);
  animation: ctaPulse 8s ease-in-out infinite;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
  animation: rotateGradient 15s linear infinite;
  z-index: -1;
}

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

.about-cta h2 {
  font-family: var(--font-heading);
  margin-bottom: 1.2rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.about-cta p {
  color: var(--text-secondary);
  margin-bottom: 2.2rem;
  font-size: 1.15rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 14. FOOTER ===== */
.footer {
  background: linear-gradient(to bottom, var(--bg-primary), #050B14);
  padding: 4rem 5% 2rem;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--gradient-glow);
  animation: glowLine 3s ease-in-out infinite;
}

/* Grid Layout - Horizontal on Desktop, Stacked on Mobile */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Column Layout */
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Brand Section */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.5rem;
}

.footer-brand img {
  border-radius: 8px;
  flex-shrink: 0;
}

.footer-brand h4 {
  font-family: var(--font-heading);
  color: var(--accent-cyan);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.2;
}

/* Section Headings */
.footer-col h4 {
  font-family: var(--font-sub);
  color: var(--accent-cyan);
  margin: 0.5rem 0 1rem 0;
  font-size: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px; left: 0;
  width: 40px; height: 2px;
  background: var(--accent-green);
  border-radius: 2px;
  animation: pulseLine 2s ease-in-out infinite;
}

/* Description Text */
.footer-col > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-list .icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  margin-top: 2px;
}

.contact-list .text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-list a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.contact-list a:hover {
  color: var(--accent-cyan);
}

/* Quick Links / Generic Lists */
.footer-col ul:not(.contact-list) {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col ul:not(.contact-list) li {
  margin-bottom: 0.8rem;
  position: relative;
  padding-left: 18px;
}

.footer-col ul:not(.contact-list) li::before {
  content: '▹';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-cyan);
  font-weight: bold;
  font-size: 0.9rem;
  animation: arrowBounce 1.5s ease-in-out infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(3px); }
}

.footer-col ul:not(.contact-list) li a {
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  display: inline-block;
}

.footer-col ul:not(.contact-list) li a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-col ul:not(.contact-list) li a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.footer-col ul:not(.contact-list) li a:hover::after {
  width: 100%;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  background: transparent;
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.social-links a:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

.social-links a:hover svg {
  fill: white;
  transform: scale(1.1);
}

.social-links a:hover::before { opacity: 1; }

/* Brand-specific hover colors */
.social-links a[href*="twitter.com"]:hover::before { background: #1DA1F2; }
.social-links a[href*="facebook.com"]:hover::before { background: #1877F2; }
.social-links a[href*="linkedin.com"]:hover::before { background: #0A66C2; }
.social-links a[href*="instagram.com"]:hover::before {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.copyright {
  text-align: center;
  padding-top: 3rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: var(--text-muted);
  font-size: 0.9rem;
  position: relative;
}

.copyright::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 1px;
  background: var(--gradient-glow);
  animation: glowLine 2.5s ease-in-out infinite;
}

/* ===== 15. WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5);
  animation: whatsappPulse 2.5s ease-in-out infinite, float 3s ease-in-out infinite;
  border: 2px solid rgba(255,255,255,0.2);
  padding: 0;
  text-decoration: none;
  overflow: visible;
}

.whatsapp-float img,
.whatsapp-float svg,
.whatsapp-float span {
  width: 32px;
  height: 32px;
  display: block;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.whatsapp-float svg {
  fill: white;
  width: 30px;
  height: 30px;
}

.whatsapp-float span {
  font-size: 1.6rem;
  line-height: 1;
  display: grid;
  place-items: center;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 5px 25px rgba(37, 211, 102, 0.5); }
  50% {
    box-shadow: 0 5px 40px rgba(37, 211, 102, 0.9),
                0 0 0 10px rgba(37, 211, 102, 0.2);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(3deg); }
}

.whatsapp-float:hover {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 8px 35px rgba(37, 211, 102, 0.8),
              0 0 0 15px rgba(37, 211, 102, 0.3);
  animation-play-state: paused;
  background: linear-gradient(135deg, #128C7E, #075E54);
}

.whatsapp-float:hover img,
.whatsapp-float:hover svg,
.whatsapp-float:hover span {
  transform: scale(1.1);
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--accent-cyan, #00D4FF);
  border-bottom-color: var(--accent-green, #39FF14);
  animation: spin 2s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.whatsapp-float:hover::after { opacity: 1; }

.whatsapp-float:active {
  transform: scale(1.05) !important;
  transition: transform 0.1s ease;
}

/* ===== 16. LOADING ANIMATION ===== */
.loader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content { text-align: center; }

.loader-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-shadow: 0 0 15px var(--accent-cyan-glow);
  animation: logoLoad 1.5s ease-in-out infinite alternate;
}

@keyframes logoLoad {
  from { letter-spacing: 2px; opacity: 0.8; }
  to { letter-spacing: 8px; opacity: 1; }
}

.loader-logo img {
  animation: logoImgPulse 2s ease-in-out infinite;
}

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

.loader-bar {
  width: 200px;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loader-bar::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: var(--gradient-primary);
  animation: loadProgress 1.8s ease-in-out forwards;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

@keyframes loadProgress {
  0% { width: 0; }
  30% { width: 30%; }
  70% { width: 85%; }
  100% { width: 100%; }
}

/* ===== 17. SCROLL PROGRESS ===== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--gradient-primary);
  z-index: 1001;
  width: 0%;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

/* ===== 18. IMAGE LOADING ANIMATION ===== */
img {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

img.loaded {
  opacity: 1;
}

/* ===== 19. RESPONSIVE QUERIES (GROUPED) ===== */

/* Tablet & Below */
@media (max-width: 900px) {
  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    flex-direction: column;
    padding: 6rem 2.5rem 2rem;
    transition: var(--transition);
    border-left: 1px solid var(--accent-cyan);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-menu.active { right: 0; }

  .nav-link {
    font-size: 1.3rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .about-content { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .mission-vision { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .page-hero { min-height: 50vh; padding: 8rem 5% 4rem; }
  .page-hero-title { font-size: clamp(2rem, 7vw, 3.2rem); }
  .btn { width: 100%; max-width: 300px; }
  .stats-grid { grid-template-columns: 1fr; }

  .whatsapp-float {
    width: 55px;
    height: 55px;
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .whatsapp-float img,
  .whatsapp-float svg,
  .whatsapp-float span {
    width: 28px;
    height: 28px;
  }

  /* Mobile Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-col ul:not(.contact-list) li {
    justify-content: center;
    padding-left: 0;
    padding-right: 18px;
  }

  .footer-col ul:not(.contact-list) li::before {
    left: auto;
    right: 0;
  }

  .contact-list li {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .copyright {
    padding: 2rem 1rem 1rem;
    margin-top: 2rem;
  }
}

/* High DPI / Retina */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .whatsapp-float img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* ===== 20. ACCESSIBILITY: REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .cursor-follower,
  .whatsapp-float::after { display: none !important; }
  .whatsapp-float:hover { transform: scale(1.05) !important; }
  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}