:root {
    --bs-primary: #8B1E2D;
    --bs-secondary: #D4AF37;
    --bs-light: #F9FAFB;
    --bs-dark: #1F2937;

    --bs-link-color: #8B1E2D;
    --bs-link-hover-color: #D4AF37;
}

.btn-primary {
    background: #8B1E2D;
    border-color: #8B1E2D;
}

.btn-primary:hover {
    background: #6E1823;
    border-color: #6E1823;
}

.bg-primary {
    background-color: #8B1E2D !important;
}

.text-primary {
    color: #8B1E2D !important;
}

.text-secondary {
    color: #D4AF37 !important;
}

.bg-secondary {
    background-color: #F3E2A9 !important;
}

.text-gold {
    color: #D4AF37 !important;
}

.text-maroon {
    color: #8B1E2D !important;
}

body {
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
}

.class-quote {
    font-style: italic;
    font-weight: bold;
    color: #8B1E2D !important;
}

/*.hero-header-fixed {
    position: relative;
    width: 100%;
    height: 420px; 
    background: url("../img/banner.png") center center no-repeat;
    background-size: cover;
}

@media (max-width: 768px) {
    .hero-header-fixed {
        height: 260px;
    }
}*/

.hero-header-fixed {
    background: #fff;
    padding: 0;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.class-why-sirs {
    font-style: italic;
    font-weight: bold;
    color: #393d72 !important;
}

.h4 {
    text-align: center !important;
}

.person-img {
    width: 220px;
    height: 260px;
    object-fit: cover;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-6px);
    transition: 0.3s;
}

.about-banner-img {
    width: 100%;
    height: 80vh;
    /* responsive banner height */
    object-fit: cover;
    /* fills width nicely */
}

.hero-header-fixed {
    width: 100%;
    overflow: hidden;
}

@media (max-width:768px) {
    .about-banner-img {
        height: 35vh;
    }
}

.bg-light.shadow:hover {
    transform: translateY(-5px);
    transition: 0.3s;
}

.bg-light.shadow-sm:hover {
    transform: translateY(-4px);
    transition: 0.3s;
}

/* Section Background */

.director-section {
    background: linear-gradient(180deg, #f8f9fa, #ffffff);
    padding-top: 60px;
    padding-bottom: 60px;
}


/* Row spacing */

.director-row {
    margin-top: 30px;
}


/* Director Card */

.director-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #0d6efd;
}


/* Hover Effect */

.director-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}


/* Director Image */

.director-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}


/* Director Info Section */

.director-info {
    padding: 18px;
    text-align: center;
}


/* Director Name */

.director-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 4px;
    line-height: 1.3;
}


/* Director Role */

.director-info p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}


/* Mobile Improvements */

@media (max-width:991px) {

    .director-photo {
        height: 240px;
    }

}

@media (max-width:768px) {

    .director-photo {
        height: 220px;
    }

    .director-info h5 {
        font-size: 15px;
    }

    .director-info p {
        font-size: 13px;
    }

}

.senior-img {
    height: 420px;
    object-fit: cover;
}

.senior-text p {
    line-height: 1.8;
    margin-bottom: 18px;
    color: #555;
}

.senior-text {
    padding-top: 10px;
}

.primary-slider-img {
    height: 360px;
    object-fit: cover;
    border-radius: 8px;
}

.bg-light p {
    line-height: 1.8;
    color: #555;
}

.primary-text-box {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 10px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.8;
    color: #444;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.primary-text-box p {
    margin-bottom: 18px;
}

.primary-text-box p:last-child {
    margin-bottom: 0;
}

.primary-text-box {
    border-left: 4px solid #8B1E2D !important;
}

.table-primary {
    background: #0d6efd;
    color: #fff;
}

.table-hover tbody tr:hover {
    background: #f2f7ff;
}

/* Accordion title */
.accordion-button {
    font-weight: 600;
    font-size: 18px;
    color: #0d6efd;
    background: #f8f9fa;
}

/* Table header */
.table thead {
    background: #0d6efd;
    color: #fff;
    font-weight: 600;
}

/* Table body text */
.table tbody {
    color: #333;
    font-size: 15px;
}

/* Zebra rows */
.table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

/* Hover effect */
.table tbody tr:hover {
    background: #eef4ff;
    transition: 0.2s;
}

/* Table borders */
.table {
    border: 1px solid #dee2e6;
}

/* Accordion Header */
.accordion-button {
    background-color: #0d6efd !important;
    /* strong blue */
    color: #ffffff !important;
    font-weight: 600;
    font-size: 17px;
}

.accordion-button:not(.collapsed) {
    background-color: #8B1E2D !important;
    color: #ffffff !important;
}

.accordion-button:focus {
    box-shadow: none;
}


/* Table Header */
.table thead th {
    background-color: #8B1E2D !important;
    color: #ffffff !important;
    font-weight: 600;
    text-align: left;
}


/* Table Body Text */
.table tbody td {
    color: #333 !important;
    font-size: 15px;
}


/* Zebra Row Style */
.table tbody tr:nth-child(even) {
    background-color: #f5f8ff;
}


/* Row Hover Effect */
.table tbody tr:hover {
    background-color: #e8f0ff;
    transition: 0.2s;
}


/* Table Spacing */
.table td,
.table th {
    padding: 14px 16px;
}

.creative-img,
.boarding-img {
    height: 420px;
    object-fit: cover;
}

.boarding-gallery {
    height: 240px;
    width: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.boarding-gallery:hover {
    transform: scale(1.05);
}

.gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-img:hover {
    transform: scale(1.05);
}



/* Filter Buttons */

.filter-item {
    padding: 8px 18px;
    border: 1px solid #8B1E2D;
    background: #fff;
    color: #8B1E2D;
    border-radius: 30px;
    margin: 5px;
    cursor: pointer;
}

.filter-item.active,
.filter-item:hover {
    background: #8B1E2D;
    color: #fff;
}



/* LIGHTBOX */

.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox-img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 6px;
}

.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.lightbox-controls span {
    position: absolute;
    top: 50%;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.prev {
    left: 40px;
}

.next {
    right: 40px;
}

.gallery .gallery-item {
    margin-bottom: 25px;
}