@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz\,wght.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #3389D9;
    --bs-primary: #3389D9;
    --bs-btn-border-color: #3389D9;
    --bs-btn-hover-border-color: #3389D9;
    --bs-btn-color: #3389D9;
    --bs-btn-hover-bg: #3389D9;
    --bs-btn-active-bg: #3389D9;
    --bs-btn-active-border-color: #3389D9;
    --primary-dark: #257CCD;
    --border-color: #D2D2D2;
}

.primary-gradient {
    background-image: linear-gradient(to right, rgb(179, 229, 252), rgb(2, 136, 209));
    /* Blue gradient */
}

.success-gradient {
    background-image: linear-gradient(to right, #c8e6c9, #388e3c);
    /* Green gradient */
}

.warning-gradient {
    background-image: linear-gradient(to right, #ffecb3, #ffa000);
    /* orange gradient */
}

body {
    font-family: 'Inter', sans-serif;
}

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

.icon-size {
    width: auto;
    height: 1.5rem;
    /* 24px */
}

.border-color {
    border-color: var(--border-color) !important;
}

.text-base {
    font-size: 1rem;
    /* 16px */
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

.bg-gray {
    background-color: #E9E9E9 !important;
}

.text-gray {
    color: var(--gray-color) !important;
}

.bg-pink {
    background-color: #EE224E !important;
}

.text-pink {
    color: #EE224E !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.nav-placement {
    top: 3.85rem;
    /* 64px */
    right: 0;
    padding: 0.5rem 0.625rem;
    position: absolute;
}

.logo-size {
    width: 75px;
    height: auto;
}

.icon-size-lg {
    min-width: 3.75rem;
    /* 60px */
    height: 3.75rem;
    /* 60px */
}

@media (min-width: 768px) {
    .nav-placement {
        top: 3.5rem;
        /* 56px */
    }
}

@media (min-width: 1200px) {
    .nav-placement {
        position: relative;
        top: 0;
        right: 0;
        padding: 0;
    }

    .logo-size {
        width: 100px;
    }
}

.carousel img {
    object-fit: cover;
    height: 300px;
}

@media (min-width: 1020px) {
    .carousel img {
        height: 400px;
    }
}

@media (min-width: 1200px) {
    .carousel img {
        height: 600px;
    }
}

/* Marquee scroll animation */
.marquee {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    animation: fadeIn 1s ease-in-out forwards;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 30s linear infinite;
}

/* Pause animation on hover */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Scroll keyframe */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.underline {
    width: 1.25rem;
    /* 20px */
    height: 0.25rem;
    /* 4px */
}

li:last-child {
    border-bottom: none !important;
}

.underline.blue {
    background-color: var(--primary-color);
}

.underline.white {
    background-color: white;
}

.max-height-300 {
    max-height: 20rem;
    /* 320px */
}

.invert-color {
    filter: invert(1);
}

.event-list>div:last-child {
    border-bottom: none !important;
}


.transition-img {
    transition: transform 0.5s ease;
}

.hover-zoom:hover .transition-img {
    transform: scale(1.05);
}

.feature-box-shadow {
    box-shadow: 0 0 0 10px#e9e9e9;
}

.gallery-img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
}

.gallery-img-wrapper img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s ease;
}

.gallery-img-wrapper:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 0.75rem;
    transition: background 0.3s ease;
}

.gallery-caption h6 {
    margin: 0;
    font-weight: 600;
}

.gallery-caption small {
    display: block;
    opacity: 0.85;
}

.gallery-img-wrapper:hover .gallery-caption {
    background: rgba(0, 0, 0, 0.7);
}

.nav-pills .nav-link {
    border: 1px solid var(--primary-color);
    color: var(--primary-dark);
}

.nav-pills .nav-link.active {
    background-color: var(--primary-color);
}

.admission-section-title {
    position: relative;
}

.admission-section-title::after {
    content: '';
    display: block;
    width: 20px;
    height: 4px;
    background: var(--primary-color);
    margin-top: 6px;
    border-radius: 2px;
}

.pdf-card {
    border: 1px solid #dee2e6;
    border-radius: .75rem;
    padding: .75rem 1rem;
}

.badge-new {
    background: #ffc107;
    color: #212529;
    font-size: .65rem;
}

.timeline-item {
    padding-left: 0;
    /* icons include their own spacing */
    transition: background .2s ease;
}

/* connector dot placed between icon block and content */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 180px;
    /* between icon (width ~120px) and content */
    top: 28px;
    width: 12px;
    height: 12px;
    background: #0d6efd;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
    display: block;
}

.timeline-item:hover {
    background: rgba(13, 110, 253, 0.05);
}

@media (max-width: 768px) {
    .timeline-item {
        flex-direction: column;
        padding-left: 0;
    }

    .timeline-item::before {
        left: 30px;
        top: 60px;
    }

    .timeline-icon {
        margin-bottom: .5rem;
        text-align: left;
    }

    .timeline-item::before {
        display: none;
    }
}

.staff-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.staff-list img {
    width: 130px;
    height: 130px;
    object-fit: cover;
}

.document-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.facilities-thumbnail a,
.facilities-logo {
    width: 200px;
    min-width: 200px;
    height: 200px;
}

.facilities-logo>div {
    width: 70px;
    height: 70px;
}

.activity-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.activity-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.report-icon {
    width: 60px;
    min-width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.report-section {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.report-section+.report-section {
    margin-top: 2rem;
}

.cell-card {
    border: none;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

.cell-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.25rem rgba(0, 0, 0, 0.08);
}

.cell-icon {
    width: 60px;
    min-width: 60px;
    height: 60px;
    font-size: 1.5rem;
}

.nav-pills .nav-link {
    border: 1px solid #ddd;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.nav-pills .nav-link.active {
    background-color: var(--bs-primary);
    color: white;
    border-color: var(--bs-primary);
}

.download-list li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
}

.download-list img {
    width: 32px;
    height: 32px;
}