html, body {
    overflow-x: hidden; /* Completely disables horizontal scrolling */
    width: 100%;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Main Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #002147;
    padding: 15px 5%;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Left Side Layout */
.header-left {
    display: flex;
    align-items: center;
    gap: 30px; 
}

/* --- FIX FOR LOGO AND TEXT --- */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo and text */
    text-decoration: none !important; /* Kills the blue underline */
}

.school-logo {
    height: 70px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.school-logo:hover {
    transform: scale(1.05);
}

.logo-text {
    color: white !important; /* Forces the text to stay white */
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap; /* Prevents text from dropping to a second line */
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.social-links a:hover {
    background-color: #facc15;
    border-color: #facc15;
    color: #002147;
}

/* Desktop Menu Styling */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

/* Yellow color for hover and active state */
.nav-links li a:hover, 
.nav-links li a.active {
    color: #facc15; 
}

/* Contact Button */
.btn-contact {
    background-color: #facc15;
    color: #002147 !important;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
}

.btn-contact:hover {
    background-color: #fff;
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ==================================================== */
/* MOBILE RESPONSIVE CSS (Screens smaller than 900px)   */
/* ==================================================== */
@media (max-width: 900px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left {
        width: 100%;
        justify-content: space-between;
        padding-right: 50px; /* Safe zone for the hamburger menu */
    }

    .school-logo {
        height: 55px; /* Slightly smaller logo for phones */
    }
    
    .logo-text {
        font-size: 18px; /* Slightly smaller text for phones */
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 25px; /* Aligned with the icons */
        right: 5%;
    }

    .nav-links {
        display: none; 
        flex-direction: column; 
        width: 100%;
        background-color: #002147;
        text-align: center;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 15px 0;
        width: 100%;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
}
/* ==================================================== */
/* PREMIUM FOOTER STYLING                               */
/* ==================================================== */

.site-footer {
    background-color: #001833; /* Deep navy blue */
    color: #ffffff;
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr; /* Allocates a bit more room to the brand and contact sections */
    gap: 50px;
    padding: 60px 5%;
}

/* Column 1: Brand & Socials */
.footer-logo {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.footer-desc {
    color: #a0aec0; /* Soft grey-blue text */
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 25px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%; /* Perfect circles */
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background-color: #facc15; /* VDF Yellow */
    color: #001833;
    transform: translateY(-5px); /* Bounces up slightly */
    box-shadow: 0 5px 15px rgba(250, 204, 21, 0.3);
}

/* Column Headers */
.footer-heading {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 40px;
    background-color: #facc15; 
}

/* Column 2: Links */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-links a i {
    font-size: 12px;
    color: #facc15;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-links a:hover i {
    transform: translateX(5px); /* Arrow slides right on hover */
}

/* Column 3: Contact */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: #facc15;
    font-size: 18px;
    margin-top: 3px;
}

.contact-item p {
    color: #a0aec0;
    font-size: 15px;
    line-height: 1.5;
}

/* ==================================================== */
/* BOTTOM LEGAL & DEVELOPER BAR                         */
/* ==================================================== */

.footer-bottom {
    background-color: #000c1a; /* Pitch dark blue for the very bottom */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    font-size: 14px;
    color: #718096;
    flex-wrap: wrap; /* Allows stacking on smaller screens */
    gap: 15px;
}

/* Legal Links */
.legal-links a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

.divider {
    margin: 0 10px;
    color: #4a5568;
}

/* Adyficoo Branding */
.developer-credit {
    font-size: 14px;
}

.adyficoo-link {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.adyficoo-link:hover {
    color: #facc15;
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.6); /* Makes your brand glow */
}

/* ==================================================== */
/* FOOTER MOBILE RESPONSIVE                             */
/* ==================================================== */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stacks all 3 columns vertically */
        gap: 40px;
        text-align: center; /* Centers everything on mobile */
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%); /* Centers the yellow underline */
    }

    .footer-socials, .contact-item, .footer-links a {
        justify-content: center; /* Centers the flex items */
    }

    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}
/* ==================================================== */
/* FLOATING CONTACT BUTTONS                             */
/* ==================================================== */

.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between the two buttons */
    z-index: 9999; /* Ensures they stay on top of EVERYTHING */
}

