/* header */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--bg-white);
    transition: ease-in-out 0.4s;
    -webkit-transition: ease-in-out 0.4s;
    -moz-transition: ease-in-out 0.4s;
    -ms-transition: ease-in-out 0.4s;
    -o-transition: ease-in-out 0.4s;
}

.header__top--links li {
    margin-right: 30px;
}

.rightFixed-btns .fa-whatsapp {
    background: #61b239 !important;
    color: #fff !important;
}

.header__top--links li:last-child {
    margin-right: 0;
}

.header__top--links li a {
    color: var(--text-black);
    font-size: 14px;
    text-decoration: none;
}

.header__top--links li a:hover {
    color: var(--text-blue);
}

.header__top--links li a i {
    color: var(--text-blue);
    margin-right: 5px;
}

.header-social p {
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 0;
}

.header-social a {
    color: var(--text-blue);
    margin-left: 25px;
    margin-bottom: 0;
}

.header-social a:hover {
    color: var(--text-green);
}

/* Mobile nav hamburger toggle (course/site pages) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--text-black, #1d2b43);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Keep the fixed contact controls consistent with the homepage. */
.fixed-side-btns {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 900 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.fixed-side-btns a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 8px 0 0 8px !important;
    color: #fff !important;
    font-size: 20px !important;
    box-shadow: none !important;
    transition: width 0.3s !important;
}

.fixed-side-btns .fsb-icon {
    width: auto !important;
    height: auto !important;
    font-size: 20px !important;
}

.fixed-side-btns .fsb-label { display: none !important; }
.fixed-side-btns .fsb-whatsapp { background: #25d366 !important; }
.fixed-side-btns .fsb-phone { background: var(--primary-red) !important; }
.fixed-side-btns .fsb-whatsapp .fsb-icon { background: #25d366 !important; }
.fixed-side-btns .fsb-phone .fsb-icon { background: var(--primary-red) !important; }

@media (max-width: 768px) {
    .fixed-side-btns { display: none !important; }
}

/* Match the legacy program-page header to the homepage navbar. */
body.pt-140 {
    padding-top: 0 !important;
}

#header.slideDown {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

#header.slideDown .header__center {
    padding: 12px 0 !important;
}

#header.slideDown .header__center > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
}

#header.slideDown .header__center--left {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
}

#header.slideDown .uu-pc-logo {
    margin-right: 0 !important;
}

#header.slideDown .uu-pc-logo img {
    width: 240px !important;
    height: auto !important;
}

#header.slideDown .uu-admission-dd {
    margin-left: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

#header.slideDown .uu-admission-dd .dropdown-toggle {
    background: #fff !important;
    color: var(--text-black) !important;
    border: 2px solid #ccc !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

#header.slideDown .uu-admission-dd > .btn-default {
    background: transparent !important;
    color: var(--text-black) !important;
    border: 0 !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

#header.slideDown .uu-admission-dd > .btn-primary {
    background: #c9001a !important;
    color: #fff !important;
    border: 2px solid #c9001a !important;
    border-radius: 5px !important;
    padding: 10px 24px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

#header.slideDown .headerApply {
    display: none !important;
}

.header_btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.header_btn a,
#header.slideDown .header_btn a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #c9001a !important;
    border: 1px solid #c9001a !important;
    border-radius: 5px !important;
    color: #fff !important;
    padding: 8px 18px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
    text-decoration: none !important;
    min-height: 42px !important;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease !important;
}

.header_btn a:hover,
#header.slideDown .header_btn a:hover {
    background: #0081cd !important;
    border-color: #0081cd !important;
    transform: translateY(-1px) !important;
}

.header_btn a span,
#header.slideDown .header_btn span {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
}

.header_btn a small,
#header.slideDown .header_btn span small {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 400 !important;
    opacity: 0.95 !important;
    text-transform: capitalize !important;
}

.header_btn a strong,
#header.slideDown .header_btn span strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
}

@media (max-width: 768px) {
    #header.slideDown .header__center > .container {
        flex-wrap: nowrap !important;
    }

    #header.slideDown .header__center--left {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        width: 100% !important;
    }

    #header.slideDown .nav-toggle {
        display: flex !important;
    }

    #header.slideDown .uu-admission-dd {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: 0 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0 !important;
        background: #fff !important;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
        padding: 10px 20px 20px !important;
        max-height: calc(100vh - 70px) !important;
        overflow-y: auto !important;
    }

    #header.slideDown .uu-admission-dd.is-open {
        display: flex !important;
    }

    #header.slideDown .uu-admission-dd .dropdown {
        width: 100% !important;
    }

    #header.slideDown .uu-admission-dd .dropdown-toggle {
        width: 100% !important;
        justify-content: space-between !important;
    }

    #header.slideDown .uu-admission-dd .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        margin: 0 !important;
        transform: none !important;
    }

    #header.slideDown .uu-admission-dd > .btn-default {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        padding: 12px 4px !important;
        border-top: 1px solid #eee !important;
        margin-left: 0 !important;
    }

    #header.slideDown .uu-admission-dd > .btn-primary {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 14px 0 4px !important;
    }

    #header.slideDown .header_btn {
        display: none !important;
    }
}

