/* ======================
   Base Styles & Variables
   ====================== */
:root {
    /* Colors */
    --primary-color: #10506e;
    --secondary-color: #f8c537;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a2a3a;
    --light-bg: #f9f9f9;
    
    /* Spacing & Sizing */
    --border-radius: 4px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    
    /* Typography */
    --font-body: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ======================
   Utility Classes
   ====================== */
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--light-text);
    border-color: var(--light-text);
}

.btn-outline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.btn-outline:hover {
    background: var(--light-text);
    color: var(--primary-color);
}




/* ======================
   Main Header Styles
   ====================== */

   
.main-header {
    
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(30deg, #770202, #7e1202);
    box-shadow: 0 2px 5px #E8C9CF;

}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 16px; /* More balanced spacing between logo and text */
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e6e6fa; /* Soft pastel lavender color for sophistication */
    transition: color 0.3s ease;
}

.logo:hover,
.logo:focus {
    color: #9f8fe0; /* Graceful purple accent on hover/focus */
}

.logo img {
    height: 60px; /* Slightly larger for premium feel */
    border-radius: 10px; /* Rounded corners for subtle elegance */
    box-shadow: 0 4px 8px rgba(80, 80, 120, 0.45); /* Soft shadow around logo */
    margin-right: 16px; /* Increased margin for better separation */
    transition: box-shadow 0.3s ease;
}

.logo img:hover,
.logo img:focus {
    box-shadow: 0 6px 14px rgba(80, 80, 130, 0.7); /* Intensified shadow on interaction */
}


.school-name h1 {
    font-family: 'Playfair Display', serif; /* Elegant serif font */
    font-size: 26px; /* Slightly larger for refined prominence */
    font-weight: 600; /* Slightly lighter for smoothness */
    color: #ffffff; /* Delicate pastel lavender for sophistication */
    margin-bottom: 8px; /* Increased spacing for better balance */
    line-height: 1.15;
    letter-spacing: 0.04em; /* Subtle letter spacing for elegance */
    text-shadow: 0 1px 3px rgba(40, 40, 80, 0.7); /* Gentle shadow for depth */
}


.school-name p {
    font-size: 11px;
    color: #ecec069e;
}

/* ======================
   Navigation Styles
   ====================== */
/* Desktop Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 12px; /* Moderate spacing for elegance */
    padding: 0;
    margin: 0;
}

.main-nav a {
    color: #ffffff; /* Soft light gray for calm base color */
    text-decoration: none;
    font-weight: 200; /* Medium weight for subtlety */
    padding: 10px 16px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.25s ease, background-color 0.25s ease;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #E8C9CF; /* Muted lavender accent on hover */
    background-color: rgba(168, 159, 201, 0.12); /* Very light tinted background */
}

.main-nav a.active {
    color: #e6e6fa; /* Delicate pastel lavender for active state */
    background-color: rgba(230, 230, 250, 0.15); /* Soft, barely-there background */
    box-shadow: none; /* Remove bold shadows for subtlety */
}

.main-nav a i {
    font-size: 13px;
    color: inherit; /* Keeps icon color consistent with link text */
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 100%;
    transform: translateX(-50%) translateY(-10px);
    background-color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 1px;
    padding: 10px 0;
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    z-index: 1000;
    border: 1px solid #0c0472;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--light-text);
}

.dropdown-menu li {
    padding: 0;
    position: relative;
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
}

.dropdown-menu a:hover {
    background-color: #A25524;
    color: #fefefe;
    padding-left: 24px;
}

.dropdown-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: #0c0472;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* Mobile Navigation */
.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: #0c0472;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: left center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(-2px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(2px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: 100vh;
    background-color: #f3f3a9;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
    overflow-y: auto;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-container {
    padding: 80px 20px 30px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav a i {
    width: 20px;
    text-align: center;
}

.mobile-dropdown-menu {
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown-menu.active {
    max-height: 500px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ======================
   Hero Section Styles
   ====================== */
.hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    min-height: 500px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #121118; /* Deep dark background for elegance */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #e1e0e8; /* Soft off-white text */
}

.slider-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 17, 24, 0.6); /* Darker translucent overlay */
    z-index: 1;
}

.slider-item.active {
    opacity: 1;
    z-index: 2;
}

.slider-content {
    position: relative;
    z-index: 3;
    max-width: 850px;
    width: 85%;
    padding: 0 5%;
    transform: translateY(0);
    opacity: 1;
}

.slider-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: #d3cce3; /* Elegant muted lavender */
    line-height: 1.25;
    padding: 0 10px;
    text-shadow: 0 3px 15px rgba(20, 18, 30, 0.7);
}