.float-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Makes them perfect circles */
    color: white;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Adds a drop shadow for depth */
    transition: all 0.3s ease;
}

/* WhatsApp Styling */
.float-btn.whatsapp {
    background-color: #25D366; /* Official WhatsApp Green */
    /* Adds a continuous pulsing animation */
    animation: pulse-green 2s infinite; 
}

/* Call Styling */
.float-btn.call {
    background-color: #007bff; /* Professional Blue */
}

/* Hover Effects */
.float-btn:hover {
    transform: scale(1.1); /* Button slightly grows when hovered */
    color: white;
}

/* The Pulsing Animation Keyframes */
@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        right: 20px;
    }
    
    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px; /* Slightly smaller icons for phones */
    }
}
/* ==================================================== */
/* HERO SLIDER STYLING                                  */
/* ==================================================== */

.hero-slider-section {
    width: 100%;
    height: 80vh; /* Takes up 80% of the screen height */
    position: relative;
    background-color: #001833;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Individual Slide Setup */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.8s ease-in-out; /* Smooth fade effect */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

/* The Active Slide */
.slide.active {
    opacity: 1;
    z-index: 2;
}

/* Text Content Inside Slide */
.slide-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
    transform: translateY(30px); /* Starts slightly lower */
    transition: transform 0.8s ease-in-out;
}

.slide.active .slide-content {
    transform: translateY(0); /* Glides up when active */
}

.slide-content h2 {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    color: #ffffff;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 35px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    color: #e2e8f0;
}

/* Premium Slider Button */
.slide-btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: #facc15; /* VDF Yellow */
    color: #001833; /* Dark Navy text */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(250, 204, 21, 0.4);
}

.slide-btn:hover {
    background-color: #ffffff;
    color: #001833;
    transform: translateY(-3px);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
    border-radius: 5px;
}

.slider-arrow:hover {
    background-color: #facc15;
    color: #001833;
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active, .dot:hover {
    background-color: #facc15;
    transform: scale(1.3);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 60vh; /* Slightly shorter on mobile */
    }
    
    .slide-content h2 { font-size: 32px; }
    .slide-content p { font-size: 16px; }
    
    .slider-arrow { padding: 10px 15px; font-size: 18px; }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}
/* ==================================================== */
/* HOMEPAGE CONTENT STYLING                             */
/* ==================================================== */

/* Reusable Container to keep content centered and constrained */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Reusable Section Titles */
.section-title {
    font-size: 36px;
    color: #001833;
    margin-bottom: 20px;
    font-weight: bold;
}

.section-title span {
    color: #facc15; /* Highlights part of the title in VDF Yellow */
}

.section-subtitle {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* Primary Button Style */
.btn-primary {
    display: inline-block;
    background-color: #001833;
    color: #ffffff;
    padding: 12px 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #facc15;
    color: #001833;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 24, 51, 0.2);
}

/* --- Welcome Section --- */
.welcome-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.welcome-image {
    position: relative;
}

.welcome-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    position: relative;
    z-index: 2;
}

/* Cool colored box behind the image for a 3D effect */
.image-accent {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #facc15;
    border-radius: 10px;
    z-index: 1;
}

/* --- Highlights Section --- */
.highlights-section {
    padding: 80px 0;
    background-color: #f8f9fa; /* Very soft grey to separate from the white welcome section */
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.highlight-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border-bottom: 4px solid transparent; /* Prep for hover effect */
}

.highlight-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #facc15;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 45px;
    color: #001833;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.highlight-card:hover .card-icon {
    color: #facc15;
}

.highlight-card h3 {
    font-size: 22px;
    color: #001833;
    margin-bottom: 15px;
}

.highlight-card p {
    color: #666;
    line-height: 1.6;
}

