@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@400;500;700&display=swap");
/* UCATZ responsive fixes.
   Desktop colors, type, and section order stay as they are.
   These rules only stop clipping, overlap, and horizontal overflow. */

img,
video,
svg,
canvas {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

/* Staff link is inline-white on a white bar, so it disappears. */
.navbar-elixir .navbar-nav .nav-link {
    color: #294a70 !important;
}

h3.first-txt {
    display: none !important;
}

.uca-topbar {
    background: #f7f9fc;
    text-align: center;
    padding: 0;
}

.uca-info {
    margin: 0;
    padding: 7px 16px 6px;
    background: #f7f9fc;
    color: #1d3557;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
}

.uca-info b,
.uca-info a,
.uca-topbar b,
.uca-topbar a,
body > b,
body > a,
b[style*="22px"] {
    font-size: 13.5px !important;
    line-height: 1.45;
    font-weight: 700;
    color: #1d3557;
}

.uca-sep {
    color: #8aa0b8;
    padding: 0 0.15rem;
}

.uca-info img,
.marquee img,
marquee img {
    height: 16px !important;
    width: auto !important;
    max-width: 36px;
    vertical-align: middle;
}

.uca-ticker {
    display: block;
    width: 100%;
    height: 34px;
    overflow: hidden;
    background: #eef3f8;
}

.marquee,
marquee.marquee {
    display: block !important;
    width: 100% !important;
    max-width: 100%;
    height: 34px !important;
    max-height: 34px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box;
    background: #eef3f8 !important;
    color: #294a70 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 34px !important;
    white-space: nowrap;
}

.navbar-elixir {
    background: #fff;
    z-index: 1030;
}

/* Short menu labels fit on one row from tablet landscape upward. */
@media (min-width: 992px) {
    .navbar-elixir .container {
        max-width: 100%;
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-elixir .navbar {
        flex-wrap: nowrap;
        align-items: center;
    }

    .navbar-elixir .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        min-width: 0;
    }

    .navbar-elixir .navbar-toggler {
        display: none !important;
    }

    .navbar-elixir .navbar-nav {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        justify-content: space-between;
        width: 100% !important;
        margin-left: 1.25rem !important;
        margin-right: 0 !important;
        font-size: 15px !important;
    }

    .navbar-elixir .nav-item {
        white-space: nowrap;
        margin: 0 !important;
    }

    .navbar-elixir .nav-link {
        padding: 0.7rem 0.4rem !important;
        white-space: nowrap !important;
        font-size: inherit !important;
        letter-spacing: 0.01em;
    }

    .navbar-brand img {
        width: clamp(96px, 8vw, 124px) !important;
        height: auto;
    }
}

@media (min-width: 1200px) {
    .navbar-elixir .navbar-nav {
        font-size: 17px !important;
    }

    .navbar-elixir .nav-link {
        padding-left: 0.7rem !important;
        padding-right: 0.7rem !important;
    }
}

@media (min-width: 1400px) {
    .navbar-elixir .navbar-nav {
        font-size: 18px !important;
    }
}

@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-toggler {
        display: inline-flex !important;
        align-items: center;
        border: 0;
    }

    .navbar-expand-lg .navbar-collapse {
        display: none !important;
        flex-basis: 100%;
    }

    .navbar-elixir:has(.navbar-collapse.show),
    .navbar-elixir:has(.navbar-collapse.collapsing) {
        z-index: 10050;
    }

    .navbar-expand-lg .navbar-collapse.show,
    .navbar-expand-lg .navbar-collapse.collapsing {
        display: block !important;
        position: relative;
        z-index: 2;
        max-height: calc(100vh - 8.5rem);
        overflow-y: auto;
        background: #fff;
        padding: 0.25rem 0.75rem 1.25rem;
        box-shadow: 0 16px 28px rgba(26, 39, 68, 0.14);
    }

    body:has(.navbar-collapse.show) .whatsapp-float,
    body:has(.navbar-collapse.show) .apply-float,
    body:has(.navbar-collapse.show) .quick-contact-float,
    body:has(.navbar-collapse.show) .back-to-top,
    body:has(.navbar-collapse.show) .fixed-bottom {
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .navbar-expand-lg .navbar-nav {
        flex-direction: column !important;
        align-items: stretch;
        font-size: 16px !important;
    }

    .navbar-expand-lg .nav-item,
    .navbar-expand-lg .nav-link,
    .navbar-expand-lg .dropdown-item {
        white-space: normal;
        overflow-wrap: anywhere;
        max-width: 100%;
    }

    .navbar-expand-lg .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        transform: none !important;
        border: 0;
        box-shadow: none;
        background: #f7f9fc;
    }

    .navbar-brand img {
        width: 108px !important;
        height: auto;
    }
}

