@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Theme Colors - Premium Cream & Black Cyber-Classic */
  --bg-primary: #faf6ee; /* Warm editorial cream */
  --bg-secondary: #ffffff; /* Crisp white for floating surfaces */
  --bg-tertiary: #f3edd7; /* Lighter beige/cream for contrast sections */
  
  --surface: rgba(255, 255, 255, 0.85);
  --surface-border: rgba(17, 17, 17, 0.08); /* Minimalist thin black border */
  --surface-hover: #ffffff;
  --surface-border-hover: rgba(17, 17, 17, 0.3);

  --text-primary: #111111; /* Editorial pure solid black */
  --text-secondary: #424242; /* Soft charcoal grey */
  --text-muted: #757575; /* Muted stone grey */

  --accent-cyan: #10b981; /* Glowing cyber green (like neon in picture) */
  --accent-blue: #111111; /* Solid black accent */
  --accent-purple: #7c3aed;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  --accent-gradient: linear-gradient(135deg, #111111 0%, #2a2a2a 100%); /* Minimalist black gradient */
  --accent-glow: 0 0 25px rgba(17, 17, 17, 0.08);

  --shadow-sm: 0 2px 10px rgba(17, 17, 17, 0.02);
  --shadow-md: 0 8px 30px rgba(17, 17, 17, 0.04);
  --shadow-lg: 0 16px 50px rgba(17, 17, 17, 0.07);

  /* Fonts */
  --font-headers: 'Space Grotesk', sans-serif;
  --font-body: 'Outfit', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

/* Base resets & scroll tuning */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden; /* Prevent horizontal scroll on mobile */
}

body {
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  max-width: 100vw;
}

/* Trailing cursor follower aura styling */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  mix-blend-mode: multiply;
  display: none; /* activated dynamically via JS */
}

@media (pointer: fine) {
  .cursor-glow {
    display: block;
  }
}

/* Cyber grid overlay texture (soft light slate lines) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    linear-gradient(rgba(250, 246, 238, 0) 50%, rgba(17, 17, 17, 0.03) 50%), 
    linear-gradient(90deg, rgba(17, 17, 17, 0.015), rgba(16, 185, 129, 0.005), rgba(17, 17, 17, 0.015));
  background-size: 100% 4px, 4px 100%;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.35;
}

/* Scroll reveals */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: none;
}

/* Typography & Glitch Headers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headers);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; position: relative; margin-bottom: 2.5rem; }
h3 { font-size: 1.6rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; font-weight: 400; }

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

/* Glitch keyframes animation */
.cyber-glitch {
  position: relative;
}
.cyber-glitch::before,
.cyber-glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
}
.cyber-glitch::before {
  left: 2px;
  text-shadow: -1px 0 var(--accent-red);
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.cyber-glitch::after {
  left: -2px;
  text-shadow: -1px 0 var(--accent-cyan);
  clip: rect(85px, 450px, 140px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
  0% { clip: rect(15px, 9999px, 66px, 0); }
  10% { clip: rect(34px, 9999px, 5px, 0); }
  20% { clip: rect(85px, 9999px, 5px, 0); }
  30% { clip: rect(27px, 9999px, 115px, 0); }
  40% { clip: rect(73px, 9999px, 29px, 0); }
  50% { clip: rect(64px, 9999px, 98px, 0); }
  60% { clip: rect(10px, 9999px, 44px, 0); }
  70% { clip: rect(88px, 9999px, 120px, 0); }
  80% { clip: rect(4px, 9999px, 68px, 0); }
  90% { clip: rect(52px, 9999px, 83px, 0); }
  100% { clip: rect(95px, 9999px, 10px, 0); }
}
@keyframes glitch-anim2 {
  0% { clip: rect(65px, 9999px, 120px, 0); }
  11% { clip: rect(5px, 9999px, 85px, 0); }
  22% { clip: rect(45px, 9999px, 65px, 0); }
  33% { clip: rect(98px, 9999px, 15px, 0); }
  44% { clip: rect(12px, 9999px, 49px, 0); }
  55% { clip: rect(78px, 9999px, 90px, 0); }
  66% { clip: rect(32px, 9999px, 112px, 0); }
  77% { clip: rect(5px, 9999px, 38px, 0); }
  88% { clip: rect(90px, 9999px, 72px, 0); }
  100% { clip: rect(55px, 9999px, 104px, 0); }
}

/* Global Layout & Sections */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 7rem 0;
  position: relative;
  z-index: 10;
}

.section-alt {
  background-color: var(--bg-tertiary);
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--accent-blue);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  font-family: var(--font-headers);
  font-weight: 600;
}

