/* Global Fix */

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Announcement Bar */

.announcement-bar {
    width: 100%;
    background: #f68b1f;
    color: #fff;
    overflow: hidden;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
}

.announcement-track {
    display: flex;
    white-space: nowrap;
}

.announcement-text {
    display: inline-block;
    padding-left: 100%;
    animation: scrollTicker 20s linear infinite;
}

.announcement-text strong {
    color: #fff;
    font-weight: 700;
}

.announcement-bar:hover .announcement-text {
    animation-play-state: paused;
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* Gallery */

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: 0.4s;
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}


/* Staff Section */

.staff-section {
    background: #f8f9fa;
    padding: 60px 0;
}

/* Section Title */

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.sub-title {
    color: #ff7a00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* Staff Card */

.staff-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}


/* Staff Image */

.staff-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}


/* Staff Content */

.staff-content {
    padding: 30px;
    text-align: center;
}

.staff-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.staff-content p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}


/* Video Section */

.video-box {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.video-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.video-box iframe {
    width: 100%;
    height: 230px;
    border: none;
}


/* Footer */

.footer-link {
    display: block;
    color: white;
    margin-bottom: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #facc15;
    padding-left: 5px;
}


/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablet */

@media (max-width:991px) {

    .section-title h2 {
        font-size: 30px;
    }

    .staff-image img {
        height: 350px;
    }

    .video-box iframe {
        height: 200px;
    }

}


/* Mobile */

@media (max-width:768px) {

    .announcement-bar {
        font-size: 14px;
        padding: 8px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .staff-image img {
        height: 300px;
    }

    .staff-content {
        padding: 20px;
    }

    .staff-content h3 {
        font-size: 20px;
    }

    .video-box iframe {
        height: 190px;
    }

}


/* Small Mobile */

@media (max-width:480px) {

    .section-title h2 {
        font-size: 22px;
    }

    .staff-image img {
        height: 260px;
    }

    .video-box iframe {
        height: 170px;
    }

    .announcement-bar {
        font-size: 13px;
    }

}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    background: #f1f1f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-avatar i {
    font-size: 40px;
    color: #999;
}

.sub-title {
    letter-spacing: 1px;
    text-transform: uppercase;
}

.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bg-light {
    background: #f8fafc !important;
}

.shadow {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.shadow:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}


/***FACILITY.HML*********/
/* ==============================
   Facility Section
================================*/

.facility-section {
    padding: 80px 0;
}

/* Image */

.facility-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: 0.4s;
}

.facility-img img:hover {
    transform: scale(1.03);
}


/* Content */

.facility-content {
    padding: 10px 20px;
}

.facility-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.facility-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}


/* List */

.facility-content ul {
    list-style: none;
    padding-left: 0;
}

.facility-content ul li {
    font-size: 16px;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #333;
}

.facility-content ul li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--bs-primary);
    font-weight: bold;
}


/* Background alternate sections */

.facility-section.bg-light {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 80px 30px;
}


/* ==============================
   Responsive
================================*/

@media (max-width:992px) {

    .facility-img img {
        height: 300px;
    }

    .facility-content h2 {
        font-size: 28px;
    }

}

@media (max-width:768px) {

    .facility-section {
        padding: 60px 0;
    }

    .facility-content {
        text-align: center;
    }

    .facility-content ul {
        text-align: left;
        display: inline-block;
    }

}

/* ===============================
Mandatory Disclosure Section
================================ */

.disclosure-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 50px;
}

/* Table */

.disclosure-table {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* Header */

.disclosure-table thead {
    background: var(--bs-primary);
    color: #fff;
}

.disclosure-table th {
    padding: 16px;
    font-size: 16px;
    text-align: center;
}

.disclosure-table td {
    padding: 14px;
    vertical-align: middle;
    font-size: 15px;
}

/* Hover */

/* Apply hover only to body rows */

.disclosure-table tbody tr:hover {
    background: #f2f6ff;
    transition: 0.3s;
}

/* Buttons */

.disclosure-table .btn-primary {
    background: var(--bs-primary);
    border: none;
}

.disclosure-table .btn-secondary {
    background: var(--bs-secondary);
    border: none;
}

.disclosure-table .btn {
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 14px;
}


/* ===============================
Tablet Responsive
================================ */

@media (max-width:992px) {

    .disclosure-section {
        padding: 30px;
    }

    .disclosure-table th,
    .disclosure-table td {
        padding: 12px;
        font-size: 14px;
    }

    .disclosure-table .btn {
        padding: 5px 12px;
        font-size: 13px;
    }

}


/* ===============================
Mobile Responsive
================================ */

@media (max-width:768px) {

    .disclosure-section {
        padding: 20px;
    }

    .disclosure-table {
        font-size: 13px;
    }

    .disclosure-table th,
    .disclosure-table td {
        padding: 10px;
    }

    .disclosure-table .btn {
        font-size: 12px;
        padding: 5px 10px;
    }

}


/* ===============================
Extra Small Mobile
================================ */

@media (max-width:576px) {

    .disclosure-section {
        padding: 15px;
    }

    .disclosure-table thead {
        font-size: 13px;
    }

    .disclosure-table td {
        font-size: 12px;
    }

    /* Stack buttons */

    .disclosure-table td .btn {
        display: block;
        margin-bottom: 5px;
        width: 100%;
    }

}

/**********************
Gallery.html **************/
/* Gallery Section */

.gallery-section {
    background: #f8f9fa;
}

.gallery-card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transition: 0.4s;
}

