:root {
  --navy: #0b2545;
  --navy-light: #14355c;
  --accent: #2CA01C;
  --accent-dark: #23860f;
  --bg: #f6f8fb;
  --card: #ffffff;
  --text: #1c2b3a;
  --muted: #5c6b7a;
  --border: #e4e9f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.01em; }
.eyebrow {
  display: inline-block;
  color: var(--accent-dark);
  background: rgba(44, 160, 28, 0.1);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.02rem; }

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 248, 251, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 20px rgba(11,37,69,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1120px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.02rem; }
.logo-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.02em;
}
nav.links { display: flex; gap: 28px; }
nav.links a {
  position: relative;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--navy-light);
  padding-bottom: 2px;
}
nav.links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--accent);
  transition: right 0.2s ease;
}
nav.links a:hover { color: var(--accent-dark); }
nav.links a:hover::after { right: 0; }
.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 800px) {
  .nav-toggle { display: flex; }
  nav.links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(11,37,69,0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  nav.links.open { max-height: 320px; }
  nav.links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }
  nav.links a::after { display: none; }
}

/* Hero */
.hero {
  background: linear-gradient(180deg, #0b2545 0%, #14355c 100%);
  color: #fff;
  padding: 90px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-avatar { margin: 0 auto; }
}
.hero .eyebrow { background: rgba(44, 160, 28, 0.18); color: #8fe07a; }
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 14px; }
.hero .role {
  font-size: 1.1rem;
  color: #cfe3f7;
  font-weight: 500;
  margin-bottom: 22px;
}
.hero .desc { color: #b7c8dc; max-width: 560px; margin-bottom: 32px; }
@media (max-width: 860px) { .hero .desc { margin-left: auto; margin-right: auto; } }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .btn-row { justify-content: center; } }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.95rem;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }

.hero-avatar {
  width: 250px; height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent), #1a7a10);
  display: flex; align-items: center; justify-content: center;
  border: 6px solid rgba(255,255,255,0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.hero-avatar:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 26px 60px rgba(0,0,0,0.4);
}
.hero-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }
.stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.stat .num { font-size: 1.7rem; font-weight: 800; color: var(--accent); }
.stat .label { color: #cfe3f7; font-size: 0.88rem; margin-top: 4px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid p { color: var(--muted); margin-bottom: 16px; }
.about-grid p strong { color: var(--text); }

.about-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 40px;
}
@media (max-width: 760px) { .about-layout { grid-template-columns: 1fr; } }
.about-photo {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px rgba(11,37,69,0.14);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-photo:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(11,37,69,0.2); }
.about-photo img { width: 100%; display: block; }

.chip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-light);
}

/* Services */
.services-bg { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
}
.service-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(44, 160, 28, 0.1);
  color: var(--accent-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.service-card h3 { font-size: 1.02rem; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 0.9rem; }

/* Courses */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 860px) { .courses-grid { grid-template-columns: 1fr; } }
.course-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.course-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(11,37,69,0.12); }
.course-badge {
  align-self: flex-start;
  background: rgba(44, 160, 28, 0.1);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.course-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.course-card p { color: var(--muted); font-size: 0.9rem; flex-grow: 1; margin-bottom: 20px; }
.course-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.course-actions .btn { padding: 10px 16px; font-size: 0.86rem; }
.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost-dark:hover { background: var(--bg); border-color: var(--navy-light); }
.courses-footnote {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 28px;
}

/* Video */
.video-frame {
  max-width: 860px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11,37,69,0.16);
}
.video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

/* Sessions carousel */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-light) transparent;
}
.carousel-track::-webkit-scrollbar { height: 6px; }
.carousel-track::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.carousel-track::-webkit-scrollbar-thumb:hover { background: var(--navy-light); }

.session-item {
  flex: 0 0 auto;
  width: 180px;
  height: 180px;
  scroll-snap-align: start;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.session-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.3s ease;
  display: block;
}
.session-item:hover img { transform: scale(1.08); }

