/* ================================
   GLOBAL RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: #123b73;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font-family: "Poppins", sans-serif;
}


/* ================================
   ADMISSION HERO
================================ */

.admission-hero {
    position: relative;
    min-height: 480px;
    background-image: url("Admission hero image.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.admission-hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    color: #123b73;
}

.admission-hero-content span {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 18px;
    color: #123b73;
}

.admission-hero-content h1 {
    font-family: "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 20px;
}

.admission-hero-content h1 strong {
    font-weight: 700;
}

.admission-hero-content p {
    max-width: 720px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #123b73;
}


/* ================================
   ADMISSION SECTION
================================ */

.admission-section {
    width: 100%;
    padding: 85px 5%;
    background: #ffffff;
}

.admission-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* ================================
   INSTITUTION HEADER
================================ */

.institution-header {
    width: 100%;
    text-align: center;
    margin: 0 auto 65px;
    padding-bottom: 0;
    border-bottom: none;
}


/* ================================
   INSTITUTION LOGO
================================ */

.institution-logo {
    width: 250px;
    height: auto;
    margin: 0 auto 18px;
    object-fit: contain;
}


/* ================================
   INSTITUTION NAME
================================ */

.institution-header h1 {
    font-family: "Roboto", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
    color: #123b73;
    margin-bottom: 8px;
}


/* ================================
   INSTITUTION ADDRESS
================================ */

.institution-address {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #53657a;
    margin-bottom: 8px;
}


/* ================================
   INSTITUTION CONTACT
================================ */

.institution-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    margin-top: 0;
}

.contact-item {
    text-align: center;
}

.contact-item span {
    display: inline;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #53657a;
    margin-bottom: 0;
}

.contact-item p {
    display: inline;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #53657a;
}

.contact-item a {
    color: #53657a;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: none;
}


/* ================================
   FORM HEADING
================================ */

.form-heading {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 60px;
}

.form-heading > span {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #0099f3;
    margin-bottom: 12px;
}

.form-heading h2 {
    font-family: "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.25;
    color: #123b73;
    margin-bottom: 15px;
}

.form-heading h2 strong {
    font-weight: 700;
}

.form-heading p {
    font-size: 16px;
    line-height: 1.8;
    color: #53657a;
}


/* ================================
   FORM SECTION
================================ */

.form-section {
    width: 100%;
    padding: 40px;
    margin-bottom: 35px;
    border: 1px solid #e4edf5;
    border-radius: 8px;
    background: #ffffff;
}


/* ================================
   FORM SECTION TITLE
================================ */

.form-section-title {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e8eef4;
}

.form-section-title > span {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0099f3;
    color: #ffffff;
    border-radius: 50%;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.form-section-title h3 {
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #123b73;
    line-height: 1.3;
    margin-bottom: 5px;
}

.form-section-title p {
    font-size: 14px;
    line-height: 1.6;
    color: #53657a;
}


/* ================================
   FORM GRID
================================ */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px 30px;
}

.form-group {
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}


/* ================================
   LABEL
================================ */

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 600;
    color: #123b73;
}

.form-group label span {
    color: #e53935;
    margin-left: 2px;
}


/* ================================
   INPUT / SELECT / TEXTAREA
================================ */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d9e4ee;
    border-radius: 5px;
    background: #ffffff;
    color: #123b73;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.form-group input {
    height: 50px;
}

.form-group select {
    height: 50px;
    cursor: pointer;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9aa8b7;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0099f3;
    box-shadow: 0 0 0 3px rgba(0, 153, 243, 0.08);
}


/* ================================
   FILE INPUT
================================ */

.form-group input[type="file"] {
    height: auto;
    padding: 12px;
    cursor: pointer;
    background: #f8fbfe;
}

.form-group input[type="file"]::file-selector-button {
    border: none;
    padding: 9px 14px;
    margin-right: 10px;
    border-radius: 4px;
    background: #123b73;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.form-group small {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #7a8998;
}


/* ================================
   DECLARATION
================================ */

.declaration-box {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 35px;
    padding: 25px 30px;
    border: 1px solid #dce9f3;
    border-radius: 6px;
    background: #f7fbff;
}

.declaration {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    cursor: pointer;
}

.declaration input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    accent-color: #0099f3;
    cursor: pointer;
}

.declaration span {
    font-size: 14px;
    line-height: 1.7;
    color: #53657a;
}