.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive */

@media (max-width:768px) {

    .gallery-card img {
        height: 180px;
    }

}

@media (max-width:576px) {

    .gallery-card img {
        height: 150px;
    }

}

/* ================= SCHOOL INFORMATION SECTION ================= */

.school-info {
    background: #f8f9fa;
    padding: 60px 0;
}

.school-info h2 {
    font-weight: 700;
    color: #F6466C;
    margin-bottom: 40px;
}

/* Info Box */
.info-box {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}

/* Hover Effect */
.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Heading */
.info-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: #444;
    margin-bottom: 10px;
}

/* Value */
.info-box p {
    font-size: 22px;
    font-weight: 700;
    color: #F6466C;
    margin: 0;
}


/* ================= TABLET RESPONSIVE ================= */

@media (max-width:992px) {

    .info-box {
        padding: 25px 15px;
    }

    .info-box h5 {
        font-size: 16px;
    }

    .info-box p {
        font-size: 20px;
    }

}


/* ================= MOBILE RESPONSIVE ================= */

@media (max-width:576px) {

    .school-info h2 {
        font-size: 24px;
    }

    .info-box {
        padding: 20px 15px;
        margin-bottom: 15px;
    }

    .info-box h5 {
        font-size: 15px;
    }

    .info-box p {
        font-size: 18px;
    }

}


.video-gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.video-gallery-card img {
    width: 100%;
    transition: 0.4s;
}

/* Hover zoom */
.video-gallery-card:hover img {
    transform: scale(1.1);
}

.filter-btn.active {
    background: #f28b00;
    color: white;
    border-color: #f28b00;
}

/**********************/

.about-modern {
    padding: 100px 0;
    background: var(--bs-light);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.about-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    font-weight: 600;
}

.about-sub {
    color: var(--bs-secondary);
    font-weight: 600;
}

.about-content h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.highlight {
    background: white;
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.highlight i {
    color: var(--bs-primary);
}


/* Vision */

.vision-modern {
    padding: 90px 0;
    background: white;
}

.vision-card {
    background: var(--bs-light);
    padding: 35px;
    border-radius: 12px;
    transition: 0.3s;
}

.vision-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.vision-card i {
    font-size: 30px;
    color: var(--bs-primary);
    margin-bottom: 10px;
}


/* Core */

.core-modern {
    padding: 90px 0;
    background: var(--bs-light);
}

.core-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.core-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.core-card i {
    font-size: 28px;
    color: var(--bs-secondary);
    margin-bottom: 10px;
}


/* Choose */

.choose-modern {
    padding: 80px 0;
}

.choose-list li {
    margin-bottom: 10px;
}


/* Motto */

.motto-modern {
    background: linear-gradient(45deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    text-align: center;
    padding: 60px 20px;
    font-size: 28px;
    font-weight: 600;
}


/* Responsive */

@media(max-width:768px) {

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .motto-modern {
        font-size: 22px;
    }

}

/***ADMISSIONS*************/
/* ADMISSION SECTION */

.admission-section {
    padding: 100px 0;
    background: var(--bs-light);
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 15px;
    text-align: center;
}

.section-sub {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 50px;
    color: #666;
}

/* Admission Cards */

.admission-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.admission-card i {
    font-size: 32px;
    color: var(--bs-primary);
    margin-bottom: 15px;
}

.admission-card h4 {
    font-weight: 600;
    margin-bottom: 10px;
}

.admission-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.documents-section {
    padding: 80px 0;
    background: white;
}

.doc-list {
    max-width: 650px;
    margin: auto;
    margin-top: 30px;
    padding: 0;
    list-style: none;
}

.doc-list li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: var(--bs-light);
    border-left: 4px solid var(--bs-secondary);
    border-radius: 6px;
    font-size: 15px;
}

.class-admission {
    padding: 100px 0;
    background: var(--bs-light);
}

.rule-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
}