/* Header & Navigation */
header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  background: rgba(250, 246, 238, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: var(--shadow-sm);
}

header .navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 45px;
  width: auto;
  border-radius: 6px;
  border: 1px solid rgba(79, 70, 229, 0.15);
}

.logo-text {
  font-family: var(--font-headers);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-text span {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-family: var(--font-headers);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition);
}

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

/* Call to Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  transition: 0.75s ease;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--surface-border);
}

.btn-secondary:hover {
  background: rgba(79, 70, 229, 0.03);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

/* Glassmorphism Cards (Fresh light mode) */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.glass-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
  transform: translateX(-100%);
  transition: 0.6s ease;
}

.glass-card:hover::before {
  transform: translateX(100%);
}

.glass-card:hover {
  background: var(--surface-hover);
  border-color: var(--surface-border-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-md), 0 15px 35px rgba(79, 70, 229, 0.1);
}

/* Interactive SVG HUD Gauges */
.hud-gauge {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.hud-gauge svg {
  transform: rotate(-90deg);
}

.hud-gauge-bg {
  fill: none;
  stroke: rgba(15, 23, 42, 0.05);
  stroke-width: 6;
}

.hud-gauge-bar {
  fill: none;
  stroke: var(--accent-blue);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-gauge-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-headers);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text-primary);
  text-shadow: 0 0 10px rgba(79, 70, 229, 0.15);
}

.shield-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.02);
}

.accent-green-icon {
  background: rgba(16, 185, 129, 0.06);
  border-color: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
}

/* Hamburger mobile trigger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Slide-over Overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(79, 70, 229, 0.15);
  box-shadow: var(--shadow-lg);
  padding: 6rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  z-index: 999;
  transition: var(--transition);
}

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

.mobile-nav .nav-menu {
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

/* Terminal styled box (Sleek Dark Cyber Mode) */
.terminal-window {
  background: #0b0f19;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.05);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
}

