/* ===================================================================
   PAGE2.CSS — Crash Course page
   Learning Knight V2
   =================================================================== */

/* ── RESET & BASE ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #111;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

.page-wrapper,
nav,
.mobile-menu {
    background: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── TYPOGRAPHY & COLOR UTILITIES ── */
.pink-title {
    color: #c25998;
    font-weight: 700;
}

.green-title {
    color: #5baf6b;
    font-weight: 550;
    margin-bottom: 13px;
}

.green-bold {
    color: #5baf6b;
    font-weight: 700;
}

/* ── HERO SECTION ── */
.hero {
    width: 100%;
}

.hero img {
    width: 100%;
    display: block;
}

/* ── JOB READY SECTION ── */
.section-job-ready {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 0px 0 0px 10%;
    background: #ffffff;
    overflow: hidden;
}

.content-left {
    flex: 1;
    min-width: 0;
}

.content-left h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.content-left p {
    font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
    margin-bottom: 25px;
    color: #222;
}

.image-right {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    justify-content: flex-end;
}

.image-right img {
    width: 100%;
    object-fit: cover;
    object-position: left center;
}

/* ── CERTIFICATE SECTION ── */
.section-certificate {
    display: flex;
    align-items: stretch;
    background-color: #fcfcfc;
}

.cert-image {
    width: 35%;
    background-color: #d16b9f;
    display: flex;
    flex-shrink: 0;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.cert-content {
    flex: 1;
    min-width: 0;
    padding: 60px 5% 60px 60px;
    background-color: #fcfcfc;
}

.cert-content .big-title {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    line-height: 1.2;
    margin-bottom: 30px;
}

.cert-content h3 {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    margin-bottom: 10px;
    margin-top: 25px;
}

.large-text {
    font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
    color: #111;
}

.curriculum-list {
    list-style: none;
    margin-top: 15px;
}

.curriculum-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: clamp(0.85rem, 1.4vw, 1.0625rem);
    color: #111;
}

.curriculum-list li img {
    width: 24px;
    height: auto;
    margin-right: 15px;
    flex-shrink: 0;
}

/* ── CONTACT SECTION ── */
.section-contact {
    padding: 80px 10%;
    background-color: #ffffff;
}

.underline-green {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    font-size: clamp(1.2rem, 2vw, 1.75rem);
    margin-bottom: 35px;
}

.contact-text {
    font-size: clamp(0.9rem, 1.5vw, 1.0625rem);
    margin-bottom: 25px;
    color: #222;
    max-width: 900px;
}

/* ===================================================================
   RESPONSIVE — TABLET (768px – 1024px)
   =================================================================== */
@media (max-width: 1024px) {

    .section-job-ready {
        gap: 2rem;
        padding: 50px 5%;
    }

    .image-right {
        flex: 0 0 35%;
        max-width: 35%;
    }

    .cert-content {
        padding: 50px 5% 50px 40px;
    }

    .cert-image {
        width: 30%;
    }
}

/* ===================================================================
   RESPONSIVE — MOBILE (≤768px)
   =================================================================== */
@media (max-width: 768px) {

    /* Job ready: stack */
    .section-job-ready {
        flex-direction: column;
        gap: 2rem;
        padding: 40px 5%;
    }

    .content-left {
        max-width: 100%;
        width: 100%;
    }

    .image-right {
        flex: none;
        max-width: 100%;
        width: 100%;
        justify-content: center;
    }

    /* Certificate: stack */
    .section-certificate {
        flex-direction: column;
        padding-top: 0px;
        margin-top: -40px;
        margin-bottom: -40px;
    }

    .cert-image {
        width: 100%;
        max-height: 240px;
        overflow: hidden;
    }

    .cert-content {
        width: 100%;
        padding: 36px 5%;
    }

    .cert-content .big-title {
        font-size: 1.4rem;
    }

    /* Contact CTA */
    .section-contact {
        padding: 50px 5%;
    }
}

/* ===================================================================
   RESPONSIVE — SMALL MOBILE (≤480px)
   =================================================================== */
@media (max-width: 480px) {

    .section-job-ready {
        padding: 30px 4%;
    }

    .cert-content {
        padding: 28px 4%;
    }

    .cert-content h3 {
        margin-top: 18px;
    }
}