﻿/* =====================================================
   ASTER AV HEART DAY - FINAL CLEAN STYLES
===================================================== */

/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    background: #ffffff;
    color: #333;
    line-height: 1.5;
}
:root {
    --color-primary: #164d92;
    --color-secondary: #f0f4ff;
    --color-tertiary: #58595b;
}

/* ================= HEADER ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 20px;
    z-index: 1000;
}

.header-logo {
    height: 50px;
}


/* ================= MAIN ================= */

.main {
    padding-top: 110px;
    padding-bottom: 60px;
}


/* ================= FORM CARD ================= */

.custom-form-card {
    background: #fff;
    border: 1px solid #e2e6e9;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    overflow: hidden;
}


    /* LEFT IMAGE */

    .custom-form-card .col-lg-4 {
        padding: 0;
    }

    .custom-form-card img {
        width: 100%;
        height: auto;
        display: block;
    }


    /* FORM AREA */

    .custom-form-card .col-lg-8 {
        padding: 32px 36px;
    }


/* ================= TITLE ================= */

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #0b4da2;
    text-align: center;
    margin-bottom: 25px;
}


/* ================= LABELS ================= */

.form-label {
    font-size: 13px;
    font-weight: 400;
/*    color: #333;*/
/*    color:red !important;*/
    margin-bottom: 5px;
}

    .form-label::after {
        content: " *";
        color: red;
    }


/* ================= INPUTS ================= */

.form-control,
.form-select {
    height: 40px;
    border-radius: 2px;
    border: 1px solid #9e9e9e;
    font-size: 14px;
    padding: 6px 10px;
    background: #fff;
}

    .form-control::placeholder {
        color: #888;
    }

    .form-control:focus,
    .form-select:focus {
        outline: none;
        box-shadow: none;
        border-color: #9e9e9e;
    }


/* Mobile number padding */

#MobileNumber {
    padding-left: 50px;
}


/* ================= UPLOAD ================= */

.upload-btn {
    width: 100%;
    height: 42px;
    border: 1px dashed #9e9e9e;
    border-radius: 2px;
    background-color: #fff;
    background-image: url("../images/icons/upload.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    cursor: pointer;
    transition: 0.2s;
}

    .upload-btn:hover {
        border-color: #666;
    }

.filename {
    font-size: 12px;
    margin-top: 4px;
    color: #198754;
}


/* ================= SUBMIT ================= */

.submit-button,
.submit-btn {
    width: 280px;
    height: 42px;
    background: #e67e22;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

    .submit-button:hover,
    .submit-btn:hover {
        background: #cf6d17;
    }

    .submit-button:active,
    .submit-btn:active {
        transform: scale(0.98);
    }

/* ================= THANK YOU BUTTON ================= */

.thankyou-btn {
    width: 280px;
    height: 42px;
    background: var(--color-primary); /* #164d92 */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

    .thankyou-btn:hover {
        background: #0f3f78;
    }

    .thankyou-btn:active {
        transform: scale(0.98);
    }

/* ================= VALIDATION ================= */

.text-danger {
    font-size: 12px;
    display: block;
}



/* ================= CONSENT ================= */

.consent-box label {
    color: #6c757d;
}

.consent-box input {
    margin-top: 3px;
    cursor: pointer;
}


.thankyou-text {
    text-align: center;
    white-space: nowrap; /* prevents line break */
    font-size: clamp(18px,3vw,28px); /* responsive size */
    font-weight: 700;
}

/* ================= RESPONSIVE ================= */



@media (max-width: 992px) {

    .header {
        height: 70px;
    }

    .header-logo {
        height: 40px;
    }

    .main {
        padding-top: 200px;
    }

    .custom-form-card .col-lg-8 {
        padding: 24px;
    }

    .form-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .main {
        padding-top: 90px !important;
    }

    .custom-form-card.thank-you {
        margin-bottom: 50px;
    }
   
}

@media (max-width: 480px) {
    .main {
        padding-top: 80px;
    }
 

    .submit-button,
    .submit-btn {
        width: 100%;
    }
}


/* Default desktop */
.form-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet */
@media (max-width:991px) {

    .custom-form-card .col-lg-4 {
        width: 100%; /* make column full width */
        padding: 0; /* optional, remove gaps */
    }

    .form-image {
        width: 100%; /* full width */
        height: 50%; /* keep your existing height */
        max-height: 600px; /* keep existing limit */
        object-fit: cover; /* full image visible */
        margin-bottom: 30px;
    }
}

/* Mobile */
@media (max-width:768px) {

    .custom-form-card .col-lg-4 {
        width: 100%; /* full width column */
    }

    .form-image {
        width: 100%; /* full width */
        max-height: 460px; /* keep existing height */
        object-fit: cover; /* full image visible */
        margin-bottom:30px;
    }
}

/* Small mobile */
@media (max-width:480px) {

    .custom-form-card .col-lg-4 {
        width: 100%; /* full width column */
    }

    .form-image {
        width: 100%; /* full width */
        max-height: 400px; /* keep existing height */
        object-fit: cover; /* full image visible */
    }
}

/* Make form columns uniform */
.applicant-form,
.col-md-6.col-12 {
    display: flex;
    flex-direction: column;
}

/* Fix label height */
.form-label {
    /*min-height: 44px;*/ /* adjust if needed */
    line-height: 1.3;
}


/*footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

footer li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
}*/

    /* Uniform spacing between items */
    /*footer li + li {
        margin-top: 6px !important;
    }

footer ul li a {
    display: inline-block;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.6;
}*/

/* Remove paragraph spacing */
/*footer p {
    margin: 0;
}*/