:root {
    --navy: #0b1d39;
    --navy-light: #102b5c;
    --gold: #f4c430;
    --gold-dark: #dcae18;
    --ink: #253047;
    --muted: #5b6472;
    --surface: #ffffff;
    --page: #f5f7fa;
    --border: #dbe2ea;
    --shadow: 0 10px 28px rgba(11, 29, 57, 0.09);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--page);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(90%, 1200px); margin-inline: auto; }
.section { padding: 72px 0; }
.section--white { background: var(--surface); }

.section-heading { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.2; text-align: center; }
.subtitle { max-width: 700px; margin: 0 auto 38px; color: var(--muted); text-align: center; }

/* Header and navigation */
.navbar { position: sticky; top: 0; z-index: 1000; background: var(--navy); box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15); }
.nav-flex { display: flex; min-height: 68px; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 1.375rem; font-weight: 700; letter-spacing: .2px; white-space: nowrap; }
.logo-image { width: 58px; height: 46px; padding: 3px; border-radius: 6px; background: #fff; object-fit: contain; }
.logo-text { display: inline-block; }
.nav-menu ul { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.nav-menu a { position: relative; display: inline-block; padding: 8px 0; color: #fff; font-size: .93rem; font-weight: 600; }
.nav-menu a::after { position: absolute; right: 0; bottom: 1px; left: 0; height: 2px; background: var(--gold); content: ""; transform: scaleX(0); transform-origin: right; transition: transform .25s ease; }
.nav-menu a:hover, .nav-menu a:focus-visible, .nav-menu a[aria-current="page"] { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a:focus-visible::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .35); border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.menu-toggle span { display: block; width: 21px; height: 2px; margin: 5px auto; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; }
.hero-container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(32px, 6vw, 72px); min-height: 530px; padding: 72px 0; }
.hero-badge { display: inline-block; margin-bottom: 22px; padding: 7px 16px; border-radius: 999px; background: var(--gold); color: #171717; font-size: .92rem; font-weight: 700; }
.hero h1 { max-width: 680px; margin: 0 0 20px; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.1; }
.hero p { max-width: 600px; margin: 0 0 26px; color: rgba(255, 255, 255, .9); font-size: 1.1rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-bottom: 30px; font-weight: 600; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-image { width: 100%; max-width: 520px; margin-inline: auto; }
.hero-slider { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 14px; background: rgba(255, 255, 255, .12); box-shadow: 0 16px 32px rgba(0, 0, 0, .22); }
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hero-slide.is-active { z-index: 1; opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-control { position: absolute; top: 50%; z-index: 2; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(11, 29, 57, .78); color: #fff; cursor: pointer; opacity: 0; transform: translateY(-50%); transition: opacity .2s ease, background-color .2s ease; }
.hero-slider:hover .slider-control, .hero-slider:focus-within .slider-control { opacity: 1; }
.slider-control:hover { background: var(--navy); }
.slider-control--previous { left: 12px; }
.slider-control--next { right: 12px; }
.slider-dots { position: absolute; right: 0; bottom: 13px; left: 0; z-index: 2; display: flex; justify-content: center; gap: 8px; }
.slider-dot { width: 9px; height: 9px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255, 255, 255, .4); cursor: pointer; transition: transform .2s ease, background-color .2s ease; }
.slider-dot[aria-current="true"] { background: var(--gold); transform: scale(1.2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 24px; border: 2px solid transparent; border-radius: 8px; font-weight: 700; transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: #171717; }
.btn-primary:hover { background: var(--gold-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.btn-secondary { border-color: #fff; color: #fff; }
.btn-secondary:hover { background: #fff; color: var(--navy); }

/* Cards and content */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 24px; }
.card { min-height: 100%; padding: 24px; border: 1px solid rgba(219, 226, 234, .8); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.card h3 { margin: 0 0 9px; color: var(--navy); font-size: 1.16rem; }
.card p { margin: 0; color: var(--muted); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.audience-card { position: relative; min-height: 210px; padding: 28px 24px 24px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.audience-card::before { position: absolute; top: 0; right: 0; left: 0; height: 4px; background: var(--gold); content: ""; }
.audience-number { display: grid; width: 42px; height: 42px; place-items: center; margin-bottom: 18px; border-radius: 50%; background: #eef3fb; color: var(--navy); font-size: .83rem; font-weight: 800; }
.audience-card h3 { margin: 0 0 10px; color: var(--navy); font-size: 1.22rem; }
.audience-card p { margin: 0; color: var(--muted); }
.audience-link { display: inline-flex; margin-top: 16px; color: var(--navy); font-size: .92rem; font-weight: 750; }
.audience-link:hover { color: #0064b5; }
.popular-course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.popular-course-card { display: flex; min-height: 205px; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.course-label { display: inline-flex; width: fit-content; margin-bottom: 14px; padding: 5px 10px; border-radius: 999px; background: #eef3fb; color: var(--navy); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.popular-course-card h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.18rem; }
.popular-course-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.popular-course-card a { width: fit-content; margin-top: auto; padding-top: 18px; color: var(--navy); font-size: .92rem; font-weight: 750; }
.popular-course-card a:hover { color: #0064b5; }
.course-card { display: flex; align-items: center; min-height: 108px; font-weight: 700; color: var(--navy); }
.benefits { width: min(90%, 1100px); margin: 0 auto; padding: 64px 0; }
.benefits-intro { max-width: 680px; margin: 0 auto 30px; color: var(--muted); text-align: center; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding: 0; list-style: none; }
.benefit { display: flex; min-height: 86px; align-items: center; gap: 13px; padding: 17px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 700; }
.benefit-mark { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); font-size: .92rem; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review-initial { display: grid; width: 45px; height: 45px; flex: 0 0 45px; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.stars { color: #b8860b; letter-spacing: 1px; }
.review-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review-card { min-height: 100%; padding: 26px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.review-card blockquote { margin: 0; color: var(--ink); font-size: 1rem; font-style: normal; }
.review-card blockquote::before { display: block; height: 22px; margin-bottom: 6px; color: var(--gold); content: "“"; font-family: Georgia, serif; font-size: 3rem; line-height: 1; }
.review-course { display: block; margin-top: 3px; color: var(--muted); font-size: .83rem; }
.trust-section { background: #eef3fb; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.trust-card { display: flex; min-height: 112px; align-items: center; gap: 14px; padding: 20px; border: 1px solid #d5e0ed; border-radius: 12px; background: #fff; color: var(--navy); font-weight: 750; }
.trust-symbol { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; background: var(--navy); color: var(--gold); font-weight: 800; }
.center-action { margin-top: 30px; text-align: center; }

/* CTA and footer */
.cta { padding: 72px 20px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; text-align: center; }
.cta-content { max-width: 720px; margin-inline: auto; }
.cta-eyebrow { display: inline-block; margin-bottom: 14px; color: var(--gold); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.cta h2 { margin: 0; font-size: clamp(1.85rem, 3vw, 2.4rem); }
.cta p { margin: 13px auto 24px; color: rgba(255, 255, 255, .86); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cta .btn-secondary { min-width: 168px; }
.cta-note { margin-top: 18px; color: rgba(255, 255, 255, .72); font-size: .88rem; }
.footer { padding: 28px 20px; background: var(--navy-light); color: #fff; text-align: center; font-size: .92rem; }
.footer p { margin: 4px 0; }
.whatsapp-float { position: fixed; right: 20px; bottom: 20px; display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .28); font-size: 1.55rem; z-index: 999; transition: transform .2s ease, background-color .2s ease; }
.whatsapp-float:hover { background: #1ebe5d; transform: scale(1.07); }
.call-now-btn { display: none; }

/* About page */
.page-hero { padding: 76px 0; background: linear-gradient(135deg, var(--navy), var(--navy-light)); color: #fff; text-align: center; }
.page-hero h1 { margin: 0; font-size: clamp(2.15rem, 4vw, 3.25rem); line-height: 1.15; }
.page-hero p { margin: 12px 0 0; color: var(--gold); font-size: 1.08rem; font-weight: 650; }
.about-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 6vw, 70px); align-items: center; }
.about-copy h2, .about-mission h2 { margin: 0 0 14px; color: var(--navy); font-size: clamp(1.55rem, 3vw, 2rem); }
.about-copy p, .about-mission p { color: var(--muted); }
.about-copy p:last-child, .about-mission p:last-child { margin-bottom: 0; }
.about-logo-panel { display: grid; min-height: 310px; place-items: center; padding: 28px; border-radius: 16px; background: #eef3fb; }
.about-logo-panel img { width: min(100%, 290px); border-radius: 12px; mix-blend-mode: multiply; }
.about-mission { margin-top: 54px; padding: 30px; border-left: 5px solid var(--gold); border-radius: 0 12px 12px 0; background: #fff; box-shadow: var(--shadow); }
.about-commitment { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; margin-top: 54px; padding: 28px; border-radius: 14px; background: #f7f9fc; }
.about-commitment img { width: 116px; height: 116px; border-radius: 12px; background: #fff; object-fit: contain; mix-blend-mode: multiply; }
.about-commitment h2 { margin: 0 0 10px; color: var(--navy); font-size: 1.45rem; }
.about-commitment p { margin: 0; color: var(--muted); }
.about-highlights { margin-top: 54px; }
.about-highlights h2 { margin: 0 0 10px; color: var(--navy); text-align: center; font-size: clamp(1.55rem, 3vw, 2rem); }
.about-highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.about-highlight { padding: 22px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.about-highlight span { display: grid; width: 30px; height: 30px; place-items: center; margin-bottom: 13px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; }
.about-highlight h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.05rem; }
.about-highlight p { margin: 0; color: var(--muted); font-size: .93rem; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 980px) {
    .nav-flex { min-height: 64px; }
    .menu-toggle { display: block; }
    .nav-menu { position: absolute; top: 100%; right: 0; left: 0; display: grid; grid-template-rows: 0fr; overflow: hidden; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .12); transition: grid-template-rows .25s ease; }
    .nav-menu.is-open { grid-template-rows: 1fr; }
    .nav-menu ul { display: flex; min-height: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 5%; }
    .nav-menu a { display: block; padding: 13px 0; }
    .nav-menu a::after { display: none; }
    .hero-container { grid-template-columns: 1fr; min-height: 0; text-align: center; }
    .hero-content { order: 2; }
    .hero-image { order: 1; }
    .hero p { margin-inline: auto; }
    .hero-points, .hero-buttons { justify-content: center; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { min-height: 0; }
    .popular-course-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .review-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro { grid-template-columns: 1fr; }
    .about-logo-panel { min-height: 240px; }
    .about-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    body { padding-bottom: 60px; }
    .section { padding: 56px 0; }
    .hero-container { padding: 50px 0 58px; }
    .call-now-btn { position: fixed; right: 0; bottom: 0; left: 0; z-index: 1001; display: block; padding: 17px 0; background: var(--navy); color: #fff; font-size: 1rem; font-weight: 700; text-align: center; }
    .whatsapp-float { right: 16px; bottom: 76px; width: 52px; height: 52px; }
    .slider-control { width: 36px; height: 36px; opacity: 1; }
    .logo-image { width: 52px; height: 42px; }
    .logo-text { font-size: 1.1rem; }
    .popular-course-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: stretch; }
    .cta .btn { width: 100%; }
    .page-hero { padding: 58px 0; }
    .about-commitment { grid-template-columns: 1fr; text-align: center; }
    .about-commitment img { margin-inline: auto; }
    .about-highlight-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
