/* ======================================================
   SGABPL — Design System
   Sai Graphics Assessment Body Pvt. Ltd.
   ====================================================== */

/* ── Variables ── */
:root {
  --blue: #0047AB;
  --blue-light: #1a5ec4;
  --blue-dark: #003080;
  --navy: #0A1628;
  --navy-light: #0f2240;
  --cyan: #00B4D8;
  --cyan-glow: rgba(0, 180, 216, 0.3);
  --white: #ffffff;
  --off-white: #f0f4f8;
  --gray-100: #e8ecf1;
  --gray-200: #d1d9e4;
  --gray-400: #8896a8;
  --gray-600: #5a6878;
  --gray-800: #2d3a4a;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-pad: clamp(80px, 10vw, 140px);
  --container-width: 1240px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul, ol { list-style: none; }

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

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

/* ── Typography ── */
.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 24px;
}

.section-title.centered { text-align: center; }

.section-desc {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 640px;
  line-height: 1.7;
}

.section-desc.centered {
  text-align: center;
  margin: 0 auto 56px;
}

.text-accent { color: var(--blue); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 71, 171, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

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

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.logo-hex {
  position: relative;
  width: 40px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-hex svg {
  width: 100%;
  height: 100%;
  color: var(--blue);
}

.logo-letter {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.04em;
}

.logo-tagline {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white);
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--navy) 0%, #071224 40%, #0a1a3a 100%);
  overflow: hidden;
}

.hex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0, 71, 171, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0, 180, 216, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 70%, rgba(10, 22, 40, 0.8) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 clamp(20px, 6vw, 80px);
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.25);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 40px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title-line {
  display: block;
}

.hero-title-line:first-child {
  font-size: clamp(36px, 7vw, 72px);
}

.hero-title-line.accent {
  font-size: clamp(38px, 7.5vw, 78px);
  background: linear-gradient(135deg, var(--cyan) 0%, #4dd0e1 50%, var(--blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title-line.small {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 500;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin: 0 auto 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--cyan), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── About ── */
.about { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}

.about-main .section-title { margin-bottom: 28px; }

.about-lead {
  font-size: 18px;
  color: var(--gray-800);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-main p:last-child {
  color: var(--gray-600);
}

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.4s var(--ease-out);
}

.about-card:hover {
  background: var(--white);
  border-color: rgba(0, 71, 171, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 71, 171, 0.08);
}

.about-card-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  margin-bottom: 16px;
}

.about-card-icon svg { width: 100%; height: 100%; }

.about-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.about-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 36px 44px;
  border: 1px solid rgba(0, 71, 171, 0.3);
}

.badge-hex {
  position: relative;
  flex-shrink: 0;
  width: 80px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-hex svg { width: 100%; height: 100%; }

.badge-text {
  position: absolute;
  text-align: center;
  font-size: 12px;
  color: var(--cyan);
  line-height: 1.3;
}

.badge-text strong {
  font-size: 20px;
  font-family: var(--font-display);
  display: block;
  color: var(--white);
}

.badge-info { color: var(--white); }

.badge-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
  font-weight: 600;
}

.badge-value {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.badge-sub {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ── Sectors ── */
.sectors {
  background: var(--off-white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.sector-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 40px 32px 36px;
  transition: all 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.sector-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.sector-card:hover::before { transform: scaleX(1); }

.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 71, 171, 0.1);
  border-color: rgba(0, 71, 171, 0.15);
}

.sector-icon {
  width: 56px;
  height: 56px;
  color: var(--blue);
  margin-bottom: 24px;
}

.sector-icon svg { width: 100%; height: 100%; }

.sector-ssc {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.sector-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sector-qps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-qps span {
  background: rgba(0, 71, 171, 0.06);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.02em;
}

/* ── Technology ── */
.technology {
  background: var(--navy);
  color: var(--white);
}

.technology .section-label { color: var(--cyan); }
.technology .section-title { color: var(--white); }
.technology .text-accent { color: var(--cyan); }
.technology .section-desc { color: rgba(255, 255, 255, 0.6); }

.tech-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 72px;
}

.tech-feature {
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease-out);
}

.tech-feature:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(0, 180, 216, 0.2);
  transform: translateY(-4px);
}

.tech-feature-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: rgba(0, 180, 216, 0.2);
  line-height: 1;
  margin-bottom: 12px;
}

.tech-feature h4 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.tech-feature p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.tech-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.tech-showcase-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.showcase-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.showcase-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease-out);
}

.showcase-img-wrap:hover {
  border-color: rgba(0, 180, 216, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.showcase-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease-out);
}

.showcase-img-wrap:hover img {
  transform: scale(1.02);
}

