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

:root {
  --navy: #152238;
  --navy-light: #1e3050;
  --dark: #0d1720;
  --accent: #3b82f6;
  --accent-dark: #2563eb;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --light: #f3f4f6;
  --lighter: #f9fafb;
  --white: #ffffff;
  --green: #10b981;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'DM Sans', 'Inter', sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,.07);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --radius: 12px;
  --max-w: 1140px;
}

html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--dark); line-height: 1.7; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
ul, ol { list-style: none; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section--alt { background: var(--light); }
.section--navy { background: var(--navy); color: var(--white); }
.section--dark { background: var(--dark); color: var(--white); }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: .75rem; }
h3 { font-size: 1.25rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; color: var(--gray); }
.text-center { text-align: center; }
.text-white h1, .text-white h2, .text-white h3, .text-white h4 { color: var(--white); }
.text-white p { color: rgba(255,255,255,.75); }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 640px; }
.max-w-xl { max-width: 780px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 8px; font-weight: 600;
  font-size: .95rem; transition: all .3s; cursor: pointer; border: 2px solid transparent;
}
.btn--primary { background: var(--accent); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: var(--light); color: var(--navy); }
.btn--sm { padding: 10px 22px; font-size: .85rem; }
.btn svg { width: 16px; height: 16px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px; border-radius: 6px; font-size: .9rem; font-weight: 500; color: var(--dark);
  transition: all .2s;
}
.nav a:hover, .nav a.active { color: var(--accent); background: rgba(59,130,246,.06); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--dark); margin: 5px 0; transition: .3s; }

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white); overflow: hidden; position: relative;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: radial-gradient(ellipse at 70% 50%, rgba(59,130,246,.12) 0%, transparent 70%);
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.2rem); }
.hero p { color: rgba(255,255,255,.8); font-size: 1.1rem; }
.hero__img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ===== Cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card {
  padding: 32px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 52px; height: 52px; border-radius: 10px;
  background: rgba(59,130,246,.08); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; }
.card__img { border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.card__img img { width: 100%; height: 200px; object-fit: cover; }

/* ===== Split ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__img img { border-radius: var(--radius); box-shadow: var(--shadow); }

.checklist li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; color: var(--dark); font-weight: 500; }
.checklist li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; margin-top: 3px; }

/* ===== Steps ===== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step-card { text-align: center; }
.step-card__img { border-radius: var(--radius); overflow: hidden; margin-bottom: 1rem; height: 280px; }
.step-card__img img { width: 100%; height: 100%; object-fit: cover; }
.step-card h3 { margin-bottom: .5rem; }
.step-card p { font-size: .9rem; }

/* ===== Testimonials ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.testimonial {
  padding: 32px; border-radius: var(--radius); background: var(--white);
  box-shadow: var(--shadow); border-left: 4px solid var(--accent);
}
.testimonial__stars { display: flex; gap: 2px; margin-bottom: 1rem; color: #f59e0b; }
.testimonial__stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial blockquote { font-style: italic; color: var(--dark); margin-bottom: 1.5rem; line-height: 1.7; font-size: .95rem; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial__author strong { display: block; color: var(--dark); font-size: .9rem; }
.testimonial__author span { font-size: .8rem; color: var(--gray); }

/* ===== Benefits List ===== */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.benefit-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 20px;
  border-radius: 8px; background: rgba(59,130,246,.04);
}
.benefit-item svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.benefit-item p { margin: 0; color: var(--dark); font-weight: 500; font-size: .95rem; }

/* ===== Pricing Card ===== */
.pricing-card {
  max-width: 400px; margin: 0 auto; padding: 40px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-lg); text-align: center;
  border: 2px solid var(--accent);
}
.pricing-card__price { font-size: 3rem; font-weight: 800; color: var(--dark); margin: .5rem 0; }
.pricing-card__price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.pricing-card ul { text-align: left; margin: 1.5rem 0; }
.pricing-card ul li { padding: 10px 0; border-bottom: 1px solid var(--light); display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--dark); }
.pricing-card ul li svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white); text-align: center; padding: 72px 24px; border-radius: var(--radius);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.8); max-width: 560px; margin: 0 auto 1.5rem; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-item { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-item svg { width: 24px; height: 24px; color: var(--accent); flex-shrink: 0; }
.contact-item h3 { margin-bottom: 0; }
.contact-item p { margin: 0; font-size: .9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 16px; border: 1px solid #d1d5db; border-radius: 8px;
  font-family: var(--font); font-size: .95rem; margin-bottom: 14px; transition: border-color .2s; background: var(--white);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(59,130,246,.1); }

/* ===== Page Header ===== */
.page-header {
  background: linear-gradient(160deg, var(--navy) 0%, var(--dark) 100%);
  color: var(--white); padding: 100px 0 60px; text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p { color: rgba(255,255,255,.75); max-width: 660px; margin: 0 auto; }

/* ===== Footer ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.6); padding: 60px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer h4 { color: var(--white); margin-bottom: 1rem; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.5); font-size: .9rem; }
.footer a:hover { color: var(--white); }
.footer ul li { margin-bottom: 8px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; }
.footer__social { display: flex; gap: 16px; }
.footer__social a { color: rgba(255,255,255,.4); transition: color .2s; }
.footer__social a:hover { color: var(--white); }
.footer__social svg { width: 20px; height: 20px; }
.footer__brand { font-size: .9rem; line-height: 1.6; max-width: 300px; }
.footer__logo { height: 40px; margin-bottom: 1rem; filter: brightness(0) invert(1); }

/* ===== Training Formats ===== */
.format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.format-card { padding: 24px; border-radius: 8px; background: var(--white); box-shadow: var(--shadow); text-align: center; }
.format-card svg { width: 32px; height: 32px; color: var(--accent); margin-bottom: .75rem; }

/* ===== Certification ===== */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.cert-card { padding: 28px; border-radius: var(--radius); background: rgba(59,130,246,.04); border: 1px solid rgba(59,130,246,.15); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero__img { max-width: 400px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 24px; box-shadow: var(--shadow); border-top: 1px solid var(--light); }
  .nav.open { display: flex; }
  .hamburger { display: block; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .format-grid { grid-template-columns: 1fr 1fr; }
}