/* ==================================================== */
/* MOBILE RESPONSIVE ADJUSTMENTS                        */
/* ==================================================== */
@media (max-width: 900px) {
    .welcome-grid {
        grid-template-columns: 1fr; /* Stacks text on top of image */
        gap: 40px;
    }
    
    .image-accent {
        right: -10px; /* Adjusts the 3D box for smaller screens */
    }
    
    .section-title {
        font-size: 30px;
    }
}
/* ==================================================== */
/* INNER PAGE STYLING (About, Contact, etc.)            */
/* ==================================================== */

.inner-banner {
    /* Dark blue overlay on top of a nice library/books image */
    background: linear-gradient(rgba(0, 24, 51, 0.8), rgba(0, 24, 51, 0.8)), url('../assets/images/abouttop.jpg') center/cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.banner-content h1 {
    font-size: 40px;
    color: #facc15; /* VDF Yellow */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content p {
    font-size: 18px;
    color: #e2e8f0;
}

/* --- About Story Section --- */
.about-story-section {
    padding: 20px 5% 60px 5%;
}

.story-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Text takes up slightly more room than the image */
    gap: 50px;
    align-items: center;
}

.story-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.story-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Mobile Adjustments for Inner Pages */
@media (max-width: 900px) {
    .inner-banner {
        height: 250px;
    }
    
    .banner-content h1 {
        font-size: 32px;
    }

    .story-grid {
        grid-template-columns: 1fr; /* Stacks image under text on phones */
        gap: 30px;
    }
}
/* Keeps the Contact Us button looking sharp when active */
.btn-contact.active {
    background-color: #ffffff !important;
    color: #002147 !important;
    border: 2px solid #facc15;
}
/* ==================================================== */
/* CORE OBJECTIVES INTERACTIVE GRID                     */
/* ==================================================== */

.objectives-section {
    padding: 60px 0;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.objective-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 350px;
}

/* Icon Styling */
.obj-icon {
    font-size: 30px;
    color: #333;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

/* Heading Styling (Red as per image) */
.objective-card h3 {
    color: #e31e24; /* Professional Red */
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Description Text */
.objective-card p {
    color: #718096;
    font-size: 15px;
    line-height: 1.7;
}

/* --- INTERACTIVE HOVER EFFECTS --- */

.objective-card:hover {
    transform: translateY(-12px); /* Lifts the card */
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: #facc15; /* Changes border to VDF Yellow */
}

.objective-card:hover .obj-icon {
    transform: rotateY(180deg); /* Icon flips horizontally on hover */
    color: #facc15;
}

/* Ensure the last card (Equality) looks good since it has more text */
.objective-card:last-child {
    grid-column: span 1; 
}

@media (max-width: 768px) {
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .objective-card {
        min-height: auto;
    }
}
/* ==================================================== */
/* MESSAGES PAGE STYLING                                */
/* ==================================================== */

.messages-section {
    padding: 20px 5% 80px 5%;
}

.message-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 50px;
    transition: transform 0.3s ease;
}

.message-card:hover {
    transform: translateY(-5px);
}

/* Reverses the layout for the second card */
.message-card.reverse {
    flex-direction: row-reverse;
}

.message-img {
    flex: 1;
    min-width: 300px;
}

.message-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without stretching */
    min-height: 350px;
}