/* ── Stats ── */
.stats {
  background: linear-gradient(160deg, var(--blue-dark) 0%, var(--blue) 50%, var(--blue-light) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-bg-hex {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='70' viewBox='0 0 60 70' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0l25.98 15v30L30 60 4.02 45V15z' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 70px;
}

.stats .section-label { color: rgba(255, 255, 255, 0.7); }
.stats .section-title { color: var(--white); }
.stats .text-accent { color: rgba(255, 255, 255, 0.9); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 56px;
}

.stat-item {
  text-align: center;
  padding: 36px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.4s var(--ease-out);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 13px;
  opacity: 0.6;
}

/* ── Presence ── */
.presence { background: var(--white); }

.presence-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.map-container {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid rgba(0, 71, 171, 0.2);
}

.india-map { width: 100%; height: auto; }

.map-outline {
  fill: rgba(0, 71, 171, 0.08);
  stroke: rgba(0, 71, 171, 0.3);
  stroke-width: 1.5;
}

.state-highlight {
  fill: rgba(0, 71, 171, 0.25);
  stroke: var(--blue);
  stroke-width: 1;
  opacity: 0.8;
  transition: all 0.4s ease;
}

.state-highlight:hover {
  fill: rgba(0, 71, 171, 0.4);
  opacity: 1;
}

.state-highlight.hq {
  fill: rgba(0, 180, 216, 0.3);
  stroke: var(--cyan);
  stroke-width: 1.5;
}

.state-name {
  font-family: var(--font-body);
  font-size: 9px;
  fill: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  pointer-events: none;
}

.hq-marker polygon {
  animation: hqPulse 2s ease-in-out infinite;
}

@keyframes hqPulse {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 180, 216, 0.3)); }
  50% { filter: drop-shadow(0 0 14px rgba(0, 180, 216, 0.7)); }
}

.state-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.state-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.state-item:hover {
  background: var(--white);
  border-color: rgba(0, 71, 171, 0.2);
  transform: translateX(4px);
}

.state-item.hq {
  background: linear-gradient(135deg, rgba(0, 71, 171, 0.06) 0%, rgba(0, 180, 216, 0.06) 100%);
  border-color: rgba(0, 71, 171, 0.2);
}

.state-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}

.state-item.hq .state-dot {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.state-item div {
  display: flex;
  flex-direction: column;
}

.state-item strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.state-item span:last-child {
  font-size: 12px;
  color: var(--gray-400);
}

/* ── Training ── */
.training {
  background: var(--off-white);
}

.training-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.training-images {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
}

.training-img-main,
.training-img-secondary {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.training-img-main img,
.training-img-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.training-img-main:hover img,
.training-img-secondary:hover img {
  transform: scale(1.05);
}

.training-content .section-title { margin-bottom: 20px; }

.training-content p {
  color: var(--gray-600);
  margin-bottom: 28px;
}

.training-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.training-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.training-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.training-list li span {
  font-size: 15px;
  color: var(--gray-800);
  font-weight: 500;
}

/* ── Team ── */
.team { background: var(--white); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  transition: all 0.4s var(--ease-out);
}

.team-card:hover {
  background: var(--white);
  transform: translateY(-6px);
  box-shadow: 0 16px 50px rgba(0, 71, 171, 0.08);
  border-color: rgba(0, 71, 171, 0.15);
}

.team-card.director {
  grid-column: 1 / -1;
  max-width: 400px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: rgba(0, 71, 171, 0.3);
  color: var(--white);
}

.team-card.director:hover {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.team-avatar { margin-bottom: 20px; }

.avatar-hex {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  background: var(--blue);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-hex span {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.team-card.director .avatar-hex {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
}

.team-card.director .avatar-hex span { font-size: 28px; }

.team-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-card.director h3 { font-size: 24px; }

.team-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.team-card:not(.director) .team-role { color: var(--blue); }

.team-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.team-card.director p { color: rgba(255, 255, 255, 0.6); }

/* ── Contact ── */
.contact {
  background: var(--navy);
  color: var(--white);
}

.contact .section-label { color: var(--cyan); }
.contact .section-title { color: var(--white); }
.contact .text-accent { color: var(--cyan); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.4s var(--ease-out);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(0, 180, 216, 0.2);
  transform: translateY(-4px);
}

.contact-icon {
  width: 44px;
  height: 44px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.contact-icon svg { width: 100%; height: 100%; }

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 14px;
}

.contact-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.contact-link {
  color: var(--cyan);
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover { color: var(--white); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Footer ── */
.footer {
  background: #060e1a;
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .nav-logo { margin-bottom: 16px; }

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links-group h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links-group a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  padding: 4px 0;
  transition: all 0.3s ease;
}

.footer-links-group a:hover {
  color: var(--cyan);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
}

.footer-bottom p:first-child { margin-bottom: 4px; }
.footer-bottom p:last-child { opacity: 0.5; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

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

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sectors-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .tech-features { grid-template-columns: repeat(2, 1fr); }

  .tech-showcase { grid-template-columns: 1fr; }
  .tech-showcase-row { grid-template-columns: repeat(3, 1fr); }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .presence-layout { grid-template-columns: 1fr; }

  .training-layout { grid-template-columns: 1fr; }
  .training-images { order: 2; }

  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .team-card.director { grid-column: 1 / -1; }

  .contact-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto 48px; }

  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links .nav-link {
    font-size: 20px;
    padding: 12px 32px;
  }

  .nav-links .nav-cta { margin-left: 0; margin-top: 16px; }

  .nav-toggle { display: flex; z-index: 1001; }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-actions { flex-direction: column; align-items: center; }

  .tech-features { grid-template-columns: 1fr; }
  .tech-showcase-row { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: 1fr; max-width: 340px; margin: 56px auto 0; }

  .training-images { grid-template-columns: 1fr; }

  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  .about-badge { flex-direction: column; text-align: center; padding: 28px 24px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .hero-badge { font-size: 11px; padding: 6px 14px; }

  .section { padding: clamp(56px, 8vw, 80px) 0; }
}