.terminal-header {
  background: #0f172a;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f56; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }

.terminal-title {
  color: #94a3b8;
  font-size: 0.8rem;
  margin-left: 1rem;
  flex-grow: 1;
}

.terminal-body {
  padding: 1.5rem;
  color: #e2e8f0;
  font-size: 0.9rem;
  height: 320px;
  overflow-y: auto;
}

.terminal-line {
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.terminal-prompt {
  color: var(--accent-cyan);
}

.terminal-input-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.terminal-input-line {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: inherit;
  flex-grow: 1;
}

/* Footer styling (Premium Dark-Slate) */
footer {
  background-color: #0b0f19;
  border-top: 1px solid rgba(79, 70, 229, 0.2);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

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

.footer-col h4 {
  font-family: var(--font-headers);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

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

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 6px;
}

.footer-info p {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  color: #64748b;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-socials a:hover {
  background: var(--accent-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

/* Animation declarations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.animated-float {
  animation: float 5s ease-in-out infinite;
}

/* Responsive grid layout helpers */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }

/* =============================================
   RESPONSIVE — Tablet & Desktop (992px)
   ============================================= */
@media (max-width: 992px) {
  h1 { font-size: 2.85rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  /* Terminal slightly smaller on tablet */
  .terminal-body { height: 260px; }
}

/* =============================================
   RESPONSIVE — Mobile (768px and below)
   ============================================= */
@media (max-width: 768px) {
  /* Navigation */
  .hamburger { display: flex; }
  .nav-menu.desktop-menu { display: none; }

  /* Grid → single column */
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  /* Typography — !important needed to override inline styles */
  h1 { font-size: 1.75rem !important; line-height: 1.2 !important; }
  h2 { font-size: 1.6rem; margin-bottom: 1.5rem; }
  h3 { font-size: 1.2rem; }

  /* Hero h1 specific — override the inline font-size: 3rem */
  .cyber-glitch {
    font-size: 1.75rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  /* Disable glitch animation on mobile (causes horizontal overflow) */
  .cyber-glitch::before,
  .cyber-glitch::after {
    display: none !important;
  }

  /* Sections */
  .section { padding: 3.5rem 0; }
  .section-title { margin-bottom: 2.5rem; }

  /* Hero section — reduce top padding, stack text above terminal */
  section[style*="padding-top: 11rem"] {
    padding-top: 6rem !important;
    padding-bottom: 3rem !important;
  }
  .section:first-of-type .container.grid-2 {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  /* Hero text area */
  .section:first-of-type .container > div:first-child p {
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }

  /* Buttons — stack vertically, proper sizing */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
  div[style*="display: flex; gap: 1rem"] {
    flex-direction: column;
    gap: 0.75rem !important;
  }

  /* Terminal on mobile — compact, no float animation */
  .terminal-window {
    width: 100% !important;
    max-width: 100% !important;
    animation: none !important;
  }
  .terminal-body {
    height: 180px;
    font-size: 0.8rem;
    padding: 1rem;
  }
  .terminal-header { padding: 0.6rem 1rem; }
  .terminal-title { font-size: 0.7rem; }

  /* Stop floating animation on mobile */
  .animated-float { animation: none; }

  /* Images — always contained */
  img { max-width: 100%; height: auto; }

  /* Cards */
  .glass-card { padding: 1.25rem; }
  .glass-card:hover { transform: none; }

  /* Team grid */
  .team-grid { grid-template-columns: 1fr; }

  /* Footer */
  footer { padding: 3rem 0 1.5rem; }

  /* Section subtitle */
  .section-subtitle { font-size: 0.78rem; letter-spacing: 0.12em; margin-bottom: 0.5rem; }
}

/* =============================================
   RESPONSIVE — Small phones (480px and below)
   ============================================= */
@media (max-width: 480px) {
  h1 { font-size: 1.45rem !important; line-height: 1.2 !important; }
  .cyber-glitch { font-size: 1.45rem !important; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }

  .container { padding: 0 1rem; }
  .section { padding: 2.5rem 0; }

  /* Hero section even tighter on small phones */
  section[style*="padding-top: 11rem"] {
    padding-top: 5.5rem !important;
    padding-bottom: 2rem !important;
  }

  /* Terminal very compact */
  .terminal-body { height: 150px; font-size: 0.72rem; }

  /* Logo text smaller */
  .logo-text { font-size: 1.1rem; }

  /* Glass cards */
  .glass-card { padding: 1rem; border-radius: 8px; }

  /* Footer */
  .footer-grid { gap: 1.25rem; }
}

/* Team Founder Cards & Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.team-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 70, 229, 0.35);
  box-shadow: var(--shadow-lg), 0 10px 25px rgba(79, 70, 229, 0.08);
}

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

.team-img-container {
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.team-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%) contrast(1.02);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
}

.team-card:hover .team-img-container img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.05);
}

.team-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
  font-family: var(--font-headers);
}

.team-info .role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-blue);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

/* Custom Scrollbars for Terminal Window */
.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(6, 182, 212, 0.2);
  border-radius: 3px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(6, 182, 212, 0.45);
}

/* Matrix Text inside Terminal */
.matrix-line {
  color: #00ff66;
  text-shadow: 0 0 4px rgba(0, 255, 102, 0.6);
  font-family: monospace;
  white-space: pre;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .team-img-container {
    height: 300px;
  }
}

/* Premium Alternating Services Section */
.services-list-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-top: 4rem;
}

.service-row {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.service-row:nth-child(even) {
  flex-direction: row-reverse;
}

.service-img-col {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
  height: 380px;
  background-color: var(--bg-tertiary);
}

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

.service-row:hover .service-img-col img {
  transform: scale(1.06);
}

.service-text-col {
  flex: 1.1;
  text-align: left;
}

.service-text-col h3 {
  font-size: 2.25rem;
  font-family: var(--font-headers);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.service-text-col p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.enroll-btn {
  display: inline-block;
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 0.85rem 2.25rem;
  border-radius: 6px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.15);
  border: none;
}

.enroll-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
  color: #ffffff;
}

@media (max-width: 992px) {
  .service-row {
    flex-direction: column !important;
    gap: 2rem;
  }
  .service-img-col {
    width: 100%;
    height: 300px;
  }
  .service-text-col {
    width: 100%;
  }
  .service-text-col h3 {
    font-size: 1.75rem;
  }
  .services-list-container {
    gap: 4.5rem;
  }
}

/* Animated Cyber Hero Banner */
.cyber-hero-banner {
  padding-top: 10rem;
  padding-bottom: 5rem;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(79, 70, 229, 0.07) 0%, rgba(6, 182, 212, 0.02) 50%, transparent 100%);
  border-bottom: 1px solid var(--surface-border);
  overflow: hidden;
}

/* Moving scanline laser line */
.cyber-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), var(--accent-blue), transparent);
  animation: banner-scan 8s linear infinite;
  opacity: 0.8;
  pointer-events: none;
  z-index: 2;
}

/* Grid matrix line overlay */
.cyber-hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

@keyframes banner-scan {
  0% {
    top: -5%;
  }
  100% {
    top: 105%;
  }
}

.banner-tag {
  display: inline-block;
  font-family: var(--font-headers);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
  animation: banner-glow 3s infinite alternate;
}

@keyframes banner-glow {
  0% {
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.05);
    border-color: rgba(6, 182, 212, 0.2);
  }
  100% {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
    border-color: rgba(6, 182, 212, 0.5);
  }
}

