/* =========================================
   GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #ffffff;
}

a {
    text-decoration: none;
}

.container {
    max-width: 1450px;
}


/* =========================================
   HERO / MAIN BANNER
   ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Uses the campus panoramic photo
   ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Overlay: blue-purple ~0.55 opacity (matches reference)
========================================= */

.main-banner {
    position: relative;
    min-height: 425px;
    background-image:
        linear-gradient(
            rgba(80, 100, 180, 0.55),
            rgba(80, 100, 180, 0.55)
        ),
        url("edu_banner_2.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}


/* =========================================
   TOP NAVIGATION
========================================= */

.navbar2 {
    position: relative;
    z-index: 5;
    padding-top: 8px;
}

.navbar2 .container {
    max-width: 1450px;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.navbar2 .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.navbar-nav {
    padding: 0;
    margin: 0 !important;
}

.navbar-nav .nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-nav .nav-link {
    color: #ffffff !important;
    font-size: 20px;
    padding: 5px 3px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    opacity: 0.75;
    transform: translateY(-2px);
}


/* =========================================
   HELPLINE + LOGIN BUTTON
   ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ Right col: flex-row, right-aligned, vertically centred
   ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ h2: white, bold, ~22px
   ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ÃƒÂ¢Ã¢â‚¬ÂÃ¢â€šÂ¬ button: white pill outline, white text, no fill
========================================= */

.navbar2 .col-md-6:last-child {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 30px !important;
    flex-wrap: nowrap !important;
}

.navbar2 h2 {
    margin: 0 !important;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    line-height: 1.2;
}

.navbar2 h2 a {
    color: #ffffff;
    text-decoration: none;
}

/* LOGIN FOR CAMPUSIVE ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â white pill outline button */
.navbar2 .btn {
    min-width: 240px;
    height: 45px;
    border: 2px solid #ffffff !important;
    border-radius: 30px !important;
    background: transparent !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 25px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-bottom: 0 !important;
    line-height: 1;
}

.navbar2 .btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}


/* =========================================
   HERO CONTENT
========================================= */

.main-banner section {
    position: relative;
    z-index: 2;
    padding-top: 58px;
}

.main-banner section .col-md-12 {
    text-align: center;
}

.main-banner h1 {
    margin: 0;
    padding: 0 !important;
    color: #ffffff;
    font-size: 54px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.12);
}

.main-banner .description {
    margin-top: 12px;
    margin-bottom: 28px !important;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.3;
    font-weight: 500;
}

/* ADMISSION NOW button ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â white pill with dark text */
.main-banner section .btn {
    min-width: 215px;
    height: 48px;
    border: none !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    color: #17266e !important;
    font-size: 16px;
    font-weight: 700;
    padding: 12px 30px;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.main-banner section .btn:hover {
    background: #f3f3f3 !important;
    color: #0d1c62 !important;
    transform: translateY(-2px);
}


/* =========================================
   COURSE CARD SECTION
========================================= */

.normal {
    display: block;
}

.responsive {
    display: none;
}

section.normal {
    padding-top: 35px !important;
    padding-bottom: 25px !important;
    background: #ffffff;
}

.flex-container,
.flex-container2 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 38px;
    width: 100%;
    margin-bottom: 34px;
}

.flex-container2 {
    gap: 40px;
    margin-bottom: 0;
}

.flex-item {
    flex: 1;
    min-width: 0;
    display: flex;
}

.box {
    width: 100%;
    min-height: 165px;
    padding: 15px 15px 13px;
    border-radius: 15px;
    background: #307ce0;
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(35, 91, 180, 0.25);
}

.box a {
    color: #ffffff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.box h6 {
    margin: 0;
    min-height: 48px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.box hr {
    margin: 9px 0 10px;
    border: 0;
    border-top: 2px solid rgba(255, 255, 255, 0.32);
    opacity: 1;
}

.box h5 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.box p {
    margin: auto 0 0;
    color: #ffffff;
    font-size: 11px;
    line-height: 1.3;
    font-weight: 500;
}


/* =========================================
   MODAL
========================================= */

.modal-dialog {
    max-width: 860px;
    width: 90%;
    margin: 30px auto;
}

.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.modal-header {
    border: none !important;
    padding: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    border-bottom: 0;
}

.modal-header .btn-close {
    position: absolute;
    right: 13px;
    top: 16px;
    z-index: 11;
    opacity: 0.8;
}

.modal-title {
    font-weight: 700;
}

.modal-body {
    padding: 0;
    position: relative;
    flex: 1 1 auto;
}

/* ---- LEFT panel: dark navy form ---- */
.modal-body .col-md-6:first-child {
    background: #05055f !important;
    padding: 35px !important;
    margin-top: 0 !important;
}

/* Form title inside modal */
.modal-body .modal-title {
    color: #ffffff !important;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 23px !important;
}

/* Form inputs */
.modal-body .form-control.fl-input {
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    height: 44px;
    background: rgba(255, 255, 255, 0.16) !important;
    border-radius: 6px;
    font-size: 15px;
}

.modal-body .form-control.fl-input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Course select dropdown */
.modal-body .form-select {
    border: 1px solid rgba(255, 255, 255, 0.58) !important;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border-radius: 6px;
    font-size: 15px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px 12px !important;
}

.modal-body .form-select option {
    color: #05055f;
    font-weight: 600;
    background: #ffffff;
}

/* ---- RIGHT panel: image + contact box ---- */
.modal-body .col-md-6:last-child {
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Contact/support illustration image ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â fills top of right panel */
.contact-img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 260px;
    object-position: center top;
}

/* Row holding the image ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â zero gap */
.modal-body .col-md-6:last-child .row:first-child {
    margin: 0 !important;
    padding: 0 !important;
}

/* Contact info box (CALL US / LOCATION) */
.contact-box {
    background: #f5f5f5;
    padding: 22px 24px;
    flex: 1;
}

.contact-box h5 {
    color: rgb(26, 3, 117);
    margin-top: 10px;
    margin-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-box h5:first-child {
    margin-top: 0;
}

.contact-box p,
.contact-box p a {
    color: rgb(26, 3, 117);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

.contact-box p a {
    text-decoration: none;
}

/* Enquire Now submit button */
.btn2 {
    border: none;
    border-radius: 25px;
    background: #ffffff;
    color: #05055f;
    padding: 11px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.btn2:hover {
    background: #e9e9e9;
    transform: translateY(-2px);
}


/* =========================================
   FORM INPUT GLOBAL
========================================= */

.fl-input {
    color: #ffffff !important;
}

.fl-input::placeholder {
    color: rgba(255, 255, 255, 0.9) !important;
}

::placeholder {
    color: rgba(255, 255, 255, 0.945) !important;
}

::-ms-input-placeholder {
    color: rgb(245, 245, 245);
}

.form-select {
    color: #ffffff !important;
}

.form-select option {
    color: #05055f;
    font-weight: 600;
}


/* =========================================
   WHATSAPP BUTTON
========================================= */

#whatsapp-widget {
    z-index: 9999;
}


/* =========================================
   LARGE DESKTOP
========================================= */

@media (min-width: 1400px) {

    .main-banner {
        min-height: 425px;
    }

    .main-banner h1 {
        font-size: 54px;
    }

    .main-banner .description {
        font-size: 28px;
    }

    .flex-container,
    .flex-container2 {
        gap: 40px;
    }

    .box {
        min-height: 165px;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1199px) {

    .navbar2 h2 {
        font-size: 19px;
    }

    .navbar2 .col-md-6:last-child {
        gap: 15px !important;
    }

    .navbar2 .btn {
        min-width: 200px;
        font-size: 13px;
    }

    .main-banner h1 {
        font-size: 45px;
    }

    .main-banner .description {
        font-size: 24px;
    }

    .flex-container,
    .flex-container2 {
        gap: 20px;
    }

    .box {
        min-height: 165px;
        padding: 14px;
    }

    .box h5 {
        font-size: 22px;
    }
}


/* =========================================
   MOBILE / RESPONSIVE
========================================= */

@media (max-width: 767px) {

    .main-banner {
        min-height: 470px;
        background-position: center;
    }

    .navbar2 {
        padding: 10px 0;
    }

    .navbar2 .row {
        flex-wrap: wrap !important;
        margin-top: 0 !important;
    }

    .navbar2 .col-md-6:first-child {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .navbar2 .col-md-6:last-child {
        width: 100%;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 5px;
    }

    .navbar2 .nav-item {
        justify-content: center;
    }

    .navbar2 .nav-link {
        font-size: 18px;
    }

    .navbar2 h2 {
        font-size: 17px;
        text-align: center;
        white-space: normal;
    }

    .navbar2 .btn {
        min-width: 220px;
        width: auto;
        height: 42px;
        font-size: 12px;
        margin-bottom: 0 !important;
        border: 2px solid #ffffff !important;
        background: transparent !important;
        color: #ffffff !important;
    }

    .main-banner section {
        padding-top: 65px;
    }

    .main-banner h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .main-banner .description {
        font-size: 21px;
        margin-top: 10px;
        margin-bottom: 25px !important;
    }

    .main-banner section .btn {
        min-width: 190px;
        height: 45px;
        font-size: 14px;
    }

    .normal {
        display: none !important;
    }

    .responsive {
        display: block !important;
    }

    section.responsive {
        padding: 25px 0;
        background: #ffffff;
    }

    section.responsive .row {
        margin-bottom: 0;
    }

    section.responsive .col-md-3 {
        margin-bottom: 20px;
    }

    .box {
        min-height: 160px;
    }

    .box h6 {
        font-size: 13px;
    }

    .box h5 {
        font-size: 23px;
    }

    .box p {
        font-size: 11px;
    }

    /* Modal mobile */
    .modal-dialog {
        max-width: 100%;
        width: 95%;
        margin: 15px auto;
    }

    .modal-body .col-md-6:first-child {
        padding: 25px !important;
    }

    .contact-img {
        max-height: 180px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .main-banner {
        min-height: 500px;
    }

    .navbar2 .nav-item {
        gap: 5px;
    }

    .navbar2 h2 {
        font-size: 15px;
    }

    .main-banner section {
        padding-top: 55px;
    }

    .main-banner h1 {
        font-size: 29px;
    }

    .main-banner .description {
        font-size: 18px;
    }

    .main-banner section .btn {
        min-width: 180px;
        font-size: 13px;
    }

    section.responsive {
        padding-left: 10px;
        padding-right: 10px;
    }
}
/* Reference-matched admission modal refinements */
.modal-dialog { max-width: 990px; }
#exampleModal .normal .container { max-width: none; width: 100%; padding: 0; }
#exampleModal .normal > .modal-body > .container > .row { margin: 0; min-height: 470px; }
.modal-body .col-md-6:first-child { padding: 43px 42px !important; }
.modal-body .modal-title { font-size: 23px; }
.modal-body .form-control.fl-input,
.modal-body .form-select { height: 48px; }
.contact-img { height: 302px; max-height: none; object-fit: contain; object-position: center; }
.contact-box { background: #ededed; padding: 30px 24px; }
/* Final alignment: centered admission modal and white Campusive pill */
.navbar2 .btn {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #0b0b63 !important;
}
.navbar2 .btn:hover {
    background: #f4f4f4 !important;
    color: #0b0b63 !important;
}
#exampleModal.show {
    display: flex !important;
    align-items: center;
}
#exampleModal .modal-dialog {
    width: min(990px, 90%);
    margin: 0 auto !important;
}
#exampleModal .normal > .modal-body > .container > .row,
#exampleModal .normal .col-md-6:last-child {
    height: 470px;
}
#exampleModal .normal .col-md-6:last-child .row:first-child {
    height: 302px;
    flex: 0 0 302px;
}
#exampleModal .normal .contact-box {
    min-height: 168px;
    flex: 0 0 168px;
}
/* Small spacing corrections */
.navbar2 .btn {
    height: 40px;
    padding-top: 6px;
    padding-bottom: 6px;
}
#exampleModal .modal-dialog {
    width: 90%;
    max-width: 990px;
}
#exampleModal .normal .col-md-6:last-child .row {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
#exampleModal .normal .contact-box {
    height: 168px;
    min-height: 168px;
    flex: 1 0 auto;
}