/* ============================================
   MAGIC CITY IT SOLUTIONS — DESIGN SYSTEM
   ============================================ */

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

:root {
  /* Brand Colors */
  --navy:        #040d1a;
  --navy-mid:    #071428;
  --navy-light:  #0a1f3d;
  --blue-deep:   #0b3d91;
  --blue-brand:  #1a6cf5;
  --blue-bright: #3d8eff;
  --cyan:        #00d4ff;
  --cyan-dim:    #00a3c4;
  --silver:      #b8c8dc;
  --silver-light:#dce8f5;
  --white:       #f0f6ff;
  --text-body:   #8fa8c8;
  --text-muted:  #4a6480;

  /* Gradients */
  --grad-brand:  linear-gradient(135deg, #1a6cf5 0%, #00d4ff 100%);
  --grad-dark:   linear-gradient(180deg, #071428 0%, #040d1a 100%);
  --grad-card:   linear-gradient(145deg, rgba(10,31,61,0.9) 0%, rgba(4,13,26,0.95) 100%);
  --grad-glow:   radial-gradient(ellipse at center, rgba(26,108,245,0.15) 0%, transparent 70%);

  /* Typography */
  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Spacing */
  --section-pad: clamp(60px, 8vw, 120px);
  --container:   1200px;

  /* Effects */
  --border-glow: 1px solid rgba(26,108,245,0.3);
  --shadow-card: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(26,108,245,0.1);
  --shadow-btn:  0 0 30px rgba(26,108,245,0.4);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background-color: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

/* ─── Container ─── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--cyan);
}

.section-title { color: var(--white); }
.section-title span { 
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-sub {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 580px;
  margin-top: 16px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(26,108,245,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover {
  background: rgba(0,212,255,0.1);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(26,108,245,0.1);
  color: var(--blue-bright);
  border: var(--border-glow);
}
.btn-ghost:hover {
  background: rgba(26,108,245,0.2);
  transform: translateY(-2px);
}

.btn-lg { padding: 18px 44px; font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }

/* ─── Cards ─── */
.card {
  background: var(--grad-card);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(26,108,245,0.5); }
.card:hover::before { transform: scaleX(1); }

/* ─── Navigation ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 clamp(20px, 4vw, 60px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(4,13,26,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,108,245,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--cyan); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(4,13,26,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
}
.mobile-menu a:hover { color: var(--cyan); }

/* ─── Sticky Quote Button ─── */
.sticky-cta {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 900;
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(26,108,245,0.4); }
  50% { box-shadow: 0 0 40px rgba(26,108,245,0.8), 0 0 80px rgba(0,212,255,0.3); }
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--navy);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,108,245,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,245,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-glow {
  position: absolute;
  top: 20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(26,108,245,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: 0;
  left: 30%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.08) 0%, transparent 65%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(0,212,255,0.06);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title .line-1 { color: var(--white); display: block; }
.hero-title .line-2 {
  display: block;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-body);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(26,108,245,0.2);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── Dashboard Visual ─── */
.hero-visual {
  position: absolute;
  right: clamp(-100px, -5vw, 0px);
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  pointer-events: none;
  z-index: 2;
}

.dashboard-frame {
  background: rgba(7,20,40,0.9);
  border: 1px solid rgba(26,108,245,0.3);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(26,108,245,0.1);
}

.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,108,245,0.15);
}
.dash-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #28c940; }
.dash-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 4px;
  letter-spacing: 0.05em;
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.metric-card {
  background: rgba(26,108,245,0.06);
  border: 1px solid rgba(26,108,245,0.15);
  border-radius: 6px;
  padding: 12px;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.metric-status {
  font-size: 0.6rem;
  color: #28c940;
  margin-top: 4px;
}
.metric-status.warn { color: #ffbd2e; }

.dash-chart {
  background: rgba(26,108,245,0.04);
  border: 1px solid rgba(26,108,245,0.12);
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 14px;
}
.chart-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 60px;
}
.chart-bar {
  flex: 1;
  background: var(--grad-brand);
  border-radius: 2px 2px 0 0;
  opacity: 0.7;
  animation: bar-rise 1s ease-out both;
}
@keyframes bar-rise {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}
.chart-bar:nth-child(1)  { height: 40%; animation-delay: 0.1s; }
.chart-bar:nth-child(2)  { height: 65%; animation-delay: 0.15s; }
.chart-bar:nth-child(3)  { height: 50%; animation-delay: 0.2s; }
.chart-bar:nth-child(4)  { height: 80%; animation-delay: 0.25s; }
.chart-bar:nth-child(5)  { height: 60%; animation-delay: 0.3s; }
.chart-bar:nth-child(6)  { height: 90%; animation-delay: 0.35s; }
.chart-bar:nth-child(7)  { height: 70%; animation-delay: 0.4s; }
.chart-bar:nth-child(8)  { height: 55%; animation-delay: 0.45s; }
.chart-bar:nth-child(9)  { height: 85%; animation-delay: 0.5s; }
.chart-bar:nth-child(10) { height: 45%; animation-delay: 0.55s; }
.chart-bar:nth-child(11) { height: 75%; animation-delay: 0.6s; }
.chart-bar:nth-child(12) { height: 95%; animation-delay: 0.65s; background: var(--cyan); opacity: 1; }

.dash-alerts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alert-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(26,108,245,0.05);
  border-radius: 4px;
  border-left: 2px solid;
}
.alert-row.ok { border-color: #28c940; }
.alert-row.warn { border-color: #ffbd2e; }
.alert-row.info { border-color: var(--cyan); }
.alert-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.alert-row.ok .alert-dot { background: #28c940; }
.alert-row.warn .alert-dot { background: #ffbd2e; }
.alert-row.info .alert-dot { background: var(--cyan); }
.alert-text {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--silver);
  flex: 1;
}
.alert-time {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-muted);
}

/* ─── Sections ─── */
section { padding: var(--section-pad) 0; }

.section-header { margin-bottom: clamp(40px, 5vw, 70px); }
.section-header.center { text-align: center; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }
.section-header.center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── Services Grid ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--grad-card);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(ellipse, rgba(26,108,245,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,108,245,0.5);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,108,245,0.1);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.service-card h3 { margin-bottom: 12px; color: var(--white); }
.service-card p { color: var(--text-body); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--silver-light);
}
.benefit-item::before {
  content: '▸';
  color: var(--cyan);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ─── Why Choose Us ─── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(26,108,245,0.12);
  border-radius: 8px;
  background: rgba(10,31,61,0.4);
  transition: var(--transition);
}
.why-item:hover { border-color: rgba(26,108,245,0.35); background: rgba(10,31,61,0.6); }
.why-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-item h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.why-item p { color: var(--text-body); font-size: 0.85rem; line-height: 1.6; }

/* ─── CCNA Certification Banner ─── */
.cert-banner {
  background: linear-gradient(135deg, rgba(11,61,145,0.4) 0%, rgba(0,212,255,0.08) 100%);
  border: 1px solid rgba(26,108,245,0.35);
  border-radius: 12px;
  padding: clamp(36px, 5vw, 60px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  position: relative;
  overflow: hidden;
}
.cert-banner::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 300px; height: 300px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cert-icon-wrap {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 0 40px rgba(26,108,245,0.4);
}
.cert-content h3 { color: var(--white); margin-bottom: 10px; }
.cert-content p { color: var(--text-body); font-size: 0.95rem; max-width: 500px; }
.cert-badge {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
}

/* ─── Testimonials ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--grad-card);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 32px;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 24px;
  font-size: 4rem;
  color: rgba(26,108,245,0.15);
  font-family: Georgia, serif;
  line-height: 1;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f5c542;
  font-size: 0.9rem;
}
.testimonial-text {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 42px;
  height: 42px;
  background: var(--grad-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.author-role { font-size: 0.75rem; color: var(--text-muted); }

/* ─── CTA Section ─── */
.cta-section {
  background: linear-gradient(135deg, rgba(11,61,145,0.5) 0%, rgba(4,13,26,0.8) 100%);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 12px;
  padding: clamp(48px, 7vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(26,108,245,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { color: var(--text-body); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── Forms ─── */
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}
input, select, textarea {
  width: 100%;
  background: rgba(10,31,61,0.6);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue-brand);
  background: rgba(10,31,61,0.8);
  box-shadow: 0 0 0 3px rgba(26,108,245,0.1);
}
input::placeholder, textarea::placeholder { color: var(--text-muted); }
select option { background: var(--navy-light); }
textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  background: rgba(40,201,64,0.06);
  border: 1px solid rgba(40,201,64,0.25);
  border-radius: 8px;
}
.form-success h3 { color: #28c940; margin-bottom: 10px; }
.form-success p { color: var(--text-body); }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,61,145,0.15) 0%, transparent 100%);
}
.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(26,108,245,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,108,245,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-body); font-size: 1.1rem; max-width: 560px; }

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--cyan); }
.breadcrumb span { color: var(--text-muted); }

