* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #172c49;
    --blue: #315c91;
    --orange: #ef9c4b;
    --light: #f6f8fb;
    --text: #667085;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--navy);
    background: white;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 88%;
    max-width: 1200px;
    margin: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.section-padding {
    padding: 100px 0;
}

/* NAVBAR */

.header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #edf0f4;
}

.navbar {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--navy);
}

.logo span {
    color: var(--orange);
}

.navbar nav {
    display: flex;
    gap: 35px;
}

.navbar nav a {
    font-size: 14px;
    font-weight: 600;
    color: #526174;
    transition: .3s;
}

.navbar nav a:hover {
    color: var(--orange);
}

.nav-btn {
    background: var(--navy);
    color: white;
    padding: 12px 22px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: .3s;
}

.nav-btn:hover {
    background: var(--orange);
    color: var(--navy);
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    font-size: 26px;
    color: var(--navy);
    cursor: pointer;
}

/* HERO */

.hero {
    padding: 85px 0;
    background: linear-gradient(120deg, #f5f8fc, #ffffff);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.tag,
.section-label {
    display: inline-block;
    color: #c47a31;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero h1 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(42px, 5vw, 65px);
    line-height: 1.2;
    margin: 22px 0;
    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--blue);
}

.hero-content > p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.9;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 30px;
}

.primary-btn {
    display: inline-block;
    border: none;
    background: var(--navy);
    color: white;
    padding: 15px 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.primary-btn:hover {
    background: var(--orange);
    color: var(--navy);
    transform: translateY(-3px);
}

.secondary-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
    border-bottom: 1px solid var(--navy);
    padding-bottom: 5px;
}

.hero-stats {
    display: flex;
    gap: 55px;
    margin-top: 55px;
}

.hero-stats h3 {
    font-size: 24px;
    font-weight: 800;
}

.hero-stats p {
    color: var(--text);
    font-size: 11px;
}

.hero-image {
    position: relative;
}

.hero-image > img {
    height: 460px;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(23,44,73,.12);
}

.floating-card {
    position: absolute;
    left: -35px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 17px 20px;
    background: white;
    border-radius: 7px;
    box-shadow: 0 10px 35px rgba(0,0,0,.1);
    animation: float 4s ease-in-out infinite;
}

.floating-icon {
    background: #e8f3e9;
    color: #3c8852;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card p {
    font-size: 10px;
    color: var(--text);
}

/* TRUST */

.trust-section {
    padding: 27px 0;
    background: var(--navy);
    color: white;
}

.trust-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.trust-content > p {
    color: #d2d9e3;
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
}

.trust-items span {
    font-size: 12px;
    font-weight: 600;
    color: #e6ebf2;
}

/* SECTION HEADING */

.section-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 55px;
}

.section-heading h2 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(30px, 4vw, 42px);
    margin: 15px 0;
}

.section-heading > p {
    color: var(--text);
    font-size: 14px;
    line-height: 1.9;
}

/* COURSES */

.courses {
    background: white;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.course-card {
    background: white;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    overflow: hidden;
    transition: .35s;
}

.course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(23,44,73,.1);
}

.course-image {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    height: 100%;
    transition: .5s;
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background: white;
    padding: 7px 13px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: var(--navy);
}

.course-content {
    padding: 25px;
}

.course-info {
    display: flex;
    gap: 20px;
    color: var(--text);
    font-size: 11px;
}

.course-content h3 {
    font-size: 20px;
    margin: 15px 0 10px;
}

.course-content > p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.8;
}

.course-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #edf0f4;
    padding-top: 20px;
    margin-top: 20px;
}

.course-bottom strong {
    font-size: 19px;
    color: var(--blue);
}

.course-bottom a {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
}

.course-bottom a:hover {
    color: var(--orange);
}

/* ABOUT */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    height: 500px;
    border-radius: 8px;
}

.about-content h2,
.contact-info h2 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.3;
    margin: 17px 0;
}

.about-content > p,
.contact-info > p {
    color: var(--text);
    font-size: 14px;
    line-height: 2;
}

.about-points {
    display: grid;
    gap: 17px;
    margin: 30px 0;
}

.about-points div {
    font-size: 13px;
    font-weight: 600;
}

.about-points span {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    background: #e4eee8;
    color: #438358;
    border-radius: 50%;
    margin-right: 10px;
}

/* PROCESS */

