/* RESET & BASE STYLES */
* {
    box-sizing: border-box;
    font-family: "D-Din", Sans-serif;
}

body {
    font-family: "D-Din", Sans-serif;
    margin: 0;
    background: #fff;
}

    /*button scale effect*/
    body button {
        transition: transform 0.8s ease;
    }

        body button:hover {
            transform: scale(1.1);
        }

    body .icard {
        transition: transform 1.2s ease;
    }

        body .icard:hover {
            transform: scale(1.05);
        }


/* HEADER */
.header {
    display: flex;
    padding: 6px 20px;
    /* border-bottom: 1px solid #ccc; */
    background: transparent;
    z-index: 999;
    position: relative;
}

    .header img {
        width: 8%;
        margin-left: 2%;
    }

.nav a, .eazzy-btn {
    margin: 0 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 4px;
}

    .nav a:hover {
        padding-bottom: 3px;
        border-bottom: 2px solid #A32A29;
        color: #A32A29;
        ;
    }

.eazzy-btn {
    background: #A32A29;
    color: #fff;
    border: none;
    padding: 5px 35px;
    font-size: 19px;
    border-radius: 1px 8px 1px 8px;
}

/* HERO SECTION */
.hero {
    display: flex;
    background: #A32A29;
    margin-top: -110px;
    padding: 40px 35px 0px 80px;
    gap: 20px;
    color: black; /* Optional: for better text readability */
    position: relative;
}

.hero-text {
    flex: 1 1 66%;
    /* max-width: 600px; */
}

.hero h2 {
    font-family: "D-Din", Sans-serif;
    font-size: 20px;
    margin: 0;
    font-weight: 300;
}

.hero h1 {
    font-size: 42px;
    font-weight: 400;
    margin: 30px 0;
    color: #fff;
}

.logotext img {
    max-width: 100%;
}

.logotext a {
    text-decoration: none;
}

.logotext button {
    background: transparent;
    border: none;
    color: #A32A29;
    align-items: center;
    display: flex;
    justify-content: center;
}

.linking {
    border: none;
}

    .linking button {
        background: #F4AB7A;
        border: none;
        color: #fff;
        padding: 10px 26px;
        border-radius: 26px;
    }

/* section 1 */
.sect1 .parent {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.sect1 .logotext {
    width: 45%;
    display: flex;
    justify-content: center;
    background-image: url("assets/hero_cvr.png");
    background-position: top;
    background-size: cover;
}

.sect1 .metrics {
    width: 55%;
    padding: 50px 15px 25px 100px;
}

.sect1 .navsbtn {
    position: absolute;
    right: 0px;
    background: #F4AB7A;
    bottom: 0px;
    display: flex;
    flex-direction: column;
}


/* section 2 */
.sect2 {
    padding: 60px 80px;
}

    .sect2 h2 {
        font-size: 42px;
        margin: 0px;
        font-weight: 400;
    }

    .sect2 p {
        font-size: 16px;
    }

    .sect2 .floatcards {
        display: flex;
        flex-direction: row;
        gap: 50px;
        width: 100%;
        margin-top: 50px;
    }

        .sect2 .floatcards > div {
            width: 31%;
        }

        .sect2 .floatcards .fcard {
            padding: 10px;
            border-radius: 25px;
            transition: box-shadow 0.7s ease, transform 0.3s ease;
        }

            .sect2 .floatcards .fcard:hover {
                /*border: 1px solid black;*/
                border-radius: 20px;
                box-shadow: 0 6px 15px rgba(163,42,41,0.2);
            }

        .sect2 .floatcards h5 {
            font-size: 24px;
            font-weight: 400;
            margin: 10px 0px;
        }

    .sect2 .dline {
        height: 130px;
        background-color: #0000002d;
        width: 2px !important;
    }


/* section 3 */
.sect3 {
    padding: 60px 80px;
    background: #FDF6F1;
}

    .sect3 h2 {
        font-size: 42px;
        margin: 0px;
        font-weight: 400;
    }

    .sect3 p {
        font-size: 15px;
    }

    .sect3 .imagecards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 50px;
        margin-top: 30px;
    }

    .sect3 .fcard {
        background: #A32A29;
        display: flex;
        flex-direction: row;
        border-radius: 35px;
        padding: 0px 0 0px 20px;
    }

    .sect3 .incard {
        height: 250px;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: end;
        padding-bottom: 20px;
        width: 100%;
    }

    .sect3 .fcard h5 {
        margin: 0px;
        font-weight: 400;
        font-size: 40px;
        margin-bottom: 5px;
    }

    .sect3 .fcard p {
        margin: 0px 0px 10px;
    }

    .sect3 .fcard button {
        width: fit-content;
        padding: 8px 18px;
        background: #F4AB7A;
        border-radius: 26px;
        border: none;
        color: #fff;
    }

    .sect3 .incardimg {
        display: flex;
        justify-content: end;
        width: 55%;
    }

        .sect3 .incardimg img {
            width: 100%;
        }