.message-content {
    flex: 1.5;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.message-content h2 {
    font-size: 32px;
    color: #001833;
    margin-bottom: 5px;
}

.message-content h2 span {
    color: #facc15;
}

.leader-name {
    font-size: 20px;
    color: #e31e24; /* VDF Red */
    margin-bottom: 25px;
    font-weight: 600;
}

.message-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Giant quotation mark in the background */
.message-content p::before {
    content: '\201C';
    font-size: 80px;
    color: rgba(250, 204, 21, 0.2); /* Very faint yellow */
    position: absolute;
    top: -30px;
    left: -20px;
    font-family: Georgia, serif;
    z-index: -1;
}

/* Mobile Responsive Layout */
@media (max-width: 900px) {
    .message-card, .message-card.reverse {
        flex-direction: column; /* Stacks everything vertically on phones */
        text-align: center;
    }
    
    .message-img img {
        min-height: 250px;
    }

    .message-content {
        padding: 40px 20px;
    }

    .message-content p::before {
        left: 50%;
        transform: translateX(-50%); /* Centers the quote mark on mobile */
        top: -20px;
    }
}
/* ==================================================== */
/* DIRECTOR'S MESSAGE - RIGHT ALIGNED SQUARE IMAGE      */
/* ==================================================== */

.director-card {
    display: flex;
    align-items: center; /* This perfectly centers the image vertically relative to the text */
    padding: 40px;
    gap: 50px; /* Creates clean spacing between the text and the image */
}

.director-text {
    flex: 1.5; /* Gives the text slightly more width */
    padding: 0; /* Overrides default padding to rely on the gap */
}

.director-img-container {
    flex: 1;
    display: flex;
    justify-content: center; /* Centers the image inside its own column */
}

.large-square-img {
    width: 350px; /* Much larger than before */
    height: 350px; /* Exact same height to maintain a perfect square */
    object-fit: cover; /* Prevents the image from stretching */
    border-radius: 10px; /* Smooth, modern corners */
    border: 5px solid #facc15; /* VDF Yellow border */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15); /* Deep 3D shadow */
}

/* Mobile Responsive Layout */
@media (max-width: 900px) {
    .director-card {
        flex-direction: column-reverse; /* Stacks image on top of text on mobile */
        text-align: center;
        padding: 30px 20px;
    }
    
    .large-square-img {
        width: 280px; /* Slightly scaled down for phone screens */
        height: 280px;
        margin-bottom: 30px; /* Space between image and text on mobile */
    }
}
/* ==================================================== */
/* INFRASTRUCTURE & FACILITIES STYLING                  */
/* ==================================================== */

.facilities-section {
    padding: 20px 5% 80px 5%;
}

.facility-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

/* Reverses the order for every even row to create the zigzag */
.facility-row.reverse {
    flex-direction: row-reverse;
}

.facility-image {
    flex: 1;
    position: relative;
}

/* Adds a cool offset yellow box behind the images */
.facility-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid #facc15;
    border-radius: 10px;
    z-index: -1;
    transition: all 0.3s ease;
}

.facility-row.reverse .facility-image::before {
    left: 20px; /* Swaps the box to the right side for reversed rows */
}

.facility-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.facility-text {
    flex: 1;
}

.fac-icon {
    font-size: 40px;
    color: #e31e24; /* VDF Red */
    margin-bottom: 20px;
}

.facility-text h3 {
    font-size: 32px;
    color: #001833;
    margin-bottom: 20px;
    line-height: 1.3;
}

.facility-text h3 span {
    color: #facc15;
}

.facility-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* Mobile Responsive Adjustments */
@media (max-width: 900px) {
    .facility-row, .facility-row.reverse {
        flex-direction: column; /* Stacks image on top of text on phones */
        gap: 30px;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .facility-image::before {
        display: none; /* Hides the 3D box on mobile to save space */
    }

    .facility-image img {
        height: 250px;
    }
}
/* ==================================================== */
/* ADDITIONAL FACILITIES (Tutorial & Medical)           */
/* ==================================================== */

.extra-fac-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.extra-fac-card {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #facc15;
    transition: transform 0.3s ease;
}

.extra-fac-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.extra-fac-icon {
    font-size: 35px;
    color: #e31e24; /* VDF Red */
    margin-bottom: 20px;
}

.extra-fac-card h3 {
    font-size: 24px;
    color: #001833;
    margin-bottom: 15px;
}

.extra-fac-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .extra-fac-grid {
        grid-template-columns: 1fr; /* Stacks the two cards on phones */
    }
}
/* ==================================================== */
/* TOP NOTICE TICKER                                    */
/* ==================================================== */

.top-notice-bar {
    background-color: #e31e24; /* VDF Red to grab attention */
    color: white;
    display: flex;
    align-items: center;
    height: 45px;
    overflow: hidden;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 2px solid #001833;
}

.notice-label {
    background-color: #001833; /* Dark Blue */
    color: #facc15; /* VDF Yellow */
    padding: 0 25px;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    box-shadow: 4px 0 10px rgba(0,0,0,0.3);
    white-space: nowrap;
    text-transform: uppercase;
}

