* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    font-family: "Nunito", sans-serif;
}

/* ========= BACKGROUND BASE ========= */

.welcome-container {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e6faf3;
    /* fallback behind sky */
}


/* ========= MULTI-LAYER IMAGES ========= */

.layers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.layer {
    position: absolute;
    inset: -20px;
    background-repeat: no-repeat;
    transform-origin: center;
    opacity: 1;
    transition: transform 0.35s ease-out;
    will-change: transform;
}

/* Order & positioning tuned to match your design */

/* BACK SKY */
.layer-back {
    background-image: url("/static/images/images/layer 6 - sky.png");
    background-size: cover;
    background-position: bottom;
    z-index: 1;
}

/* FAR FIELDS / HILLS LEFT */
.layer-mid-left {
    background-image: url("/static/images/images/layer 3 - mountain 3.png");
    background-size: cover;
    background-position: left bottom;
    z-index: 4;
}

/* BUTTERFLIES – LEFT GROUP */
.layer-mid-butterflies1 {
    background-image: url("/static/images/images/butterflies 1.png");
    background-size: 100%;
    background-position: left center;
    z-index: 999;
}

/* BUTTERFLIES – RIGHT GROUP */
.layer-mid-butterflies2 {
    background-image: url("/static/images/images/butterflies 2.png");
    background-size: 100%;
    background-position: right;
    z-index: 999;
}

/* TREES / BRANCHES FOREGROUND */
.layer-top {
    background-image: url("/static/images/images/layer 4 - trees.png");
    background-size: cover;
    background-position: right top;
    z-index: 2;
}

/* MID BUSHES / GROUND */
.layer-mid {
    background-image: url("/static/images/images/layer 1 - grass.png");
    background-size: cover;
    background-position: center bottom;
    z-index: 4;
}

/* FRONT TEA FIELD ON RIGHT */
.layer-front {
    background-image: url("/static/images/images/layer 2 - mountain 1.png");
    background-size: cover;
    background-position: right bottom;
    z-index: 6;
}

.layer-mid-mountain {
    background-image: url("/static/images/images/layer5mountain3.png");
    background-size: cover;
    background-position: right bottom;
    z-index: 1
}

/* ========= CONTENT ========= */

.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Colors picked to match screenshot */

.title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #0f5e31;
    /* dark green */
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(12px);
    animation: title-in 0.9s ease-out forwards;
}

.title-top {
    font-weight: 500;
    font-style: Medium;
    font-size: 70px;
    line-height: 80px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;

}

.title-bottom {
    font-family: Nunito;
    font-weight: 900;
    font-style: Black;
    font-size: 70px;
    line-height: 80px;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;

}

/* BUTTON to match screenshot */

.get-started-btn {
    top: 407px;
    left: 785px;
    opacity: 1;
    border-radius: 129px;
    padding-top: 22.11px;
    padding-right: 68.19px;
    padding-bottom: 22.11px;
    padding-left: 68.19px;
    gap: 18.43px;
    box-shadow: 0px 4px 40px -10px #00FFAA;
    background: #FFFFFF;
    color: #15875F;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    transition: transform 8px;
}

.btn-get-started:hover {
    transform: translateY(4px) scale(1.02);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    background: #e6faf3;
}

.btn-get-started:active {
    transform: translateY(10px) scale(0.98);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

@media (min-width: 768px) {
    .title-top {

        font-size: 70px;


    }

    .title-bottom {

        font-size: 70px;


    }

    .btn-get-started {
        font-size: 17px;
        padding: 16px 64px;
    }
}

@keyframes title-in {
    0% {
        opacity: 0;
        transform: translateY(14px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes button-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    100% {
        opacity: 1;
        transform: translateY(8px) scale(1);
    }
}




/* ========= PASSWORD MODAL ========= */

/* password css */
        .welcome-container.blurred {
            filter: blur(8px);
            pointer-events: none;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(4px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            animation: fadeIn 0.3s ease-out forwards;
        }

        .modal-overlay.hidden {
            display: none;
        }

        @keyframes fadeIn {
            to {
                opacity: 1;
            }
        }

        .modal-box {
            background: #ffffff;
            border-radius: 16px;
            padding: 40px 50px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            max-width: 450px;
            width: 90%;
            transform: scale(0.9);
            animation: modalSlideIn 0.4s ease-out forwards 0.1s;
        }

        @keyframes modalSlideIn {
            to {
                transform: scale(1);
            }
        }

        .modal-label {
            font-size: 20px;
            font-weight: 600;
            color: #0f5e31;
            margin-bottom: 24px;
            text-align: center;
            line-height: 1.4;
        }

        .modal-input-wrapper {
            margin-bottom: 20px;
        }

        .modal-input {
            width: 100%;
            padding: 14px 18px;
            font-size: 16px;
            font-family: "Poppins", sans-serif;
            border: 2px solid #d0d0d0;
            border-radius: 8px;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .modal-input:focus {
            border-color: #138e4d;
        }

        .modal-input.error {
            border-color: #e74c3c;
            animation: shake 0.4s ease;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-10px); }
            75% { transform: translateX(10px); }
        }

        .error-message {
            color: #e74c3c;
            font-size: 14px;
            margin-top: 8px;
            text-align: center;
            min-height: 20px;
            font-weight: 500;
        }

        .modal-submit-btn {
            width: 100%;
            padding: 14px;
            background: #138e4d;
            color: #ffffff;
            font-size: 16px;
            font-weight: 600;
            font-family: "Poppins", sans-serif;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .modal-submit-btn:hover {
            background: #0f7a3f;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(19, 142, 77, 0.3);
        }

        .modal-submit-btn:active {
            transform: translateY(0);
        }

        .modal-submit-btn:disabled {
            background: #a0a0a0;
            cursor: not-allowed;
            transform: none;
        }

        /* Loading spinner */
        .modal-submit-btn.loading {
            position: relative;
            color: transparent;
        }

        .modal-submit-btn.loading::after {
            content: "";
            position: absolute;
            width: 20px;
            height: 20px;
            top: 50%;
            left: 50%;
            margin-left: -10px;
            margin-top: -10px;
            border: 3px solid #ffffff;
            border-radius: 50%;
            border-top-color: transparent;
            animation: spin 0.8s linear infinite;
        }

        @keyframes spin {
            to {
                transform: rotate(360deg);
            }
        }