/* ===========================
   TOKENS
   =========================== */
:root {
  --bg:         #0d1f35;
  --bg-card:    #122844;
  --bg-card-alt:#0f2237;
  --border:     #1e3f60;
  --accent:     #00b4d8;
  --accent-dim: #0077b6;
  --accent-glow:rgba(0, 180, 216, 0.18);
  --text:       #e0f0ff;
  --text-muted: #7aaccf;
  --white:      #ffffff;
  --radius:     12px;
  --shadow:     0 4px 32px rgba(0,0,0,0.4);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
strong { color: var(--white); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--accent);
  color: var(--bg);
}
.btn--primary:hover {
  background: #00d4f5;
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.btn--outline:hover {
  background: var(--accent-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  color: var(--accent);
  border-color: rgba(0,180,216,0.35);
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
}

.btn--lg {
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
}

/* ===========================
   HEADER
   =========================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 31, 53, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header--scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header__logo img {
  height: 44px;
  width: auto;
  border-radius: 6px;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.header__nav a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
.header__nav a:hover { color: var(--white); }

.header__menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.hero__text { flex: 1; }

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(0,180,216,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1.2rem;
}

.hero__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.hero__sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__logo-wrap {
  flex-shrink: 0;
}

.hero__shield {
  width: 320px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 60px rgba(0,180,216,0.25);
}

/* ===========================
   SECTIONS
   =========================== */
.section { padding: 90px 0; }

.section__title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  text-align: center;
  margin-bottom: 0.6rem;
}

.section__title--left { text-align: left; }

.section__sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 3rem;
}

/* ===========================
   SERVICES
   =========================== */
.services {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,119,182,0.2);
}

.card__icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.card__icon svg { width: 22px; height: 22px; }

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   ABOUT
   =========================== */
.about__inner {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.about__photo-wrap {
  flex-shrink: 0;
}

.about__photo {
  width: 260px;
  height: 260px;
  object-fit: cover;
  object-position: top center;
  border-radius: 50%;
  border: 3px solid var(--accent-dim);
  box-shadow: 0 0 40px rgba(0,180,216,0.2);
}

.about__text { flex: 1; }

.about__text .section__title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.about__text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.about__text .btn { margin-top: 0.5rem; }

/* ===========================
   COURSES
   =========================== */
.courses {
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.courses__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.course-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.8rem;
  transition: border-color var(--transition), transform var(--transition);
}

.course-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-4px);
}

.course-card__badge {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: rgba(0,119,182,0.25);
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: 0.2rem 0.7rem;
}

.course-card__icon {
  width: 48px; height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(0,180,216,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent);
}

.course-card__icon svg { width: 22px; height: 22px; }

.course-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.course-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===========================
   CONTACT
   =========================== */
.contact {
  text-align: center;
}

.contact__inner {
  max-width: 600px;
  margin: 0 auto;
}

.contact__sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin: 0.5rem 0 2rem;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: #091729;
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo {
  height: 36px;
  width: auto;
  border-radius: 4px;
  opacity: 0.85;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer__linkedin {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__linkedin:hover { color: var(--accent); }
.footer__linkedin svg { width: 22px; height: 22px; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
  .hero__inner {
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
  }

  .hero__sub { margin: 0 auto 2rem; }
  .hero__cta { justify-content: center; }

  .hero__shield {
    width: 220px;
    height: auto;
  }

  .about__inner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .section__title--left { text-align: center; }
  .about__text .btn { margin: 0.5rem auto 0; display: block; width: fit-content; }

  .header__nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    background: #0d1f35;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.2rem;
    align-items: flex-start;
  }

  .header__nav--open { display: flex; }
  .header__menu-toggle { display: block; }

  .footer__inner { justify-content: center; text-align: center; }
}
