
/* =========================
   GLOBAL
========================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #171717;
    line-height: 1.6;
}


/* =========================
   HEADER
========================= */

header {
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    position: relative;
    z-index: 1000;
}

.nav-container {
    max-width: 1150px;
    margin: auto;
    padding: 20px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    color: #063B2A;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: #FF8A1F;
}


/* =========================
   DESKTOP NAVIGATION
========================= */

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333333;
    font-size: 15px;
    font-weight: 600;
}

nav a:hover {
    color: #063B2A;
}


/* =========================
   HAMBURGER BUTTON
========================= */

.menu-toggle {
    display: none;

    background: none;
    border: none;

    color: #063B2A;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;

    padding: 5px;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 138, 31, 0.14),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #063B2A 0%,
            #052F24 55%,
            #04251C 100%
        );

    padding: 100px 25px 90px;

    text-align: center;

    color: #ffffff;
}


/* Decorative orange glow */

.hero::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    background: rgba(255, 138, 31, 0.08);

    border-radius: 50%;

    top: -140px;
    left: -100px;
}

.hero::after {
    content: "";

    position: absolute;

    width: 220px;
    height: 220px;

    background: rgba(255, 138, 31, 0.07);

    border-radius: 50%;

    bottom: -110px;
    right: -60px;
}

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: auto;
}

.hero-label {
    display: inline-block;

    background: rgba(255, 138, 31, 0.13);

    border: 1px solid rgba(255, 138, 31, 0.45);

    color: #FF9D3F;

    padding: 8px 18px;

    border-radius: 30px;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 64px);

    line-height: 1.08;

    margin-bottom: 25px;

    letter-spacing: -2px;

    color: #ffffff;
}

.hero h1 span {
    color: #FF8A1F;

    display: block;
}

.hero p {
    max-width: 700px;

    margin: auto;

    color: #DCEFE5;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================
   COURSES SECTION
========================= */

.courses-section {
    max-width: 1150px;

    margin: auto;

    padding: 80px 25px;
}

.section-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;
}

.section-heading .small-title {
    color: #FF8A1F;

    font-size: 14px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.section-heading h2 {
    color: #063B2A;

    font-size: 38px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.section-heading p {
    color: #666666;

    font-size: 16px;
}


/* =========================
   COURSE GRID
========================= */

.course-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}


/* =========================
   COURSE CARD
========================= */

.course-card {
    background: #ffffff;

    border: 1px solid #e7e7e7;

    border-radius: 18px;

    overflow: hidden;

    box-shadow:
        0 8px 30px rgba(0,0,0,0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.course-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px rgba(6,59,42,0.13);
}


/* =========================
   FEATURED IMAGE
========================= */

.course-image {
    height: 245px;

    overflow: hidden;

    position: relative;
}

.course-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.4s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.04);
}


/* =========================
   COURSE NUMBER
========================= */

.course-number {
    position: absolute;

    top: 18px;
    left: 18px;

    background: #063B2A;

    color: #ffffff;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 5px 15px rgba(0,0,0,0.15);
}


/* =========================
   CARD CONTENT
========================= */

.course-content {
    padding: 28px 30px 30px;
}

.course-content h3 {
    color: #063B2A;

    font-size: 25px;

    line-height: 1.25;

    margin-bottom: 12px;
}

.course-content p {
    color: #666666;

    font-size: 15px;

    margin-bottom: 25px;
}


/* =========================
   COURSE FOOTER
========================= */

.course-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.course-level {
    color: #063B2A;

    font-size: 13px;

    font-weight: 700;
}


/* =========================
   COURSE BUTTON
========================= */

.course-btn {
    display: inline-block;

    background: #063B2A;

    color: #ffffff;

    padding: 11px 20px;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

    transition: 0.2s ease;
}

.course-btn:hover {
    background: #FF8A1F;

    color: #ffffff;
}


/* =========================
   WHY LEARN SECTION
========================= */

.why-section {
    background: #F3F8F5;

    padding: 80px 25px;
}

.why-container {
    max-width: 1050px;

    margin: auto;
}

.why-heading {
    text-align: center;

    margin-bottom: 45px;
}

