/* ROOT VARIABLES */

:root {

    --green-primary: #39a92d;
    --green-dark: #043f17;
    --green-deep: #075d22;
    --green-medium: #16852f;

    --text-dark: #071827;
    --text-muted: #5c665f;

    --cream: #faf8f1;
    --cream-dark: #f3f1e9;

    --white: #ffffff;

    --border: #dfe4df;

    --yellow: #f5aa16;

    --container-width: 1338px;

    --body-font: "DM Sans", sans-serif;
    --heading-font: "Playfair Display", serif;

}


/* RESET  */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* SCROLL ANIMATIONS */

.reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity .8s ease, transform .8s ease;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Left */

.reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Right */

.reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Scale */

.reveal-scale {
    opacity: 0;
    transform: scale(.9);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger */

.delay-1 {
    transition-delay: .15s;
}

.delay-2 {
    transition-delay: .30s;
}

.delay-3 {
    transition-delay: .45s;
}

.delay-4 {
    transition-delay: .60s;
}

.delay-5 {
    transition-delay: .75s;
}

body {
    margin: 0;

    font-family: var(--body-font);

    color: var(--text-dark);

    background: #ffffff;

    overflow-x: hidden;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input {
    font-family: inherit;
}


/* GLOBAL CONTAINER  */

.container {
    width: min(calc(100% - 48px), var(--container-width));

    margin: 0 auto;
}


/*  HEADER  */

.site-header {
    position: relative;

    z-index: 1000;

    background: rgba(255, 255, 255, 0.97);
}

.header-container {
    position: relative;

    height: 94px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 28px;
}


/* LOGO   */

.logo {
    width: 215px;

    height: 90px;

    display: flex;

    align-items: center;

    flex-shrink: 0;

    overflow: visible;
}

.logo img {
    display: block;

    width: auto;

    height: 90px;

    max-width: 215px;

    object-fit: contain;
}


/* DESKTOP NAVIGATION  */

.desktop-nav {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 29px;

    flex: 1;
}

.nav-link {
    position: relative;

    display: inline-flex;

    align-items: center;

    height: 94px;

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    color: #10191b;

    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-deep);
}

.nav-link.active::after {
    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: 24px;

    width: 100%;

    height: 2px;

    background: var(--green-deep);
}


/*  LANGUAGE DROPDOWN  */

.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    gap: 8px;
}

