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

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #334155;
  background: #f8fafc;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Fjalla One', sans-serif;
  font-weight: normal;
}

/* ---- Hero Slider ---- */
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-bg.active {
  opacity: 1;
}

/* ---- CTA Buttons ---- */
.cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #2dcc70;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}
.cta-btn:hover {
  background: #22a85a;
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}
.cta-btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}
.cta-btn-outline:hover {
  background: white;
  color: #1a1a2e;
  text-decoration: none;
}

/* ---- Service Cards ---- */
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(45, 204, 112, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

/* ---- Exercise Grid ---- */
.exercise-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  background: white;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}
.exercise-card:hover {
  box-shadow: 0 8px 25px rgba(45,204,112,0.2);
  transform: translateY(-3px);
}
.exercise-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.exercise-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45, 204, 112, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.exercise-card:hover .card-overlay {
  opacity: 1;
}
.exercise-card .card-title {
  padding: 12px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #334155;
  background: white;
}

/* ---- PDF Modal ---- */
.pdf-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.pdf-modal.open {
  display: flex;
}
.pdf-modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 900px;
  height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0,0,0,0.4);
}
.pdf-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.pdf-modal-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}
.pdf-modal-close {
  background: #e2e8f0;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  color: #475569;
}
.pdf-modal-close:hover {
  background: #cbd5e1;
}
.pdf-modal-body {
  flex: 1;
  overflow: hidden;
}
.pdf-modal-body embed, .pdf-modal-body iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ---- Team cards ---- */
.team-card {
  background: white;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.team-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  display: block;
  border: 3px solid #2dcc70;
}

/* ---- Fact bars (mission page) ---- */
.fact-bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
  margin: 6px 0 14px;
}
.fact-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2dcc70, #22a85a);
}

/* ---- Contact form ---- */
.form-input {
  width: 100%;
  padding: 11px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  background: white;
  color: #334155;
}
.form-input:focus {
  border-color: #2dcc70;
  box-shadow: 0 0 0 3px rgba(45,204,112,0.12);
}
.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin-bottom: 6px;
}
.submit-btn {
  width: 100%;
  padding: 12px;
  background: #2dcc70;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  font-family: 'Inter', system-ui, sans-serif;
}
.submit-btn:hover {
  background: #22a85a;
  transform: translateY(-1px);
}

/* ---- Page title banner ---- */
.page-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0f3460 100%);
  color: white;
  padding: 52px 0 44px;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(45, 204, 112, 0.08);
}

/* ---- Glossary cards ---- */
.glossary-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-left: 4px solid #2dcc70;
  transition: box-shadow 0.2s, transform 0.2s;
}
.glossary-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.glossary-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2dcc70;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* ---- Partner logos ---- */
.partner-logo {
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.3s, opacity 0.3s;
  height: 60px;
  width: auto;
  object-fit: contain;
}
.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---- Footer ---- */
footer {
  background: #0f172a;
  color: #94a3b8;
}
footer a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}
footer a:hover {
  color: #2dcc70;
  text-decoration: none;
}

/* ---- Back to top ---- */
#back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #2dcc70;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 50;
  text-decoration: none;
  font-size: 1.3rem;
  box-shadow: 0 4px 14px rgba(45,204,112,0.4);
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
#back-to-top:hover {
  background: #22a85a;
  color: white;
}

/* ---- Navbar ---- */
nav.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  z-index: 50;
}
nav.site-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.site-nav .nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
nav.site-nav .nav-logo img {
  height: 40px;
  width: auto;
}
nav.site-nav .nav-logo span {
  font-family: 'Fjalla One', sans-serif;
  font-size: 1.2rem;
  color: #1e293b;
}
nav.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.site-nav .nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}
nav.site-nav .nav-links a:hover {
  color: #2dcc70;
}
nav.site-nav .nav-links a.active {
  color: #2dcc70;
  font-weight: 600;
}
nav.site-nav .lang-btn {
  padding: 5px 14px;
  border: 1.5px solid #2dcc70;
  color: #2dcc70;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}
nav.site-nav .lang-btn:hover {
  background: #2dcc70;
  color: white;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #475569;
}
.mobile-nav {
  display: none;
  background: white;
  border-top: 1px solid #f1f5f9;
  padding: 12px 24px 16px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: color 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: #2dcc70;
}
.mobile-nav a:last-child {
  border-bottom: none;
}

@media (max-width: 1023px) {
  nav.site-nav .nav-links {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .mobile-nav.open {
    display: block;
  }
}

/* ---- Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-gap {
  padding: 72px 0;
}
.section-gap-sm {
  padding: 48px 0;
}
.nav-spacer {
  height: 64px;
}
