


/* 1. ROOT VARIABLES */
:root {
    --primary: #2864dc;
    --primary-dark: #1749b5;
    --secondary: #7655df;
    --orange: #ff9e44;
    --green: #20a879;

    --dark: #12213b;
    --text: #526078;
    --light: #f5f8ff;
    --white: #ffffff;
    --border: #e5eaf2;

    --font-primary: "DM Sans", sans-serif;
    --font-heading: "Manrope", sans-serif;

    --shadow: 0 12px 35px rgba(20, 42, 80, 0.08);
    --radius: 16px;
    --transition: all 0.3s ease;
}

/* 2. RESET & GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    background: var(--white);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
}

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

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

ul {
    list-style: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}

.section-padding {
    padding: 100px 0;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--dark);
    line-height: 1.25;
    overflow-wrap: break-word;
}

p {
    overflow-wrap: break-word;
}

/* 3. ANNOUNCEMENT BAR */
.announcement-bar {
    background: var(--dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.announcement-content p {
    color: #e6edfa;
}

.announcement-content p i {
    color: var(--orange);
    margin-right: 8px;
}

.announcement-content a {
    color: #ffd18c;
    font-weight: 700;
    white-space: nowrap;
}

.announcement-content a i {
    margin-left: 5px;
}

/* 4. HEADER */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 25px;
    font-weight: 800;
    font-family: var(--font-heading);
    white-space: nowrap;
}

.logo-icon {
    width: 43px;
    height: 43px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.logo-highlight {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 27px;
}

.nav-links a {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    padding: 10px 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-btn {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
}

.register-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    border: none;
    background: var(--light);
    color: var(--dark);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    font-size: 20px;
}

.mobile-auth {
    display: none;
}

/* 5. HERO SECTION */
.hero {
    background: linear-gradient(135deg, #f3f7ff 0%, #ffffff 60%, #f5f2ff 100%);
    padding: 95px 0 105px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.hero-content {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #e8efff;
    color: var(--primary);
    border-radius: 30px;
    padding: 9px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 59px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 22px;
}

.hero h1 span,
.about-content h2 span,
.section-heading h2 span,
.contact-info h2 span {
    color: var(--primary);
}

.hero-description {
    font-size: 16px;
    line-height: 1.9;
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    min-height: 52px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 13px 23px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.btn-secondary {
    background: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 38px;
}

.trust-avatars {
    display: flex;
    padding-left: 7px;
}

.trust-avatars img {
    width: 37px;
    height: 37px;
    border: 3px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
    margin-left: -7px;
}

.trust-rating {
    color: #ffad32;
    font-size: 12px;
    letter-spacing: 2px;
}

.trust-info p {
    font-size: 12px;
    margin-top: 2px;
}

/* HERO IMAGE */
.hero-visual {
    position: relative;
    min-width: 0;
    padding: 20px;
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
    height: 470px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(35, 65, 120, 0.16);
}

.hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--white);
    padding: 15px 19px;
    border-radius: 13px;
    box-shadow: var(--shadow);
}

.students-card {
    left: -15px;
    top: 70px;
}

.courses-card {
    right: -15px;
    bottom: 65px;
}

.floating-card h3 {
    font-size: 19px;
}

.floating-card p {
    font-size: 11px;
}

.floating-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 18px;
}

.purple-icon {
    color: var(--secondary);
    background: #eee9ff;
}

.orange-icon {
    color: #ed8d28;
    background: #fff1df;
}

.hero-decoration {
    position: absolute;
    width: 170px;
    height: 170px;
    background: #dce7ff;
    border-radius: 50%;
    top: -10px;
    right: -10px;
    z-index: 1;
}

/* 6. PARTNERS */
.partners {
    padding: 48px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.partners > .container > p {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 27px;
    color: #8994a7;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.partner-logos span {
    font-size: 20px;
    font-weight: 800;
    color: #8a95a7;
}

.partner-logos i {
    margin-right: 6px;
}

/* 7. ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 75px;
}

.about-image {
    position: relative;
    min-width: 0;
    padding: 0 20px 20px 0;
}

.about-image > img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 20px;
}

.about-experience {
    position: absolute;
    right: -5px;
    bottom: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 18px 23px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 13px;
}

.about-experience i {
    color: var(--orange);
    font-size: 30px;
}

.about-experience h3 {
    font-size: 18px;
}

.about-experience p {
    font-size: 12px;
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 12px;
    margin-bottom: 15px;
}

.about-content h2,
.contact-info h2 {
    font-size: clamp(29px, 4vw, 42px);
    margin-bottom: 20px;
}

.about-content > p,
.contact-info > p {
    margin-bottom: 25px;
    line-height: 1.9;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about-features div {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
}

.about-features i {
    color: var(--green);
    margin-right: 7px;
}

/* 8. SECTION HEADING */
.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 39px);
    margin-bottom: 12px;
}

.section-heading p {
    font-size: 14px;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
}

.text-link i {
    margin-left: 7px;
}

/* 9. CATEGORIES */
.categories {
    background: var(--light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    padding: 28px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
    border-color: #cbd9ff;
}

.category-icon {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-size: 22px;
    margin-bottom: 20px;
}

.purple-bg {
    background: #eee9ff;
    color: #7655df;
}

.orange-bg {
    background: #fff0df;
    color: #e88b29;
}

.blue-bg {
    background: #e7efff;
    color: #2864dc;
}

.green-bg {
    background: #e1f7ef;
    color: #20a879;
}

.category-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.category-card p {
    font-size: 12px;
    margin-bottom: 20px;
}

.category-card > span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
}

/* 10. COURSES */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    min-width: 0;
}

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

