* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    font-size: 16px;
    line-height: 1.6;
    color: #2f2f2f;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2f2f2f;
}

.landing-container {
    background: #fff;
    overflow-x: hidden;
}

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

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding-block: 3rem;
    padding-inline: 16px;
}

/* Header */

.header {
    background-color: #f5f8fa;
}

.header-content {
    margin: 0 auto;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 10px;
}

.logo {
    padding-right: 10%;
}

.logo-image {
    height: 100px;
    width: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.8s;
    background-position: center;
    text-align: center;
    user-select: none;
}

.btn-primary {
    background: #2895ff;
    color: white;
}

.btn-primary:hover {
    background: #44a3ff radial-gradient(circle, transparent 1%, #44a3ff 1%) center / 15000%;
}

.btn-secondary {
    background: white;
    color: #2895ff;
    border: 1px solid #2895ff;
}

.btn-secondary:hover {
    background: #2895ff;
    color: white;
}

.btn-large {
    padding: 20px 24px;
    font-size: 18px;
    white-space: nowrap;
}

/* Hero Section */

.hero.findTutor {
    background: #f5f8fa;
    z-index: 1;
    min-height: 670px;
    position: relative;
    width: 100%;
}

.hero-content {
    display: flex;
    padding-top: 0;
    padding-inline: 18px;
    position: relative;
}

.hero-text.mainCol {
    max-width: 635px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.hero-badge {
    font-weight: bold;
    font-size: 16px;
    line-height: 28px;
    color: #2895ff;
}

.hero-text h1 {
    font-size: 68px;
    font-weight: 700;
    line-height: 80px;
    margin-top: 24px;
    margin-bottom: 32px;
    text-align: center;
}

.underlined {
    position: relative;
}

.underlined::after {
    display: block;
    content: "";
    position: absolute;
    bottom: -8.8px;
    width: 68%;
    height: 16px;
    background: url(assets/line.svg) no-repeat center center;
    background-size: contain;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    left: 75%;
}

.hero-text p {
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}

/* Hero Circles */
.decorativeCircles {
    position: absolute;
    right: 0;
    width: 696px;
}

.circle.circleSVG {
    position: absolute;
    z-index: 999;
    user-select: none;
    opacity: 1;
    transition: opacity 0.25s;
}

.circle.circleSVG svg {
    width: 100%;
    height: 100%;
}

.circle.circleSVG svg path {
    transition: fill 0.25s, opacity 0.25s;
    opacity: 1;
}

.circle-content {
    position: absolute;
    top: -14.4px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bolder;
}

.circle-content img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: 50%;
}

.circle-1 {
    top: -60px;
    left: 100px;
    width: 384px;
}

.circle-1 svg path {
    fill: #8fc8ff;
}

.circle-2 {
    left: 506px;
    top: 8px;
    width: 212px;
}

.circle-2 svg path {
    fill: #96dad5;
}

.circle-3 {
    left: 185px;
    top: 342px;
    width: 208px;
}

.circle-3 svg path {
    fill: #ff90a0;
}

.circle-4 {
    top: 438px;
    left: 454px;
    width: 186px;
}

.circle-4 svg path {
    fill: #8fc8ff;
}

.circle-5 {
    top: 539px;
    left: 315px;
    width: 133px;
}

.circle-5 svg path {
    fill: #96dad5;
}

.benefits-pink {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.benefits-pink span {
    color: #ff90a0;
    font-weight: bold;
}

.benefits-pink .dot {
    font-size: 2rem;
    line-height: 1;
}

/* Email Collection */
.email-collection {
    padding: 16px 0;
}

.email-form-container {
    margin: 0 auto;
    text-align: center;
}

.email-form-container h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.email-form-container p {
    font-size: 20px;
    color: #2f2f2f;
    margin-block: 16px;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.form-row:last-child {
    justify-content: center;
}

.form-row input {
    flex: 1;
    padding: 8px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 18px;
    line-height: 28px;
    transition: border-color 0.3s ease;
}

.form-row input::placeholder,
.form-row select option:first-of-type {
    color: rgba(0, 0, 0, 0.5);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.select-container {
    position: relative;
    width: 100%;
    max-width: 309px;
}

.select-container select {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 18px;
    appearance: none;
    background: white;
    cursor: pointer;
    padding: 8px 16px;
    line-height: 28px;
}

.select-container .select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    pointer-events: none;
    transition: transform 0.3s ease;
    transform: translateY(-50%);
}


.select-container.open .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.form-row input:focus,
.form-row select:focus {
    outline: none;
    border-color: #2895ff;
}

.form-disclaimer {
    display: flex;
    justify-content: center;
}

.form-disclaimer p {
    font-size: 18px;
    max-width: 400px;
}

.success-message {
    background: #e5f6f4;
    border: 1px solid #96dad5;
    color: #18a957;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
}

/* Coming Soon Section */
.coming-soon-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
}

.coming-soon-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.coming-soon-content h2 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 2rem;
}