.process {
    background: white;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.process-card {
    border: 1px solid #e8ecf1;
    padding: 35px 28px;
    border-radius: 8px;
    transition: .3s;
}

.process-card:hover {
    border-color: var(--orange);
    transform: translateY(-5px);
}

.process-card > span {
    font-size: 30px;
    font-weight: 800;
    color: #e6a15f;
}

.process-card h3 {
    font-size: 19px;
    margin: 18px 0 10px;
}

.process-card p {
    color: var(--text);
    font-size: 13px;
    line-height: 1.9;
}

/* WEBINAR */

.webinar {
    background: var(--navy);
    color: white;
    overflow: hidden;
}

.webinar-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.webinar-label {
    font-size: 11px;
    color: #f1b36f;
    font-weight: 700;
    letter-spacing: 2px;
}

.webinar-content h2 {
    font-family: 'Roboto Slab', serif;
    font-size: clamp(34px, 4vw, 47px);
    line-height: 1.3;
    margin: 20px 0;
}

.webinar-content p {
    color: #d3dce8;
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 25px;
}

.webinar-btn {
    display: inline-block;
    background: var(--orange);
    color: var(--navy);
    padding: 14px 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}

.webinar-btn:hover {
    background: white;
}

.webinar-image img {
    height: 370px;
    border-radius: 8px;
}

/* REVIEWS */

.reviews {
    background: var(--light);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 23px;
}

.review-card {
    background: white;
    padding: 30px;
    border: 1px solid #e9edf2;
    border-radius: 8px;
    transition: .3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(23,44,73,.07);
}

.stars {
    color: #efa348;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.review-card > p {
    color: var(--text);
    font-size: 13px;
    line-height: 2;
}

.review-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
}

.avatar {
    height: 38px;
    width: 38px;
    border-radius: 50%;
    background: #eaf0f7;
    color: var(--blue);
    display: grid;
    place-items: center;
    font-weight: 800;
}

.review-person strong {
    display: block;
    font-size: 12px;
}

.review-person small {
    color: var(--text);
    font-size: 10px;
}

/* CONTACT */

.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 80px;
    align-items: start;
}

.contact-item {
    margin-top: 35px;
}

.contact-item strong {
    font-size: 13px;
}

.contact-item p {
    color: var(--text);
    font-size: 13px;
    margin-top: 7px;
}

.contact-form {
    padding: 35px;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    box-shadow: 0 10px 35px rgba(23,44,73,.05);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 7px;
}

.contact-form > p {
    color: var(--text);
    font-size: 12px;
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 17px 0 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce2e9;
    border-radius: 5px;
    font-size: 13px;
    outline: none;
    background: white;
    color: var(--navy);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    margin-top: 22px;
}

#formMessage {
    font-size: 12px;
    margin-top: 15px;
    color: #36824c;
}

/* FOOTER */

.footer {
    background: #14243a;
    color: white;
    padding: 55px 0 25px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 35px;
    border-bottom: 1px solid #ffffff20;
}

.footer .logo {
    color: white;
}

.footer-top p {
    color: #c5cfdd;
    font-size: 12px;
    margin-top: 7px;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a,
.footer-bottom a {
    font-size: 12px;
    color: #d3dce8;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 25px;
    color: #aebbd0;
    font-size: 11px;
}

/* ANIMATIONS */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media(max-width: 900px) {

    .hero-grid,
    .about-grid,
    .webinar-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .hero-image {
        margin-left: 20px;
    }

    .trust-content {
        flex-direction: column;
    }

    .review-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width: 650px) {

    .container {
        width: 90%;
    }

    .section-padding {
        padding: 70px 0;
    }

    .navbar {
        height: 70px;
    }

    .navbar nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px 7%;
        gap: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,.06);
    }

    .navbar nav.active {
        display: flex;
    }

    .nav-btn {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 45px;
    }

    .hero-image > img {
        height: 330px;
    }

    .floating-card {
        left: -10px;
        bottom: 15px;
    }

    .hero-stats {
        gap: 30px;
    }

    .trust-items {
        justify-content: center;
        gap: 15px 25px;
    }

    .course-grid,
    .process-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .course-image {
        height: 200px;
    }

    .about-image img {
        height: 350px;
    }

    .webinar-image img {
        height: 260px;
    }

    .contact-form {
        padding: 22px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 18px;
    }
}

@media(prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}