/* Legacy per-page inline styles reserve extra margin-top on the hero banner
   to clear a taller fixed header; the sticky header no longer needs it. */
@media (max-width: 768px) {
    section.hero-banner {
        margin-top: 0 !important;
    }
}

.uu-apply-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13, 28, 53, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.uu-apply-popup-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.uu-apply-popup {
    position: relative;
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(12, 24, 48, 0.22);
    padding: 28px 28px 20px;
    border: 1px solid rgba(19, 34, 63, 0.08);
}

.uu-apply-close {
    position: absolute;
    right: 16px;
    top: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #eef3fb;
    font-size: 28px;
    line-height: 1;
    color: #0d1e3f;
    cursor: pointer;
}

.uu-apply-header {
    margin-bottom: 20px;
    text-align: center;
}

.uu-apply-badge {
    display: inline-block;
    background: #eaf9ef;
    color: #176a3d;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.uu-apply-header h3 {
    margin: 0 0 8px;
    font-size: clamp(1.7rem, 2vw, 2.2rem);
    line-height: 1.2;
    color: #0d1e3f;
}

.uu-apply-header p {
    margin: 0;
    color: #596987;
    font-size: 14px;
}

.uu-apply-form {
    display: block;
}

.uu-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.uu-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #24324d;
    font-size: 13px;
    font-weight: 600;
}

.uu-form-grid label:nth-child(3),
.uu-form-grid label:nth-child(4) {
    grid-column: 1 / -1;
}

.uu-form-grid input,
.uu-form-grid select {
    width: 100%;
    border: 1px solid #dfe7f3;
    background: #f9fbff;
    border-radius: 10px;
    min-height: 48px;
    padding: 12px 14px;
    font-size: 14px;
    color: #1d2b43;
    outline: none;
}

.uu-form-grid input:focus,
.uu-form-grid select:focus {
    border-color: #0d74d8;
    box-shadow: 0 0 0 4px rgba(13, 116, 216, 0.08);
}

