:root {
    --primary-color: #a91d22;
}
.card {
    border: none !important;
    border-radius: var(--card-radius, 15px) !important;
}

.btn,
.badge {
    font-weight: var(--btn-font-weight, bold) !important;
}

.btn-primary {
    background: var(--primary-color) !important;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 30px;
    font-weight: 600;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: max-content;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary-outline {
    background-color: transparent !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
    border-width: 2px;
    border-style: solid;
    border-radius: 5px;
}

.btn-primary-outline:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #fff !important;
}

.btn-primary:active,
.btn-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(32, 61, 94, 0.5) !important;
}

.btn-success,
.btn-warning {
    color: #fff !important;
}

html,
body {
    overflow-x: clip;
}

.header {
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
}

.sidebar-nav .nav-link {
    padding: 10px;
    margin: 5px 10px 5px 10px;
    border-radius: 5px;
}

.top-header {
    max-height: 50px;
    /* actual height */
    overflow: hidden;
    transition:
        max-height 0.3s ease,
        opacity 0.3s ease,
        padding 0.3s ease;
}

.top-header.header-hidden {
    max-height: 0;
    opacity: 0;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

.top-header .nav-link {
    color: #fff !important;
}

.top-header .nav-link:hover,
.top-header .nav-link:focus {
    color: #fff !important;
    opacity: 0.88;
}

#header-site-search {
    min-width: 260px;
    min-height: 30px;
    border-style: none;
    border-radius: 3px 3px 3px 3px;
    color: #fff;
}