@media (max-width: 991.98px) {
    body > b,
    body > a,
    b[style*="22px"] {
        font-size: 14px !important;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    body > img {
        max-width: 36px;
        height: auto;
        vertical-align: middle;
    }

    .marquee,
    marquee {
        display: block;
        width: 100% !important;
        max-width: 100%;
        font-size: 14px !important;
        line-height: 1.4;
    }

    p,
    li,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    a,
    td,
    th,
    label,
    .btn {
        overflow-wrap: anywhere;
    }

    .theme-slider .btn,
    .swiper .btn,
    .bg-holder + .container .btn {
        white-space: normal !important;
        height: auto !important;
        max-width: 100%;
        font-size: 14px !important;
        line-height: 1.45 !important;
    }

    .theme-slider .px-5,
    .swiper .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .news-grid,
    .quick-links {
        grid-template-columns: 1fr !important;
    }

    .news-section,
    .principal-box,
    .course-card,
    .quick-link,
    .cta-box,
    .achievement-box,
    .popup-content,
    .quick-contact-content,
    .newsletter-popup-content {
        max-width: 100%;
        box-sizing: border-box;
    }

    .footer-section > .container > .row {
        margin-left: 0;
        margin-right: 0;
    }

    table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: fixed;
    }

    th,
    td {
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    input,
    select,
    textarea,
    .form-control,
    .form-select,
    .btn {
        max-width: 100%;
    }
}

/* Keep "1000+" on one line inside the narrow statistic cards. */
.stat-number {
    white-space: nowrap;
    line-height: 1.1;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .stat-number {
        font-size: 1.7rem !important;
    }

    .stat-box {
        padding: 1.35rem 0.45rem;
    }

    .stat-icon {
        font-size: 2rem;
        margin-bottom: 0.55rem;
    }

    .stat-label {
        font-size: 0.92rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .stat-number {
        font-size: 2.35rem !important;
    }
}

@media (max-width: 767.98px) {
    .fixed-bottom {
        font-size: 13px;
        line-height: 1.35;
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }

    .fixed-bottom a {
        display: inline-block;
        max-width: 100%;
        white-space: normal;
    }

    body {
        padding-bottom: 3.4rem;
    }

    .news-section h1,
    .courses-header,
    .section-title,
    .cta-title {
        font-size: 1.55rem !important;
        line-height: 1.25;
    }

    .stat-box {
        padding: 1.15rem 0.7rem;
    }

    .stat-number {
        font-size: 1.8rem !important;
        white-space: nowrap;
    }

    .principal-frame {
        width: min(220px, 72vw) !important;
        height: min(260px, 84vw) !important;
    }

    .principal-message-section .principal-image {
        width: 100% !important;
        height: 100% !important;
    }

    .footer-section .p-5 {
        padding: 1.25rem !important;
    }

    footer img {
        width: 140px !important;
        height: auto;
    }

    .popup-content,
    .quick-contact-content,
    .newsletter-popup-content {
        width: calc(100% - 1.25rem) !important;
        max-width: calc(100% - 1.25rem) !important;
        padding: 1.4rem 1rem !important;
    }

    .popup-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .popup-buttons .btn,
    .cta-buttons .btn {
        width: 100%;
        margin: 0;
    }

    .accessibility-widget {
        top: auto;
        bottom: 13rem;
        left: 12px;
        transform: none;
    }

    .quick-contact-float {
        left: 12px;
        bottom: 8.6rem;
        padding: 12px;
        border-radius: 50%;
    }

    .quick-contact-float span {
        display: none;
    }

    .whatsapp-float {
        left: 12px;
        bottom: 4.6rem;
    }

    .apply-float {
        left: auto;
        right: 12px;
        bottom: 4.6rem;
    }

    .back-to-top {
        right: 12px;
        bottom: 8.2rem;
    }
}

@media (max-width: 359.98px) {
    .navbar-brand img {
        width: 96px !important;
    }

    .marquee,
    marquee,
    body > b,
    body > a {
        font-size: 13px !important;
    }
}

/* Dropdown arrows sit beside the label instead of covering the last letter. */
.navbar-elixir .navbar-nav .nav-link.dropdown-indicator {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.28rem !important;
}

.navbar-elixir .navbar-nav .dropdown-indicator:after {
    position: static !important;
    display: inline-block !important;
    flex: none;
    width: 8px !important;
    height: 8px !important;
    margin: 0 0 0.18em 0 !important;
    border: 0 !important;
    border-right: 2px solid #1a2744 !important;
    border-bottom: 2px solid #1a2744 !important;
    border-radius: 0 !important;
    transform: rotate(45deg) !important;
    top: auto !important;
    right: auto !important;
    background: transparent !important;
}

.navbar-elixir .navbar-nav .dropdown-indicator.show:after,
.navbar-elixir .navbar-nav .dropdown-indicator[aria-expanded="true"]:after {
    transform: rotate(225deg) !important;
    margin: 0.18em 0 0 0 !important;
}

@media (min-width: 992px) and (max-width: 1279.98px) {
    .navbar-elixir .navbar-collapse .navbar-nav {
        font-size: 14px !important;
    }

    .navbar-elixir .navbar-collapse .nav-link {
        padding: 0.55rem 0.16rem !important;
    }

    .navbar-elixir .navbar-brand img {
        width: 88px !important;
    }
}

@media (min-width: 1280px) {
    .navbar-elixir .navbar-collapse .navbar-nav {
        font-size: 16.5px !important;
    }
}

html {
    font-size: 16px;
}

body {
    font-family: "Poppins", "Segoe UI", sans-serif !important;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.6;
}

html body h1,
html body h2,
html body h3,
html body h4,
html body h5,
html body h6,
html body .h1,
html body .h2,
html body .h3,
html body .h4,
html body .h5,
html body .h6,
html body p,
html body li,
html body td,
html body th,
html body label,
html body blockquote {
    font-family: "Poppins", "Segoe UI", sans-serif !important;
}

html body a,
html body input,
html body textarea,
html body select,
html body .form-control {
    font-family: "Poppins", "Segoe UI", sans-serif !important;
}

html body .navbar,
html body .navbar-nav,
html body .nav-link,
html body .dropdown-item,
html body .dropdown-menu,
html body .btn,
html body button,
html body .marquee {
    font-family: "Roboto", "Segoe UI", sans-serif !important;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active,
.dropdown-item:active,
.navbar-elixir .dropdown-item:hover,
.navbar-elixir .dropdown-item:focus,
.navbar-elixir .dropdown-item.active {
    background: #1a73e8 !important;
    background-color: #1a73e8 !important;
    color: #fff !important;
}