.rule-card h4 {
    color: var(--bs-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.rule-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.steps-section {
    padding: 100px 0;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.step {
    background: var(--bs-light);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    transition: 0.3s;
}

.step span {
    display: inline-block;
    width: 45px;
    height: 45px;
    line-height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    font-weight: 600;
    margin-bottom: 15px;
}

.step:hover {
    background: white;
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.result-section {
    padding: 100px 0;
    background: var(--bs-light);
}

.result-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.result-table thead {
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    font-size: 16px;
}

.result-table th,
.result-table td {
    text-align: center;
    padding: 12px;
}

.result-table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.result-table tbody tr:hover {
    background: #ffe9ef;
}

@media (max-width:768px) {

    .section-title {
        font-size: 30px;
    }

    .admission-card {
        padding: 25px;
    }

    .doc-list li {
        font-size: 14px;
    }

    .result-table {
        font-size: 14px;
    }

}


/* ================= FACILITIES SECTION ================= */

.facilities-section {
    padding: 80px 0;
    background: var(--bs-light);
}

.facility-main-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 20px;
}

.facility-main-desc {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 60px;
    color: #666;
    font-size: 17px;
}

.facility-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 35px;
    color: var(--bs-primary);
    border-left: 5px solid var(--bs-secondary);
    padding-left: 15px;
}

.facility-category {
    margin-bottom: 70px;
}


/* ================= FACILITY CARDS ================= */

.facility-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
    height: 100%;
}

.facility-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.facility-content {
    padding: 25px;
    text-align: center;
}

.facility-content i {
    font-size: 34px;
    color: var(--bs-secondary);
    margin-bottom: 10px;
}

.facility-content h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* ================= LAB GRID ================= */

.lab-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.lab-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
}

.lab-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.lab-card h4 {
    padding: 15px;
    font-size: 18px;
    font-weight: 600;
    color: var(--bs-dark);
}

.lab-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* LAB PLACEHOLDER */

.lab-card.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: var(--bs-light);
}

.lab-card.placeholder i {
    font-size: 40px;
    color: var(--bs-secondary);
    margin-bottom: 10px;
}


/* ================= LIBRARY ================= */

.library-section {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.library-section img {
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.library-content {
    max-width: 500px;
}

.library-content h3 {
    font-size: 28px;
    color: var(--bs-primary);
    margin-bottom: 15px;
}


/* ================= ACTIVITY SPACES ================= */

.activity-space-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.activity-space-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
    position: relative;
}

.activity-space-card i {
    font-size: 40px;
    color: var(--bs-secondary);
    margin-bottom: 15px;
}

.activity-space-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

.activity-space-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.activity-space-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
}


/* ================= SPORTS ================= */

.sports-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sport-item {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    padding: 18px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: .4s;
}

.sport-item i {
    font-size: 20px;
}

.sport-item:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.park-text {
    margin-top: 20px;
    font-weight: 500;
}


/* ================= HEALTH ================= */

.health-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.health-card {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
    position: relative;
}

.health-card i {
    font-size: 38px;
    color: var(--bs-secondary);
    margin-bottom: 10px;
}

.health-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.health-card p {
    font-size: 15px;
    color: #666;
}

.health-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.health-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
}


/* ================= GREEN INITIATIVES ================= */

.green-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.green-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
    position: relative;
}

.green-card i {
    font-size: 40px;
    color: var(--bs-green);
    margin-bottom: 10px;
}

.green-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}

.green-card p {
    font-size: 15px;
    color: #666;
}

.green-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.green-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-green), var(--bs-teal));
}


/* ================= RESPONSIVE ================= */

@media(max-width:768px) {

    .facility-main-title {
        font-size: 32px;
    }

    .library-section {
        flex-direction: column;
        text-align: center;
    }

    .library-section img {
        width: 100%;
    }

}

/* ================= STUDENT LIFE SECTION ================= */

.student-life-section {
    padding: 80px 0;
    background: white;
}

.student-life-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 20px;
}

.student-life-desc {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 60px;
    color: #666;
    font-size: 17px;
}

.student-life-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* CARD */

.student-card {
    background: var(--bs-light);
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: .4s;
    position: relative;
    overflow: hidden;
}

/* ICON */

.student-card i {
    font-size: 40px;
    color: var(--bs-secondary);
    margin-bottom: 15px;
}

/* TITLE */

.student-card h4 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
}

/* TEXT */