.course-image {
    height: 220px;
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.course-card:hover .course-image img {
    transform: scale(1.06);
}

.course-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--white);
    color: var(--primary);
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.wishlist-btn {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: var(--white);
    color: var(--dark);
    font-size: 15px;
}

.wishlist-btn:hover {
    color: #e84d69;
}

.course-content {
    padding: 22px;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 11px;
}

.course-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.course-content h3 {
    font-size: 17px;
    margin-bottom: 10px;
    min-height: 43px;
}

.course-content > p {
    font-size: 12px;
    min-height: 42px;
    margin-bottom: 17px;
}

.course-rating {
    font-size: 12px;
    margin-bottom: 17px;
}

.course-rating i {
    color: #ffad32;
}

.course-rating strong {
    color: var(--dark);
    margin: 0 5px;
}

.course-footer {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.instructor-mini {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
}

.instructor-mini img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
}

.course-footer > strong {
    color: var(--primary);
    font-size: 17px;
}

/* 11. STATISTICS */
.statistics {
    background: var(--dark);
    padding: 65px 0;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.stat-item {
    text-align: center;
    color: #cbd5e6;
}

.stat-item > i {
    color: #7ca6ff;
    font-size: 28px;
    margin-bottom: 15px;
}

.stat-item h2 {
    color: var(--white);
    font-size: 31px;
    margin-bottom: 7px;
}

.stat-item p {
    font-size: 13px;
}

/* 12. INSTRUCTORS */
.instructor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.instructor-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

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

.instructor-card > img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.instructor-card > div {
    padding: 22px;
}

.instructor-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.instructor-card p {
    font-size: 12px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: var(--light);
    color: var(--primary);
    border-radius: 50%;
    font-size: 12px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* 13. TESTIMONIALS */
.testimonials {
    background: var(--light);
}

.centered {
    justify-content: center;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: var(--white);
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.testimonial-stars {
    color: #ffad32;
    letter-spacing: 4px;
    margin-bottom: 17px;
}

.testimonial-card > p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 22px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 17px;
}

.testimonial-author img {
    width: 43px;
    height: 43px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h3 {
    font-size: 13px;
}

.testimonial-author span {
    font-size: 10px;
}

/* 14. CTA SECTION */
.cta-section {
    padding: 75px 0;
    background: linear-gradient(120deg, #2459cb, #7655df);
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta-container > div > span {
    color: #d9e4ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cta-container h2 {
    color: var(--white);
    font-size: clamp(27px, 4vw, 38px);
    margin: 10px 0;
}

.cta-container p {
    color: #e1e8ff;
    font-size: 14px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--white);
    color: var(--primary);
    padding: 15px 24px;
    border-radius: 9px;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

/* 15. CONTACT */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: start;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.contact-detail > i {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: #eaf0ff;
    color: var(--primary);
    border-radius: 12px;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail h3 {
    font-size: 14px;
}

.contact-detail p {
    font-size: 12px;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 22px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 7px;
}

.form-group input,
.form-group textarea {
    display: block;
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    outline: none;
    background: #fbfcff;
    color: var(--dark);
    font-size: 13px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 100, 220, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
}

/* 16. FOOTER */
.footer {
    background: #101d34;
    color: #aab7cc;
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 45px;
    padding-bottom: 55px;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-about > p {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: #24334e;
    color: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
}

.footer-links h3 {
    color: var(--white);
    font-size: 15px;
    margin-bottom: 22px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 12px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid #28364d;
    padding: 20px 0;
}

.footer-bottom > .container {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 11px;
}

.footer-bottom i {
    color: #ff647c;
}

/* 17. TABLET RESPONSIVE */
@media (max-width: 992px) {

    .container {
        width: 92%;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero-container {
        gap: 30px;
    }

    .hero-image-wrapper {
        height: 390px;
    }

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

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

    .course-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        width: 100%;
        justify-self: center;
    }

    .about-grid {
        gap: 40px;
    }

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

/* 18. MOBILE NAVIGATION */
@media (max-width: 768px) {

    .section-padding {
        padding: 70px 0;
    }

    .navbar {
        min-height: 72px;
    }

    .nav-actions {
        display: none;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
        flex-shrink: 0;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        border-top: 1px solid var(--border);
        padding: 20px 5%;
        box-shadow: var(--shadow);
        align-items: stretch;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .nav-links a {
        display: block;
        padding: 11px 0;
        font-size: 14px;
    }

    .mobile-auth {
        display: flex;
        gap: 20px;
        align-items: center;
        margin-top: 15px;
        padding-top: 18px;
        border-top: 1px solid var(--border);
    }

    .hero {
        padding: 65px 0 75px;
    }

    .hero-container,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-trust {
        justify-content: center;
    }

    .hero-visual {
        max-width: 550px;
        width: 100%;
        margin: 15px auto 0;
    }

    .hero-image-wrapper {
        height: 400px;
    }

    .about-image {
        max-width: 550px;
        width: 100%;
        margin: 0 auto;
    }

    .about-content {
        text-align: left;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

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

    .instructor-card:last-child,
    .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        width: 100%;
        justify-self: center;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-grid {
        gap: 35px;
    }
}

/* 19. SMALL MOBILE */
@media (max-width: 576px) {

    .container {
        width: 90%;
    }

    .announcement-content {
        justify-content: center;
        text-align: center;
        flex-wrap: wrap;
    }

    .announcement-content p {
        font-size: 11px;
    }

    .announcement-content a {
        font-size: 11px;
    }

    .logo {
        font-size: 22px;
    }

    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -1.3px;
    }

    .hero-badge {
        font-size: 9px;
        letter-spacing: 0.5px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }

    .hero-image-wrapper {
        height: 300px;
    }

    .floating-card {
        padding: 10px;
        gap: 8px;
    }

    .floating-card h3 {
        font-size: 15px;
    }

    .floating-card p {
        font-size: 9px;
    }

    .floating-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .students-card {
        left: -5px;
        top: 35px;
    }

    .courses-card {
        right: -5px;
        bottom: 35px;
    }

    .partner-logos {
        gap: 20px;
    }

    .partner-logos span {
        font-size: 16px;
    }

    .about-image > img {
        height: 320px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .category-grid,
    .course-grid,
    .instructor-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .course-card:last-child,
    .instructor-card:last-child,
    .testimonial-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .course-image {
        height: 210px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 15px;
    }

    .stat-item h2 {
        font-size: 25px;
    }

    .instructor-card > img {
        height: 300px;
    }

    .cta-container h2 {
        font-size: 28px;
    }

    .cta-button {
        width: 100%;
    }

    .contact-form {
        padding: 23px 18px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom > .container {
        flex-direction: column;
        text-align: center;
    }
}

/* 20. EXTRA SMALL SCREENS */
@media (max-width: 360px) {

    .hero h1 {
        font-size: 31px;
    }

    .hero-badge {
        font-size: 8px;
    }

    .hero-image-wrapper {
        height: 250px;
    }

    .logo {
        font-size: 19px;
    }

    .category-card {
        padding: 22px 17px;
    }
}

/* 21. ACCESSIBILITY */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(40, 100, 220, 0.35);
    outline-offset: 3px;
}

/* 22. REDUCE MOTION */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}