.cil-arrow-right {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.site-search-wrap {
    position: relative;
    display: block;
}

.site-search-wrap .form-control {
    padding-left: 2.2rem;
}

.site-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.header-search-form .site-search-wrap {
    min-width: 260px;
}

.header-search-form .site-search-wrap .form-control {
    background-color: #5fcdd6;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.header-search-form .site-search-wrap .form-control::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.header-search-form .site-search-wrap .form-control:focus {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: none;
}

.header-search-form .site-search-icon {
    color: #fff;
    fill: #fff;
}

.header .main-header {
    background: #fff;
}

.header .top-header {
    background: var(--primary-color);
}

.header .header-nav > .nav-item > .nav-link {
    color: black;
    padding: 4px 6px;
    font-size: 1vw;
    transition: all 0.3s ease;
}

.nav-item.dropdown {
    transition: all 0.3 ease;
    cursor: pointer;
}

.nav-item.dropdown .nav-link.dropdown-toggle {
    border-bottom: 3px solid white;
}

.nav-item.dropdown:hover .nav-link.dropdown-toggle {
    border-bottom: 3px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.header .header-nav > .nav-item > .nav-link:hover,
.header .header-nav > .nav-item > .nav-link:focus,
.header .header-nav > .nav-item.show > .nav-link {
    color: var(--primary-color);
}

.header .header-nav .dropdown-menu {
    border: none;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    z-index: 1080;
}

.header .header-nav .dropdown-item {
    color: #1f2937;
    font-size: 0.75vw;
    /* font-size: 100%; */
    /* font-weight: 500; */
    padding: 0.8rem 1.5rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.header .header-nav .dropdown-item:hover,
.header .header-nav .dropdown-item:focus,
.header .header-nav .dropdown-item:active {
    color: white;
    background-color: var(--primary-color);
    /* background-color: color-mix(in srgb, var(--primary-color) 12%, #fff); */
}

.header .header-nav .dropdown-submenu > .dropdown-toggle::after {
    margin-left: 0.45rem;
    transform: rotate(-90deg);
}

.dropdown-menu-end {
    right: 0;
}

.apply_online_btn {
    padding: 10px 14px;
    border-radius: 6px !important;
    font-size: 14px !important;
    display: flex;
    font-weight: 400 !important;
    align-items: center;
    gap: 6px;
}

.btn_cta_outline {
    padding: 8px 14px !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    display: flex;
    font-weight: 400 !important;
    align-items: center;
    gap: 6px;
    transition: all 0.3 ease;
}

.btn_cta_outline:hover {
    transform: translate(-3px);
}

.mobile_nav .apply_online_btn {
    padding: 5px;
    font-size: 14px !important;
}

.apply-span-icon {
    font-weight: bolder;
    font-size: 20px;
}

.front-menu-toggle {
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
}

.front-menu-toggle:hover,
.front-menu-toggle:focus {
    color: #fff;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.front-mobile-menu {
    width: min(92vw, 360px);
}

.front-mobile-links > li {
    border-bottom: 1px solid #eceff3;
}

.front-mobile-parent {
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding: 0.9rem 0;
}

.front-mobile-parent:hover,
.front-mobile-parent:focus {
    color: var(--primary-color);
}

.front-mobile-submenu {
    padding: 0 0 0.8rem 0.8rem;
}

.front-mobile-submenu li {
    margin-bottom: 0.55rem;
}

.front-mobile-submenu a {
    text-decoration: none;
    color: #334155;
    font-size: 14px;
}

.front-mobile-submenu a:hover,
.front-mobile-submenu a:focus {
    color: var(--primary-color);
}

svg.e-fas-graduation-cap {
    height: 18px;
    width: 22px;
    fill: #fff;
    /* display: none; */
}
.header-nav,
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
/* FOOTER */

.footer-wrapper {
    background: linear-gradient(135deg, #d15e69 0%, #d15e69 100%);
}

.footer-title {
    display: inline-block;
    /* width equals text width */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.45rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    /* 75% of text width */
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    /* font-size: 0.95rem; */
}

.footer-links a:hover {
    /* color: #fff; */
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.85rem;
}

.social-icons {
    margin-top: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-4px);
}

.social-icon i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-radius: 20px;
    width: 80%;
    margin: auto;
    padding-bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

/* Header — min-width: 992px */
@media (min-width: 992px) {
    .header .main-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .main-header
    .header-nav.d-lg-flex
    .nav-item.dropdown
    > .nav-link.dropdown-toggle {
        pointer-events: none;
    }

    .header .main-header > .header-brand {
        flex: 0 0 auto;
    }

    .header .main-header > .header-nav:first-of-type {
        flex: 1 1 auto;
        justify-content: center;
        min-width: 0;
        gap: 4px;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .header .main-header > .header-nav:last-of-type {
        flex: 0 0 auto;
        margin-left: auto;
        gap: 0.35rem;
        flex-wrap: nowrap;
        overflow: visible;
    }

    .header .main-header > .header-nav .nav-item {
        flex: 0 1 auto;
    }

    .header .header-nav .nav-item.dropdown {
        position: relative;
        transition: all 0.3s ease;
    }

    .header .header-nav .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(8px);
        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    .header .header-nav .nav-item.dropdown:hover > .dropdown-menu,
    .header .header-nav .nav-item.dropdown:focus-within > .dropdown-menu,
    .header .header-nav .nav-item.dropdown .dropdown-menu.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .header .header-nav .dropdown-submenu {
        position: relative;
    }

    .header .header-nav .dropdown-submenu > .dropdown-menu {
        top: -0.3rem;
        left: 100%;
        border-radius: 0;
        /* margin-left: 0.4rem; */
        transform: translateY(8px);
    }

    .header .header-nav .dropdown-submenu:hover > .dropdown-menu,
    .header .header-nav .dropdown-submenu:focus-within > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }
}

/* Header — max-width: 1599.98px and min-width: 1200px */
@media (max-width: 1599.98px) and (min-width: 1200px) {
    .header-nav .nav-link,
    .header-nav .nav-item a {
        font-size: 16px;
    }

    .header-nav .nav-item a.nav-link {
        padding: 4px;
    }
}

/* Header — max-width: 1299.98px and min-width: 992px */
@media (max-width: 1299.98px) and (min-width: 992px) {
    .header .main-header {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .header .header-nav > .nav-item > .nav-link {
        font-size: 15px;
    }

    .header .header-nav .dropdown-item {
        font-size: 0.95vw;
    }

    .header .header-nav {
        gap: 0.15rem;
    }

    .header .main-header {
        gap: 0.45rem;
    }

    .header-brand img {
        width: 112px;
        height: auto;
    }

    #header-site-search {
        min-width: 190px;
    }
}

/* Header — max-width: 1199.98px and min-width: 992px */
@media (max-width: 1199.98px) and (min-width: 992px) {
    .top-header {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .header-nav .nav-link,
    .header-nav .nav-item a {
        font-size: 14px;
    }

    #header-site-search {
        min-width: 200px;
    }

    svg.e-fas-graduation-cap {
        width: 18px;
        height: 18px;
        display: inline-block;
    }

    .apply-span,
    .apply-span-icon {
        display: none;
    }

    html:not([dir="rtl"]) a.header-brand {
        margin-right: 4px;
    }
}

/* Header — max-width: 991.98px */
@media (max-width: 991.98px) {
    .header > .container-fluid.px-4 {
        /* min-height: 72px; */
        display: flex;
        align-items: center;
    }

    .header-brand img {
        width: 95px;
        height: auto;
    }
}

/* Footer — max-width: 767px */
@media (max-width: 767px) {
    .footer-title {
        margin-top: 1rem;
    }

    .impact-title-world,
    .impact-title-world span {
        /* font-size: 24px; */
    }
}

/* Study Section — max-width: 991px */
@media (max-width: 991px) {
    .study-content h4 {
        font-size: 20px;
    }

    .study-content {
        min-height: 100px;
    }

    .admission-overlay {
        font-size: 24px;
    }
}

/* Study Section — max-width: 767px */
@media (max-width: 767px) {
    .study-title {
        font-size: 32px;
    }
}

/* Scholarship Section — max-width: 1199px */
@media (max-width: 1199px) {
    .scholarship-title {
        font-size: 44px;
    }

    .scholarship-text {
        font-size: 14px;
    }

    .scholarship-content {
        width: 55%;
    }
}

/* Scholarship Section — max-width: 991px */
@media (max-width: 991px) {
    .scholarship-wrapper {
        flex-direction: column;
        min-height: auto;
        padding: 30px;
    }

    .scholarship-content {
        width: 100%;
        max-width: 100%;
        position: relative;
        margin-bottom: 30px;
    }

    .scholarship-image {
        position: relative;
        width: 100%;
        height: 420px;
    }

    .scholarship-image img {
        border-radius: 18px;
    }
}

/* Scholarship Section — max-width: 767px */
@media (max-width: 767px) {
    .scholarship-wrapper {
        padding: 20px;
    }

    .scholarship-content {
        padding: 30px 24px;
    }

    .scholarship-title {
        font-size: 34px;
    }

    .scholarship-text {
        font-size: 16px;
        line-height: 1.7;
    }

    .scholarship-image {
        height: 320px;
    }
}

/* Impact Section — max-width: 1199px */
/* @media (max-width: 1199px) {
    .impact-title {
        font-size: 52px;
    }
} */

/* Impact Section — max-width: 991px */
@media (max-width: 991px) {
    .impact-section {
        min-height: 420px;
    }

    .impact-title {
        font-size: 42px;
        line-height: 1.25;
    }
}

/* Impact Section — max-width: 767px */
@media (max-width: 767px) {
    .impact-section {
        min-height: 320px;
    }

    .impact-content {
        padding: 60px 0;
    }

    .impact-title {
        font-size: 30px;
        line-height: 1.35;
    }
}

/* Global Impact — max-width: 991px */
@media (max-width: 991px) {
    .impact-title {
        font-size: 1.8rem;
    }

    .main-impact-card {
        padding: 1.5rem;
    }

    .the-logo-box {
        text-align: center;
    }

    .the-logo-box img {
        max-width: 240px;
    }
}

/* Col Custom 5 — max-width: 960px */
@media (max-width: 960px) {
    .col-custom-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Custom Card Image — max-width: 768px */
@media (max-width: 768px) {
    .hero-description {
        display: none;
    }

    .custom-card-image {
        height: 240px;
    }

    .card-title {
        font-size: 1.25rem;
    }
}

/* Logo Marquee — max-width: 768px */
@media (max-width: 768px) {
    /* .logo-item {
        width: 140px;
        height: 80px;
        margin-right: 25px;
    } */

    html:not([dir="rtl"]) .header-brand {
        margin-right: 2px;
    }
}

/* Skeleton Loading */
.skeleton-img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skeleton-img.loaded {
    background: none;
    opacity: 1;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* On-scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomOut {
    from {
        transform: scale(1.2);
    }

    to {
        transform: scale(1);
    }
}

.animate-fade-in-up,
.animate-zoom-out {
    opacity: 0;
}

.animate-fade-in-up.is-visible {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-zoom-out.is-visible {
    opacity: 1;
    animation: zoomOut 0.8s ease-out forwards;
}

/* Fade Up */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease;
}

.reveal-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.reveal-fade.in-view {
    opacity: 1;
}

/* Zoom Pulse */
@keyframes zoomPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.reveal-zoom.in-view {
    animation: zoomPulse 1s ease forwards;
}

.bg-light-blue {
    background-color: #e0f7fa;
}

.bg-light-green {
    background-color: #e8f5e9;
}

.bg-light-yellow {
    background-color: #fffde7;
}

.bg-light-orange {
    background-color: #fff3e0;
}

.bg-dark-blue {
    background-color: #0288d1;
    color: #fff;
}

.bg-dark-green {
    background-color: #2e7d32;
    color: #fff;
}

.bg-dark-yellow {
    background-color: #f9a825;
    color: #fff;
}

.bg-dark-orange {
    background-color: #ef6c00;
    color: #fff;
}

.bg-dark-pink {
    background-color: #b3208b;
    color: #fff !important;
}

.bg-primary-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b3208b 100%);
    color: #fff;
}

.bg-primary-gradient-light {
    background: linear-gradient(
        135deg,
        rgba(169, 29, 34, 0.08) 0%,
        rgba(179, 32, 139, 0.08) 100%
    );
}

.bg-primary-gradient-light-inverse {
    background: linear-gradient(135deg, #fdf0f8 0%, #fff5f5 100%);
}

.img-skeleton {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-skeleton.loaded {
    animation: none;
    background: none;
    opacity: 1;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* FOOTER */

.footer-wrapper {
    background: linear-gradient(135deg, #d15e69 0%, #d15e69 100%);
}

.footer-title {
    display: inline-block;
    /* width equals text width */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.45rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 75%;
    /* 75% of text width */
    height: 2px;
    background: rgba(255, 255, 255, 0.7);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    /* font-size: 0.95rem; */
}

.footer-links a:hover {
    /* color: #fff; */
    transform: translateX(5px);
}

.footer-links i {
    font-size: 0.85rem;
}

.social-icons {
    margin-top: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: #fff;
    color: var(--primary-color);
    transform: translateY(-4px);
}

.social-icon i {
    font-size: 1.1rem;
}

.footer-bottom {
    border-radius: 20px;
    width: 80%;
    margin: auto;
    padding-bottom: 20px;
    background: rgba(255, 255, 255, 0.15);
}

 .footer-wrapper {
     background: var(--primary-color);
 }

.footer-title {
    color: #f3f4f6;
    font-size: 1.45rem;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 5px;
}

.footer-links li {
    margin-bottom: 0.35rem;
}

.footer-links li a {
    color: white;
    font-weight: 500;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

/* Brand Colors */
.social-icon.facebook {
    box-shadow: unset;
    background: #1877F2;
    border: none;
}

.social-icon.instagram {
    background: linear-gradient(45deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%);
}

.social-icon.youtube {
    background: #FF0000;
}

.social-icon.linkedin {
    background: #0A66C2;
}

.social-icon.twitter {
    background: #000;
}

.social-icon.snapchat {
    background: #FFFC00;
    color: #000;
}

.social-icon.tiktok {
    background: #000000;
}

/* Hover Effect */
.social-icon:hover {
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.social-icon.snapchat:hover {
    color: #000;
}
@media (min-width: 992px) {
    /* Trigger visibility on parent hover for header and nav */
    .header-nav .nav-item.dropdown:hover > .dropdown-menu,
    .oric-nav .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    /* Handles the multi-level submenus, popping them out to the right side */
    .header-nav .dropdown-submenu:hover > .dropdown-menu {
        display: block;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -1px;
    }
}

/* Keyframes for the fade-down effect if your style sheet doesn't have it defined */
.dropdown-menu.fade-down {
    animation: customFadeDown 0.3s ease forwards;
}

@keyframes customFadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


