*{
    padding: 0;
    margin: 0;
    font-family: "Poppins", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(9,4,30,0.7), rgba(9,4,30,0.7)),url(Pictures/schoolStructure_0.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
}

.logo img{
    height: 80px;
    width: auto;
    display: block;
}

nav{
    display: flex;
    padding:2% 6%;
    justify-content: space-between;
    align-items: center;
}

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a{
    color:white;
    text-decoration: none;
    font-size: 13px;

}

.nav-links ul li::after{
    content: ' ';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

.text-box{
    width: 90%;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}

.text-box h1{
    font-size:  54px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: white;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: rgb(255, 255, 255);
    border: 1px solid black;
    padding: 12px 34px;
    font-size: 13px;
    background: rgba(14, 1, 2, 0.189);
    position: relative;
    cursor: pointer;
}

.hero-btn:hover{
    border:1px solid rgba(255, 100, 255, 0.189);
    background: rgba(255, 100, 255, 0.189);
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 25px;
    }

    .nav-links ul li{
        display: block;
    }

    .nav-links{
        position: fixed;
        background: rgb(251, 153, 233);
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1.25s;
    }

    nav .fa{
        display: block;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    nav .fa-bars{
        color: rgba(255, 100, 255, 0.189);;
        padding: 10px 14px;
        border-radius: 50%;
        transition: 0.3s;
        margin-left: auto;
        position: relative;
        z-index: 20;
    }

    nav .fa-bars:hover{
        background: rgba(255, 100, 255, 0.189);
    }

    .nav-links .fa{
        color: white;
        font-size: 28px;
        padding: 5px 10px;
    }

    .nav-links ul{
        padding: 30px;
    }
}


/*===========================
School news and update 
=============================*/

.updates{
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h2{
    font-size: 36px;
    font-weight: 600;
}

p{
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row{
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.news-col{
    background:rgba(199, 106, 137, 0.359);
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px; 
    box-sizing: border-box;
}

h3{
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.news-col:hover{
    transform: scale(1.03);
    box-shadow: 0 0 20px 0px rgba(0,0,0,0.5);
}

@media(max-width: 1000px){
    .row{
        flex-direction: column;
    }
}


/*========================
OUR SCHOOL
==========================*/

.school{
    margin: auto;
    text-align: center;
    padding-top: 50px;
    background-color: #f7f7f7;
    width: 100%;
}

.school-col{
    flex-basis: 48%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.school-col img{
    width: 100%;
    display: block;
    height: 80%;
}

.school .row {
    gap: 30px;
}

.layer{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover{
    background: rgba(117, 0, 226, 0.375);
}

.layer h3{
    width: 100%;
    font-weight: 500;
    color: white;
    font-size: 25px;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3{
    bottom: 49%;
    opacity: 1;
}

/*=======================
Facilities
========================*/
.facilities{
    width: 80%;
    margin: auto;
    padding-top: 100px;
    text-align: center;
}

.facilities-col{
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
}

.facilities-col img{
    width: 100%;
    border-radius: 10px;
}

.facilities-col p{
    padding: 0;
}

.facilities-col h3{
    margin-top: 16px;
    margin-bottom: 15px;
    text-align: left;
}

/*=======================
Footer Section
========================*/
/* ===== FOOTER WITH 3 COLUMNS ===== */
footer {
    background: #0a0430;
    color: #ddd;
    padding-top: 40px;
}

.footer-container {
    width: 85%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(243, 156, 18, 0.2);
}

/* Each column takes equal width on desktop */
.footer-col {
    flex: 1 1 250px; /* Shrinks gracefully on smaller screens */
    min-width: 180px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    display: block;
    width: 35px;
    height: 3px;
    background: #f39c12;
    position: absolute;
    bottom: 0;
    left: 0;
    border-radius: 5px;
}

/* --- Contact Column --- */
.contact-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-col ul li {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    line-height: 1.6;
    color: #ccc;
    font-size: 0.95rem;
}

.contact-col ul li i {
    color: #f39c12;
    font-size: 1.1rem;
    width: 20px;
    margin-top: 3px;
}

/* --- Quick Links Column (Middle) --- */
.quick-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-col ul li {
    margin-bottom: 12px;
}

.quick-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.quick-col ul li a:hover {
    color: #f39c12;
    transform: translateX(6px); /* Slides slightly right on hover */
}

/* --- Social / Follow Us Column (Right) --- */
.social-col p {
    color: #aaa;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Hover effects for social icons */
.social-icons a:hover {
    transform: translateY(-5px);
    background: #fff;
    border-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.social-icons a:hover .fa-facebook-f { color: #1877f2; }
.social-icons a:hover .fa-instagram { color: #e4405f; }
.social-icons a:hover .fa-youtube { color: #ff0000; }
.social-icons a:hover .fa-x-twitter { color: #1da1f2; }
.social-icons a:hover .fa-tiktok { color: #00f2ea; }

/* --- Bottom Bar (Copyright) --- */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    margin-top: 0;
}

.footer-bottom .container {
    padding: 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #888;
    text-align: center;
}

/* ===== RESPONSIVE: Stacks vertically on mobile ===== */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        flex: 1 1 100%;
        width: 100%;
        max-width: 400px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-col ul li {
        justify-content: center;
        text-align: center;
    }

    .quick-col ul li a:hover {
        transform: translateX(0);
    }

    .social-icons {
        justify-content: center;
    }
}

/*=================================================
About Us Page
==================================================*/

/* ===== SUB-HEADER (About Page Hero) ===== */
.sub-header {
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(9, 4, 30, 0.8), rgba(9, 4, 30, 0.8)), url(Pictures/schoolStructure_0.jpg);
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.sub-header .hero-text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

.sub-header .hero-text-box h1 {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.sub-header .hero-text-box p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Active nav link */
.nav-links ul li a.active {
    color: #f39c12; /* Gold/orange highlight */
    border-bottom: 2px solid #f39c12;
    padding-bottom: 5px;
}

/* ===== GENERAL CONTAINER & LAYOUT ===== */
.container {
    width: 85%;
    margin: 0 auto;
    padding: 40px 0;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    color: #0a0430;
    margin-bottom: 40px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #f39c12;
    margin: 10px auto 0;
    border-radius: 5px;
}

/* ===== ABOUT CONTENT (Row layout) ===== */
.about-content {
    padding: 60px 0;
    background: #fff;
}

.about-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
}

.about-col {
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col h2 {
    text-align: left;
}
.about-col h2::after {
    margin: 10px 0 0 0;
}

.about-col p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.about-col img {
    width: 100%;        
    height: auto;      
    border-radius: 15px;
    display: flex;    
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-top: 250px;
}

/* Campus Address Cards */
.campus-addresses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.address-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    flex: 1 1 150px;
    border-left: 5px solid #f39c12;
    transition: transform 0.3s ease;
}
.address-card:hover {
    transform: translateY(-5px);
}
.address-card i {
    font-size: 2rem;
    color: #0a0430;
    margin-bottom: 10px;
}
.address-card h4 {
    color: #0a0430;
    margin-bottom: 8px;
}
.address-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* ===== VISION SECTION ===== */
.vision-section {
    background: #0a0430;
    color: #fff;
    text-align: center;
    padding: 60px 0;
}

.vision-box blockquote {
    font-size: 2.2rem;
    font-style: italic;
    font-weight: 300;
    color: #f39c12;
    max-width: 800px;
    margin: 0 auto 20px;
}

.vision-box p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    padding: 60px 0;
    background: #f9f9fc;
}

.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.choose-item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    border-bottom: 3px solid transparent;
}
.choose-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom-color: #f39c12;
    transform: scale(1.02);
}
.choose-item i {
    font-size: 2.5rem;
    color: #f39c12;
    margin-bottom: 15px;
}
.choose-item h4 {
    color: #0a0430;
    margin-bottom: 10px;
}
.choose-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== FACILITIES ===== */
.facilities {
    padding: 60px 0;
    background: #fff;
}

.facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.facility-card {
    background: #f0f2f5;
    padding: 20px 15px;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    color: #0a0430;
    transition: 0.3s ease;
    cursor: default;
}
.facility-card i {
    margin-right: 10px;
    color: #f39c12;
}
.facility-card:hover {
    background: #0a0430;
    color: #fff;
}
.facility-card:hover i {
    color: #fff;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 60px 0;
    background: #f9f9fc;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}
.testimonial-card i.fa-quote-left {
    color: #f39c12;
    font-size: 1.8rem;
    opacity: 0.4;
    margin-bottom: 10px;
}
.testimonial-card p {
    color: #444;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-card span {
    color: #0a0430;
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .sub-header .hero-text-box h1 {
        font-size: 2.5rem;
    }
    .about-row {
        flex-direction: column;
    }
    .about-content{
        text-align: center;
        justify-content: center;
    }
    .about-col h2 {
        text-align: center;
    }
    .about-col img{
        margin-top: 5rem;
    }
    .about-col h2::after {
        margin: 10px auto 0;
    }
    .vision-box blockquote {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1000px) {
    .school-col {
        flex-basis: 100%;
    }
}

/*=================================================
Contact Us Page
==================================================*/
.location{
    width: 80%;
    padding: 80px 0;
    margin: auto;
}

.location iframe{
    width: 100%;
}

.contact-us{
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}

.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .fas{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;
}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 400;
    color: #555
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 17px;
    font-size: 14px;
    box-sizing: border-box;
}

/*=================================================
OUR SCHOOL PAGE (our-school.html)
==================================================*/

/* ===== SHARED INTRO TEXT ===== */
.school-intro .intro-text,
.school-facilities .intro-text,
.beyond .intro-text,
.special-needs .intro-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0;
}

/* ===== INTRO BANNER ===== */
.school-intro {
    padding: 70px 0 40px;
    background: #fff;
}

.school-intro h2 {
    margin-bottom: 20px;
}

/* ===== CAMPUS HIGHLIGHTS ===== */
.campus-highlights {
    padding: 20px 0 80px;
    background: #f9f9fc;
}

.campus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.campus-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(10, 4, 48, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.campus-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(10, 4, 48, 0.16);
}

/* Image area */
.campus-img {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.campus-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 4, 48, 0) 40%, rgba(10, 4, 48, 0.55));
}

.campus-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.campus-card:hover .campus-img img {
    transform: scale(1.07);
}

/* Card body */
.campus-body {
    padding: 35px 28px 30px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.campus-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #0a0430;
    color: #f39c12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: absolute;
    top: -31px;
    right: 28px;
    box-shadow: 0 6px 18px rgba(10, 4, 48, 0.25);
    border: 4px solid #fff;
}

.campus-body h3 {
    text-align: left;
    font-size: 1.35rem;
    color: #0a0430;
    margin: 0 0 15px;
    line-height: 1.35;
    padding-right: 50px;
}

.campus-body p {
    text-align: left;
    color: #666;
    font-size: 0.97rem;
    line-height: 1.75;
    padding: 0;
    margin-bottom: 18px;
}

/* Address line */
.campus-address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555 !important;
    font-size: 0.92rem !important;
    border-top: 1px dashed #e2e2ea;
    padding-top: 16px !important;
    margin-top: auto;
}

.campus-address i {
    color: #f39c12;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Special needs badge inside each campus card */
.campus-support {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(243, 156, 18, 0.12);
    color: #0a0430 !important;
    font-weight: 600;
    font-size: 0.86rem !important;
    padding: 10px 16px !important;
    border-radius: 50px;
    margin-bottom: 0 !important;
    border-left: 4px solid #f39c12;
}

.campus-support i {
    color: #f39c12;
}

/* ===== SPECIAL NEEDS SECTION ===== */
.special-needs {
    padding: 80px 0;
    background: #fff;
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin-top: 45px;
}

.need-item {
    background: #f9f9fc;
    border: 1px solid #ecebf3;
    border-radius: 14px;
    padding: 24px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0430;
    transition: 0.3s ease;
    cursor: default;
}

.need-item i {
    display: block;
    font-size: 1.8rem;
    color: #f39c12;
    margin-bottom: 12px;
}

.need-item:hover {
    background: #0a0430;
    border-color: #0a0430;
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 4, 48, 0.2);
}

/* ===== FACILITIES (scoped to Our School page) ===== */
.school-facilities {
    padding: 80px 0;
    background: #f9f9fc;
}

.school-facilities .facility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    margin-top: 45px;
}

.school-facilities .facility-card {
    background: #fff;
    padding: 22px 18px;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0a0430;
    transition: 0.3s ease;
    cursor: default;
    box-shadow: 0 4px 14px rgba(10, 4, 48, 0.05);
}

.school-facilities .facility-card i {
    margin-right: 10px;
    color: #f39c12;
    transition: 0.3s ease;
}

.school-facilities .facility-card:hover {
    background: #0a0430;
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(10, 4, 48, 0.22);
}

.school-facilities .facility-card:hover i {
    color: #f39c12;
}

/* ===== BEYOND THE CLASSROOM ===== */
.beyond {
    padding: 80px 0;
    background: #fff;
}

.beyond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
    margin-top: 50px;
}

.beyond-card {
    background: #0a0430;
    color: #fff;
    border-radius: 16px;
    padding: 38px 26px;
    text-align: center;
    transition: 0.35s ease;
    border-bottom: 4px solid transparent;
}

.beyond-card i {
    font-size: 2.2rem;
    color: #f39c12;
    margin-bottom: 18px;
    display: inline-block;
}

.beyond-card h4 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.beyond-card p {
    color: #b9b6c9;
    font-size: 0.93rem;
    line-height: 1.7;
    padding: 0;
    margin: 0;
}

.beyond-card:hover {
    transform: translateY(-8px);
    border-bottom-color: #f39c12;
    box-shadow: 0 18px 38px rgba(10, 4, 48, 0.3);
}

/* ===== CALL TO ACTION ===== */
.school-cta {
    padding: 80px 0;
    background: linear-gradient(rgba(9, 4, 30, 0.85), rgba(9, 4, 30, 0.85)),
                url(Pictures/schoolStructure_0.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    color: #fff;
}

.school-cta h2 {
    color: #fff;
    margin-bottom: 18px;
}

.school-cta p {
    color: #d5d3e0;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 30px;
    padding: 0;
}

.school-cta .hero-btn {
    border: 2px solid #f39c12;
    background: #f39c12;
    color: #0a0430;
    font-weight: 600;
    padding: 14px 42px;
    border-radius: 50px;
}

.school-cta .hero-btn:hover {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

/*=================================================
ANTHEM PAGE (anthem.html)
==================================================*/

/* ===== INTRO ===== */
.anthem-intro {
    padding: 70px 0 30px;
    background: #fff;
}

.anthem-intro .intro-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0;
}

/* ===== VIDEO ===== */
.anthem-video {
    padding: 20px 0 70px;
    background: #f9f9fc;
}

.anthem-video .intro-text {
    max-width: 600px;
    margin: 0 auto 30px;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0;
}

/* Responsive 16:9 video wrapper (works for <video> or <iframe>) */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(10, 4, 48, 0.15);
    background: #000;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: cover;
}

/* Caption under the video */
.video-caption {
    text-align: center;
    color: #777;
    font-size: 0.95rem;
    margin-top: 22px;
    padding: 0;
}

.video-caption i {
    color: #f39c12;
}

/* ===== LYRICS ===== */
.anthem-lyrics {
    padding: 80px 0;
    background: #fff;
}

.lyrics-card {
    max-width: 820px;
    margin: 0 auto 40px;
    background: #f9f9fc;
    border-radius: 20px;
    padding: 45px 40px;
    box-shadow: 0 8px 30px rgba(10, 4, 48, 0.06);
    border-left: 6px solid #f39c12;
}

/* Each verse block (plain paragraph) */
.lyrics-card p {
    color: #444;
    font-size: 1.08rem;
    line-height: 2;
    padding: 0;
    margin: 0 0 28px;
}

.lyrics-card p:last-child {
    margin-bottom: 0;
}

/* Chorus highlight */
.lyrics-card .chorus {
    background: rgba(243, 156, 18, 0.08);
    border-left: 4px solid #f39c12;
    padding: 22px 25px;
    border-radius: 0 14px 14px 0;
    color: #0a0430;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 2.1;
}

/* Action button below lyrics */
.lyrics-actions {
    text-align: center;
    margin-top: 20px;
}

/* Override default .hero-btn so it is visible on white */
.lyrics-actions .hero-btn {
    border: 2px solid #0a0430;
    background: transparent;
    color: #0a0430;
    font-weight: 600;
    padding: 13px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.lyrics-actions .hero-btn:hover {
    background: #0a0430;
    color: #fff;
    border-color: #0a0430;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .anthem-intro,
    .anthem-video,
    .anthem-lyrics {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .lyrics-card {
        padding: 35px 25px;
    }

    .lyrics-card p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .lyrics-card .chorus {
        font-size: 1.02rem;
        padding: 18px 20px;
    }

    .lyrics-actions .hero-btn {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .video-caption {
        font-size: 0.88rem;
    }
}

@media (max-width: 480px) {
    .lyrics-card {
        padding: 28px 18px;
        border-left-width: 4px;
    }

    .lyrics-card .chorus {
        padding: 16px 15px;
        border-radius: 0 10px 10px 0;
    }
}

/* ===== PRINT STYLES (for the "Print / Save Lyrics" button) ===== */
@media print {
    nav,
    .sub-header,
    .anthem-intro,
    .anthem-video,
    .school-cta,
    footer,
    .lyrics-actions {
        display: none !important;
    }

    body {
        background: #fff;
    }

    .container {
        width: 100%;
        padding: 0;
    }

    .anthem-lyrics {
        padding: 0;
    }

    .anthem-lyrics h2 {
        margin-bottom: 20px;
    }

    .lyrics-card {
        max-width: 100%;
        box-shadow: none;
        background: #fff;
        border-left: 4px solid #000;
        padding: 0;
        border-radius: 0;
    }

    .lyrics-card p {
        color: #000;
    }

    .lyrics-card .chorus {
        background: #f0f0f0;
        border-left-color: #000;
        color: #000;
    }
}

/* ===== FOOTER DROPDOWN: OUR SCHOOL > SCHOOL ANTHEM ===== */

/* Parent list item */
.quick-col .footer-dropdown-parent {
    position: relative;
}

/* Parent link – flex so the arrow sits nicely */
.quick-col .footer-dropdown-parent > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Arrow icon */
.quick-col .footer-dropdown-parent > a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Nested dropdown list – hidden by default */
.quick-col .footer-dropdown {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease,
                opacity 0.3s ease,
                margin 0.3s ease;
    /* subtle indent + accent line */
    padding-left: 15px;
    border-left: 2px solid rgba(243, 156, 18, 0.4);
    margin-left: 4px;
}

/* Show on hover or keyboard focus */
.quick-col .footer-dropdown-parent:hover .footer-dropdown,
.quick-col .footer-dropdown-parent:focus-within .footer-dropdown {
    max-height: 100px;   /* enough for one link */
    opacity: 1;
    margin-top: 8px;
    margin-bottom: 12px;
}

/* Rotate arrow when open */
.quick-col .footer-dropdown-parent:hover > a i,
.quick-col .footer-dropdown-parent:focus-within > a i {
    transform: rotate(180deg);
}

/* Nested link spacing */
.quick-col .footer-dropdown li {
    margin-bottom: 8px;
}

.quick-col .footer-dropdown li:last-child {
    margin-bottom: 0;
}

/* Nested link colour + hover */
.quick-col .footer-dropdown li a {
    font-size: 0.9rem;
    color: #aaa;
}

.quick-col .footer-dropdown li a:hover {
    color: #f39c12;
    transform: translateX(4px);
}

/* ===== MOBILE: always show the sub-list ===== */
@media (max-width: 768px) {

    .quick-col .footer-dropdown-parent > a i {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .quick-col .footer-dropdown-parent.open .footer-dropdown {
        max-height: 100px;
        opacity: 1;
        margin-top: 8px;
        margin-bottom: 12px;
    }

    .quick-col .footer-dropdown-parent.open > a i {
        transform: rotate(180deg);
    }
}

/*=================================================
PHOTO CAROUSEL (index.html)
==================================================*/
.news-carousel {
    width: 100%;
    padding: 80px 0;
    background: #f9f9fc;
    text-align: center;
}

.news-carousel .carousel-subtitle {
    color: #777;
    font-size: 1.05rem;
    margin-bottom: 40px;
    padding: 0;
}

.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(10, 4, 48, 0.12);
    background: #0a0430;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Overlay - appears on hover */
.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 30px 30px;
    background: linear-gradient(to top, rgba(10, 4, 48, 0.95) 10%, rgba(10, 4, 48, 0.7) 50%, transparent);
    text-align: left;
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.carousel-slide:hover .carousel-overlay {
    opacity: 1;
}

.carousel-overlay h3 {
    color: #f39c12;
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-align: left;
    font-weight: 700;
}

.carousel-overlay p {
    color: #ddd;
    font-size: 1rem;
    line-height: 1.6;
    padding: 0;
    margin-bottom: 20px;
}

.view-gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f39c12;
    color: #0a0430;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s ease;
    width: fit-content;
}

.view-gallery-btn:hover {
    background: #fff;
    color: #0a0430;
    transform: translateX(5px);
}

/* Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: #f39c12;
    border-color: #f39c12;
    color: #0a0430;
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.3s ease;
}

.dot.active {
    background: #f39c12;
    transform: scale(1.3);
}

/* CTA Button */
.carousel-cta {
    margin-top: 35px;
}

.carousel-cta .hero-btn {
    border: 2px solid #0a0430;
    background: transparent;
    color: #0a0430;
    font-weight: 600;
    padding: 14px 42px;
    border-radius: 50px;
    transition: 0.3s ease;
}

.carousel-cta .hero-btn:hover {
    background: #0a0430;
    color: #fff;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .carousel-slide img {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .news-carousel {
        padding: 55px 20px; /* horizontal padding so carousel doesn't touch edges */
    }

    .carousel-container {
        border-radius: 14px;
    }

    .carousel-slide img {
        height: 340px;
    }

    .carousel-overlay {
        padding: 25px 18px 20px;
        opacity: 1;
        background: linear-gradient(
            to top,
            rgba(10, 4, 48, 0.95) 20%,
            rgba(10, 4, 48, 0.6) 70%,
            transparent
        );
    }

    .carousel-overlay h3 {
        font-size: 1.2rem;
    }

    .carousel-overlay p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .carousel-btn.prev { left: 8px; }
    .carousel-btn.next { right: 8px; }
}

@media (max-width: 480px) {
    .news-carousel {
        padding: 45px 15px;
    }

    .carousel-slide img {
        height: 240px; /* fits iPhone 15 Pro Max beautifully */
    }

    .carousel-overlay {
        padding: 18px 14px 16px;
    }

    .carousel-overlay h3 {
        font-size: 1.05rem;
        margin-bottom: 6px;
    }

    .carousel-overlay p {
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .view-gallery-btn {
        padding: 7px 14px;
        font-size: 0.75rem;
    }

    .carousel-dots {
        gap: 8px;
        margin-top: 18px;
    }

    .dot {
        width: 9px;
        height: 9px;
    }
}

/*=================================================
GALLERY PAGE (gallery.html)
==================================================*/

/* ===== INTRO ===== */
.gallery-intro {
    padding: 70px 0 40px;
    background: #fff;
}

.gallery-intro .intro-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    padding: 0;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 20px 0 80px;
    background: #f9f9fc;
}

/* ===== FILTER BUTTONS ===== */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    background: #fff;
    border: 2px solid #e2e2ea;
    color: #0a0430;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(10, 4, 48, 0.04);
}

.filter-btn:hover {
    border-color: #f39c12;
    color: #f39c12;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #0a0430;
    border-color: #0a0430;
    color: #f39c12;
    box-shadow: 0 6px 20px rgba(10, 4, 48, 0.2);
}

/* ===== GALLERY GRID ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

/* Individual item */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    background: #0a0430;
    aspect-ratio: 1 / 1;
    box-shadow: 0 6px 20px rgba(10, 4, 48, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(10, 4, 48, 0.22);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Hover overlay */
.gallery-hover {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
                rgba(10, 4, 48, 0.85) 0%,
                rgba(10, 4, 48, 0.35) 60%,
                transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-hover {
    opacity: 1;
}

.gallery-hover i {
    color: #f39c12;
    font-size: 2rem;
    transform: scale(0.7);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-hover i {
    transform: scale(1);
}

/* Hidden state used by the filter */
.gallery-item.hidden {
    display: none;
}

/* Empty message */
.gallery-empty {
    display: none;
    text-align: center;
    color: #888;
    font-size: 1rem;
    padding: 40px 0 0;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 4, 30, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 40px 20px;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.35s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.lightbox-close:hover {
    color: #f39c12;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    z-index: 10000;
}

.lightbox-nav:hover {
    background: #f39c12;
    border-color: #f39c12;
    color: #0a0430;
}

.lightbox-nav.prev { left: 30px; }
.lightbox-nav.next { right: 30px; }

.lightbox-caption {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    color: #ddd;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0;
    margin: 0;
    max-width: 80%;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .gallery-intro,
    .gallery-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .filter-btn {
        font-size: 0.82rem;
        padding: 8px 16px;
    }

    .gallery-filters {
        gap: 9px;
        margin-bottom: 30px;
    }

    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }

    .lightbox-nav.prev { left: 12px; }
    .lightbox-nav.next { right: 12px; }

    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 2rem;
    }

    .lightbox img {
        max-width: 95%;
        max-height: 75vh;
    }

    .lightbox-caption {
        font-size: 0.85rem;
        bottom: 15px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .filter-btn {
        font-size: 0.78rem;
        padding: 7px 14px;
    }
}

/*=================================================
CONTACT FORM STYLING (contact.html)
==================================================*/

.contact-col form {
    width: 100%;
    background: #f9f9fc;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(10, 4, 48, 0.06);
    border-left: 5px solid #f39c12;
    box-sizing: border-box;
}

.contact-col input,
.contact-col textarea {
    width: 100%;
    padding: 15px 18px;
    border-radius: 8px;
    border: 1px solid #dcdce5;
    background: #fff;
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-family: inherit; /* textareas don't inherit Poppins by default */
    color: #0a0430;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-col textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-col input::placeholder,
.contact-col textarea::placeholder {
    color: #999;
    font-weight: 300;
}

.contact-col input:focus,
.contact-col textarea:focus {
    outline: none;
    border-color: #f39c12;
    box-shadow: 0 0 0 3px rgba(243, 156, 18, 0.15);
}

/* ---- Send Message button ---- */
.hero-btn.red-btn {
    background: #f39c12;
    border: 2px solid #f39c12;
    color: #0a0430;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 42px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.hero-btn.red-btn:hover {
    background: #0a0430;
    border-color: #0a0430;
    color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 4, 48, 0.25);
}

@media (max-width: 768px) {
    .contact-col form {
        padding: 25px 20px;
    }
    .hero-btn.red-btn {
        width: 100%;
        padding: 14px 20px;
    }
}

/*=================================================
THANK YOU PAGE (thank-you.html)
==================================================*/

.thank-you-section {
    padding: 90px 0;
    background: #f9f9fc;
}

.thank-you-card {
    max-width: 680px;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    padding: 60px 45px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(10, 4, 48, 0.08);
    border-left: 6px solid #f39c12;
    animation: thankYouFade 0.5s ease;
}

@keyframes thankYouFade {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

.thank-you-icon i {
    font-size: 3.5rem;
    color: #f39c12;
    animation: checkPop 0.6s ease 0.2s both;
}

@keyframes checkPop {
    0%   { transform: scale(0);   opacity: 0; }
    60%  { transform: scale(1.15); opacity: 1; }
    100% { transform: scale(1);    opacity: 1; }
}

.thank-you-card h2 {
    margin-bottom: 22px;
    font-size: 2.1rem;
}

.thank-you-card h2::after {
    margin: 12px auto 0;
}

.thank-you-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 18px;
    padding: 0;
}

.thank-you-text.small {
    font-size: 0.92rem;
    color: #888;
    margin-top: 6px;
}

.thank-you-text.small i {
    color: #f39c12;
}

.thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-top: 35px;
}

.thank-you-actions .hero-btn {
    border: 2px solid #f39c12;
    background: #f39c12;
    color: #0a0430;
    font-weight: 600;
    padding: 14px 36px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.thank-you-actions .hero-btn:hover {
    background: #0a0430;
    border-color: #0a0430;
    color: #f39c12;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 4, 48, 0.25);
}

.thank-you-actions .hero-btn.outline {
    background: transparent;
    color: #0a0430;
    border: 2px solid #0a0430;
}

.thank-you-actions .hero-btn.outline:hover {
    background: #0a0430;
    color: #f39c12;
    border-color: #0a0430;
}

@media (max-width: 768px) {
    .thank-you-section {
        padding: 55px 0;
    }

    .thank-you-card {
        padding: 40px 25px;
        border-left-width: 4px;
    }

    .thank-you-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 22px;
    }

    .thank-you-icon i {
        font-size: 2.6rem;
    }

    .thank-you-card h2 {
        font-size: 1.6rem;
    }

    .thank-you-text {
        font-size: 0.98rem;
    }

    .thank-you-actions .hero-btn {
        width: 100%;
        padding: 13px 25px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .campus-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .campus-img {
        height: 210px;
    }
}

@media (max-width: 768px) {
    .school-intro,
    .campus-highlights,
    .special-needs,
    .school-facilities,
    .beyond,
    .school-cta {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .campus-body {
        padding: 35px 22px 26px;
    }

    .campus-body h3 {
        font-size: 1.15rem;
        padding-right: 45px;
    }

    .campus-icon {
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
        top: -27px;
        right: 20px;
    }

    .school-intro .intro-text,
    .school-facilities .intro-text,
    .beyond .intro-text,
    .special-needs .intro-text {
        font-size: 0.98rem;
    }

    .needs-grid,
    .beyond-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
    }

    .beyond-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .campus-grid {
        gap: 50px;
    }

    .campus-img {
        height: 180px;
    }

    .needs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .school-facilities .facility-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .school-facilities .facility-card {
        border-radius: 14px;
        font-size: 0.85rem;
        padding: 18px 12px;
    }

    .school-facilities .facility-card i {
        display: block;
        margin: 0 0 8px;
        font-size: 1.4rem;
    }
}

/* ===== GALLERY RESPONSIVE REFINEMENT ===== */
@media (max-width: 768px) {
    .gallery-section {
        padding: 20px 15px 60px;
    }

    .gallery-section .container {
        width: 100%;
        padding: 0;
    }

    .gallery-intro {
        padding: 55px 20px 30px;
    }

    .gallery-intro .container {
        width: 100%;
        padding: 0;
    }

    .lightbox {
        padding: 60px 15px;
    }

    .lightbox img {
        max-width: 100%;
        max-height: 70vh;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 15px 12px 50px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item {
        border-radius: 10px;
    }

    .gallery-hover i {
        font-size: 1.5rem;
    }

    .filter-btn {
        font-size: 0.75rem;
        padding: 7px 13px;
    }

    .lightbox {
        padding: 55px 10px;
    }

    .lightbox img {
        max-height: 65vh;
        border-radius: 8px;
    }

    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }

    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }

    .lightbox-close {
        top: 12px;
        right: 15px;
        font-size: 1.8rem;
    }

    .lightbox-caption {
        font-size: 0.8rem;
        bottom: 12px;
        max-width: 90%;
    }
}