/* ==================== GLOBAL STYLES ==================== */
:root {
    /* Colors - Blue, Yellow, White & Variations */
    --bs-primary: #003366;
    /* Navy Blue override */
    --bs-primary-rgb: 0, 51, 102;
    --bs-warning: rgb(220 104 12);
    /* Yellow override */
    --bs-warning-rgb: 255, 204, 0;

    --first-color: #003366;
    --accent-color: rgb(220 104 12);
    --body-font: 'Poppins', sans-serif;
}

body {
    font-family: var(--body-font);
    overflow-x: hidden;
}

section {
    overflow: hidden;
}

/* ==================== NAV REFINEMENTS ==================== */
.navbar-brand .logo-text {
    font-weight: 700;
    color: var(--first-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.25rem;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.hover-warning:hover {
    color: var(--accent-color) !important;
}

/* ==================== HERO SECTION ==================== */
.hero {
    height: 90vh;
    min-height: 600px;
    background: url('../img/img_b.jpeg') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.4));
    z-index: 1;
}

.hero .container {
    z-index: 2;
}


.text-light-emphasis {
    color: #d7e6f4 !important;
}



/* ==================== PREMIUM CARDS ==================== */
.facility-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.facility-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.facility-card:hover .transition {
    transform: scale(1.1);
}

.gallery-item {
    cursor: pointer;
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: scale(0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.gallery-item img {
    transition: all 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-up {
    opacity: 0;
    animation: fadeUp 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

/* ==================== UTILS ==================== */
.text-justify {
    text-align: justify;
}

.transition {
    transition: all 0.4s ease;
}

.object-fit-cover {
    object-fit: cover;
}

/* Bootstrap Color Overrides */
.btn-primary {
    background-color: var(--first-color);
    border-color: var(--first-color);
}

.btn-primary:hover {
    background-color: #002244;
    border-color: #002244;
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

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

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





.headmaster i {
    color: white;
}

.facilities i {
    color: white;
}