/* Futuristic Cyber HUD Image Overlay */
.service-img-col {
  position: relative;
}

.service-img-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.15) 100%);
  transform: skewX(-25deg);
  transition: 0.75s ease;
  z-index: 2;
  pointer-events: none;
}

.service-row:hover .service-img-col::before {
  left: 150%;
}

.service-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 1;
}

.service-row:hover .service-img-overlay {
  opacity: 1;
}

/* Service Row Hover Animations */
.service-row {
  transition: var(--transition);
  padding: 2rem;
  border-radius: 16px;
  background: transparent;
  border: 1px solid transparent;
}

.service-row:hover {
  background: #ffffff;
  border-color: rgba(79, 70, 229, 0.12);
  box-shadow: var(--shadow-md), 0 10px 30px rgba(79, 70, 229, 0.05);
}

/* Premium Light-Themed Cyber Form Controls */
.cyber-form-group {
  margin-bottom: 1.5rem;
  text-align: left;
  position: relative;
}

.cyber-form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-headers);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
}

.cyber-form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.cyber-form-control::placeholder {
  color: var(--text-muted);
  opacity: 0.75;
}

/* Beautiful Focus Animation */
.cyber-form-control:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 
    0 0 0 4px rgba(79, 70, 229, 0.1),
    0 4px 15px rgba(79, 70, 229, 0.05);
  transform: translateY(-2px);
}

/* Focus animation on Label too! */
.cyber-form-group:focus-within label {
  color: var(--accent-blue);
  transform: translateX(4px);
}

/* Collaborator Section Styling */
.collab-logos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-top: 3.5rem;
}

.collab-logo-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.collab-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition);
}

.collab-logo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(79, 70, 229, 0.25);
  box-shadow: var(--shadow-lg), 0 10px 25px rgba(79, 70, 229, 0.05);
}

.collab-logo-card:hover::before {
  opacity: 1;
}

.collab-logo-wrapper {
  flex: 0 0 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collab-logo-svg {
  width: 100%;
  height: auto;
  max-height: 55px;
}

.collab-logo-info {
  flex-grow: 1;
  text-align: left;
}

.collab-badge {
  display: inline-block;
  font-family: var(--font-headers);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.collab-badge.industry {
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--accent-blue);
}

.collab-badge.academic {
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
}

.collab-logo-info p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .collab-logos-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .collab-logo-card {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .collab-logo-info {
    text-align: center;
  }
  .collab-logo-wrapper {
    flex: 0 0 auto;
  }
}

/* Syllabus Accordion Styles */
.service-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.syllabus-toggle-btn {
  background: transparent;
  border: 1px solid var(--surface-border-hover);
  color: var(--accent-blue);
  padding: 0.85rem 2.25rem;
  border-radius: 6px;
  font-family: var(--font-headers);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.syllabus-toggle-btn:hover {
  background: rgba(79, 70, 229, 0.05);
  border-color: var(--accent-blue);
  box-shadow: 0 0 15px rgba(79, 70, 229, 0.1);
}

.syllabus-accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease-out;
}

.syllabus-accordion-content.active {
  opacity: 1;
}

.syllabus-modules {
  background: var(--bg-secondary);
  border: 1px solid var(--surface-border);
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.syllabus-modules h4 {
  font-family: var(--font-headers);
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--surface-border);
  padding-bottom: 0.5rem;
}

.syllabus-modules ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.syllabus-modules li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.syllabus-modules li span {
  font-family: var(--font-headers);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--accent-blue);
  background: rgba(79, 70, 229, 0.06);
  border: 1px solid rgba(79, 70, 229, 0.15);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  line-height: 1.2;
}

.syllabus-modules li strong {
  color: var(--text-primary);
}

/* Footer Company Name Visibility Fix */
footer .logo-text {
  color: #faf6ee; /* Cream background color */
}

footer .logo-text span {
  background: linear-gradient(135deg, #ffffff 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