.uu-apply-submit {
    width: 100%;
    margin-top: 20px;
    border: 0;
    background: linear-gradient(135deg, #c9001a, #d61f41);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.02em;
    min-height: 50px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 12px 20px rgba(201, 0, 26, 0.2);
}

.uu-apply-submit:hover {
    background: linear-gradient(135deg, #a80015, #c9001a);
}

.uu-apply-success {
    text-align: center;
    padding: 12px 8px 8px;
}

.uu-apply-success h4 {
    margin: 12px 0 8px;
    color: #0d1e3f;
    font-size: 1.6rem;
}

.uu-apply-success p {
    margin: 0;
    color: #596987;
}

@media (max-width: 640px) {
    .uu-form-grid {
        grid-template-columns: 1fr;
    }

    .uu-apply-popup {
        padding: 20px 18px 18px;
    }
}


/* header */


/* footer */

.footer {
    background: var(--bg-dark-gray);
    padding: 40px 0 80px 0;
}

.footerInfo {
    margin-top: 20px;
}

.footerInfo li {
    margin-bottom: 3px;
}

.footer h4 {
    font-size: 18px;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 24px;
}

.footer p, .footer li span {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-white);
}

.footer a {
    font-size: 12px;
    line-height: 16px;
    color: var(--text-white);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.footer a::after {
    content: '';
    width: 0;
    height: 1px;
    background-color: var(--bg-white);
    position: absolute;
    bottom: -3px;
    left: 0;
    transition: ease-in-out 0.2s;
}

.footer a:hover::after {
    width: 100%;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    font-size: 20px;
    opacity: 0.3;
    margin-right: 10px;
}

.copyrights {
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 70px;
}

.copyrights a {
    margin-right: 20px;
}

.copyrights p {
    margin: 0;
}

.ft-logo {
    width: 100px !important;
    position: absolute;
    background: var(--bg-dark-gray);
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.ft-logo img {
    width: 100%;
}

.uu-varification {
    margin-top: 30px;
}

.uu-varification a {
    display: block;
    font-size: 14px;
    font-family: var(--primary-sub-font);
    line-height: 18px;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    background: #262626;
    display: inline-block;
}

.uu-varification a::after {
    display: none;
}

.uu-varification a span {
    color: var(--text-green);
}

.header.sticky {
    top: 0;
    z-index: 100;
    transition: ease-in-out 0.4s;
    -webkit-transition: ease-in-out 0.4s;
    -moz-transition: ease-in-out 0.4s;
    -ms-transition: ease-in-out 0.4s;
    -o-transition: ease-in-out 0.4s;
}

.header .uu-pc-logo img {
    transition: ease-in-out 0.4s;
    -webkit-transition: ease-in-out 0.4s;
    -moz-transition: ease-in-out 0.4s;
    -ms-transition: ease-in-out 0.4s;
    -o-transition: ease-in-out 0.4s;
}

.header.sticky .uu-pc-logo img {
    width: 120px;
    transition: ease-in-out 0.4s;
    -webkit-transition: ease-in-out 0.4s;
    -moz-transition: ease-in-out 0.4s;
    -ms-transition: ease-in-out 0.4s;
    -o-transition: ease-in-out 0.4s;
}


/* right side fixed icons */

.rightFixed-btns {
    position: fixed;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.rightFixed-btns li {
    margin-bottom: 7px;
}

.rightFixed-btns li a {
    position: relative;
    display: block
}

.rightFixed-btns li a i {
    height: 44px;
    width: 44px;
    border: 0;
    line-height: 44px;
    color: var(--text-black);
    background: var(--bg-gray);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    display: inline-block;
    position: relative;
    text-align: center;
    z-index: 1;
    font-size: 22px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}

.rightFixed-btns__content {
    position: absolute;
    top: 0;
    right: -20px;
    width: 170px;
    color: var(--text-black);
    font-size: 14px;
    text-align: left;
    color: var(--text-white);
    background: #c9001a !important;
    height: 44px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    padding: 8px 20px;
    opacity: 0;
    visibility: hidden;
    transition: ease-in-out 0.2s;
    -webkit-transition: ease-in-out 0.2s;
    -moz-transition: ease-in-out 0.2s;
    -ms-transition: ease-in-out 0.2s;
    -o-transition: ease-in-out 0.2s;
}

.rightFixed-btns__content small {
    display: block;
    line-height: 14px;
}

.rightFixed-btns__content span {
    display: block;
    line-height: 14px;
    font-family: var(--primary-sub-font);
}

.rightFixed-btns li a:hover .rightFixed-btns__content {
    opacity: 1;
    visibility: visible;
    right: 0;
}

.rightFixed-btns li a:hover i {
    box-shadow: none;
}


/* right side fixed icons */


/* Slide transitions */

.slideUp {
    top: -150px !important;
}

.slideDown {
    top: 0 !important;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background-color: #f35f5f;
    transition: all linear 0.1s;
    min-width: 0%;
    z-index: 1000;
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}


/* footer */

@media only screen and (max-width: 1399px) {
    .header .btn-lg {
        padding: 10px 18px;
    }
}

@media only screen and (max-width: 1199px) {
    .header .uu-pc-logo img {
        width: 120px;
    }
    .header .btn-lg {
        padding: 10px 13px;
        font-size: 13px;
    }
    .header__top--links li a {
        font-size: 12px;
    }
    .header-social p {
        font-size: 12px;
    }
    .headerApply a.nav-link {
        font-size: 14px;
    }
}

@media only screen and (max-width: 991px) {
    .header .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }
    .header__center .container {
        display: block !important;
    }
    .header__top--links li:nth-child(2),
    .header__top--links li:nth-child(3) {
        display: none;
    }
    .header__center--right {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 6px 0;
        border-top: 1px solid rgb(255 255 255 / 25%);
        transition: all .3s ease-in-out;
    }
    @supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
        .header__center--right {
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            background-color: rgba(255, 255, 255, 0.2);
        }
    }
    .footerContact>p,
    .footerContact>ul,
    .footerContact .footer-social,
    .footerContact .uu-varification {
        display: inline-block;
        vertical-align: top;
        margin: 0 44px 15px 0 !important;
    }
    .headerApply__btn {
        margin-left: 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    .header__center--left {
        display: block !important;
        text-align: center;
    }
    .uu-logo {
        display: inline-block !important;
    }
    .uu-admission-dd {
        display: block !important;
        margin: 15px 0 0 !important;
    }
    .uu-admission-dd .dropdown {
        display: inline-block !important;
        width: 300px;
    }
    .uu-admission-dd .dropdown button {
        width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .uu-admission-dd a {
        display: inline-block !important;
        font-size: 14px;
    }
    .header .uu-pc-logo {
        margin-right: 5px !important;
    }
    .header .uu-pc-logo img,
    .header.sticky .uu-pc-logo img {
        width: 150px;
    }
    .header.sticky {
        top: -99px;
    }
    .slideUp {
        top: -99px !important;
    }
}

@media only screen and (max-width: 575px) {
    .header .btn-lg {
        padding: 10px 11px;
        font-size: 14px;
    }
    .uu-admission-dd .dropdown {
        width: 250px;
    }
    .header-social a {
        margin-left: 16px;
    }
    .footer {
        padding: 10px 0 80px;
    }
    .footer h4 {
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 10px;
    }
    .copyrights div {
        display: block !important;
        width: 100%;
        text-align: center;
    }
    .copyrights a {
        margin: 0 10px 5px;
    }
}

@media only screen and (max-width: 389px) {
    .header__top--links li {
        margin: 0;
    }
    .header__top--links li a {
        font-size: 12px;
        display: block;
        line-height: 12px;
        padding-left: 20px;
    }
    .header__top--links li a i {
        margin-left: -20px;
    }
    .uu-admission-dd .dropdown {
        width: 180px;
    }
}

