:root {
    --navy: #102536;
    --navy2: #071a2a;
    --coral: #ef7c5b;
    --gold: #e4a33a;
    --teal: #2f8f83;
    --ivory: #f7f3ec;
    --white: #ffffff;
    --text: #172033;
    --muted: #6b7280;
    --line: #e5ded5;
    --shadow: 0 18px 45px rgba(17, 40, 63, 0.10);
    --container: 1460px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--ivory);
    color: var(--text);
    line-height: 1.6;
}

main {
    flex: 1 0 auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 28, 43, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
}

.brand-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f17c59, #e5aa3b);
    font-size: 1.2rem;
    font-weight: 900;
}

.brand small {
    display: block;
    color: #c9d4dd;
    font-size: 0.74rem;
    letter-spacing: 0.16em;
}

.brand strong {
    display: block;
    font-size: 1.02rem;
}

.menu {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
}

.menu > li {
    position: relative;
}

.menu a,
.menu button {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #edf2f6;
    cursor: pointer;
}

.menu a:hover,
.menu button:hover {
    background: rgba(255, 255, 255, 0.09);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    padding: 9px;
    list-style: none;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.menu li:hover > .submenu,
.menu li:focus-within > .submenu {
    display: block;
}

.submenu a {
    display: block;
    color: var(--text);
    border-radius: 10px;
}

.submenu a:hover {
    background: #f7f3ec;
}

.mobile-menu-btn {
    display: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 1.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral), #f19872);
    color: #ffffff;
}

.btn-light {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.btn-outline {
    border: 1px solid currentColor;
    background: #ffffff;
}

.section {
    padding: 52px 0;
}

.card,
.feature-card,
.tool-card,
.assessment-panel,
.project-banner,
.reference-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(17, 40, 63, 0.06);
}

.hero {
    color: #ffffff;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgba(47, 143, 131, 0.25), transparent 30%),
        radial-gradient(circle at 15% 20%, rgba(239, 124, 91, 0.14), transparent 26%),
        linear-gradient(135deg, #071a2a, #11283f);
}

.hero-grid {
    min-height: 570px;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 42px;
    align-items: center;
    padding: 52px 0;
}

.eyebrow {
    display: inline-flex;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffd8c8;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.hero h1 {
    margin-top: 18px;
    font-size: clamp(3.2rem, 7vw, 6.4rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
}

.hero h1 span {
    display: block;
    color: var(--coral);
}

.hero p {
    max-width: 620px;
    margin-top: 22px;
    color: #d8e1ea;
    font-size: 1.08rem;
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.image-panel {
    min-height: 430px;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
    background: linear-gradient(145deg, #17324d, #0d2236);
}

.placeholder {
    min-height: 430px;
    display: grid;
    place-items: center;
    padding: 30px;
    text-align: center;
    background:
        radial-gradient(circle at 28% 30%, rgba(239, 124, 91, 0.22), transparent 25%),
        radial-gradient(circle at 75% 72%, rgba(47, 143, 131, 0.24), transparent 28%);
}

.placeholder-icon {
    width: 90px;
    height: 90px;
    display: grid;
    place-items: center;
    margin: 0 auto 16px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.09);
    font-size: 2.4rem;
}

.section-title {
    max-width: 790px;
    margin: 0 auto 30px;
    text-align: center;
}

.section-title small,
.assessment-panel small,
.project-banner small {
    color: var(--coral);
    font-weight: 900;
    letter-spacing: 0.12em;
}

.section-title h2 {
    margin-top: 6px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-title p {
    margin-top: 10px;
    color: var(--muted);
}

.feature-grid,
.tools-grid,
.reference-grid {
    display: grid;
    gap: 18px;
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.tool-card,
.reference-card {
    padding: 24px;
}

.feature-card p,
.tool-card p,
.reference-card p,
.project-banner p {
    margin-top: 8px;
    color: var(--muted);
}

.chapter-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.chapter-card {
    position: relative;
    min-height: 315px;
    overflow: hidden;
    padding: 23px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 40, 63, 0.06);
    transition: 0.22s ease;
}

.chapter-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.chapter-card::after {
    content: "";
    position: absolute;
    width: 130px;
    height: 130px;
    right: -50px;
    bottom: -50px;
    border-radius: 50%;
    background: var(--soft);
}

.chapter-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chapter-no {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--soft);
    color: var(--accent);
    font-weight: 900;
}

.chapter-icon {
    color: var(--accent);
    font-size: 1.7rem;
}

.chapter-card h3,
.chapter-card p,
.chapter-card a {
    position: relative;
    z-index: 1;
}

.chapter-card h3 {
    margin-top: 28px;
    line-height: 1.25;
}

.chapter-card p {
    margin-top: 11px;
    color: var(--muted);
    font-size: 0.9rem;
}

.chapter-card a {
    display: inline-flex;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 850;
}

.tools-grid {
    grid-template-columns: repeat(5, 1fr);
}

.assessment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.assessment-panel,
.project-banner {
    padding: 30px;
}

.assessment-panel h2,
.project-banner h2 {
    margin-top: 6px;
}

.bar {
    height: 12px;
    overflow: hidden;
    margin: 22px 0;
    border-radius: 999px;
    background: #ece7df;
}

.bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--coral), var(--gold));
}

.assessment-row {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--line);
}

.reference-grid {
    grid-template-columns: repeat(4, 1fr);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 800;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #cfd7df;
    border-radius: 12px;
    background: #ffffff;
}

.form-group.full {
    grid-column: 1 / -1;
}

.alert {
    margin-bottom: 18px;
    padding: 14px;
    border-radius: 12px;
    background: #fff0ea;
    color: #9b3c24;
}

.success {
    background: #eaf8f1;
    color: #16643f;
}

.page-banner {
    padding: 48px 0;
    background: linear-gradient(135deg, #071c2d, #174c73);
    color: #ffffff;
}

.page-banner h1 {
    font-size: clamp(2.5rem, 5vw, 5.2rem);
    line-height: 1;
    letter-spacing: -0.05em;
}

.page-banner p {
    max-width: 850px;
    margin-top: 14px;
    color: #dce7ef;
}

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    background: var(--navy2);
}

.footer {
    min-height: 95px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #d8e1e8;
}

@media (max-width: 1100px) {
    .chapter-grid,
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .menu {
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
        background: var(--navy2);
    }

    .menu.open {
        display: flex;
    }

    .submenu {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid,
    .assessment {
        grid-template-columns: 1fr;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full {
        grid-column: auto;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 0;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(var(--container), calc(100% - 24px));
    }

    .chapter-grid,
    .tools-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }
}

.image-panel{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;
}

.hero-banner{
    width:100%;
    max-width:700px;
    height:auto;
    display:block;
    object-fit:contain;

    animation: float 5s ease-in-out infinite;
}

@keyframes float{
    0%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-10px);
    }
    100%{
        transform:translateY(0);
    }
}
.image-panel{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.hero-banner{
    width:100%;
    max-width:700px;
    height:auto;
    display:block;
}