.dropdown-trigger i {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    font-size: 9px;

    line-height: 1;

    transform: translateY(1px);

    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-trigger i {
    transform: translateY(1px) rotate(180deg);
}

.dropdown-menu {
    position: absolute;

    top: 77px;

    left: 50%;

    width: 205px;

    padding: 9px;

    transform: translate(-50%, 10px);

    border: 1px solid var(--border);

    border-radius: 12px;

    background: #ffffff;

    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;

    visibility: visible;

    transform: translate(-50%, 0);
}

.dropdown-menu a {
    display: block;

    padding: 11px 13px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 500;
}

.dropdown-menu a:hover {
    color: var(--green-deep);

    background: #f1f7f2;
}


/* HEADER ACTIONS  */

.header-actions {
    display: flex;

    align-items: center;

    gap: 12px;

    flex-shrink: 0;
}

.login-button,
.become-a-tutor-button {
    height: 46px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.login-button {
    min-width: 78px;

    padding: 0 17px;

    border: 1px solid #aeb7b1;

    background: #ffffff;
}

.login-button:hover {
    color: var(--green-deep);

    border-color: var(--green-deep);
}

.become-a-tutor-button {
    min-width: 108px;

    padding: 0 18px;

    color: #ffffff;

    background: var(--green-deep);
}

.become-a-tutor-button:hover {
    background: var(--green-medium);

    transform: translateY(-1px);
}


/* MOBILE MENU BUTTON  */

.mobile-menu-toggle {
    display: none;

    width: 46px;

    height: 46px;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: 1px solid #d5ddd6;

    border-radius: 9px;

    color: var(--green-deep);

    background: #ffffff;

    cursor: pointer;

    font-size: 20px;
}

.mobile-menu-toggle i {
    transition: transform 0.25s ease;
}


/* MOBILE MENU */

.mobile-menu {
    display: none;

    max-height: 0;

    overflow: hidden;

    border-top: 1px solid transparent;

    background: #ffffff;

    transition: max-height 0.35s ease, border-color 0.35s ease;
}

.mobile-menu.open {
    max-height: 800px;

    border-top-color: #e5e9e5;
}

.mobile-nav {
    display: flex;

    flex-direction: column;

    padding: 16px 20px 25px;
}

.mobile-nav-link,
.mobile-dropdown-button {
    width: 100%;

    min-height: 50px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: 0;

    border-bottom: 1px solid #e8ece8;

    background: transparent;

    color: var(--text-dark);

    font-size: 15px;

    font-weight: 600;

    text-align: left;

    cursor: pointer;
}

.mobile-nav-link.active {
    color: var(--green-deep);
}

.mobile-dropdown-button i {
    font-size: 10px;

    transition: transform 0.2s ease;
}

.mobile-dropdown.open .mobile-dropdown-button i {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;

    padding: 6px 0 8px 16px;
}

.mobile-dropdown.open .mobile-dropdown-content {
    display: block;
}

.mobile-dropdown-content a {
    display: block;

    padding: 10px 0;

    color: #5a655e;

    font-size: 14px;
}

.mobile-actions {
    display: flex;

    gap: 10px;

    margin-top: 20px;
}

.mobile-actions a {
    flex: 1;
}


/* HERO SECTION  */

.hero-section {
    position: relative;

    min-height: 525px;

    overflow: hidden;

    background: var(--cream);
}


/* HERO BACKGROUND IMAGE  */

.hero-background {
    position: absolute;

    z-index: 0;

    top: 0;

    bottom: 0;

    left: 0;

    width: 68%;

    background-image: linear-gradient(90deg, rgba(250, 248, 241, 0.08) 0%, rgba(250, 248, 241, 0.10) 40%, rgba(250, 248, 241, 0.48) 67%, rgba(250, 248, 241, 0.94) 90%, rgba(250, 248, 241, 1) 100%), url("../assets/images/hero-background.png");

    background-size: cover;

    background-position: center;

    opacity: 0.25;

    pointer-events: none;
}


/* HERO CONTAINER  */

.hero-container {
    position: relative;

    z-index: 2;

    min-height: 525px;

    display: grid;

    grid-template-columns: minmax(420px, 0.90fr) minmax(650px, 1.10fr);

    align-items: center;

    gap: 8px;
}


/* HERO CONTENT  */

.hero-content {
    position: relative;

    z-index: 10;

    padding: 42px 0 36px;
}

.hero-label {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 34px;

    padding: 0 14px;

    margin-bottom: 18px;

    border: 1px solid #e1e4dd;

    border-radius: 30px;

    background: rgba(255, 255, 255, 0.62);

    font-size: 12px;

    font-weight: 500;
}

.hero-label-dot {
    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--green-medium);
}

.hero-content h1 {
    max-width: 590px;

    font-family: var(--heading-font);

    font-size: clamp(45px, 4.25vw, 62px);

    line-height: 0.99;

    letter-spacing: -1.8px;

    color: var(--text-dark);
}

.hero-content h1 span {
    color: var(--green-primary);
    font-weight: 800 !important;
}

.hero-title-line {
    width: 200px;

    height: 3px;

    margin-top: 9px;

    border-radius: 50%;

    background: var(--yellow);

    transform: rotate(-1deg);
}

.hero-description {
    max-width: 520px;

    margin-top: 19px;

    font-size: 20px;

    line-height: 1.58;

    color: #26332c;
}


/* =========================================
   HERO BUTTONS
========================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 22px;
}

.primary-button,
.secondary-button {
    height: 50px;

    display: inline-flex;

    align-items: center;

    justify-content: space-between;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;
}

.primary-button {
    width: 225px;

    padding-left: 20px;

    color: #ffffff;

    background: var(--green-medium);
}

.primary-button:hover {
    background: var(--green-deep);
}

.button-circle {
    width: 32px;

    height: 32px;

    margin-right: 7px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: var(--green-deep);

    background: #ffffff;
}

.button-circle i {
    font-size: 12px;
}

.secondary-button {
    width: 188px;

    padding: 0 17px 0 21px;

    border: 1px solid #cbd3cc;

    background: rgba(255,
            255,
            255,
            0.55);
}

.secondary-button:hover {
    color: var(--green-deep);

    border-color: var(--green-medium);
}

.secondary-button i {
    font-size: 16px;
}


/* =========================================
   HERO BENEFITS
========================================= */

.hero-benefits {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 20px;
}

.hero-benefit {
    display: flex;

    align-items: center;

    gap: 8px;

    font-size: 11px;

    font-weight: 500;

    white-space: nowrap;
}

.benefit-icon {
    width: 30px;

    height: 30px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border-radius: 50%;

    color: var(--green-deep);

    background: #e6f0e7;
}

.benefit-icon i {
    font-size: 12px;
}


/* =========================================
   HERO VISUAL
========================================= */

.hero-visual {
    position: relative;

    min-height: 525px;

    align-self: stretch;

    overflow: visible;
}

.hero-green-shape {
    position: absolute;

    z-index: 1;

    top: 10px;

    right: -155px;

    width: 870px;

    height: 465px;

    border-radius: 265px 0 0 0;

    background: var(--green-deep);
}

.hero-green-shape::after {
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    opacity: 0.08;

    background-image:
        radial-gradient(circle at 20% 20%,
            #ffffff 0 2px,
            transparent 3px);

    background-size: 50px 50px;
}

.hero-yellow-shape {
    position: absolute;

    z-index: 2;

    left: -35px;

    bottom: 10px;

    width: 150px;

    height: 175px;

    border-radius: 100px 0 0 0;

    background: var(--yellow);

    transform: rotate(-4deg);
}


/* =========================================
   HERO PEOPLE
========================================= */

.hero-people {
    position: absolute;

    z-index: 5;

    top: 0;

    right: 18px;

    width: 660px;

    height: 405px;
}

.hero-person {
    position: absolute;

    bottom: 0;

    object-fit: contain;

    object-position: bottom center;
}

.hero-person-left {
    left: 5px;

    width: 255px;

    z-index: 2;
}

.hero-person-center {
    left: 190px;

    width: 290px;

    z-index: 4;
}

.hero-person-right {
    right: 0;

    width: 250px;

    z-index: 3;
}


/* =========================================
   LANGUAGE CARDS
========================================= */

.language-cards {
    position: absolute;

    z-index: 20;

    left: 14px;

    right: -20px;

    bottom: 18px;

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 9px;
}

.language-card {
    min-height: 195px;

    padding: 14px 12px 12px;

    border-radius: 14px;

    text-align: center;

    box-shadow:
        0 14px 35px rgba(0,
            0,
            0,
            0.08);
}

.yoruba-card {
    background: #fffdf1;
}

.igbo-card {
    background: #f1faef;
}

.hausa-card {
    background: #edf7fc;
}

.pidgin-card {
    background: #f8effb;
}

.language-icon {
    height: 57px;

    display: flex;

    align-items: center;

    justify-content: center;

    color: var(--green-deep);

    font-size: 35px;
}

.language-card h3 {
    margin-top: 3px;

    font-family: var(--heading-font);

    font-size: 18px;

    line-height: 1.2;
}

.language-card p {
    min-height: 42px;

    margin-top: 8px;

    font-size: 11px;

    line-height: 1.45;

    color: #34403b;
}

.language-card a {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 8px;

    color: var(--green-deep);

    font-size: 11px;

    font-weight: 600;
}

.language-card a i {
    font-size: 9px;
}


/* =========================================
   TOP TUTORS SECTION
========================================= */

.top-tutors-section {
    position: relative;

    z-index: 5;

    padding: 22px 0 26px;

    background: var(--cream);
}

.tutors-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 17px;
}