.slider-content p {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin-bottom: 2rem;
    color: #bbb9c7; /* Soft pastel grayish tone */
    line-height: 1.6;
    padding: 0 10px;
    text-shadow: 0 2px 7px rgba(20, 18, 30, 0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
}

.slider-prev, .slider-next {
    background: rgba(211, 204, 227, 0.25);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    color: #6a5d8f; /* Muted purple-gray */
    font-size: 18px;
}

.slider-prev:hover,
.slider-next:hover,
.slider-prev:focus,
.slider-next:focus {
    background: rgba(211, 204, 227, 0.45);
    transform: scale(1.1);
    outline: none;
    color: #8f81c1;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(211, 204, 227, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.slider-dots .dot.active {
    background: #d3cce3;
    transform: scale(1.3);
}

/* Hero CTA Container */
.hero-cta-container {
    position: absolute;
    bottom: 90px;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 30px;
    font-size: clamp(1rem, 3vw, 1.2rem);
    min-width: 160px;
    text-align: center;
    background-color: #7a6fc3;
    border: none;
    border-radius: 6px;
    color: #f0efe6;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover,
.btn:focus {
    background-color: #917fcf;
    outline: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #060114;
    z-index: 10;
    animation: bounce 2.2s infinite;
    display: block;
    font-size: 22px;
    user-select: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}


/* ======================
   Responsive Styles
   ====================== */
@media (max-width: 992px) 
{
    /* Dropdown adjustments */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        border: none;
        min-width: 100%;
        display: none;
    }

    .dropdown-menu.show {
        display: block;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    /* Hero adjustments */
    .slider-content h2 {
        font-size: 2.5rem;
    }
    
    .slider-content p {
        font-size: 1.2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Top bar adjustments */
    .top-bar .container {
        justify-content: center;
        gap: 10px;
    }
    
    .contact-info {
        justify-content: center;
    }
    
    /* Header adjustments */
    .main-nav ul {
        gap: 5px;
    }
    
    .main-nav a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .school-name h1 {
        font-size: 18px;
    }
}

@media (max-width: 576px) 

{
    /* Logo adjustments */
    .logo {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .logo img {
        margin-right: 0;
        margin-bottom: 5px;
        height: 45px;
    }
    
    .school-name h1 {
        font-size: 16px;
    }
    
    .school-name p {
        font-size: 10px;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 500px;
    }
    
    .slider-content h2 {
        font-size: 2rem;
    }
    
    .slider-content p {
        font-size: 1rem;
    }
    
    .slider-controls {
        bottom: 20px;
    }
    
    .hero-cta-container {
        bottom: 80px;
    }
    
    /* Contact info adjustments */
    .contact-info {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .contact-info span {
        white-space: normal;
        text-align: center;
        font-size: 12px;
    }
}
                   
/* About Section Styling */
.about-home {
    background-color: #f4f5f8; /* Softer, subtle off-white */
    position: relative;
    overflow: hidden;
}

.about-home:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    opacity: 0.04; /* Very faint overlay for depth */
    z-index: 0;
}

.section-title {
    position: relative;
    margin-bottom: 55px;
    z-index: 1;
    text-align: center;
}

.section-title .subtitle {
    display: inline-block;
    font-size: 1.1rem;
    color: #0c0472; /* Muted blue-gray */
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.4px; /* Slightly increased for elegance */
    font-family: 'Poppins', sans-serif;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #273746; /* Deep slate gray */
    margin-bottom: 24px;
    position: relative;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.title-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    gap: 18px;
}

.title-divider .left-line,
.title-divider .right-line {
    width: 55px;
    height: 2px;
    background: linear-gradient(to right, transparent,  #A25524);
}

.title-divider .right-line {
    background: linear-gradient(to left, transparent,  #A25524
);
}

.title-divider .icon {
    color: #0c0472; /* Soft muted blue-gray */
    font-size: 1.7rem;
    opacity: 0.85;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 45px;
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-text {
    flex: 1;
    position: relative;
    font-family: 'Poppins', sans-serif;
    color: #0c0472;
}

.year-badge {
    position: absolute;
    top: -28px;
    left: -28px;
    background: #fff;
    border-radius: 50%;
    width: 105px;
    height: 105px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border: 5px solid rgba(136, 153, 179, 0.2);
}

.year-badge span {
    font-size: 1rem;
    color: #95a5a6; /* Soft gray */
}

.year-badge strong {
    font-size: 2.2rem;
    color: #0c0472; /* Muted steel blue */
    font-weight: 700;
    letter-spacing: 0.03em;
}

.about-text h3 {
    font-size: 2.1rem;
    color: #273746;
    margin-bottom: 24px;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.about-text p {
    margin-bottom: 22px;
    color: #0c0472; /* calm medium gray */
    line-height: 1.75;
    font-weight: 400;
}

.about-text p.highlight {
    font-size: 1.15rem;
    color: #0c0472;
    position: relative;
    padding-left: 22px;
    border-left: 4px solid #0c0472;
    font-style: italic;
}

.about-features {
    margin: 30px 0;
}

.about-features .feature {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.about-features .feature i {
    color: #0c0472;
    margin-right: 12px;
    font-size: 1.2rem;
}

.about-features .feature span {
    color: #37474f;
    font-weight: 500;
}

.value-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 30px 0;
    padding: 0;
    list-style: none;
}

.value-list li {
    display: flex;
    align-items: center;
    color: #37474f;
    font-weight: 500;
}

.value-list li i {
    color: #0c0472;
    margin-right: 10px;
    font-size: 1rem;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 35px;
    justify-content: flex-start;
}

.btn-primary {
    background: #0c0472;
    color: white;
    padding: 13px 32px;
    font-weight: 600;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    transition: background-color 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #0c0472;
    outline: none;
}

.btn-outline {
    background: transparent;
    color: #0c0472;
    border: 2px solid #0c0472;
    padding: 12px 32px;
    font-weight: 600;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.btn-outline:hover,
.btn-outline:focus {
    background: #0c0472;
    color: white;
    outline: none;
}

.about-image {
    flex: 1;
    position: relative;
}

.image-frame {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(39, 55, 70, 0.1);
    position: relative;
    transition: box-shadow 0.5s ease;
}

.image-frame:hover {
    box-shadow: 0 35px 60px rgba(39, 55, 70, 0.2);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(159, 167, 209, 0.644), transparent);
    text-align: center;
    color: #fefefe;
    font-family: 'Poppins', sans-serif;
}

.tour-btn {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.95);
    color: #273746;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tour-btn:hover,
.tour-btn:focus {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    outline: none;
}

.tour-btn i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.awards-banner {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 18px;
    border-radius: 12px;
    margin-top: 32px;
    box-shadow: 0 10px 30px rgba(39, 55, 70, 0.07);
}

.award-item {
    display: flex;
    align-items: center;
    color: #273746;
    font-family: 'Poppins', sans-serif;
}

.award-item i {
    color: #0c0472;
    margin-right: 12px;
    font-size: 1.3rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content {
        gap: 28px;
    }

    .value-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }

    .year-badge {
        position: static;
        margin-bottom: 30px;
    }

    .action-buttons {
        justify-content: center;
    }

    .about-image {
        margin-top: 46px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 2.1rem;
    }

    .action-buttons {
        flex-direction: column;
    }

    .awards-banner {
        flex-direction: column;
        gap: 12px;
    }
}


/* Features Section - Modern Style */
   .features {
    background-color: #f4f5f8; /* Matching soft off-white background */
    padding: 80px 0;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #273746; /* Deep slate gray */
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 160px;
    height: 4px;
    background: linear-gradient(90deg, #0c0472, #bdb378); /* muted steel blue to soft gold */
    border-radius: 3px;
    opacity: 0.85;
}

.section-subtitle {
    color: #0c0472; /* Muted blue-gray */
    font-size: 1.15rem;
    max-width: 660px;
    margin: 0 auto 55px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 32px;
    max-width: 1140px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 38px 35px;
    box-shadow: 0 15px 35px rgba(39, 55, 70, 0.08); /* softer shadow from About section */
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(113, 141, 191, 0.1) 0%, rgba(111, 130, 174, 0.06) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: 14px;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 45px rgba(39, 55, 70, 0.16);
}

.feature-card:hover:before {
    opacity: 1;
}

.feature-icon {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
}

.feature-icon i {
    font-size: 34px;
    color: #0c0472; /* muted steel blue from About section palette */
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.icon-shape {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(113, 141, 191, 0.12);
    border-radius: 50%;
    top: 0;
    left: 0;
    z-index: 1;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #273746;
    margin-bottom: 18px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.feature-card p {
    color: #4a535e; /* calm medium gray from About section */
    margin-bottom: 24px;
    line-height: 1.65;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: #0c0472; /* muted steel blue */
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: color 0.3s ease;
    cursor: pointer;
}

.feature-link i {
    margin-left: 9px;
    font-size: 15px;
    transition: transform 0.3s ease;
    color: inherit;
}

.feature-link:hover {
    color: #0c0472; /* darker steel blue */
}

.feature-link:hover i {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .features {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }

    .feature-card {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}


/* Sections */
    .section {
    padding: 60px 0;
    }

    .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    }




   /* Responsive Adjustments */
    @media (min-width: 768px) {
    .testimonial-card {
        min-width: calc(50% - 15px);
    }
    }

   @media (min-width: 992px) {
    .testimonial-card {
        min-width: calc(33.33% - 20px);
    }
   }

   
   /* Footer Styles */
   .site-footer {
    position: relative;
    background-color: #7c0d02; /* Deep dark green */
    color: #ffffff;
    font-size: 15px;
    line-height: 1.7;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.01em;
    box-shadow: 0 -5px 20px rgba(6,55,55,0.13);
}



/* Main Footer */
.footer-main {
    padding: 66px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.footer-col {
    margin-bottom: 20px;
}

.footer-title {
    font-size: 21px;
    color: #ffffff;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 9px;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 2.5px;
    background: linear-gradient(90deg, #ffffff, #ffffff, #ffffff);
    border-radius: 2.5px;
    opacity: 0.85;
}

/* About Column */
.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    margin-right: 13px;
    width: auto;
    border-radius: 7px;
    box-shadow: 0 3px 12px rgba(232,201,207,0.14);
    background: #E8C9CF;
}

.school-info h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.016em;
}

.school-info p {
    font-size: 13.5px;
    color: #E8C9CF;
    opacity: 0.85;
}

.about-text {
    color: #ffffff;
    margin-bottom: 26px;
    font-size: 15px;
    opacity: 0.93;
}

.footer-newsletter h4 {
    color: #ffffff;
    margin-bottom: 14px;
    font-size: 16px;
}

.newsletter-form {
    display: flex;
    border-radius: 7px;
    overflow: hidden;
    max-width: 100%;
    background: #A25524;
    box-shadow: 0 2px 8px rgba(232,201,207, 0.08);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 14px;
    border: none;
    outline: none;
    font-size: 14.5px;
    color: #063737;
    background: #ffffff;
    transition: background 0.3s;
}

.newsletter-form input:focus {
    background: #fff;
}

.newsletter-form button {
    background: #00005a;
    color: #ffffff;
    border: none;
    padding: 0 22px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.newsletter-form button:hover {
    background: #0e01ca;
    color: #fff;
}

/* Links Columns */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    display: flex;
    align-items: center;
    position: relative;
    text-decoration: none;
    background-image: linear-gradient(95deg, hwb(0 100% 0%) 0%, #fcfbfa 65%, #f9f9f7 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: 
        color 0.3s cubic-bezier(.55,.06,.68,.19),
        background-size 0.4s cubic-bezier(.55,.06,.68,.19),
        transform 0.3s cubic-bezier(.55,.06,.68,.19);
}
.footer-links a:hover, .footer-links a:focus {
    color: #0c0472;
    background-size: 30% 1px;
    transform: translateX(8px) scale(1.06);
    outline: none;
}

.footer-links i {
    margin-right: 8px;
    font-size: 13px;
    color: #ffffff;
    transition: color 0.3s;
}

/* Contact Info */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.contact-info i {
    color: #0f0241;
    font-size: 18px;
    margin-right: 13px;
    margin-top: 3px;
    flex-shrink: 0;
    transition: color 0.3s;
}

.contact-info span {
    flex: 1;
    color: #ffffff;
}
.contact-info a {
    color: #ffffff;
    transition: color 0.3s, text-decoration 0.3s;
    display: block;
    margin-bottom: 4px;
    text-decoration: none;
    background-image: linear-gradient(92deg, #A25524, #0c0472 100%);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
}
.contact-info a:hover, .contact-info a:focus {
    color: #fcfcfa;
    background-size: 100% 1px;
    text-decoration: underline;
    outline: none;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(106, 2, 2, 0.85);
    padding: 16px 0;
    border-top: 1px solid rgba(232,201,207,0.10);
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.copyright {
    color: #ffffff;
    font-size: 13px;
    margin-bottom: 7px;
    letter-spacing: 0.02em;
    opacity: 0.85;
}



/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: #06014c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: 
        opacity 0.3s,
        visibility 0.3s,
        background 0.4s cubic-bezier(.55,.06,.68,.19),
        transform 0.35s cubic-bezier(.55,.06,.68,.19),
        box-shadow 0.35s cubic-bezier(.55,.06,.68,.19);
    box-shadow: 0 10px 20px rgba(162,85,36,0.13);
    text-decoration: none;
}
.back-to-top.active {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: linear-gradient(110deg, #0c0c08, #0c0b0b 95%);
    transform: translateY(-7px) scale(1.08);
    box-shadow: 0 16px 28px rgba(128,128,0,0.19);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
    }
    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer-main {
        padding: 38px 0 18px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-col {
        margin-bottom: 18px;
    }
    .footer-title {
        margin-bottom: 15px;
    }
    .footer-logo {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo img {
        margin-right: 0;
        margin-bottom: 13px;
    }
    .about-text {
        text-align: center;
    }
    .footer-newsletter {
        max-width: 310px;
        margin: 0 auto;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 17px;
        right: 17px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .contact-info li {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-info i {
        margin-bottom: 4px;
        margin-right: 0;
    }
    .footer-bottom-content {
        flex-direction: column;
    }
    .footer-payments {
        flex-direction: column;
        gap: 4px;
    }
}


/* Import Playfair Display from Google Fonts */
@import url('https://fonts.googleapis.com/css?family=Playfair+Display:400,700&display=swap');

/* All headings (h1-h6) and subheadings */
h1, h2, h3, h4, h5, h6,
.section-header .section-subtitle {
    color: #f9f7f7;
    font-family: 'Playfair Display', serif;
    
}

/* All paragraphs */
p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #06014c;
}

/* Infrastructure Intro */
.infra-intro {
    padding: 60px 0;
    text-align: center;
}

.infra-intro h2 {
    font-size: 2rem;
    color: #273746;
    
}

.infra-intro p {
    max-width: 800px;
    margin: 0 auto 30px;
    color: #555;
    
}

/* Facilities Grid */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 30px 0 60px;
}

.facility-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-10px);
}

.facility-img {
    height: 250px;
    overflow: hidden;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-card:hover .facility-img img {
    transform: scale(1.05);
}

.facility-content {
    padding: 25px;
}

.facility-content h3 {
    color: #1a3e72;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.facility-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    display: inline-block;
    color: #06014c;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #06014c;
}

.read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background-color: #f0f4f9;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: #1a3e72;
    margin-bottom: 15px;
}

.section-header p {
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 200px;
    overflow: hidden;
    border-radius: 5px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #A25524, #A25524);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #f0f0ea;
}

.stat-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 70px 0;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 50px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
        
        /* Header Styles */
        .page-header {
            background: linear-gradient(#858508,  #c3c375), url('images/facilities-banner.jpg');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        
        .page-header h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
        }
        
        .breadcrumb {
            display: flex;
            justify-content: center;
            list-style: none;
        }
        
        .breadcrumb li {
            margin: 0 5px;
        }
        
        .breadcrumb li a {
            color: #fff;
            text-decoration: none;
        }
        
        .breadcrumb li:after {
            content: '/';
            margin-left: 10px;
            color: #ccc;
        }
        
        .breadcrumb li:last-child:after {
            content: '';
        }
        
        /* Main Content */
        .facilities-container {
            display: flex;
            flex-wrap: wrap;
            padding: 60px 0;
        }
        
        /* Accordion Menu */
        .facilities-menu {
            width: 100%;
            max-width: 300px;
            margin-right: 30px;
        }
        
        .accordion-item {
            margin-bottom: 5px;
            border-radius: 5px;
            overflow: hidden;
        }
        
        .accordion-header {
            background-color: #06014c;
            color: white;
            padding: 15px 20px;
            cursor: pointer;
            font-weight: 600;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s ease;
        }
        
        .accordion-header:hover {
            background-color: #063737;
        }
        
        .accordion-header.active {
            background-color: #A25524;
        }
        
        .accordion-header i {
            transition: transform 0.3s ease;
        }
        
        .accordion-header.active i {
            transform: rotate(180deg);
        }
        
        .accordion-content {
            background-color: white;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .accordion-content ul {
            list-style: none;
        }
        
        .accordion-content li a {
            display: block;
            padding: 12px 20px;
            color: #555;
            text-decoration: none;
            border-left: 3px solid transparent;
            transition: all 0.3s ease;
        }
        
        .accordion-content li a:hover,
        .accordion-content li a.active {
            background-color: #f0f4f9;
            border-left: 3px solid #A25524;
            color: #1a3e72;
        }
        
        /* Facilities Content */
        .facilities-content {
            flex: 1;
            min-width: 300px;
        }
        
        .facility-section {
            display: none;
            background: white;
            border-radius: 8px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .facility-section.active {
            display: block;
            animation: fadeIn 0.5s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .facility-section h2 {
            color: #1a3e72;
            margin-bottom: 20px;
            font-size: 1.8rem;
            border-bottom: 2px solid #f0f4f9;
            padding-bottom: 10px;
        }
        
        .facility-section h3 {
            color: #f8c537;
            margin: 25px 0 15px;
            font-size: 1.4rem;
        }
        
        .facility-section p {
            color: #555;
            margin-bottom: 15px;
        }
        
        .facility-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin: 25px 0;
        }
        
        .facility-img {
            height: 180px;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        }
        
        .facility-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .facility-img:hover img {
            transform: scale(1.05);
        }
        
        .highlight-box {
            background-color: #f0f4f9;
            border-left: 4px solid #1a3e72;
            padding: 20px;
            margin: 20px 0;
            border-radius: 0 5px 5px 0;
        }
        
        .feature-list {
            margin: 20px 0;
            padding-left: 20px;
        }
        
        .feature-list li {
            margin-bottom: 10px;
            color: #555;
        }
        
        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .facilities-container {
                flex-direction: column;
            }
            
            .facilities-menu {
                max-width: 100%;
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .page-header {
                padding: 70px 0;
            }
            
            .page-header h1 {
                font-size: 2rem;
            }
        }
        
        @media (max-width: 480px) {
            .page-header {
                padding: 50px 0;
            }
            
            .facility-gallery {
                grid-template-columns: 1fr;
            }
        }


        /* Add these styles to your existing CSS */

.facility-section h3 {
    color: #e74c3c;
    margin: 25px 0 15px;
    font-size: 1.4rem;
    position: relative;
    padding-left: 15px;
}

.facility-section h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 5px;
    background-color: #1a3e72;
}

.highlight-box {
    background-color: #f0f4f9;
    border-left: 4px solid #1a3e72;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.feature-list {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: none;
}

.feature-list li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #063737;
    position: absolute;
    left: 0;
    top: 2px;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.facility-img {
    height: 180px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-img:hover img {
    transform: scale(1.05);
}

/* Add these styles to your existing CSS */

.facility-section h3 {
    color: #063737;
    margin: 25px 0 15px;
    font-size: 1.4rem;
    position: relative;
    padding-left: 15px;
}

.facility-section h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 5px;
    background-color: #1a3e72;
}

.highlight-box {
    background-color: #f0f4f9;
    border-left: 4px solid #1a3e72;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

.feature-list {
    margin: 20px 0;
    padding-left: 20px;
    list-style-type: none;
}

.feature-list li {
    margin-bottom: 10px;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.feature-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #063737;
    position: absolute;
    left: 0;
    top: 2px;
}

.facility-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.facility-img {
    height: 180px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
}

.facility-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.facility-img:hover img {
    transform: scale(1.05);
}


/* Add these styles to your existing CSS */

/* Sports-specific styling */
.facility-section .sports-badge {
    display: inline-block;
    background-color: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 10px;
    vertical-align: middle;
}

.sports-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.sports-feature-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #1a3e72;
}

.sports-feature-card h4 {
    color: #1a3e72;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.sports-feature-card h4 i {
    margin-right: 10px;
    color: #e74c3c;
}

.sports-feature-card ul {
    list-style: none;
    padding-left: 0;
}

.sports-feature-card li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.sports-feature-card li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.8rem;
}

/* Responsive adjustments for sports sections */
@media (max-width: 768px) {
    .sports-feature-grid {
        grid-template-columns: 1fr;
    }
    
    .facility-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .facility-gallery {
        grid-template-columns: 1fr;
    }
}

/* Infrastructure-specific styling */
.infra-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.infra-feature-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    border-left: 4px solid #1a3e72;
    transition: transform 0.3s ease;
}

.infra-feature-card:hover {
    transform: translateY(-5px);
}

.infra-feature-card h4 {
    color: #1a3e72;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-size: 1.1rem;
}

.infra-feature-card h4 i {
    margin-right: 10px;
    color: #e74c3c;
    font-size: 1.2rem;
}

.infra-feature-card ul {
    list-style: none;
    padding-left: 0;
}

.infra-feature-card li {
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.infra-feature-card li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.8rem;
}

/* Responsive adjustments for infrastructure sections */
@media (max-width: 768px) {
    .infra-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Special Facilities Styling */
.special-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.special-feature-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1a3e72;
}

.special-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.special-icon {
    font-size: 2.5rem;
    color: #e74c3c;
    margin-bottom: 15px;
}

.special-feature-card h4 {
    color: #1a3e72;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.special-feature-card ul {
    list-style: none;
    padding-left: 0;
    text-align: left;
}

.special-feature-card li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.special-feature-card li:before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #e74c3c;
    position: absolute;
    left: 0;
    top: 3px;
    font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .special-feature-grid {
        grid-template-columns: 1fr;
    }
    
    .special-feature-card {
        padding: 20px;
    }
}


.container {
    max-width: 900px;
    margin: auto;
    padding: 0 12px;
}
.syllabus-container {
    background: white;
    border-radius: 18px;
    box-shadow: 0 2px 32px rgba(44, 90, 160, 0.07);
    padding: 32px 28px;
    margin-top: 20px;
}
.syllabus-intro h2 {
    color: #1455a5;
    font-size: 2.1rem;
    margin-bottom: 10px;
}
.syllabus-intro p {
    color: #4a5675;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.board-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.board-tab {
    background: #eaf3ff;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    border-radius: 18px;
    cursor: pointer;
    font-weight: 600;
    color: #063737;
    transition: background-color 0.2s, color 0.2s;
}
.board-tab.active,
.board-tab:hover {
    background: #063737;
    color: #fff;
}
.board-syllabus {
    display: none;
}
.board-syllabus.active {
    display: block;
}
.syllabus-accordion {
    margin-top: 16px;
}
.class-accordion {
    border-radius: 14px;
    border: 1px solid #ffffff;
    margin-bottom: 20px;
    background: #f7fbff;
    overflow: hidden;
    box-shadow: 0 1px 8px #0c0472;
}
.class-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 18px 26px;
    background: linear-gradient(90deg, #eef3fa 0%, #e4ecfa 100%);
    color: #063737;
    font-weight: 600;
    font-size: 1.12rem;
    border-bottom: 1px solid #eaf0fa;
    transition: background-color 0.2s;
}
.class-header:hover {
    background-color: #e1edff;
}
.class-header i {
    transition: transform 0.3s ease;
}
.class-header.open i {
    transform: rotate(180deg);
}
.class-content {
    display: none;
    padding: 20px 26px 16px;
    animation: fadeIn 0.3s ease forwards;
}
.class-content.active {
    display: block;
}
.syllabus-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 1px 16px rgba(44, 90, 160, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 8px;
}
.syllabus-table th,
.syllabus-table td {
    text-align: left;
    padding: 12px 16px;
    border-bottom: 1px solid #dde6f7;
    font-size: 1rem;
}
.syllabus-table th {
    background: #f7fafe;
    color: #1d4489;
    font-weight: 700;
}
.syllabus-table td {
    color: #2063a1;
}
.syllabus-table tr:last-child td {
    border-bottom: none;
}
.download-btn {
    display: inline-block;
    background: #eaf3ff;
    color: #063737;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 0.96rem;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
.download-btn:hover {
    background: #063737;
    color: white;
}

/* Optional fade in animation */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* Responsive */
@media (max-width: 800px) {
    .syllabus-container {
        padding: 20px 15px;
    }
    .board-tabs {
        gap: 12px;
    }
    .class-header {
        padding: 14px 18px;
        font-size: 1rem;
    }
    .class-content {
        padding: 15px 18px 12px;
    }
    .syllabus-table th, .syllabus-table td {
        padding: 8px 10px;
        font-size: 0.93rem;
    }
    
}

        .container {
    max-width: 960px;
    margin: auto;
    padding: 0 14px;
}
.booklist-container {
    background: #fff;
    border-radius: 1px;
    box-shadow: 0 2px 30px rgba(137, 137, 137, 0.07);
    padding: 28px 24px;
    margin-top: 20px;
}
.booklist-intro h2 {
    font-size: 2.2rem;
    color: #1b3b87;
    margin-bottom: 8px;
    font-weight: 700;
}
.booklist-intro p {
    color: #4a5c7a;
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.year-selector {
    margin-bottom: 24px;
}
.year-selector label {
    font-weight: 600;
    margin-right: 12px;
    font-size: 1rem;
    color: #2a4365;
}
.year-selector select {
    padding: 6px 12px;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #b5c3db;
}
.class-tabs {
    display: flex;
    gap: 18px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.class-tab {
    padding: 10px 24px;
    background-color: #ecf2ff;
    border: none;
    color: #063737;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}
.class-tab.active,
.class-tab:hover {
    background-color: #063737;
    color: #fff;
}
.booklist-table-container {
    display: none;
}
.booklist-table-container.active {
    display: block;
}
.booklist-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    box-shadow: 0 1px 18px #606161;
    border-radius: 10px;
    overflow: hidden;
}
.booklist-table th,
.booklist-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #dbe2f1;
    text-align: left;
    font-size: 1rem;
    color: #000606;
}
.booklist-table th {
    background-color: #f2f5ff;
    font-weight: 700;
}
.book-title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.book-author {
    font-size: 0.9rem;
    color: #0c0472;
}
.booklist-notes {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid #d0d6ee;
}
.booklist-notes h3 {
    color: #1b3b87;
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}
.booklist-notes ul {
    list-style-type: disc;
    margin-left: 24px;
    color: #4a5c7a;
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 700px) {
    .class-tabs {
        gap: 8px;
    }
    .class-tab {
        padding: 8px 14px;
        font-size: 0.9rem;
    }
    .booklist-table th,
    .booklist-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
}

        
:root {
            --primary: #3b82f6;
            --primary-dark: #2563eb;
            --secondary: #f43f5e;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
        }

        

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Hero Section */
        .gallery-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 6rem 0 4rem;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .gallery-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><circle cx="25" cy="25" r="15" fill="white"/><circle cx="75" cy="75" r="15" fill="white"/><circle cx="75" cy="25" r="10" fill="white"/><circle cx="25" cy="75" r="10" fill="white"/></svg>');
            background-size: 200px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .gallery-hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        .gallery-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        /* Filter Controls */
        .gallery-controls {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 2rem 0;
            padding: 0 1rem;
        }

        .filter-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 999px;
            background: white;
            color: var(--dark);
            border: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

        .filter-btn:hover {
            background: var(--gray-light);
        }

        .filter-btn.active {
            background: #063737;
            color: white;
        }

        /* Masonry Grid */
        .gallery-grid {
            columns: 4;
            column-gap: 1.5rem;
            padding: 1rem;
        }

        .gallery-item {
            break-inside: avoid;
            margin-bottom: 1.5rem;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            background: white;
        }

        .gallery-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }

        .gallery-img {
            width: 100%;
            height: auto;
            display: block;
            transition: transform 0.5s ease;
        }

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

        .gallery-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, #010000, transparent);
            color: white;
            padding: 1.5rem 1rem 1rem;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .gallery-item:hover .gallery-caption {
            opacity: 1;
        }

        .gallery-caption h3 {
            font-size: 1.1rem;
            margin-bottom: 0.5rem;
        }

        .gallery-caption p {
            font-size: 0.9rem;
            opacity: 0.9;
        }

        .gallery-badge {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background:  #0c0472;
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 2px;
            font-size: 0.8rem;
            font-weight: 600;
        }

        /* Lightbox Modal */
        .lightbox {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .lightbox.active {
            opacity: 1;
            pointer-events: all;
        }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
        }

        .lightbox-img {
            max-width: 100%;
            max-height: 80vh;
            border-radius: 8px;
            display: block;
        }

        .lightbox-caption {
            color: white;
            text-align: center;
            margin-top: 1rem;
        }

        .lightbox-close {
            position: absolute;
            top: -40px;
            right: 0;
            color: white;
            font-size: 2rem;
            cursor: pointer;
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 1rem;
            transform: translateY(-50%);
        }

        .lightbox-nav-btn {
            background:  #0c0472;
            color: white;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .lightbox-nav-btn:hover {
            background:  #0c0472;
        }

        /* Responsive Adjustments */
        @media (max-width: 1024px) {
            .gallery-grid {
                columns: 3;
            }
        }

        @media (max-width: 768px) {
            .gallery-hero h1 {
                font-size: 2.5rem;
            }

            .gallery-hero p {
                font-size: 1rem;
            }

            .gallery-grid {
                columns: 2;
            }
        }

        @media (max-width: 480px) {
            .gallery-hero {
                padding: 4rem 0 2rem;
            }

            .gallery-hero h1 {
                font-size: 2rem;
            }

            .gallery-grid {
                columns: 1;
            }

            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.9rem;
            }
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .gallery-item {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .gallery-item:nth-child(1) { animation-delay: 0.1s; }
        .gallery-item:nth-child(2) { animation-delay: 0.2s; }
        .gallery-item:nth-child(3) { animation-delay: 0.3s; }
        .gallery-item:nth-child(4) { animation-delay: 0.4s; }
        .gallery-item:nth-child(5) { animation-delay: 0.5s; }
        .gallery-item:nth-child(6) { animation-delay: 0.6s; }
        .gallery-item:nth-child(7) { animation-delay: 0.7s; }
        .gallery-item:nth-child(8) { animation-delay: 0.8s; }
        .gallery-item:nth-child(9) { animation-delay: 0.9s; }
        .gallery-item:nth-child(10) { animation-delay: 1s; }

:root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --secondary: #ec4899;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
        }

        

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        
        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .video-card {
            animation: fadeIn 0.5s ease forwards;
            opacity: 0;
        }

        .video-card:nth-child(1) { animation-delay: 0.1s; }
        .video-card:nth-child(2) { animation-delay: 0.2s; }
        .video-card:nth-child(3) { animation-delay: 0.3s; }
        .video-card:nth-child(4) { animation-delay: 0.4s; }
        .video-card:nth-child(5) { animation-delay: 0.5s; }
        .video-card:nth-child(6) { animation-delay: 0.6s; }


:root {
            --primary: #4f46e5;
            --primary-dark: #3730a3;
            --secondary: #ec4899;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
        }

       

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Hero Section */
        .media-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 6rem 0 4rem;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .media-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><rect x="10" y="10" width="20" height="20" fill="white" rx="2"/><rect x="40" y="40" width="20" height="20" fill="white" rx="2"/><rect x="70" y="70" width="20" height="20" fill="white" rx="2"/></svg>');
            background-size: 100px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .media-hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        .media-hero p {
            font-size: 1.5rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        /* Media Tabs */
        .media-tabs {
            display: flex;
            justify-content: center;
            margin: 2rem 0;
            border-bottom: 1px solid var(--gray-light);
        }

        .media-tab {
            font-size: 15px;
            padding: 1rem 2rem;
            background: transparent;
            border: none;
            cursor: pointer;
            font-weight: 600;
            color: var(--gray);
            border-bottom: 3px solid transparent;
            transition: all 0.3s ease;
            position: relative;
        }

        .media-tab:hover {
            color: #f0b40d;
        }

        .media-tab.active {
            color: black;
            border-bottom: 3px solid #f0b40d;
        }

        /* Media Sections */
        .media-section {
            display: none;
            padding: 2rem 0;
            animation: fadeIn 0.5s ease;
        }

        .media-section.active {
            display: block;
        }

        .section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .section-title {
            font-size: 1.8rem;
            color: var(--dark);
        }

        .view-all {
            color: #1a3e72;;
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Photo Grid */
        .photo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .photo-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }

        .photo-card:hover {
            transform: translateY(-5px);
        }

        .photo-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .photo-card:hover .photo-img {
            transform: scale(1.05);
        }

        .photo-caption {
            padding: 1rem;
        }

        .photo-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .photo-date {
            color: var(--gray);
            font-size: 0.9rem;
        }

        /* Video Carousel */
        .video-carousel {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 1.5rem;
        }

        .video-item {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        }

        .video-thumbnail {
            position: relative;
            height: 180px;
            background: var(--dark);
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            background: rgba(0,0,0,0.7);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .video-info {
            padding: 1rem;
        }

        .video-title {
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .video-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.9rem;
        }

        .container {
    max-width: 960px;
    margin: auto;
    padding: 0 14px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1b3b87;
}
.view-all {
    font-weight: 600;
    color: #254a8d;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}
.view-all:hover {
    color: #d44261;
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.news-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(34, 59, 143, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-8px);
}
.news-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.news-content {
    padding: 20px 18px 24px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.news-date {
    font-size: 0.9rem;
    color: #7c8bb3;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3568;
    margin: 0;
}
.news-excerpt {
    font-size: 1rem;
    line-height: 1.5;
    color: #4a5c7a;
    flex-grow: 1;
}
.read-more {
    font-weight: 600;
    font-size: 1rem;
    color: #0c0472;
    text-decoration: none;
    align-self: start;
    transition: color 0.3s;
}
.read-more i {
    margin-left: 6px;
}
.read-more:hover {
    color: #A25524;
}

@media (max-width: 600px) {
    .news-img {
        height: 140px;
    }
}
:root {
            --primary: #A25524;
            --primary-dark: #063737;
            --secondary: #0c0472;
            --dark: #1e293b;
            --light: #f8fafc;
            --gray: #94a3b8;
            --gray-light: #e2e8f0;
        }

        

        body {
            background-color: #f1f5f9;
            color: var(--dark);
            line-height: 1.6;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Hero Section */
        .newsletter-hero {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            color: white;
            padding: 6rem 0 4rem;
            position: relative;
            overflow: hidden;
            text-align: center;
        }

        .newsletter-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none" opacity="0.1"><path d="M20,20 L80,20 L80,80 L20,80 Z" fill="white" stroke="white" stroke-width="2"/><path d="M30,30 L70,30 L70,70 L30,70 Z" fill="none" stroke="white" stroke-width="2"/></svg>');
            background-size: 100px;
        }

        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
        }

        .newsletter-hero h1 {
            font-size: 3.2rem;
            font-weight: 800;
            margin-bottom: 1rem;
            letter-spacing: -0.025em;
        }

        .newsletter-hero p {
            font-size: 1.2rem;
            opacity: 0.9;
            margin-bottom: 2rem;
        }

        /* Newsletter Content */
        .newsletter-container {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            margin: 3rem 0;
        }

        .subscription-form {
            flex: 1;
            min-width: 350px;
            background: white;
            border-radius: 12px;
            padding: 2.5rem;
            box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
        }

        .form-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark);
        }

        .form-input {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--gray-light);
            border-radius: 8px;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
        }

        .form-select {
            width: 100%;
            padding: 0.8rem 1rem;
            border: 1px solid var(--gray-light);
            border-radius: 8px;
            font-size: 1rem;
            background: white;
            appearance: none;
            background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
            background-repeat: no-repeat;
            background-position: right 1rem center;
            background-size: 1em;
        }

        .form-checkbox {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .form-checkbox input {
            width: 1.2rem;
            height: 1.2rem;
            accent-color: var(--primary);
        }

        .form-checkbox label {
            font-size: 0.9rem;
            color: var(--gray);
        }

        .submit-btn {
            width: 100%;
            padding: 1rem;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .submit-btn:hover {
            background: var(--primary-dark);
        }

        .newsletter-archive {
            flex: 1;
            min-width: 350px;
        }

        .archive-title {
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }

        .archive-list {
            list-style: none;
        }

        .archive-item {
            background: white;
            border-radius: 8px;
            padding: 1.5rem;
            margin-bottom: 1rem;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
            transition: transform 0.3s ease;
        }

        .archive-item:hover {
            transform: translateY(-3px);
        }

        .archive-date {
            color: var(--secondary);
            font-size: 0.9rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

        .archive-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--dark);
        }

        .archive-excerpt {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 1rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .archive-link {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .newsletter-hero h1 {
                font-size: 2.5rem;
            }

            .newsletter-hero p {
                font-size: 1rem;
            }

            .subscription-form,
            .newsletter-archive {
                min-width: 100%;
            }
        }

        @media (max-width: 480px) {
            .newsletter-hero {
                padding: 4rem 0 2rem;
            }

            .newsletter-hero h1 {
                font-size: 2rem;
            }

            .form-title,
            .archive-title {
                font-size: 1.5rem;
            }
        }

      
/* Basic Styles */
.hero {
    background: #4a6fa5;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.admission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.success {
    background: #d4edda;
    color: #155724;
}

.error {
    background: #f8d7da;
    color: #721c24;
}

.form-group {
    margin-bottom: 20px;
}

.btn {
    background:  #0c0472;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .admission-content {
        grid-template-columns: 1fr;
    }
}
/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* Base Styles */
:root {
    --primary-color: #4a6fa5;
    --primary-dark: #3a5a80;
    --secondary-color: #166088;
    --accent-color: #4fc3f7;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.hero {
    position: relative;
   
    background: linear-gradient( #fafa02, rgb(254, 254, 254)), 
                url('https://source.unsplash.com/1600x900/?school,classroom') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(253, 254, 255) 0%, rgba(22, 96, 136, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    animation: bounce 2s infinite;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-scroll i {
    font-size: 1.5rem;
    margin-top: 5px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 20px;
    border-radius: 2px;
}

.section-description {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Admission Content */
.admission-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Info Card */
.admission-info-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    height: fit-content;
}

.info-card-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

.info-card-header i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.info-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.info-card-body {
    padding: 25px;
}

.info-card-body p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.info-highlight {
    margin-bottom: 25px;
}

.info-highlight i.fas {
    color: var#A25524;
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: inline-block;
}

.info-highlight h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.info-highlight ul {
    list-style: none;
}

.info-highlight ul li {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.info-highlight ul li i.fas {
    font-size: 0.9rem;
    color: #A25524;
    margin-right: 10px;
    margin-top: 4px;
}

/* Form Card */
.admission-form-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.form-card-header {
    background: var(--secondary-color);
    color: white;
    padding: 20px;
}

.form-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.form-card-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.required {
    color: var(--error-color);
    font-weight: bold;
}

.form-card-body {
    padding: 25px;
}

/* Alerts */
.alert {
    padding: 15px;
    margin-bottom: 25px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: flex-start;
    animation: fadeIn 0.5s ease;
}

.alert i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-left: 4px solid var(--success-color);
    color: var(--success-color);
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.1);
    border-left: 4px solid var(--error-color);
    color: var(--error-color);
}

/* Form Styles */
.elegant-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.elegant-form .form-group {
    margin-bottom: 20px;
}

.elegant-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1rem;
}

.input-with-icon input,
.input-with-icon textarea,
.select-with-icon select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #f8f9fa;
}

.input-with-icon textarea {
    min-height: 100px;
    resize: vertical;
}

.select-with-icon {
    position: relative;
}

.select-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-color);
    font-size: 1rem;
    pointer-events: none;
}

.select-with-icon select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1rem;
}

.input-with-icon input:focus,
.input-with-icon textarea:focus,
.select-with-icon select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 111, 165, 0.2);
    background-color: white;
}

/* Radio Buttons */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.radio-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-checkmark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #f8f9fa;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    transition: var(--transition);
}

.radio-option:hover .radio-checkmark {
    border-color: var(--primary-color);
}

.radio-option input:checked ~ .radio-checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.radio-checkmark:after {
    content: "";
    position: absolute;
    display: none;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

.radio-option input:checked ~ .radio-checkmark:after {
    display: block;
}

/* Submit Button */
.form-submit {
    margin-top: 30px;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #063737 0%, #0c0472 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: #0c0472;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(8, 9, 10, 0.3);
}

.submit-btn i {
    margin-left: 10px;
    font-size: 1rem;
    transition: #0c0472;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(10, 11, 11, 0.4);
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.testimonial-content i {
    position: absolute;
    top: -10px;
    left: -10px;
    font-size: 2rem;
    color: rgba(74, 111, 165, 0.1);
    z-index: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 2;
    font-style: italic;
    color: var(--dark-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-15px) translateX(-50%);
    }
    60% {
        transform: translateY(-7px) translateX(-50%);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .admission-content {
        grid-template-columns: 1fr;
    }
    
    .elegant-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
  /*  .hero {
        height: 60vh;
        min-height: 400px;
    } */
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 50vh;
        min-height: 350px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .form-card-body, .info-card-body {
        padding: 20px;
    }
    
    .submit-btn {
        width: 100%;
    }

}



/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--white);
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}


/* ===== Responsive Styles ===== */
@media (max-width: 1024px) {
    .intro-grid {
        gap: 30px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1.1rem;
    }
    
    .intro-grid {
        flex-direction: column;
    }
    
    .experience-badge {
        top: -15px;
        right: -15px;
        width: 100px;
        height: 100px;
    }
    
    .years {
        font-size: 1.5rem;
    }
    
    .label {
        font-size: 0.7rem;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
        text-align: left;
        left: 0;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .principal-card {
        flex-direction: column;
    }
    
    .principal-image {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .about-hero {
        padding: 100px 0 80px;
    }
    
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Contact Page Specific Styles */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.contact-info-card, .contact-form-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.info-card-header {
    background: #063737;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-card-header i {
    font-size: 24px;
}

.info-card-body {
    padding: 25px;
}

.contact-method {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-icon {
    background: #0c0472;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
    color: #2c3e50;
}

.contact-details p {
    margin: 3px 0;
    color: #7f8c8d;
}



/* Form Styles */
.contact-form-card {
    height: 100%;
}

.form-card-header {
    background: #063737;

    color: #fff;
    padding: 20px;
}

.form-card-body {
    padding: 25px;
}

/* Map Section */
.map-section {
    margin-top: 50px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* FAQ Section */
.faq-section {
    background: #f9f9f9;
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: 18px 25px;
    text-align: left;
    background: #fff;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f1f1;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #fff;
}

.faq-answer.show {
    padding: 20px 25px;
    max-height: 500px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-method {
        flex-direction: column;
    }
}
.mobile-social {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px; /* space between icons */
}

.mobile-social a {
  font-size: 1.5rem; /* adjust size as needed */
  color: #333;       /* default color */
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-social a:hover {
  color:  #A25524;    /* highlight color on hover */
}


/* Filter Controls */
.filter-controls .btn-primary {
  background-color: #063737;
  border-color: #063737;
}

.filter-controls .btn-primary:hover,
.filter-controls .btn-primary:focus,
.filter-controls .btn-primary:active,
.filter-controls .btn-primary.active {
  background-color: #054d4d;  /* slightly darker shade for hover */
  border-color: #054d4d;
}

.filter-controls .btn-outline-primary {
  color: #063737;
  border-color: #063737;
}

.filter-controls .btn-outline-primary:hover {
  background-color: #063737;
  color: white;
  border-color: #063737;
}