.student-card p {
    font-size: 15px;
    color: #666;
}

/* HOVER EFFECT */

.student-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* GLOW EFFECT */

.student-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
}


/* RESPONSIVE */

@media(max-width:768px) {

    .student-life-title {
        font-size: 32px;
    }

    .student-life-grid {
        gap: 20px;
    }

}

/* ================= STUDENT LIFE SECTION ================= */

.student-life-section {
    padding: 80px 0;
    background: var(--bs-light);
}

.student-life-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--bs-dark);
    margin-bottom: 20px;
}

.student-life-desc {
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-bottom: 60px;
    color: #666;
    font-size: 17px;
}


/* CARD */

.student-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: .4s;
}

.student-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    filter: brightness(0.85);
}


/* OVERLAY */

.student-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    color: white;

    /* lighter gradient */

    background: linear-gradient(rgba(0, 0, 0, 0.1),
            rgba(113, 112, 112, 0.65));

    transition: .4s;
}


/* ICON */

.student-overlay i {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--bs-secondary);
}


/* TITLE */

.student-overlay h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}


/* TEXT */

.student-overlay p {
    font-size: 14px;
    color: #f1f1f1;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}


/* HOVER */

.student-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.student-card:hover img {
    filter: brightness(1);
}

.student-card:hover .student-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.75));
}


/* RESPONSIVE */

@media(max-width:768px) {

    .student-life-title {
        font-size: 32px;
    }

    .student-card img {
        height: 220px;
    }

}

/* ================= GENERAL INFORMATION SECTION ================= */

/* ================= GENERAL INFORMATION ================= */

.general-info-wrapper{
margin-top:40px;
background:#ffffff;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
padding:25px;
overflow:hidden;
}

.general-title{
font-size:28px;
font-weight:700;
color:var(--bs-primary);
margin-bottom:20px;
}

/* ================= TABLE ================= */

.general-info-table{
width:100%;
border-collapse:collapse;
font-size:15px;
min-width:600px; /* keeps structure on mobile */
}

/* HEADER */

.general-info-table thead{
background:var(--bs-primary);
color:white;
}

.general-info-table th{
padding:14px;
text-align:center;
font-weight:600;
}

/* BODY */

.general-info-table td{
padding:14px;
border-bottom:1px solid #eee;
color:#444;
}

/* FIRST COLUMN */

.general-info-table td:first-child{
text-align:center;
font-weight:600;
width:70px;
}

/* HOVER */

.general-info-table tbody tr:hover{
background:#f8f9fa;
transition:0.3s;
}


/* ================= MOBILE ================= */

@media (max-width:768px){

.general-info-wrapper{
padding:15px;
}

/* allow horizontal scroll */

.table-responsive{
overflow-x:auto;
}

/* smaller font */

.general-info-table{
font-size:14px;
}

.general-info-table th,
.general-info-table td{
padding:10px;
}

}

/* ================= CAMPUS HIGHLIGHTS ================= */

.campus-highlights{
padding:70px 0;
background:#f8f9fa;
}

.highlight-title{
font-size:36px;
font-weight:700;
color:#1a1a1a;
}

/* scrolling gallery */

.scrolling-gallery{
overflow:hidden;
position:relative;
}

.scroll-track{
display:flex;
gap:20px;
animation:scrollGallery 30s linear infinite;
}

.scroll-track img{
height:220px;
width:300px;
object-fit:cover;
border-radius:10px;
box-shadow:0 8px 20px rgba(0,0,0,0.15);
transition:0.3s;
}

.scroll-track img:hover{
transform:scale(1.05);
}

/* animation */

@keyframes scrollGallery{

0%{
transform:translateX(0);
}

100%{
transform:translateX(-50%);
}

}


/* ================= SCHOOL EVENTS ================= */

.school-events{
background:#0d6efd;
padding:10px 0;
}

.event-marquee{
display:flex;
align-items:center;
gap:20px;
color:white;
}

.event-label{
background:#ffc107;
color:#000;
padding:6px 14px;
font-weight:600;
border-radius:20px;
font-size:14px;
}

.event-marquee marquee{
font-size:16px;
font-weight:500;
}


/* ================= RESPONSIVE ================= */

@media(max-width:992px){

.scroll-track img{
height:180px;
width:240px;
}

.highlight-title{
font-size:28px;
}

}

@media(max-width:768px){

.scroll-track{
gap:10px;
}

.scroll-track img{
height:150px;
width:200px;
}

.event-marquee{
flex-direction:column;
align-items:flex-start;
gap:5px;
}

}

@media(max-width:480px){

.scroll-track img{
height:130px;
width:170px;
}

}