.notice-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 100%; /* The magic trick: starts the text exactly at the right edge */
    animation: tickerScroll 55s linear infinite; /* Slowed down from 30s to 55s for easy reading */
    user-select: none; 
    -webkit-user-select: none;
}

/* ONLY pauses the scrolling on devices with a mouse (Desktop/Laptops) */
@media (hover: hover) and (pointer: fine) {
    .ticker-content:hover {
        animation-play-state: paused; 
        cursor: default;
    }
}

.ticker-content span {
    margin-right: 80px; 
}

.ticker-content span::after {
    content: '|'; 
    margin-left: 80px;
    color: rgba(255,255,255,0.4);
}

/* The new, gapless animation */
@keyframes tickerScroll {
    0% { transform: translateX(0); } 
    100% { transform: translateX(-100%); } /* Instantly loops the moment the text finishes */
}

/* A subtle ringing animation for the bell icon */
@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(10deg); }
    20%, 40%, 60%, 80% { transform: rotate(-10deg); }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .top-notice-bar {
        height: 35px;
        font-size: 13px;
    }
    .notice-label {
        font-size: 12px;
        padding: 0 15px;
    }
}
/* ==================================================== */
/* PUBLIC GALLERY STYLING                               */
/* ==================================================== */

.public-gallery-grid {
    display: grid;
    /* This creates a highly responsive grid that auto-adjusts based on screen size */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 30px;
}

.gallery-photo-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-photo-card:hover {
    transform: translateY(-8px); /* Lifts the card up slightly */
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.photo-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Prevents images from stretching weirdly */
    transition: transform 0.5s ease;
}

/* Adds a slow, subtle zoom effect to the picture when hovering over the card */
.gallery-photo-card:hover .photo-wrapper img {
    transform: scale(1.1); 
}

.photo-caption {
    padding: 20px;
    font-size: 16px;
    color: #001833;
    font-weight: bold;
    text-align: center;
    border-top: 3px solid #facc15; /* VDF Yellow accent line */
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .public-gallery-grid {
        grid-template-columns: 1fr; /* Stacks images in a single column on phones */
    }
    .photo-wrapper {
        height: 220px;
    }
}
/* CONTACT PAGE OPTIMIZATION */
.contact-main-wrapper {
    width: 100%;
    padding: 60px 0;
    background: #f9f9f9;
}

.contact-flex-container {
    max-width: 1100px; /* Limits width so it doesn't stretch too far on wide laptops */
    margin: 0 auto;    /* Centers the entire container on the laptop screen */
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers items horizontally */
    align-items: flex-start;
    gap: 40px;
    padding: 0 20px;
}