/* ─── Footer ─── */
.footer {
  background: rgba(4,9,18,1);
  border-top: 1px solid rgba(26,108,245,0.12);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(26,108,245,0.1);
}
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-brand p { color: var(--text-body); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-link {
  width: 36px; height: 36px;
  background: rgba(26,108,245,0.1);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover { background: rgba(26,108,245,0.25); border-color: var(--blue-brand); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--text-body);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--cyan); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-body);
  font-size: 0.88rem;
  margin-bottom: 12px;
}
.footer-contact-item .icon { font-size: 0.9rem; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: var(--text-body); }
.footer-contact-item a:hover { color: var(--cyan); }

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a { color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom-links a:hover { color: var(--silver); }

/* ─── Divider ─── */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26,108,245,0.3), transparent);
  margin: var(--section-pad) 0;
}

/* ─── Scroll Animations ─── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Resources / Downloads ─── */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.resource-card {
  background: var(--grad-card);
  border: var(--border-glow);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}
.resource-card:hover { transform: translateY(-3px); border-color: rgba(26,108,245,0.4); }
.resource-icon {
  width: 50px; height: 50px;
  flex-shrink: 0;
  background: rgba(26,108,245,0.1);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.resource-info { flex: 1; }
.resource-info h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.resource-info p { color: var(--text-body); font-size: 0.85rem; margin-bottom: 14px; }
.resource-tag {
  display: inline-block;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 10px;
}
.resource-tag.pdf { background: rgba(255,90,90,0.12); color: #ff9090; border: 1px solid rgba(255,90,90,0.25); }
.resource-tag.tool { background: rgba(0,212,255,0.1); color: var(--cyan); border: 1px solid rgba(0,212,255,0.25); }
.resource-tag.guide { background: rgba(26,108,245,0.1); color: var(--blue-bright); border: 1px solid rgba(26,108,245,0.25); }
.resource-tag.ccna { background: rgba(40,201,64,0.1); color: #70e080; border: 1px solid rgba(40,201,64,0.25); }

/* ─── Gate Modal ─── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4,13,26,0.9);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--navy-light);
  border: var(--border-glow);
  border-radius: 10px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: var(--shadow-card);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.modal-close:hover { color: var(--white); }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--text-body); font-size: 0.9rem; margin-bottom: 24px; }

/* ─── About Timeline ─── */
.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--blue-brand), transparent);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 6px;
  width: 12px; height: 12px;
  background: var(--grad-brand);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(26,108,245,0.6);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.timeline-item h4 { color: var(--white); margin-bottom: 8px; }
.timeline-item p { color: var(--text-body); font-size: 0.9rem; line-height: 1.6; }

/* ─── Skills bars ─── */
.skill-bar { margin-bottom: 20px; }
.skill-info { display: flex; justify-content: space-between; margin-bottom: 8px; }
.skill-name { font-size: 0.9rem; color: var(--silver); }
.skill-pct { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan); }
.skill-track {
  height: 4px;
  background: rgba(26,108,245,0.15);
  border-radius: 100px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: var(--grad-brand);
  border-radius: 100px;
  transform-origin: left;
  animation: fill-bar 1s ease-out both;
}
@keyframes fill-bar {
  from { transform: scaleX(0); }
}

/* ─── Contact ─── */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(10,31,61,0.5);
  border: 1px solid rgba(26,108,245,0.15);
  border-radius: 8px;
  transition: var(--transition);
}
.contact-method:hover { border-color: rgba(26,108,245,0.4); background: rgba(10,31,61,0.7); }
.contact-method-icon {
  width: 44px; height: 44px;
  background: rgba(26,108,245,0.1);
  border: 1px solid rgba(26,108,245,0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-method-info h4 { font-size: 0.85rem; color: var(--white); margin-bottom: 3px; }
.contact-method-info a, .contact-method-info p { color: var(--text-body); font-size: 0.9rem; }
.contact-method-info a:hover { color: var(--cyan); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  
  .form-row { grid-template-columns: 1fr; }
  .cert-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 24px; }
  .sticky-cta { bottom: 16px; right: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