.carousel-btn {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(11,37,69,0.1);
  transition: background 0.2s ease, transform 0.15s ease;
}
.carousel-btn:hover { background: var(--bg); transform: scale(1.06); }
@media (max-width: 640px) {
  .session-item { width: 130px; height: 130px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 1.3rem; }
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .cert-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cert-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .cert-grid { grid-template-columns: 1fr; } }
.cert-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11,37,69,0.1); }
.cert-card .cert-img-wrap {
  background: #fff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  border-bottom: 1px solid var(--border);
}
.cert-card img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform 0.25s ease; }
.cert-card .cert-img-wrap:hover img { transform: scale(1.06); }
.cert-card .cert-label {
  padding: 12px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
}
/* Achievements */
.achieve-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .achieve-grid { grid-template-columns: repeat(2, 1fr); } }
.achieve-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.achieve-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(11,37,69,0.1); }
.achieve-card .cert-img-wrap {
  background: #fff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-bottom: 1px solid var(--border);
}
.achieve-card img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform 0.25s ease; }
.achieve-card .cert-img-wrap:hover img { transform: scale(1.06); }
.achieve-card .cert-label { padding: 12px 14px; font-size: 0.82rem; font-weight: 600; color: var(--navy); }

/* Photo gallery (workshops) */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 40px;
}
@media (max-width: 860px) { .photo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .photo-grid { grid-template-columns: 1fr; } }
.photo-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.photo-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,37,69,0.14); }
.photo-card img {
  width: 100%; height: 190px; object-fit: cover; display: block;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}
.photo-card:hover img { transform: scale(1.08); }
.photo-card .photo-caption { padding: 12px 14px; font-size: 0.85rem; color: var(--navy-light); font-weight: 500; }

.section-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto 40px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.section-banner img { width: 100%; display: block; }

/* Contact */
.contact-bg {
  background: linear-gradient(180deg, #0b2545 0%, #14355c 100%);
  color: #fff;
}
.contact-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-inner h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 14px; }
.contact-inner p { color: #b7c8dc; margin-bottom: 32px; }
.contact-methods {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 12px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.social-links a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.22);
  color: #cfe3f7;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.15s ease, color 0.2s ease;
}
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

footer {
  background: #081b33;
  color: #8ea3bc;
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
}
footer a { color: #cfe3f7; font-weight: 600; }

/* Scroll-reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * {
  animation: reveal-fade-up 0.6s ease forwards;
}
.reveal-stagger > * { opacity: 0; }
.reveal-stagger.in-view > *:nth-child(1) { animation-delay: 0.03s; }
.reveal-stagger.in-view > *:nth-child(2) { animation-delay: 0.09s; }
.reveal-stagger.in-view > *:nth-child(3) { animation-delay: 0.15s; }
.reveal-stagger.in-view > *:nth-child(4) { animation-delay: 0.21s; }
.reveal-stagger.in-view > *:nth-child(5) { animation-delay: 0.27s; }
.reveal-stagger.in-view > *:nth-child(6) { animation-delay: 0.33s; }
.reveal-stagger.in-view > *:nth-child(7) { animation-delay: 0.39s; }
.reveal-stagger.in-view > *:nth-child(8) { animation-delay: 0.45s; }
.reveal-stagger.in-view > *:nth-child(9) { animation-delay: 0.51s; }
.reveal-stagger.in-view > *:nth-child(10) { animation-delay: 0.57s; }
.reveal-stagger.in-view > *:nth-child(11) { animation-delay: 0.63s; }
.reveal-stagger.in-view > *:nth-child(12) { animation-delay: 0.69s; }
@keyframes reveal-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 14, 28, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox-overlay.open { opacity: 1; visibility: visible; }
.lightbox-overlay img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox-overlay.open img { transform: scale(1); }
.lightbox-caption {
  color: #dce6f2;
  text-align: center;
  margin-top: 16px;
  font-size: 0.92rem;
  max-width: 640px;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
@media (max-width: 600px) {
  .lightbox-overlay { padding: 16px; }
  .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
}