.tutors-header h2 {
    font-size: 20px;

    font-weight: 700;

    color: #101a20;
}

.view-tutors {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: var(--green-deep);

    font-size: 13px;

    font-weight: 700;
}

.view-tutors i {
    font-size: 11px;
}


/* =========================================
   TUTOR PROFILE CARDS
========================================= */

.tutor-cards {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.tutor-card {
    position: relative;

    padding: 8px 8px 18px;

    border: 1px solid #e0e3df;

    border-radius: 15px;

    background: #ffffff;

    box-shadow:
        0 5px 18px rgba(16,
            32,
            23,
            0.035);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.tutor-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 35px rgba(16,
            32,
            23,
            0.10);
}


/* =========================================
   TUTOR IMAGE
========================================= */

.tutor-image-wrapper {
    position: relative;

    width: 100%;

    height: 185px;

    overflow: hidden;

    border-radius: 12px;

    background: #edf0ed;
}

.tutor-image-wrapper img {
    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center top;

    transition:
        transform 0.35s ease;
}

.tutor-card:hover .tutor-image-wrapper img {
    transform: scale(1.025);
}


/* =========================================
   TUTOR CATEGORY PILL
========================================= */

.tutor-category {
    position: absolute;

    left: 10px;

    bottom: 9px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 60px;

    min-height: 26px;

    padding: 0 12px;

    border-radius: 20px;

    color: #075d22;

    background: #dff4e7;

    font-size: 11px;

    font-weight: 600;

    box-shadow:
        0 2px 6px rgba(0,
            0,
            0,
            0.06);
}

.pidgin-category {
    color: #3b2982;

    background: #e7e1ff;
}


/* =========================================
   FAVORITE HEART BUTTON
========================================= */

.favorite-button {
    position: absolute;

    top: 9px;

    right: 9px;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid #e0e4e0;

    border-radius: 50%;

    color: #26313a;

    background: rgba(255,
            255,
            255,
            0.94);

    cursor: pointer;

    box-shadow:
        0 3px 8px rgba(0,
            0,
            0,
            0.05);

    transition:
        color 0.2s ease,
        background 0.2s ease,
        transform 0.2s ease;
}

.favorite-button i {
    font-size: 14px;
}

.favorite-button:hover {
    color: #d52d43;

    transform: scale(1.05);
}

.favorite-button.active {
    color: #d52d43;

    background: #fff2f4;
}


/* =========================================
   TUTOR INFORMATION
========================================= */

.tutor-information {
    padding: 15px 8px 0;
}

.tutor-information h3 {
    margin: 0;

    font-size: 18px;

    line-height: 1.2;

    font-weight: 700;

    color: #0d1421;
}

.tutor-language {
    margin-top: 7px;

    font-size: 13px;

    line-height: 1.3;

    color: #66706a;
}


/*  TUTOR DETAIL ROW  */

.tutor-detail-row {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 16px;

    color: #3d4650;

    font-size: 13px;
}

.tutor-detail-row i {
    width: 16px;

    color: #27343d;

    text-align: center;

    font-size: 13px;
}

.rating-row {
    gap: 7px;

    margin-top: 12px;
}

.rating-row i {
    color: #f4ae00;

    font-size: 14px;
}

.rating-row strong {
    font-size: 13px;

    font-weight: 700;

    color: #27303a;
}

.rating-row span {
    color: #4e5660;

    font-size: 12px;
}


/* FEATURES SECTION  */

.features-section {
    position: relative;

    z-index: 10;

    background: var(--cream);
}

.features-wrapper {
    min-height: 132px;

    padding: 22px 38px;

    display: grid;

    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;

    align-items: center;

    border-radius: 14px 14px 0 0;

    color: #ffffff;

    background: var(--green-deep);
}

.feature-item {
    display: flex;

    align-items: center;

    gap: 17px;

    padding: 0 13px;
}

.feature-icon {
    width: 51px;

    height: 51px;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(255, 255, 255, 0.58);

    border-radius: 50%;
}

.feature-icon i {
    font-size: 20px;
}

.feature-content h3 {
    font-size: 13px;

    font-weight: 700;
}

.feature-content p {
    max-width: 205px;

    margin-top: 6px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 11px;

    line-height: 1.45;
}

.feature-divider {
    width: 1px;

    height: 62px;

    background: rgba(255, 255, 255, 0.25);
}


/* FOOTER */

.site-footer {
    position: relative;

    overflow: hidden;

    color: #ffffff;

    background: #032c3b;
}

.site-footer::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.055;

    background-image: radial-gradient(circle, #ffffff 1px, transparent 1.5px);

    background-size: 45px 45px;

    pointer-events: none;
}

.footer-container {
    position: relative;

    z-index: 2;

    padding-top: 30px;

    padding-bottom: 28px;

    display: grid;

    grid-template-columns: 1.45fr 0.75fr 0.75fr 1.25fr;

    gap: 58px;
}

.footer-logo {
    display: inline-flex;
}

.footer-logo img {
    width: auto;

    height: 54px;

    max-width: 200px;

    object-fit: contain;
}

.footer-brand p {
    max-width: 285px;

    margin-top: 13px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 12px;

    line-height: 1.6;
}

.social-links {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 17px;
}

.social-links a {
    width: 28px;

    height: 28px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.13);

    font-size: 12px;

    transition:
        background 0.2s ease;
}

