/* ============================================================
   Technosys IES — Stylesheet
   Dark navy + electric blue, Outfit + DM Mono
   ============================================================ */

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

:root {
  /* shared */
  --blue:       #2563eb;
  --blue-light: #3b82f6;
  --cyan:       #06b6d4;
  --radius-sm:  6px;
  --radius:     12px;
  --radius-lg:  20px;
  --ff-sans:    'Outfit', system-ui, sans-serif;
  --ff-mono:    'DM Mono', monospace;
  --transition: 220ms cubic-bezier(.4,0,.2,1);

  /* dark mode (default) */
  --navy:       #060d1f;
  --navy-mid:   #0d1a35;
  --navy-light: #152144;
  --white:      #f0f4ff;
  --white-dim:  #9baacf;
  --border:     rgba(37,99,235,.18);
  --border-dim: rgba(255,255,255,.07);
}

/* ---------- Light Mode ---------- */
html.light {
  --navy:       #f5f7ff;
  --navy-mid:   #eef1fb;
  --navy-light: #e3e8f7;
  --white:      #0f1a3a;
  --white-dim:  #3d4f78;
  --border:     rgba(37,99,235,.22);
  --border-dim: rgba(15,26,58,.1);
  --blue:       #1d4ed8;
  --blue-light: #2563eb;
  --cyan:       #0891b2;
}

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

body {
  font-family: var(--ff-sans);
  background: var(--navy);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--cyan); }

img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 3px; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding-block: 96px; }

/* ---------- Typography ---------- */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--blue-light); }

p { color: var(--white-dim); }
p + p { margin-top: .9rem; }

.mono { font-family: var(--ff-mono); font-size: .78rem; letter-spacing: .06em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--ff-sans);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(37,99,235,.4);
}
.btn-primary:hover {
  background: var(--blue-light);
  color: #fff;
  box-shadow: 0 0 24px rgba(37,99,235,.45);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-light);
  border: 1.5px solid var(--blue);
}
.btn-outline:hover {
  background: rgba(37,99,235,.12);
  color: var(--blue-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--white-dim);
  padding-inline: .4rem;
}
.btn-ghost:hover { color: var(--white); }

/* ---------- Section labels ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.section-header {
  max-width: 560px;
}
.section-header.center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}

.section-header p {
  margin-top: .75rem;
  font-size: 1.05rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(6,13,31,.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--border-dim);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

/* Dark mode (default): show white logo, hide colour logo */
.logo-dark  { display: block; }
.logo-light { display: none; }

/* Light mode: show colour logo, hide white logo */
html.light .logo-dark  { display: none; }
html.light .logo-light { display: block; }

/* Nav */
.main-nav { margin-left: auto; }

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: .4rem .85rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--white-dim);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,.06);
}

.header-cta { margin-left: 8px; }

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-dim);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  color: var(--white-dim);
  transition: color var(--transition), background var(--transition), border-color var(--transition);
  flex-shrink: 0;
  position: relative;
}

.theme-toggle:hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
  border-color: var(--border);
}

.theme-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition), transform var(--transition);
}

/* Dark mode: show moon, hide sun */
.theme-icon--sun  { opacity: 0; transform: rotate(90deg) scale(.7); }
.theme-icon--moon { opacity: 1; transform: rotate(0deg) scale(1); }

/* Light mode: show sun, hide moon */
html.light .theme-icon--sun  { opacity: 1; transform: rotate(0deg) scale(1); }
html.light .theme-icon--moon { opacity: 0; transform: rotate(-90deg) scale(.7); }

/* ---------- Scrollbar (light mode) ---------- */
html.light ::-webkit-scrollbar-track { background: var(--navy); }
html.light ::-webkit-scrollbar-thumb { background: var(--navy-light); }

/* ---------- Light mode specific overrides ---------- */
html.light .site-header.scrolled {
  background: rgba(245,247,255,.92);
}

html.light .hero-bg img { opacity: .07; }
html.light .hero-grid {
  background-image:
    linear-gradient(rgba(37,99,235,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.04) 1px, transparent 1px);
}

html.light .hero-badge {
  background: rgba(8,145,178,.06);
  border-color: rgba(37,99,235,.2);
}

