:root {
    --page-max: 1320px;
}

.landing-body {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    align-items: center;
    max-width: var(--page-max);
    padding-top: 32px;
}


#togglePassword {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}



.image-section {
    background: white;
    justify-content: center;
    align-items: center;
    object-fit: scale-down;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

    .image-section img {
        width: 596px !important;
        height: 898px;
        flex-shrink: 0;
        aspect-ratio: 298 / 449;
        background: white;
        border-radius: 4px;
    }

.form-section {
    flex-basis: 40%;
    padding: 4rem;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-grid {
    max-width: 80%
}

    .login-grid a {
        text-decoration: none;
        color: #35605A;
        font-weight: 700;
        font-size: 14px;
        font-style: normal;
        line-height: 20px;
    }

.form-section h2 {
    margin-bottom: 0.5rem;
}

.form-section p {
    margin-bottom: 1rem;
}

form input[type="email"],
form input[type="password"] {
    display: block;
    width: 93%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 2.5rem;
    }

.eye-icon {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

form button {
    width: 100%;
    padding: 0.8rem;
    background: #1e5245;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.create-account {
    text-align: center;
    margin-top: 1rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-content {
    background: #fff;
    padding: 2rem 3rem;
    text-align: center;
    width: 40%;
    position: relative;
    height: 40%;
}

    .modal-content h2 {
        margin-bottom: 4.5rem;
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .modal-content p {
        margin-bottom: 2.5rem;
        font-size: 1.5rem;
        color: #333;
    }

.modal-btn {
    background: #1e5245;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    width: 66%;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.airacemodal {
    padding: 41px 0 0 0;
}

.left-hero {
    padding-left: 68px !important;
    width: auto; /* don't force 48% fixed widths */
    padding: 0; /* spacing handled by container gap */
}

.right-hero {
    height: 748px;
    display: flex;
    justify-content: flex-end; /* image hugs the inside edge */
    overflow: hidden;
    padding-right: 95px;
}

    .right-hero img {
        width: clamp(320px, 42vw, 596px);
        height: 898px;
        flex-shrink: 0;
        aspect-ratio: 298 / 449;
        display: block;
        object-fit: contain;
    }

.hero-content {
    max-width: 480px;
}

    .hero-content h1 {
        margin-bottom: 1rem;
        display: flex;
        width: 380px;
        height: 60px;
        flex-direction: column;
        justify-content: flex-end;
        flex-shrink: 0;
        color: #142120;
        font-size: 39.06px;
        font-style: normal;
        font-weight: 700;
        line-height: 46.87px;
    }

    .hero-content p {
        font-size: 1rem;
        color: #333;
        line-height: 1.6;
        margin-bottom: 2rem;
    }

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 34px;
    margin-top: 34px;
}

.hero-btn.primary {
    background: #35605A;
    color: white;
    padding: 0.75rem 1.5rem; /* more height & horizontal space */
    border: none;
    border-radius: 50px; /* makes it fully pill shaped */
    cursor: pointer;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: opacity 0.2s;
}

    .hero-btn.primary:active,
    .hero-btn.primary:hover {
        opacity: 0.45;
    }

.hero-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hero-link {
    text-decoration: none;
    color: black;
    font-weight: 400;
}

.dot {
    width: 12px;
    height: 4px;
    background: #ccc;
    border-radius: 10px;
    display: inline-block;
}

    .dot.active {
        background: #1e5245;
        width: 24px;
    }


.left-main-title {
    display: flex;
    width: 380px;
    height: 60px;
    flex-direction: column;
    justify-content: flex-end;
    color: #142120;
    font-family: Inter;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.left-main-content {
    color: #142120;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28.16px; /* 176% */
    width: 380px;
    margin-top: 24px;
}


@media (max-width: 1400px) {
    :root {
        --page-max: 1300px;
    }

    .right-hero {
        padding-right: 100px;
    }
}

@media (max-width: 1150px) {
    :root {
        --page-max: 1150px;
    }

    .landing-body {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 186px;
        padding-right: 0;
    }

    .right-hero {
        padding-right: 0;
        justify-self: center;
        padding-right: 137px;
    }

        .right-hero img {
            max-height: none;
            justify-self: center;
            padding-right: 0;
        }
}
