
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Public Sans', sans-serif;
    background: #fff;
    color: #142b59;
}

/* HEADER */

.avit-header {
    width: 100%;
    background: #fff;
    padding: 10px 35px;
    min-height: 110px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e8edf4;
}

.avit-header .container-fluid {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo {
    width: 100%;
    max-width: 1300px;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}


/* MAIN BANNER */

.admission-banner {
    position: relative;
    width: 100%;
    min-height: 535px;
    background-image: url('assets/images/admission-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0 35px 0 0;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 32, 145, 0.10) 0%,
        rgba(0, 32, 145, 0.08) 55%,
        rgba(0, 32, 145, 0.18) 100%
    );
}

.banner-container {
    position: relative;
    z-index: 2;
    max-width: 1500px;
    padding: 45px 35px;
}

.banner-container > .row {
    min-height: 445px;
}


/* LEFT CONTENT */

.banner-content {
    max-width: 650px;
    padding: 30px 20px;
    color: #fff;
}

.banner-label {
    display: inline-block;
    padding: 9px 20px;
    background: #ffc52e;
    color: #102c65;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    border-radius: 3px;
    margin-bottom: 22px;
}

.banner-content h1 {
    font-size: clamp(38px, 4vw, 62px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
}

.banner-content h1 span {
    display: block;
    color: #ffca36;
}

.banner-content h3 {
    font-size: 23px;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-content p {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.banner-apply {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 25px;
    background: #ffc52e;
    color: #102c65;
    font-size: 15px;
    font-weight: 800;
    border-radius: 4px;
    text-decoration: none;
    transition: 0.3s;
}

.banner-apply:hover {
    background: #fff;
    color: #102c65;
}


/* RIGHT FORM CARD */

.enquiry-card {
    width: 100%;
    max-width: 390px;
    margin-left: auto;
    background: #fff;
    padding: 14px 20px 16px;
    border-radius: 6px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.enquiry-heading {
    text-align: center;
    margin-bottom: 15px;
}

.enquiry-heading h2 {
    color: #15365e;
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.enquiry-heading p {
    color: #7b8798;
    font-size: 12px;
    margin: 0;
}


/* INPUTS */

.form-group-custom {
    position: relative;
    margin-bottom: 7px;
}

.form-group-custom .form-control,
.form-group-custom .form-select {
    width: 100%;
    height: 39px;
    border: 1px solid #d9dce2;
    border-radius: 5px;
    background-color: #fff;
    color: #333;
    font-family: inherit;
    font-size: 12px;
    padding: 8px 10px;
    box-shadow: none;
}

.form-group-custom .form-control::placeholder {
    color: #333;
    opacity: 1;
}

.form-group-custom .form-control:focus,
.form-group-custom .form-select:focus {
    border-color: #15558d;
    box-shadow: 0 0 0 2px rgba(21, 85, 141, 0.09);
}

.form-group-custom .form-select {
    cursor: pointer;
    color: #333;
    padding-right: 25px;
}

.form-group-custom .form-select:disabled {
    background-color: #f4f5f7;
    cursor: not-allowed;
}


/* MOBILE NUMBER */

.mobile-group {
    display: flex;
    gap: 4px;
}

.country-code {
    width: 60px;
    flex-shrink: 0;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d9dce2;
    border-radius: 5px;
    font-size: 12px;
    color: #333;
    background: #fff;
}

.mobile-group .form-control {
    flex: 1;
    min-width: 0;
}


/* CONSENT */

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 9px 0 12px;
}

.consent-check input {
    width: 14px;
    height: 14px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
}

.consent-check label {
    color: #333;
    font-size: 10px;
    line-height: 1.5;
    cursor: pointer;
}


/* SUBMIT BUTTON */

.register-btn {
    width: 100%;
    height: 40px;
    background: #154b78;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: 0.3s;
}

.register-btn:hover {
    background: #0d3156;
}

.register-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}


/* VALIDATION */

label.error {
    display: block;
    width: 100%;
    color: #dc3545;
    font-size: 10px;
    line-height: 1.3;
    margin: 3px 0 5px;
    font-weight: 500;
}

.form-group-custom .form-control.error,
.form-group-custom .form-select.error {
    border-color: #dc3545;
}

.consent-check label.error {
    flex: 1;
}


/* RESPONSE */

#responseMessage .alert {
    padding: 8px 10px;
    font-size: 11px;
    margin-bottom: 10px;
    border-radius: 4px;
}


/* TABLET */

@media (max-width: 991px) {

    .avit-header {
        min-height: 85px;
        padding: 10px 20px;
    }

    .header-logo {
        max-height: 70px;
    }

    .admission-banner {
        min-height: 650px;
        background-position: center;
    }

    .banner-container {
        padding: 25px 20px;
    }

    .banner-container > .row {
        min-height: 600px;
    }

    .banner-content {
        padding: 20px 5px;
    }

    .banner-content h1 {
        font-size: 38px;
    }

    .banner-content h3 {
        font-size: 18px;
    }

    .banner-content p {
        font-size: 13px;
    }

    .enquiry-card {
        max-width: 360px;
        padding: 13px;
    }

    .enquiry-heading h2 {
        font-size: 19px;
    }

}


/* MOBILE */

@media (max-width: 767px) {

    .avit-header {
        min-height: 65px;
        padding: 8px 12px;
    }

    .header-logo {
        max-height: 55px;
    }

    .admission-banner {
        min-height: auto;
        background-position: 35% center;
        border-radius: 0 20px 0 0;
    }

    .banner-overlay {
        background: rgba(0, 35, 120, 0.55);
    }

    .banner-container {
        padding: 25px 15px;
    }

    .banner-container > .row {
        min-height: auto;
    }

    .banner-content {
        padding: 15px 5px 30px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content h3 {
        font-size: 18px;
    }

    .banner-content p {
        font-size: 13px;
        line-height: 1.7;
    }

    .banner-label {
        font-size: 11px;
        margin-bottom: 15px;
    }

    .enquiry-card {
        max-width: 100%;
        margin: 0 auto;
        padding: 18px;
    }

    .enquiry-heading h2 {
        font-size: 21px;
    }

    .form-group-custom .form-control,
    .form-group-custom .form-select {
        height: 43px;
        font-size: 13px;
    }

    .country-code {
        height: 43px;
    }

    .register-btn {
        height: 45px;
    }

}


/* SMALL MOBILE */

@media (max-width: 400px) {

    .banner-content h1 {
        font-size: 31px;
    }

    .enquiry-card {
        padding: 14px;
    }

    .form-group-custom .form-control,
    .form-group-custom .form-select {
        font-size: 11px;
    }

}