/* section 4 */
.sect4 {
    padding: 40px 80px;
    background-image: url("assets/covercard.webp");
    background-size: cover;
    z-index: 0;
    position: relative;
    background-position: top;
}

    .sect4::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #0000007a;
        z-index: 1;
    }

    .sect4 h2 {
        font-size: 42px;
        margin: 0px;
        font-weight: 400;
        color: #fff;
        z-index: 2;
        position: relative;
    }

    .sect4 p {
        font-size: 16px;
        width: 46%;
        color: #fff;
        z-index: 2;
        position: relative;
    }

    .sect4 .covercard {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 60px;
        z-index: 2;
        position: relative;
    }

    .sect4 .icard {
        background: #ffffff75;
        backdrop-filter: blur(10px);
        border-radius: 20px;
        padding: 15px;
    }

        .sect4 .icard p {
            width: 100%;
        }

        .sect4 .icard img {
            width: 15%;
        }

        .sect4 .icard p {
            margin: 10px 0 0;
        }

.another {
    border: 1px solid #0000002d;
    /* height: 115px; */
    /* background-color: #0000002d; */
    width: 100% !important;
}

/* FOOTER */
.footer {
    background: #A32A29;
    color: white;
    text-align: center;
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
}

    .footer button {
        width: fit-content;
        padding: 10px 30px;
        background: #F4AB7A;
        border-radius: 26px;
        border: none;
        color: #fff;
    }

    .footer p {
        font-size: 40px;
        font-weight: 400;
        margin: 0px;
    }


/* mobile responsiveness */
@media(max-width: 768px) {
    .header img {
        width: 15% !important;
        margin-left: 0px !important;
    }

    .hero {
        padding: 40px 15px 15px 15px !important;
    }

        .hero h1 {
            font-size: 30px !important;
            margin-bottom: 10px !important;
        }

    .parent {
        flex-direction: column !important;
    }

    .sect1 .logotext {
        width: 100%;
    }

    .logotext img {
        max-width: 80% !important;
    }

    .sect1 .metrics {
        width: 100%;
        padding: 0px !important;
    }

        .sect1 .metrics img {
            width: 85% !important;
        }

    .sect2, .sect3, .sect4 {
        padding: 25px 15px !important;
    }

        .sect2 .floatcards {
            margin-top: 20px !important;
            flex-direction: column !important;
            gap: 20px !important;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
        }

            .sect2 .floatcards h5 {
                font-size: 18px !important;
            }

            .sect2 .floatcards > div {
                width: 100% !important;
            }

        .sect2 .dline {
            display: none !important;
        }

        .sect2 h2, .sect3 h2, .sect4 h2 {
            font-size: 30px !important;
        }



        .sect3 .imagecards {
            display: block !important;
        }

        .sect3 .fcard {
            margin-bottom: 15px !important;
        }

        .sect3 .incard {
            height: 200px !important;
        }

        .sect3 .fcard h5 {
            font-size: 30px !important;
        }

        .sect3 .fcard p {
            font-size: 14px;
        }

        .sect3 .incardimg img {
            border-radius: 35px !important;
        }

        .sect4 p {
            font-size: 14px !important;
            width: 100% !important;
        }

        .sect4 .covercard {
            margin-top: 20px !important;
        }

        .sect4 .covercard {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
        }

    .footer p {
        font-size: 20px !important;
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .footer button {
        width: 70% !important;
    }

    .footer {
        padding: 15px 10px !important;
        display: flex !important;
        flex-direction: column !important;
    }

        .footer div a {
            width: 50% !important;
        }


    /* popup panel */
    .popup-panel {
        width: 95% !important;
        border-radius: 40px !important;
        margin: 14px 10px !important;
    }

        .popup-panel button {
            font-size: 14px !important;
        }

        .popup-panel h3 {
            font-size: 32px !important;
        }

        .popup-panel h6 {
            font-size: 20px !important;
        }

        .popup-panel p {
            font-size: 14px !important;
        }
}


/* popupstyling */
/* Overlay background */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 20;
}