html.light .btn-primary {
  box-shadow: 0 0 0 0 rgba(29,78,216,.3);
}
html.light .btn-primary:hover {
  box-shadow: 0 0 20px rgba(29,78,216,.3);
}

html.light .service-card { background: var(--navy-mid); }
html.light .service-card:hover { background: var(--navy-light); }
html.light .service-icon {
  background: rgba(37,99,235,.1);
}

html.light .tech-pill {
  background: rgba(37,99,235,.06);
}

html.light .cta-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
}

html.light .contact-form { background: var(--navy-mid); }

html.light .form-group input,
html.light .form-group textarea,
html.light .form-group select {
  background: rgba(15,26,58,.04);
  color: var(--white);
}

html.light .form-group input::placeholder,
html.light .form-group textarea::placeholder {
  color: rgba(61,79,120,.4);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

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

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .12;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(37,99,235,.18) 0%, transparent 70%),
              linear-gradient(to bottom, transparent 60%, var(--navy) 100%);
}

/* Grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37,99,235,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37,99,235,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding-block: 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: .35rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  color: var(--cyan);
  background: rgba(6,182,212,.06);
  margin-bottom: 2rem;
}

.hero-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); display: inline-block; }

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .gradient {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-dim);
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat .num span { color: var(--blue-light); }
.hero-stat .label {
  font-size: .82rem;
  color: var(--white-dim);
  margin-top: .3rem;
}

/* ---------- Services Grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3.5rem;
  background: var(--border-dim);
}

.service-card {
  background: var(--navy-mid);
  padding: 2.2rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover { background: var(--navy-light); }
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(37,99,235,.15);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  color: var(--blue-light);
  transition: background var(--transition), border-color var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(37,99,235,.25);
  border-color: rgba(37,99,235,.4);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: .6rem;
  font-size: 1.1rem;
}

.service-card p { font-size: .92rem; line-height: 1.6; }

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.2rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--blue-light);
}

.service-card .learn-more svg { transition: transform var(--transition); }
.service-card:hover .learn-more svg { transform: translateX(4px); }

/* ---------- About Strip ---------- */
.about-strip {
  background: var(--navy-mid);
  border-block: 1px solid var(--border-dim);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-light);
}

.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .85;
}

.about-visual-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: rgba(6,13,31,.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: .9rem 1.2rem;
}

.about-visual-badge .big { font-size: 1.6rem; font-weight: 800; color: var(--white); line-height: 1; }
.about-visual-badge .small { font-size: .78rem; color: var(--white-dim); margin-top: .2rem; }

.about-content ul {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.about-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--white-dim);
}

.about-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

