:root {
    --navy: #0b1d41;
    --navy-2: #122a58;
    --red: #e52d45;
    --red-dark: #c91f37;
    --text: #18233a;
    --muted: #667085;
    --light: #f6f8fc;
    --border: #e5e9f2;
    --white: #fff;
    --shadow: 0 12px 35px rgba(11, 29, 65, .09);
    --radius: 16px;
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }

.topbar {
    background: var(--navy);
    color: #fff;
    font-size: 12px;
}
.topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.top-links { display: flex; gap: 22px; }
.top-links a:hover { color: #ffb7c1; }

.main-header { background: #fff; }
.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    gap: 28px;
}
.brand { flex: 0 0 auto; }
.brand img { width: 230px; height: 62px; object-fit: contain; }

.header-contact {
    margin-left: auto;
    display: flex;
    gap: 28px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--red);
    background: #fff0f2;
    border-radius: 50%;
}
.contact-item small, .contact-item strong { display: block; }
.contact-item small { color: var(--muted); font-size: 11px; }
.contact-item strong { font-size: 13px; }

.header-actions { display: flex; gap: 10px; }

.btn {
    border: 0;
    border-radius: 8px;
    padding: 11px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #fff; background: var(--red); }
.btn-primary:hover { background: var(--red-dark); }
.btn-dark { color: #fff; background: var(--navy); }
.btn-outline { color: var(--navy); background: #fff; border: 1px solid #cbd3e2; }
.btn-large { padding: 13px 20px; }
.btn-full { width: 100%; }

.main-nav {
    background: var(--navy);
    color: #fff;
    border-bottom: 3px solid var(--red);
}
.nav-inner { display: flex; align-items: center; }
.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.nav-list > li { position: relative; }
.nav-list a, .submenu-toggle {
    display: block;
    border: 0;
    background: transparent;
    color: #fff;
    padding: 15px 17px;
    font-size: 13px;
}
.nav-list a:hover, .nav-list a.active { background: var(--red); }
.submenu {
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    margin: 0;
    padding: 8px 0;
    background: #fff;
    color: var(--text);
    box-shadow: var(--shadow);
    border-radius: 0 0 10px 10px;
    list-style: none;
    display: none;
    z-index: 20;
}
.submenu a { color: var(--text); padding: 10px 15px; }
.submenu a:hover { color: #fff; }
.has-submenu:hover .submenu { display: block; }

.mobile-menu-head, .mobile-actions, .menu-toggle { display: none; }

.notice-bar { background: #f3f5f9; border-bottom: 1px solid var(--border); }
.notice-inner { display: flex; min-height: 42px; align-items: center; }
.notice-label {
    background: var(--red);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 11px 18px;
    white-space: nowrap;
}
.notice-track {
    padding: 0 18px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 12px;
}

.hero {
    background: linear-gradient(90deg, #eef3fb 0%, #f7f9fc 52%, #e8eef8 100%);
    overflow: hidden;
}
.hero-inner {
    min-height: 485px;
    display: grid;
    grid-template-columns: 1fr .95fr;
    align-items: center;
}
.hero-content { padding: 65px 0; position: relative; z-index: 1; }
.eyebrow {
    display: inline-block;
    color: var(--red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
}
.hero h1 {
    margin: 8px 0 15px;
    color: var(--navy);
    font-size: clamp(38px, 4vw, 62px);
    line-height: 1.04;
    letter-spacing: -2px;
}
.hero h1 span { display: inline; color: var(--red); }
.hero-text { max-width: 570px; color: #536078; font-size: 16px; }
.hero-buttons { display: flex; gap: 10px; margin: 24px 0; }
.trust-points { display: flex; flex-wrap: wrap; gap: 10px 18px; color: #34425e; font-size: 12px; font-weight: 700; }
.hero-visual { align-self: end; }
.hero-visual img { width: 100%; max-height: 520px; object-fit: cover; object-position: center bottom; }

.feature-strip { background: #fff; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    transform: translateY(-25px);
    position: relative;
    z-index: 2;
}
.feature-card {
    min-height: 105px;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 13px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 5px 12px;
    align-items: center;
}
.feature-icon {
    grid-row: span 2;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e9efff;
    color: var(--navy);
    font-size: 22px;
}
.feature-icon.red { background: #fff0f2; color: var(--red); }
.feature-card strong { font-size: 15px; line-height: 1.25; }
.feature-card small { display: block; color: var(--muted); font-size: 11px; }
.feature-card b { color: var(--red); font-size: 11px; }

.section { padding: 70px 0; }
.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}
.section-heading h2 {
    margin: 3px 0 0;
    color: var(--navy);
    font-size: 31px;
    line-height: 1.15;
}
.text-link { color: var(--red); font-weight: 800; font-size: 13px; }

.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.course-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 7px 24px rgba(11, 29, 65, .06);
}
.course-image { aspect-ratio: 1.75; overflow: hidden; }
.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}
.course-card:hover .course-image img { transform: scale(1.04); }
.course-body { padding: 18px; }
.course-tag { color: var(--red); font-size: 10px; font-weight: 800; }
.course-body h3 { margin: 5px 0; font-size: 17px; line-height: 1.3; color: var(--navy); }
.course-body p { margin: 8px 0 13px; color: var(--muted); font-size: 12px; }

.stats { background: var(--navy); color: #fff; }
.stats-grid {
    min-height: 125px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    text-align: center;
}
.stats strong { display: block; font-size: 34px; line-height: 1; }
.stats span { display: block; margin-top: 7px; color: #c9d1e2; font-size: 12px; }

.about-section { background: #f7f9fc; }
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: start;
}
.about-copy h2 { color: var(--navy); font-size: 34px; line-height: 1.15; margin: 5px 0 18px; }
.about-copy p { color: #59667d; font-size: 14px; }
.inquiry-card {
    background: var(--navy);
    padding: 26px;
    border-radius: 15px;
    box-shadow: 0 20px 45px rgba(11, 29, 65, .15);
}
.form-heading { color: #fff; font-size: 21px; font-weight: 800; margin-bottom: 18px; }
.form-heading span { color: #fff; }
.form-heading::first-letter { color: #fff; }
.form-row { margin-bottom: 11px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-row input, .form-row textarea {
    width: 100%;
    border: 1px solid #dce1ea;
    border-radius: 7px;
    padding: 12px 13px;
    outline: 0;
    background: #fff;
    color: var(--text);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--red); }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.testimonials-section { background: #fff; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 7px 24px rgba(11, 29, 65, .05);
}
.student { display: flex; align-items: center; gap: 12px; }
.student img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.student strong, .student small { display: block; }
.student strong { color: var(--navy); }
.student small { color: var(--muted); font-size: 11px; }
.testimonial-card p { color: #59667d; font-size: 13px; margin: 18px 0; }
.rating { color: #f0a500; letter-spacing: 2px; font-size: 13px; }

.gallery-section { background: #f7f9fc; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid a { overflow: hidden; border-radius: 10px; aspect-ratio: 1.45; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

.site-footer { background: #07142f; color: #cbd3e2; }
.footer-grid {
    padding: 60px 0 45px;
    display: grid;
    grid-template-columns: 1.35fr .8fr .8fr 1.2fr;
    gap: 45px;
}
.footer-brand img { width: 220px; height: 60px; object-fit: contain; margin-bottom: 14px; }
.site-footer p { color: #9ca8be; font-size: 12px; }
.footer-brand a { display: block; color: #d7ddeb; font-size: 12px; margin-top: 8px; }
.site-footer h3 { color: #fff; font-size: 15px; margin: 0 0 15px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 7px 0; }
.footer-links a { color: #9ca8be; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.newsletter { display: flex; }
.newsletter input { min-width: 0; flex: 1; border: 0; padding: 12px; outline: 0; border-radius: 6px 0 0 6px; }
.newsletter button { border: 0; padding: 0 15px; color: #fff; background: var(--red); border-radius: 0 6px 6px 0; }
.social-links { display: flex; gap: 8px; margin-top: 20px; }
.social-links a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid #52617b;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0; color: #8793a9; font-size: 11px; }

@media (max-width: 1100px) {
    .header-contact { gap: 14px; }
    .contact-item:nth-child(2) { display: none; }
    .course-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
    .container { width: min(calc(100% - 30px), var(--container)); }
    .header-inner { min-height: 72px; }
    .brand img { width: 190px; height: 52px; }
    .header-contact, .header-actions { display: none; }
    .menu-toggle {
        display: flex;
        margin-left: auto;
        width: 44px;
        height: 44px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
    }
    .menu-toggle span { width: 21px; height: 2px; background: var(--navy); }
    .main-nav {
        position: fixed;
        inset: 0;
        z-index: 100;
        transform: translateX(100%);
        transition: transform .22s ease;
        overflow-y: auto;
        background: #fff;
        color: var(--text);
    }
    .main-nav.is-open { transform: translateX(0); }
    .nav-inner { width: 100%; min-height: 100%; padding: 0 18px 30px; display: block; }
    .mobile-menu-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 0;
        color: var(--navy);
        border-bottom: 1px solid var(--border);
    }
    .menu-close { border: 0; background: transparent; color: var(--navy); font-size: 30px; }
    .nav-list { display: block; padding-top: 10px; }
    .nav-list > li { border-bottom: 1px solid var(--border); }
    .nav-list a, .submenu-toggle {
        width: 100%;
        text-align: left;
        color: var(--navy);
        padding: 14px 5px;
        font-size: 15px;
    }
    .nav-list a:hover, .nav-list a.active { color: var(--red); background: transparent; }
    .submenu {
        position: static;
        display: none;
        padding: 0 0 5px 14px;
        box-shadow: none;
        min-width: 0;
    }
    .has-submenu.is-open .submenu { display: block; }
    .submenu a { padding: 10px 5px; }
    .mobile-actions { display: grid; gap: 10px; margin-top: 20px; }
    .mobile-actions .btn { width: 100%; }
    .notice-track { max-width: calc(100vw - 135px); }
    .hero-inner { grid-template-columns: 1fr; min-height: auto; }
    .hero-content { padding: 50px 0 25px; }
    .hero h1 { font-size: clamp(35px, 7vw, 52px); }
    .hero-visual { max-width: 650px; width: 100%; margin-inline: auto; }
    .feature-grid { grid-template-columns: 1fr; transform: translateY(-15px); }
    .feature-card { min-height: 92px; }
    .about-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .container { width: min(calc(100% - 24px), var(--container)); }
    .topbar-inner { justify-content: center; min-height: 32px; }
    .top-links { display: none; }
    .brand img { width: 175px; height: 48px; }
    .notice-inner { min-height: 40px; }
    .notice-label { padding: 10px 11px; font-size: 10px; }
    .notice-track { padding: 0 10px; font-size: 10px; }
    .hero-content { padding: 38px 0 10px; }
    .hero h1 { font-size: 36px; letter-spacing: -1.3px; }
    .hero-text { font-size: 14px; }
    .hero-buttons { display: grid; grid-template-columns: 1fr 1fr; }
    .btn-large { width: 100%; padding: 12px 10px; font-size: 12px; }
    .trust-points { display: grid; grid-template-columns: 1fr 1fr; font-size: 10px; }
    .feature-grid { margin-top: 0; }
    .section { padding: 48px 0; }
    .section-heading { align-items: start; }
    .section-heading h2 { font-size: 27px; }
    .section-heading .text-link { font-size: 11px; }
    .course-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 13px;
        margin-right: -12px;
        padding-right: 12px;
    }
    .course-grid::-webkit-scrollbar { display: none; }
    .course-card { min-width: 78%; scroll-snap-align: start; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 25px 10px; padding: 28px 0; }
    .stats strong { font-size: 28px; }
    .stats span { font-size: 10px; }
    .about-copy h2 { font-size: 29px; }
    .form-row.two { grid-template-columns: 1fr; gap: 11px; }
    .inquiry-card { padding: 20px; }
    .testimonial-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 13px;
        margin-right: -12px;
        padding-right: 12px;
    }
    .testimonial-grid::-webkit-scrollbar { display: none; }
    .testimonial-card { min-width: 86%; scroll-snap-align: start; }
    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 45px 0 35px; }
    .footer-brand img { width: 190px; }
}