/* Slide panel */
.popup-panel {
    position: fixed;
    top: 0;
    right: -620px;
    width: 580px;
    height: 100%;
    background: #fff;
    border-radius: 40px 0 0 40px;
    box-shadow: 4px 0 12px rgba(0,0,0,0.2);
    padding: 20px;
    transition: 0.35s ease;
    z-index: 30;
    overflow: auto;
}

    .popup-panel.open {
        right: 0;
    }

    .popup-panel ul {
        padding: 0 0 0 20px;
    }

        .popup-panel ul li {
            margin-bottom: 8px;
        }

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Close button */
.close-btn {
    font-size: 28px;
    cursor: pointer;
    display: block;
    text-align: right;
}

.popup-panel .btnone {
    border-radius: 26px;
    text-align: start;
    padding: 8px 16px;
    color: #A32A29;
    background-color: #fff;
    border: 1px solid #A32A29;
    font-size: 16px;
}

.popup-panel .btntwo {
    border-radius: 26px;
    padding: 8px 16px;
    color: #fff;
    background-color: #F4AB7A;
    font-size: 16px;
    border: 1px solid #F4AB7A;
}

.popup-panel h3 {
    font-size: 42px;
    color: #221F1F;
    font-weight: 400;
    margin: 20px 0;
}

.popup-panel h6 {
    font-size: 24px;
    color: #221F1F;
    font-weight: 400;
    margin: 20px 0;
}

.popup-panel .inlinepop {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 20px 0px;
    width: 100%;
}

    .popup-panel .inlinepop > div {
        width: 50%;
    }

.popup-panel p {
    font-size: 16px;
    margin: 12px 0;
}

/* Signup Form Styles */
.signup-form {
    max-height: 75vh;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
}

    .signup-form .form-section {
        margin-bottom: 25px;
    }

    .signup-form .section-title {
        font-size: 18px;
        font-weight: 600;
        color: #221F1F;
        margin-bottom: 15px;
        border-bottom: 2px solid #F4AB7A;
        padding-bottom: 5px;
    }

    .signup-form input[type="text"],
    .signup-form input[type="email"],
    .signup-form input[type="tel"],
    .signup-form select {
        width: 100%;
        padding: 12px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 14px;
        margin-bottom: 10px;
        box-sizing: border-box;
    }

        .signup-form input[type="text"]:focus,
        .signup-form input[type="email"]:focus,
        .signup-form input[type="tel"]:focus,
        .signup-form select:focus {
            outline: none;
            border-color: #A32A29;
            box-shadow: 0 0 0 2px rgba(163, 42, 41, 0.1);
        }

    .signup-form .radio-group,
    .signup-form .checkbox-group {
        margin-bottom: 15px;
    }

    .signup-form .radio-option,
    .signup-form .checkbox-option {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        cursor: pointer;
    }

    .signup-form input[type="radio"],
    .signup-form input[type="checkbox"] {
        margin-right: 10px;
        width: 22px;
        height: 22px;
        accent-color: #A32A29;
    }

    .signup-form .conditional-field {
        margin-left: 28px;
        margin-top: 5px;
        display: none;
    }

        .signup-form .conditional-field.show {
            display: block;
        }

    .signup-form .submit-btn {
        width: 100%;
        padding: 15px;
        background: #F4AB7A;
        color: #fff;
        border: none;
        border-radius: 26px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.3s ease;
    }

        .signup-form .submit-btn:hover {
            transform: scale(1.05);
        }

        .signup-form .submit-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }

    .signup-form label {
        font-size: 14px;
        color: #333;
        cursor: pointer;
    }

    .signup-form .terms-text {
        font-size: 12px;
        line-height: 1.4;
        margin-top: 10px;
    }

        .signup-form .terms-text a {
            color: #A32A29;
            text-decoration: none;
        }

            .signup-form .terms-text a:hover {
                text-decoration: underline;
            }

.popup-panel.thank-you {
    max-width: 420px;
    padding: 35px 30px;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    animation: scaleIn 0.35s ease-out;
}

.thankyou-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #2e7d32; 
    color: #fff;
    font-size: 38px;
    font-weight: bold;
    line-height: 70px;
}


.popup-panel.thank-you h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2b2b2b;
}


.popup-panel.thank-you p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 25px;
}


.popup-panel.thank-you .btntwo {
    min-width: 120px;
}


@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}