.social-links a:hover {
    background: var(--green-primary);
}

.footer-column h3,
.footer-newsletter h3 {
    margin-bottom: 15px;

    font-size: 13px;

    font-weight: 700;
}

.footer-column {
    display: flex;

    flex-direction: column;
}

.footer-column a {
    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 11px;
}

.footer-column a:hover {
    color: var(--green-primary);
}

.footer-newsletter p {
    max-width: 290px;

    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.78);

    font-size: 11px;

    line-height: 1.55;
}

.newsletter-form {
    position: relative;

    max-width: 290px;
}

.newsletter-form input {
    width: 100%;

    height: 42px;

    padding: 0 50px 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.35);

    border-radius: 9px;

    outline: none;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.04);

    font-size: 11px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.newsletter-form input:focus {
    border-color: var(--green-primary);
}

.newsletter-form button {
    position: absolute;

    top: 5px;

    right: 5px;

    width: 32px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 0;

    border-radius: 50%;

    color: #ffffff;

    background: var(--green-primary);

    cursor: pointer;
}

.newsletter-form button i {
    font-size: 11px;
}

.privacy-note {
    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 11px;

    color: rgba(255, 255, 255, 0.8);

    font-size: 11px;
}

.privacy-note i {
    color: #39a92d;
}

.footer-bottom {
    position: relative;

    z-index: 2;

    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom .container {
    padding: 13px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 10px;
}


@media (max-width: 1180px) {

    .desktop-nav {
        gap: 18px;
    }

    .nav-link {
        font-size: 11px;
    }

    .hero-container {
        grid-template-columns: minmax(350px, 0.85fr) minmax(560px, 1.15fr);
    }

    .hero-people {
        width: 580px;

        right: 0;
    }

    .language-cards {
        right: -10px;
    }

    .language-card {
        min-height: 175px;
    }

    .language-card h3 {
        font-size: 16px;
    }

    .language-card p {
        font-size: 10px;
    }

    .tutor-image-wrapper {
        height: 165px;
    }

    .tutor-information h3 {
        font-size: 16px;
    }

}


@media (max-width: 1000px) {

    .desktop-nav,
    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

}


@media (max-width: 900px) {

    .hero-container {
        grid-template-columns: 1fr;

        padding-top: 25px;
    }

    .hero-content {
        max-width: 650px;

        padding-bottom: 10px;
    }

    .hero-visual {
        min-height: 490px;

        margin-top: -10px;
    }

    .hero-background {
        width: 100%;
        top: 0;
        bottom: 0;
        left: 0;

        background-image: linear-gradient(90deg, rgba(250, 248, 241, 0.12) 0%, rgba(250, 248, 241, 0.16) 55%, rgba(250, 248, 241, 0.25) 100%), url("../assets/images/hero-background.png");

        background-size: cover;

        background-position: left center;

        background-repeat: no-repeat;

        opacity: 0.30;

        pointer-events: none;
    }

    .hero-green-shape {
        right: -70px;
    }

    .hero-people {
        right: 50%;

        transform: translateX(50%);
    }

    .language-cards {
        left: 25px;

        right: 25px;
    }

    .tutor-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .feature-divider {
        display: none;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .container {
        width: min(calc(100% - 30px), var(--container-width));
    }

    .header-container {
        height: 76px;
    }

    .logo {
        width: 190px;

        height: 75px;
    }

    .logo img {
        height: 75px;

        max-width: 190px;
    }

    .mobile-menu-toggle {
        width: 44px;

        height: 44px;
    }


    .hero-section {
        min-height: auto;
    }

    .hero-container {
        min-height: auto;

        padding-top: 28px;
    }

    .hero-content {
        padding-bottom: 10px;
    }


    .hero-background {
        width: 100%;
        top: 0;
        bottom: 0;
        left: 0;

        background-position: left top;

        background-size: auto 100%;

        background-repeat: no-repeat;

        background-image: linear-gradient(90deg, rgba(250, 248, 241, 0.10) 0%, rgba(250, 248, 241, 0.16) 60%, rgba(250, 248, 241, 0.28) 100%), url("../assets/images/hero-background.png");

        opacity: 0.30;
    }

    .hero-label {
        min-height: 32px;

        font-size: 10px;
    }

    .hero-content h1 {
        font-size: 41px;

        line-height: 1;

        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 14px;

        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: stretch;

        width: 100%;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .hero-benefits {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 7px;
    }

    .hero-benefit {
        flex-direction: column;

        gap: 6px;

        text-align: center;

        white-space: normal;

        font-size: 9px;

        line-height: 1.3;
    }


    .hero-visual {
        min-height: 590px;

        margin-top: 0;
    }

    .hero-green-shape {
        top: 35px;

        right: -190px;

        width: 650px;

        height: 425px;
    }

    .hero-yellow-shape {
        left: -50px;

        bottom: 35px;
    }

    .hero-people {
        top: 12px;

        width: 450px;

        height: 330px;

        right: 50%;

        transform: translateX(50%);
    }

    .hero-person-left {
        width: 180px;
    }

    .hero-person-center {
        left: 130px;

        width: 205px;
    }

    .hero-person-right {
        width: 175px;
    }

    .language-cards {
        left: 4px;

        right: 4px;

        bottom: 5px;

        grid-template-columns:
            repeat(2, 1fr);

        gap: 8px;
    }

    .language-card {
        min-height: 150px;

        padding: 10px;
    }

    .language-icon {
        height: 40px;

        font-size: 27px;
    }

    .language-card h3 {
        font-size: 15px;
    }

    .language-card p {
        min-height: 35px;

        font-size: 9px;
    }

    .language-card a {
        margin-top: 3px;

        font-size: 9px;
    }

    .top-tutors-section {
        padding-top: 25px;
    }

    .tutors-header {
        align-items: flex-start;

        gap: 12px;
    }

    .tutors-header h2 {
        font-size: 18px;
    }

    .view-tutors {
        font-size: 11px;

        white-space: nowrap;
    }

    .tutor-cards {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .tutor-card {
        padding: 8px 8px 18px;
    }

    .tutor-image-wrapper {
        height: 220px;
    }

    .tutor-information {
        padding: 16px 8px 0;
    }

    .tutor-information h3 {
        font-size: 20px;
    }

    .tutor-language {
        font-size: 14px;
    }

    .tutor-detail-row {
        font-size: 14px;
    }


    .features-wrapper {
        grid-template-columns: 1fr;

        padding: 27px 20px;

        gap: 27px;
    }

    .feature-divider {
        display: none;
    }

    .feature-item {
        padding: 0;
    }

    .feature-content p {
        max-width: none;

        font-size: 11px;
    }


    /* MOBILE FOOTER  */

    .footer-container {
        grid-template-columns: 1fr;

        gap: 32px;

        padding-top: 35px;
    }

    .footer-brand p {
        max-width: 330px;
    }

}


@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-visual {
        min-height: 565px;
    }

    .hero-people {
        width: 390px;
    }

    .hero-person-left {
        width: 155px;
    }

    .hero-person-center {
        left: 112px;

        width: 180px;
    }

    .hero-person-right {
        width: 150px;
    }

    .tutor-image-wrapper {
        height: 205px;
    }

}