.about-content .cta-row {
  margin-top: 2.2rem;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------- Clients / Tech strip ---------- */
.tech-strip {
  padding-block: 64px;
  text-align: center;
  border-bottom: 1px solid var(--border-dim);
}

.tech-strip p {
  font-family: var(--ff-mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 2.4rem;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.tech-pill {
  padding: .4rem 1rem;
  border: 1px solid var(--border-dim);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--white-dim);
  background: rgba(255,255,255,.03);
  transition: all var(--transition);
}

.tech-pill:hover {
  border-color: var(--border);
  color: var(--blue-light);
  background: rgba(37,99,235,.08);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-mid) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(37,99,235,.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { font-size: 1.05rem; max-width: 500px; margin-inline: auto; margin-bottom: 2rem; }
.cta-banner .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Process / Steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  margin-top: 3.5rem;
  counter-reset: steps;
}

.process-step {
  counter-increment: steps;
}

.step-num {
  font-family: var(--ff-mono);
  font-size: .72rem;
  color: var(--blue-light);
  letter-spacing: .1em;
  margin-bottom: 1rem;
}

.step-num::before {
  content: "0" counter(steps);
}

.process-step h3 { color: var(--white); margin-bottom: .5rem; font-size: 1rem; }
.process-step p { font-size: .88rem; }

/* ---------- Staffing Page ---------- */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2rem;
}

.skill-tag {
  padding: .38rem .9rem;
  background: rgba(37,99,235,.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem;
  font-weight: 500;
  color: var(--blue-light);
  font-family: var(--ff-mono);
}

.staffing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3.5rem;
}

.staffing-feature {
  background: var(--navy-mid);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}

.staffing-feature h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.staffing-feature p { font-size: .88rem; }

/* ---------- About Page ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 3.5rem;
}

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

.value-card {
  background: var(--navy-mid);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color var(--transition);
}

.value-card:hover { border-color: var(--border); }
.value-card h3 { color: var(--white); margin-bottom: .5rem; font-size: 1rem; }
.value-card p { font-size: .88rem; }

/* ---------- Mentorship ---------- */
.mentorship-box {
  background: linear-gradient(135deg, rgba(37,99,235,.12) 0%, rgba(6,182,212,.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2.5rem;
  align-items: center;
}

.mentorship-box h2 { color: var(--white); margin-bottom: .75rem; }
.mentorship-box p { font-size: 1rem; }

/* ---------- Contact Page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
  margin-top: 3.5rem;
}

.contact-info h3 { color: var(--white); margin-bottom: .4rem; }
.contact-info p { font-size: .92rem; }

.contact-item {
  display: flex;
  gap: 14px;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--border-dim);
}

.contact-item:first-child { padding-top: 0; }

.contact-icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(37,99,235,.12);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--blue-light);
}

/* Form */
.contact-form {
  background: var(--navy-mid);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--white-dim);
  margin-bottom: .4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: var(--ff-sans);
  font-size: .95rem;
  padding: .7rem 1rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(155,170,207,.4); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.form-group select option { background: var(--navy-mid); }

.form-submit { width: 100%; justify-content: center; padding-block: .85rem; font-size: 1rem; margin-top: .4rem; }

/* Flash messages */
.flash {
  padding: .9rem 1.2rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  font-size: .9rem;
  font-weight: 500;
}
.flash-success { background: rgba(5,150,105,.15); border: 1px solid rgba(5,150,105,.3); color: #6ee7b7; }
.flash-error   { background: rgba(220,38,38,.12);  border: 1px solid rgba(220,38,38,.3);  color: #fca5a5; }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  padding-top: calc(68px + 72px);
  padding-bottom: 72px;
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,.1) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .eyebrow { margin-bottom: .75rem; }
.page-hero h1 { margin-bottom: .75rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-mid);
  border-top: 1px solid var(--border-dim);
  padding-top: 72px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand .logo { margin-bottom: 1.1rem; }
.footer-brand p { font-size: .88rem; max-width: 280px; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 1.4rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--border-dim);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  color: var(--white-dim);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--border);
  color: var(--blue-light);
  background: rgba(37,99,235,.08);
}

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--blue-light);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; }

.footer-col ul li a {
  font-size: .88rem;
  color: var(--white-dim);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--white); }

.footer-col address p {
  font-size: .88rem;
  margin-bottom: .45rem;
}

.footer-col address a { color: var(--white-dim); }
.footer-col address a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--border-dim);
  padding-block: 20px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(155,170,207,.5);
  text-align: center;
}

/* ---------- Services Detail Page ---------- */
.service-detail {
  padding-block: 72px;
  border-bottom: 1px solid var(--border-dim);
}

.service-detail:last-child { border-bottom: none; }

.service-detail-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-detail-inner.reverse { direction: rtl; }
.service-detail-inner.reverse > * { direction: ltr; }

.service-detail-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--navy-light);
  position: relative;
}

.service-detail-visual img { width: 100%; height: 100%; object-fit: cover; opacity: .8; }

.service-detail-content h2 { color: var(--white); margin-bottom: .75rem; font-size: 1.8rem; }
.service-detail-content p { font-size: .95rem; margin-bottom: .9rem; }

.service-detail-content ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.2rem;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--white-dim);
}

.service-detail-content ul li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .service-detail-inner { grid-template-columns: 1fr; gap: 36px; }
  .service-detail-inner.reverse { direction: ltr; }
  .mentorship-box { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding-block: 64px; }

  .nav-toggle { display: flex; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(6,13,31,.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-dim);
    padding: 1rem;
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 99;
    margin-left: 0;
  }

  .main-nav.open { transform: translateY(0); }

  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: .75rem 1rem; font-size: 1rem; }

  .hero-stats { flex-direction: column; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand p { max-width: none; }

  .services-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .mentorship-box { padding: 2rem 1.5rem; }
  .contact-form { padding: 1.5rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-content { padding-block: 56px; }
}