.why-heading h2 {
    color: #063B2A;

    font-size: 36px;

    margin-bottom: 12px;
}

.why-heading p {
    color: #666666;
}

.benefits {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.benefit {
    background: #ffffff;

    padding: 30px;

    border-radius: 15px;

    border: 1px solid #e0ebe5;

    transition: 0.25s ease;
}

.benefit:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(6,59,42,0.08);
}

.benefit-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #063B2A;

    color: #FF8A1F;

    border-radius: 10px;

    font-size: 21px;

    margin-bottom: 18px;
}

.benefit h3 {
    color: #063B2A;

    font-size: 19px;

    margin-bottom: 8px;
}

.benefit p {
    color: #666666;

    font-size: 14px;
}


/* =========================
   CTA
========================= */

.cta {
    padding: 90px 25px;

    text-align: center;

    background:
        radial-gradient(
            circle at 80% 30%,
            rgba(255, 138, 31, 0.13),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #063B2A,
            #04251C
        );

    color: #ffffff;
}

.cta-container {
    max-width: 750px;

    margin: auto;
}

.cta h2 {
    font-size: 40px;

    line-height: 1.2;

    margin-bottom: 18px;
}

.cta p {
    color: #DCEFE5;

    font-size: 17px;

    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;

    background: #FF8A1F;

    color: #ffffff;

    padding: 14px 27px;

    border-radius: 8px;

    text-decoration: none;

    font-weight: 800;

    font-size: 15px;

    transition: 0.2s ease;

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18);
}

.cta-button:hover {
    background: #FF9D3F;

    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    background: #031A13;

    color: #ffffff;

    text-align: center;

    padding: 30px 20px;
}

footer .footer-logo {
    font-size: 21px;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 8px;
}

footer .footer-logo span {
    color: #FF8A1F;
}

footer p {
    color: #9BB5A9;

    font-size: 13px;
}


/* =========================
   TABLET & MOBILE
========================= */

@media (max-width: 800px) {

    /* HEADER */

    .nav-container {
        position: relative;

        flex-direction: row;

        padding: 16px 20px;
    }

    /* SHOW HAMBURGER */

    .menu-toggle {
        display: block;
    }

    /* HIDE MENU BY DEFAULT */

    nav {
        display: none;

        position: absolute;

        top: 100%;

        left: 0;

        right: 0;

        background: #ffffff;

        flex-direction: column;

        gap: 0;

        border-top: 1px solid #eeeeee;

        box-shadow:
            0 10px 25px rgba(0,0,0,0.08);

        z-index: 1000;
    }

    /* SHOW MENU */

    nav.active {
        display: flex;
    }

    /* MENU LINKS */

    nav a {
        width: 100%;

        padding: 15px 25px;

        border-bottom: 1px solid #eeeeee;

        font-size: 15px;
    }

    nav a:hover {
        background: #F3F8F5;

        color: #063B2A;
    }


    /* HERO */

    .hero {
        padding: 70px 20px 65px;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 52px);

        letter-spacing: -1px;
    }

    .hero h1 span {
        display: inline;
    }

    .hero p {
        font-size: 16px;
    }


    /* COURSES */

    .course-grid {
        grid-template-columns: 1fr;
    }

    .courses-section {
        padding: 60px 20px;
    }


    /* BENEFITS */

    .benefits {
        grid-template-columns: 1fr;
    }


    /* HEADINGS */

    .section-heading h2,
    .why-heading h2 {
        font-size: 30px;
    }


    /* CTA */

    .cta {
        padding: 70px 20px;
    }

    .cta h2 {
        font-size: 31px;
    }


    /* COURSE FOOTER */

    .course-footer {
        align-items: flex-start;
    }

    .course-btn {
        white-space: nowrap;
    }

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {

    .logo {
        font-size: 22px;
    }

    .menu-toggle {
        font-size: 28px;
    }

    .hero-label {
        font-size: 11px;

        padding: 7px 14px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .course-content {
        padding: 24px 22px 25px;
    }

    .course-content h3 {
        font-size: 22px;
    }

    .course-footer {
        flex-direction: column;

        align-items: flex-start;
    }

    .course-btn {
        width: 100%;

        text-align: center;
    }

}