/* Qualified Teachers Section */
.qualified-teachers-section {
    background:
            url('assets/bg-green.png'),
            linear-gradient(to bottom,
            #f5f8fa 0%,
            #f5f8fa 50%,
            white 50%,
            white 100%);
    background-size: cover, 100% 100%;
    background-position: center, center;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qualified-teachers-header {
    display: flex;
    gap: 8px;
    align-items: center;
}

.qualified-teachers-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.qualified-teachers-content h2 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #2f2f2f;
    margin: 0;
}

.green-tick-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

/* Steps Component */
.steps-container {
    width: 100%;
}

.steps {
    display: flex;
    justify-content: space-evenly;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    margin-top: 20px;
}

.step-circle {
    position: relative;
    width: 276px;
    height: 276px;
    user-select: none;
    opacity: 1;
    transition: opacity 0.25s;
}

.step-circle svg {
    width: 100%;
    height: 100%;
}

.step-circle svg path {
    transition: fill 0.25s, opacity 0.25s;
    opacity: 1;
}

.step-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 78%;
    text-align: center;
}

.step-content h3 {
    color: #424242;
    font-weight: bold;
    font-size: 26px;
    line-height: 40px;
    margin: 12px auto;
    text-align: center;
}

.step-content p {
    color: #424242;
    font-weight: normal;
    font-size: 18px;
    line-height: 32px;
    text-align: center;
    margin: 0 auto;
}

/* Responsive adjustments for steps */
@media screen and (max-width: 991px) {
    .step-content h3 {
        font-size: 24px;
        line-height: normal;
        margin: 8px auto;
    }

    .step-content p {
        font-size: 16px;
        line-height: 1.6;
    }
}

@media screen and (max-width: 768px) {
    .coming-soon-section.container {
        padding-top: 0;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .step-circle {
        width: 220px;
        height: 220px;
    }

    .qualified-teachers-section {
        padding-block: 100px;
    }
}

/* Footer */
.footer {
    background: #071822;
    color: white;
    padding: 2rem;
}

.footer-bottom {
    text-align: center;
    color: #9e9e9e;
}

/* Responsive */

@media (max-width: 1440px) {
    .decorativeCircles {
        margin-left: -116px;
    }
}

@media (max-width: 1280px) {
    .decorativeCircles {
        position: absolute;
        right: 0;
        width: 696px;
        z-index: 1;
    }

    .hero-text.mainCol {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 1150px) {

    .hero-content {
        padding-bottom: 0;
    }

    .decorativeCircles .circle-1,
    .decorativeCircles .circle-3 {
        opacity: 0.33;
    }

    .hero-text.mainCol {
        margin-top: -30px;
    }
}

@media (min-width: 1150px) {
    .header-content {
        padding-inline: 64px;
    }

    .hero-content {
        padding-inline: 48px;
    }

    .coming-soon-content .select-container {
        max-width: 326px;
    }
}

@media (max-width: 992px) {
    .decorativeCircles .circle {
        opacity: 0.33;
    }

    .hero.findTutor .hero-text.mainCol {
        display: flex;
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 52px;
        line-height: 1.25;
        margin-top: 12px;
        margin-bottom: 0;
    }

    #subscribe.email-collection {
        padding-inline: 0;
        padding-top: 2rem;
    }
}

@media (max-width: 1150px) {
    .header-content {
        position: relative;
        flex-direction: row;
        align-items: center;
        padding: 8px 16px;
        width: 100%;
    }

    .hero .email-collection {
        padding-bottom: 0;
    }

    .form-row {
        flex-direction: column;
    }

    .form-row input,
    .form-row select {
        width: 100%;
    }

    .select-container {
        max-width: 100%;
    }

    .header-content {
        flex-direction: row;
        align-items: center;
        padding: 8px 16px;
        width: 100%;
    }

    .hero.findTutor {
        min-height: max-content;
        height: auto;
    }

    .decorativeCircles .circle-1 {
        left: auto;
        right: 15px;
        width: 208px;
        font-size: 120px;
    }

    .decorativeCircles .circle-2 {
        left: auto;
        right: 8px;
        width: 140px;
        top: 180px;
    }

    .hero-text.mainCol {
        width: 100%;
        padding-bottom: 0;
    }

    .hero-text h1 {
        font-size: 42px;
        text-wrap: balance;
        margin-bottom: 16px;
    }

    .hero-text p {
        text-wrap: balance;
        line-height: 1.75;
    }

    .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .email-collection-form .email-form-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .email-collection-form .email-form-container {
        padding-inline: 18px;
    }
}

@media (max-width: 640px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding-top: 3rem;
    }

    .decorativeCircles {
        display: block;
        left: -76px;
        right: unset;
    }

    .decorativeCircles .circle-3 {
        opacity: 0.1;
    }

    .decorativeCircles .circle-4 {
        opacity: 0.06;
    }

    .decorativeCircles .circle-5 {
        opacity: 0.03;
    }
}

@media (max-width: 575px) {
    .decorativeCircles {
        display: none;
    }

    .hero-text h1,
    .email-form-container h3 {
        font-size: 32px;
    }

    .benefits-pink {
        gap: 8px;
    }
}