/* ================================
   SUBMIT BUTTON
================================ */

.form-submit {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.form-submit button {
    min-width: 230px;
    padding: 15px 28px;
    border: none;
    border-radius: 4px;
    background: #123b73;
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.form-submit button span {
    font-size: 20px;
    line-height: 1;
}

.form-submit button:hover {
    background: #0099f3;
    transform: translateY(-1px);
}


/* ================================
   SUCCESS POPUP
================================ */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 9999;
}

.popup-overlay.show {
    display: flex;
}

.popup-box {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 12px;
    padding: 35px;
    text-align: center;
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0099f3;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
}

.popup-box h2 {
    font-family: "Roboto", Arial, sans-serif;
    font-size: 28px;
    color: #123b73;
    margin-bottom: 15px;
}

.popup-box p {
    font-size: 15px;
    line-height: 1.7;
    color: #53657a;
    margin-bottom: 20px;
}

.popup-box button {
    border: none;
    background: #0099f3;
    color: #ffffff;
    padding: 11px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
}


/* ================================
   RESPONSIVE - TABLET
================================ */

@media (max-width: 900px) {

    .admission-hero {
        min-height: 420px;
    }

    .admission-hero-content h1 {
        font-size: 42px;
    }

    .admission-section {
        padding: 70px 4%;
    }

    .form-section {
        padding: 32px;
    }

    .form-grid {
        gap: 22px;
    }

    .institution-logo {
        width: 220px;
    }

    .institution-header h1 {
        font-size: 30px;
    }

    .institution-contact {
        gap: 5px;
    }

}


/* ================================
   RESPONSIVE - MOBILE
================================ */

@media (max-width: 650px) {

    .admission-hero {
        min-height: 380px;
    }

    .admission-hero-content {
        width: 92%;
    }

    .admission-hero-content span {
        font-size: 12px;
        letter-spacing: 1.5px;
        margin-bottom: 14px;
    }

    .admission-hero-content h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .admission-hero-content p {
        font-size: 14px;
        line-height: 1.7;
    }


    .admission-section {
        padding: 55px 4%;
    }


    /* Institution Header */

    .institution-header {
        margin-bottom: 45px;
        padding-bottom: 0;
    }

    .institution-logo {
        width: 190px;
        margin-bottom: 15px;
    }

    .institution-header h1 {
        font-size: 27px;
        line-height: 1.3;
        margin-bottom: 7px;
    }

    .institution-address {
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 6px;
    }

    .institution-contact {
        flex-direction: column;
        gap: 2px;
        align-items: center;
    }

    .contact-item span {
        font-size: 13px;
    }

    .contact-item p {
        font-size: 13px;
    }


    .form-heading {
        margin-bottom: 40px;
    }

    .form-heading > span {
        font-size: 12px;
    }

    .form-heading h2 {
        font-size: 30px;
    }

    .form-heading p {
        font-size: 14px;
    }


    .form-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }


    .form-section-title {
        gap: 13px;
        margin-bottom: 28px;
        padding-bottom: 20px;
    }

    .form-section-title > span {
        width: 42px;
        height: 42px;
        font-size: 14px;
    }

    .form-section-title h3 {
        font-size: 21px;
    }

    .form-section-title p {
        font-size: 13px;
    }


    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-group.full-width {
        grid-column: auto;
    }


    .form-group label {
        font-size: 13px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 13px;
    }


    .declaration-box {
        padding: 20px;
        margin-bottom: 30px;
    }

    .declaration {
        gap: 10px;
    }

    .declaration span {
        font-size: 13px;
        line-height: 1.65;
    }


    .form-submit button {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
    }


    .popup-box {
        padding: 28px 20px;
    }

    .popup-box h2 {
        font-size: 24px;
    }

    .popup-box p {
        font-size: 14px;
    }

}


/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 400px) {

    .admission-hero {
        min-height: 350px;
    }

    .admission-hero-content h1 {
        font-size: 30px;
    }

    .admission-section {
        padding: 45px 4%;
    }

    .form-section {
        padding: 22px 16px;
    }

    .form-heading h2 {
        font-size: 27px;
    }

    .form-section-title h3 {
        font-size: 19px;
    }

    .institution-logo {
        width: 170px;
    }

    .institution-header h1 {
        font-size: 24px;
    }

}