.contact-form-card {
    flex: 1;
    min-width: 320px;
    max-width: 500px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-info-column {
    flex: 1;
    min-width: 320px;
    max-width: 450px; /* Keeps the map and blue box consistent width */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blue-info-box {
    background: #001833;
    color: white;
    padding: 30px;
    border-radius: 10px;
}

.blue-info-box p {
    margin-bottom: 15px;
    font-size: 16px;
}

.blue-info-box i {
    color: #facc15;
    margin-right: 10px;
}

.map-container {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .contact-flex-container {
        flex-direction: column;
        align-items: center; /* Centers both columns on mobile */
    }

    .contact-form-card, .contact-info-column {
        width: 100%;
        max-width: 100%;
    }
    
    .contact-info-column h2 {
        text-align: center;
    }
}

/* Form Helper Classes */
.form-group { margin-bottom: 15px; text-align: left; }
.form-group label { display: block; font-weight: bold; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; box-sizing: border-box; }
.btn-send { background: #e31e24; color: white; padding: 15px; border: none; border-radius: 5px; font-weight: bold; width: 100%; cursor: pointer; font-size: 16px; }
/* TESTIMONIALS STYLING */
.testimonials-section {
    padding: 80px 5%;
    background-color: #f8fafc;
    text-align: center;
}

.testimonial-container {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.testimonial-card {
    display: none; /* Hidden by default */
    animation: fadeIn 0.5s ease;
}

.testimonial-card.active {
    display: block; /* Only active card shows */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quote-icon {
    font-size: 40px;
    color: #facc15; /* VDF Yellow */
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
}

.parent-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #e31e24; /* VDF Red border */
    margin-bottom: 15px;
    object-fit: cover;
}

.parent-info h4 {
    margin: 0;
    color: #001833;
    font-size: 20px;
}

.parent-info span {
    color: #64748b;
    font-size: 14px;
}

/* Controls */
.testimonial-controls {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.testimonial-controls button {
    background: #001833;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.testimonial-controls button:hover {
    background: #e31e24;
}
/* ABOUT/HERO SECTION STYLING */
.about-hero-section {
    width: 100%;
    min-height: 85vh; /* Covers most of the screen height */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect: looks premium when scrolling */
    position: relative;
    display: flex;
    align-items: center; /* Centers text panel vertically */
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Subtle overall dark overlay */
    z-index: 1;
}

.about-hero-section .section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 5%;
    position: relative;
    z-index: 2; /* Sits on top of the overlay */
    display: flex;
    justify-content: flex-end; /* Pushes the text panel to the RIGHT */
}

.hero-text-panel {
    flex: 0 0 500px; /* Panel width: 500px */
    max-width: 100%;
    background: rgba(0, 24, 51, 0.9); /* Dark Blue, mostly solid (Glassmorphism look) */
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    text-align: left;
    border-top: 5px solid #e31e24; /* VDF Red accent line */
}

.hero-text-panel h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    text-transform: uppercase;
    color: #facc15; /* Yellow/Gold sub-heading */
    letter-spacing: 2px;
}

.hero-text-panel h1 {
    margin: 0;
    font-size: 38px;
    color: white;
    font-weight: bold;
}

.heading-divider {
    width: 60px;
    height: 4px;
    background-color: #e31e24; /* VDF Red divider */
    margin: 20px 0 30px 0;
}

.hero-text-panel p {
    font-size: 16px;
    line-height: 1.8;
    color: #cbd5e1; /* Light grey text for better readability */
    margin-bottom: 40px;
}

.btn-primary-vdf {
    display: inline-block;
    background-color: #e31e24; /* VDF Red button */
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary-vdf:hover {
    background-color: #facc15; /* Hover to yellow */
    color: #001833;
    transform: translateY(-3px);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .about-hero-section {
        min-height: 60vh;
        background-attachment: scroll; /* Disables fixed on mobile for performance */
    }
    .about-hero-section .section-container {
        justify-content: center; /* Centers the panel on small screens */
    }
    .hero-text-panel {
        flex: 1; /* Allows it to take full width */
        padding: 40px 30px;
        text-align: center;
    }
    .hero-text-panel h1 { font-size: 30px; }
    .heading-divider { margin: 20px auto 30px auto; }
}
/* ==================================================== */
/* BEAUTIFUL SUCCESS MESSAGE UI                         */
/* ==================================================== */
.beautiful-success-msg {
    text-align: center;
    padding: 50px 30px;
    background: #f0fdf4; /* Very light green background */
    border: 2px dashed #22c55e; /* Green dashed border */
    border-radius: 15px;
    animation: popIn 0.5s ease;
}

.beautiful-success-msg i {
    font-size: 60px;
    color: #22c55e; /* Vibrant Green */
    margin-bottom: 15px;
}

.beautiful-success-msg h3 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: #166534; /* Dark Green text */
}

.beautiful-success-msg p {
    font-size: 16px;
    color: #15803d;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-back {
    display: inline-block;
    background: #166534;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn-back:hover {
    background: #15803d;
    transform: translateY(-2px);
}

@keyframes popIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
/* ==================================================== */
/* CUSTOM FORM VALIDATION STYLES                        */
/* ==================================================== */

.custom-error-text {
    color: #e31e24; /* VDF Red */
    font-size: 13px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
    min-height: 18px; /* Keeps the form from jumping around */
}

/* This class gets added by JS when there is an error */
.input-error-state {
    border: 2px solid #e31e24 !important;
    background-color: #fef2f2;
    animation: shakeError 0.4s ease-in-out;
}

/* The Shake Animation */
@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
}
