/* Global Styles */
:root {
    --primary: #006633;
    --secondary: #FFCC00;
    --accent: #CC0000;
    --light: #F5F5F5;
    --dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark);
}

.container {
    width: 90%;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #004d26;
    transform: translateY(-2px);
}

/* Header Styles */
.top-bar {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-bar i {
    margin-right: 5px;
    color: var(--secondary);
}

.quick-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
}

.quick-links a:hover {
    color: var(--secondary);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    max-width:130px;
}

.school-name h1 {
    font-size: 22px;
    color: var(--primary);
}

.school-name p {
    font-size: 14px;
    color: var(--dark);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu a.active, .nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a.active:after, .nav-menu a:hover:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}


.slide-content {
    position: relative;
    z-index: 2;
}

.slide-content {
    max-width: 600px;
}

.slide-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-dot.active {
    background: var(--secondary);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: rgba(0,0,0,0.8);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.quick-info-boxes {
    display: flex;
    justify-content: start;
    gap: 14px;
    position: absolute;
    left: 33px;
    bottom: 11px;
    width: 100%;
}

.info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-10px);
}

.info-box i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-box h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

/* About Section */
.about-section {
    padding: 50px 0 60px;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Principal's Message Homepage Section */
.principal-message-homepage {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #004d26 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.principal-message-homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="principal-pattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23principal-pattern)"/></svg>');
    pointer-events: none;
}

.principal-message-homepage .section-title {
    position: relative;
    z-index: 2;
}

.principal-message-homepage .section-title h2,
.principal-message-homepage .section-title p {
    color: white;
}

.principal-message-homepage .section-title h2:after {
    background: var(--secondary);
}

.message-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.message-quote i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.message-quote p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-style: italic;
    margin: 0;
    color: white;
}

.principal-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

.principal-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.principal-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.principal-image:hover {
    transform: translateY(-5px);
}

.principal-image img {
    width: 100%;
    height: 433px;
    object-fit: cover;
    display: block;
}

.principal-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
}

.principal-overlay h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.principal-overlay p {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
}

.principal-text {
}


.message-content {
    padding-left: 0px;
    margin-top: 25px;
}

.message-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-align: justify;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.principal-images-flex {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    width: 100%;
    max-width: 100%;
}

.principal-message-img {
    flex: 1;
    width: 50%;
    max-width: 50%;
    height: 160px !important;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.principal-message-img:hover {
    transform: scale(1.05);
}

.principal-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.principal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 18px 15px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-align: center;
}

.principal-btn:hover {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 204, 0, 0.3);
}

.principal-btn i {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.principal-btn span {
    font-weight: 600;
    font-size: 13px;
    line-height: 1.2;
}

/* Modern Objectives Section */
.modern-objectives {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
    position: relative;
    overflow: hidden;
}

.modern-objectives::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23006633" opacity="0.05"/><circle cx="75" cy="75" r="1" fill="%23006633" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (max-width: 767px) {
    .objectives-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        padding: 0 15px !important;
    }

    .objective-card {
        padding: 25px 15px !important;
        border-radius: 15px !important;
        min-height: auto !important;
    }

    .objective-card:nth-child(1),
    .objective-card:nth-child(2),
    .objective-card:nth-child(3),
    .objective-card:nth-child(4),
    .objective-card:nth-child(5) {
        min-height: auto !important;
        grid-column: 1 !important;
    }

    .objective-icon {
        width: 50px !important;
        height: 50px !important;
    }

    .objective-number {
        font-size: 36px !important;
    }

    .objective-content h3 {
        font-size: 1.1rem !important;
    }

    .objective-content p {
        font-size: 14px !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .objectives-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .objective-card:nth-child(1),
    .objective-card:nth-child(2),
    .objective-card:nth-child(3) {
        min-height: auto !important;
    }

    .objective-card {
        border-radius: 15px !important;
    }
}

.objective-card:nth-child(4) {
    /* Remove full-width styling - make it normal card like others */
    grid-column: auto;
    max-width: unset;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.objective-card:nth-child(4) .objective-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.objective-card:nth-child(4) .objective-content {
    flex: 1;
}

.objective-card:nth-child(4) .objective-visual {
    margin-top: 20px;
    text-align: center;
}


.objective-card {
    background: white;
    border-radius: 0;
    padding: 40px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 102, 51, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px;
}

.objective-card:nth-child(1),
.objective-card:nth-child(2),
.objective-card:nth-child(3) {
    min-height: 400px;
}

.objective-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}


.objective-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.objective-card:hover::before {
    transform: scaleX(1);
}

.objective-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 102, 51, 0.2);
    border-color: var(--primary);
}

.objective-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.objective-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), #004d26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0, 102, 51, 0.3);
    transition: all 0.3s ease;
}

.objective-card:hover .objective-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(0, 102, 51, 0.4);
}

.objective-number {
    font-size: 48px;
    font-weight: 900;
    color: rgba(0, 102, 51, 0.1);
    line-height: 1;
    transition: all 0.3s ease;
}

.objective-card:hover .objective-number {
    color: rgba(0, 102, 51, 0.2);
    transform: scale(1.1);
}

.objective-content h3 {
    color: var(--primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.objective-card:hover .objective-content h3 {
    color: #004d26;
}

.objective-content p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
}

.objective-highlight {
    margin-bottom: 20px;
}

.highlight-text {
    display: inline-block;
    background: linear-gradient(135deg, rgba(0, 102, 51, 0.1), rgba(255, 204, 0, 0.1));
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(0, 102, 51, 0.2);
    transition: all 0.3s ease;
}

.objective-card:hover .highlight-text {
    background: linear-gradient(135deg, var(--primary), #004d26);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
}

.objective-visual {
    text-align: center;
    margin-top: 20px;
}

.objective-visual img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.objective-card:hover .objective-visual img {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.2) contrast(1.2) saturate(1.4);
}


/* Journey Section */
.journey-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f5e8 100%);
}

.journey-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}

.journey-timeline {
    position: relative;
}

.journey-timeline::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), #90EE90);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    position: relative;
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), #004d26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 20px;
    z-index: 2;
    box-shadow: 0 3px 15px rgba(0, 102, 51, 0.3);
}

.timeline-content h4 {
    color: var(--primary);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

.journey-facilities h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.facility-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
}

.facility-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.facility-item span {
    display: block;
    font-weight: 600;
    color: #333;
}

/* Vision & Motto Section */
.vision-motto-section {
    padding: 80px 0;
    background: white;
}

.vision-motto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vision-card, .motto-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #fff 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 5px solid var(--primary);
}

.vision-card:hover, .motto-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-header i {
    font-size: 2rem;
    color: var(--primary);
    margin-right: 15px;
}

.card-header h3 {
    color: var(--primary);
    font-size: 1.5rem;
}

.vision-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
}

.highlight-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.highlight-item i {
    color: var(--primary);
    margin-right: 8px;
}

.motto-text h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-style: italic;
}

.motto-values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.value-tag {
    background: linear-gradient(135deg, var(--primary), #004d26);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Principal's Message Section */
.principal-message-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #004d26 100%);
    color: white;
}

.principal-message-section .section-title h2,
.principal-message-section .section-title p {
    color: white;
}

.message-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

.message-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.message-quote i {
    font-size: 2rem;
    opacity: 0.7;
}

.message-quote h3 {
    font-size: 1.4rem;
    line-height: 1.6;
    margin: 20px 0;
    font-weight: 400;
    font-style: italic;
}

.message-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.highlight-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.highlight-box:hover {
    transform: translateY(-5px);
}

.highlight-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #90EE90;
}

.highlight-box h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.highlight-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

.message-cta {
    margin-top: 40px;
}

.btn-primary {
    background: white;
    color: var(--primary);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for New Sections */
@media (max-width: 968px) {
    .journey-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .vision-motto-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .message-highlights {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .journey-section,
    .vision-motto-section,
    .principal-message-section {
        padding: 60px 0;
    }

    .vision-highlights {
        flex-direction: column;
    }

    .motto-values {
        justify-content: center;
    }

    .message-quote {
        padding: 25px;
    }

    .message-quote h3 {
        font-size: 1.2rem;
    }
}

/* Homepage Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, #004d26 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
    pointer-events: none;
}

.gallery-section .section-title {
    position: relative;
    z-index: 2;
}

.gallery-section .section-title h2,
.gallery-section .section-title p {
    color: white;
}

.gallery-section .section-title h2:after {
    background: var(--secondary);
}

.homepage-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
    position: relative;
    z-index: 2;
}

.gallery-album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.gallery-album-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.gallery-album-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-album-card:hover .gallery-album-cover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 102, 51, 0.3), rgba(0, 102, 51, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-album-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-album-count {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    width: fit-content;
    align-self: flex-end;
}

.gallery-view-btn {
    background: var(--secondary);
    color: var(--dark);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.gallery-view-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.gallery-album-info {
    padding: 25px;
    color: var(--dark);
}

.gallery-album-info h3 {
    color: var(--primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.gallery-album-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.view-all-gallery-btn {
    background: var(--secondary);
    color: var(--dark);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.view-all-gallery-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.no-gallery-content {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
}

.no-gallery-content i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.no-gallery-content h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* News & Events Section */
.news-events-section {
    padding: 80px 0;
    background: var(--light);
}

.news-events-tabs {
    display: flex;
    justify-content: center;
    margin: 40px 0;
    background: white;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 8px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.tab-btn:hover:not(.active) {
    color: var(--primary);
    background: rgba(0, 102, 51, 0.1);
}

.tab-content {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.tab-content.hidden {
    display: none;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.news-card.featured {
    grid-row: span 2;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.news-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.9);
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    color: var(--primary);
    font-weight: 700;
}

.news-date .day {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.news-content {
    padding: 25px;
}

.news-card.featured .news-content {
    padding: 30px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-card.featured .news-content h3 {
    font-size: 24px;
}

.news-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: var(--accent);
    transform: translateX(5px);
}

/* Media Coverage Grid */
.media-coverage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.media-item-home {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-item-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,102,51,0.2);
}

.media-item-home img {
    width: 100%;
    height: 300px;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.media-item-home:hover img {
    transform: scale(1.05);
}

/* Media Coverage Page Styles */
.media-coverage-content {
    padding: 60px 0;
    background: #f5f5f5;
    overflow-x: hidden;
}

.media-coverage-content .container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #006633;
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-header p {
    color: #666;
    font-size: 18px;
    margin: 0;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 100%;
    align-items: start;
}

.media-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.media-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,102,51,0.2);
}

.media-item img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
}

.media-caption {
    padding: 20px;
    text-align: center;
}

.media-caption h3 {
    color: #006633;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.media-caption p {
    color: #666;
    font-size: 14px;
}

/* Modal Styles for Media Coverage */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    animation: fadeIn 0.3s;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1400px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #006633;
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-prev:hover, .modal-next:hover {
    background: #006633;
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Events Timeline */
.events-timeline {
    margin: 40px 0;
}

.event-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.event-date-circle {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
}

.event-date-circle .day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.event-date-circle .month {
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 2px;
}

.event-content {
    flex: 1;
}

.event-header {
    margin-bottom: 10px;
}

.event-header h3 {
    color: var(--primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.event-time {
    color: #666;
    font-size: 14px;
}

.event-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.event-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.learn-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: var(--accent);
}

.event-type {
    background: var(--secondary);
    color: var(--dark);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

/* No Content State */
.no-content {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-content i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-content h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 15px;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 50px;
}

.view-all-btn {
    background: var(--primary);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Footer */
.main-footer {
    background: var(--dark);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: var(--secondary);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

.contact-info p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    color: #aaa;
}

/* Footer Responsive Styles */
@media (max-width: 768px) {
    .media-coverage-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .media-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .media-item img {
        height: auto;
    }

    .close-modal {
        right: 20px;
        font-size: 32px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        min-width: 100%;
        text-align: center;
    }

    .contact-info p {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .contact-info i {
        margin-right: 8px;
    }

    .social-links {
        justify-content: center;
    }

    .copyright {
        flex-direction: column !important;
        gap: 10px;
        text-align: center;
    }

    .copyright p {
        margin: 0;
    }
}

@media (max-width: 640px) {
    .footer-column {
        min-width: 100%;
    }

    .footer-content {
        gap: 25px;
    }

    .copyright {
        flex-direction: column !important;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .main-footer {
        padding: 30px 0 15px;
    }

    .main-footer .container {
        width: 95%;
        padding: 0 10px;
    }

    .footer-column {
        text-align: center;
        padding: 0 10px;
    }

    .footer-column h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .contact-info p {
        font-size: 13px;
        margin-bottom: 8px;
        flex-wrap: wrap;
        word-break: break-word;
        padding: 0 5px;
    }

    .footer-content {
        gap: 25px;
    }

    .footer-column .content {
        font-size: 13px;
        line-height: 1.6;
        padding: 0 5px;
    }

    .social-links a {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .social-links {
        gap: 12px;
    }

    .copyright {
        font-size: 11px;
        padding-top: 15px;
        flex-direction: column !important;
        gap: 10px;
    }

    .copyright p {
        margin: 0;
        text-align: center;
        padding: 0 10px;
        line-height: 1.5;
    }

    .footer-column ul {
        text-align: center;
        padding: 0;
    }

    .footer-column ul li {
        margin-bottom: 8px;
    }

    .footer-column ul li a {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .main-footer {
        padding: 25px 0 10px;
    }

    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .footer-column .content {
        font-size: 12px;
    }

    .contact-info p {
        font-size: 12px;
    }

    .footer-column ul li a {
        font-size: 13px;
    }

    .social-links a {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .copyright {
        font-size: 10px;
    }

    .copyright p {
        padding: 0 5px;
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .news-card.featured {
        grid-row: span 1;
    }
    
    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .quick-info-boxes {
        flex-wrap: wrap;
        bottom: -100px;
    }

    /* Gallery Section Mobile */
    .gallery-section {
        padding: 60px 0;
    }

    .homepage-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin: 30px 0;
    }

    .gallery-album-cover {
        height: 200px;
    }

    .gallery-album-info {
        padding: 20px;
    }

    .gallery-album-info h3 {
        font-size: 1.1rem;
    }

    /* Principal's Message Mobile */
    .principal-message-homepage {
        padding: 40px 0;
    }

    .principal-message-homepage .section-title h2 {
        font-size: 2rem;
    }

    .principal-message-homepage .section-title p {
        font-size: 14px;
    }

    .principal-content {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }

    .principal-left {
        gap: 15px;
        width: 100%;
    }

    .principal-image {
        max-width: 100%;
        margin: 0 auto;
    }

    .principal-image img {
        height: 350px;
        object-fit: cover;
    }

    .principal-info {
        padding: 15px;
    }

    .principal-info h3 {
        font-size: 1.3rem;
    }

    .principal-info p {
        font-size: 13px;
    }

    .principal-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-width: 100%;
        margin: 0;
    }

    .principal-btn {
        padding: 12px 8px;
        gap: 5px;
    }

    .principal-btn i {
        font-size: 1.2rem;
    }

    .principal-btn span {
        font-size: 11px;
    }

    .message-quote {
        padding: 20px;
        margin-top: 20px;
    }

    .message-quote i {
        font-size: 1.5rem;
    }

    .message-quote p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .principal-images-flex {
        max-width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .principal-message-img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    /* Modern Objectives responsive */
    .modern-objectives {
        padding: 50px 0;
    }

    .modern-objectives .section-title h2 {
        font-size: 2rem;
    }

    .modern-objectives .section-title p {
        font-size: 14px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .objective-card {
        padding: 30px 20px;
    }

    .objective-card:nth-child(4) {
        grid-column: auto;
    }

    .objective-header {
        margin-bottom: 15px;
    }

    .objective-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .objective-number {
        font-size: 48px;
    }

    .objective-content h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .objective-content p {
        font-size: 15px;
        line-height: 1.6;
    }

}

/* Mobile breakpoint for modern objectives */
@media (max-width: 576px) {
    .modern-objectives {
        padding: 40px 0;
    }

    .modern-objectives .section-title h2 {
        font-size: 1.6rem;
    }

    .modern-objectives .section-title p {
        font-size: 13px;
    }

    .objectives-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }

    .objective-card {
        padding: 25px 20px;
        border-radius: 15px;
    }

    .objective-card:nth-child(4) {
        grid-column: 1;
    }

    .objective-header {
        margin-bottom: 12px;
    }

    .objective-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .objective-number {
        font-size: 32px;
    }

    .objective-content h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .objective-content p {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .highlight-text {
        font-size: 12px;
        padding: 6px 12px;
    }


    .objective-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
}

/* Large desktop optimization for modern objectives */
@media (min-width: 1400px) {
    .objectives-grid {
        max-width: 1400px;
        gap: 35px;
        grid-template-columns: repeat(3, 1fr);
    }

    .objective-card:nth-child(4) {
        grid-column: auto;
    }

    .objective-card {
        padding: 35px 30px;
    }

    .objective-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .objective-number {
        font-size: 56px;
    }

    .objective-content h3 {
        font-size: 1.5rem;
    }

    .objective-content p {
        font-size: 16px;
    }

}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    .slide-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .quick-info-boxes {
        position: relative;
        flex-direction: column;
        left: 0;
        bottom: 0;
        padding: 20px;
        gap: 15px;
    }

    .info-box {
        width: 100%;
        margin-bottom: 0;
        padding: 20px;
    }

    .info-box i {
        font-size: 28px;
    }

    .info-box h3 {
        font-size: 16px;
    }

    .info-box p {
        font-size: 13px;
    }
    
    /* News & Events mobile styles */
    .news-events-tabs {
        width: 90%;
        margin: 30px auto;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-card.featured .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-card.featured .news-content {
        padding: 20px;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .event-date-circle {
        align-self: center;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
}

@media (max-width: 576px) {
    .top-bar .container {
        flex-direction: column;
        text-align: center;
    }

    .quick-links {
        margin-top: 10px;
    }

    .quick-links a {
        margin: 0 8px;
    }

    .hero-slider {
        height: 50vh;
        min-height: 350px;
    }

    .slide-content {
        text-align: center;
        padding: 15px;
    }

    .slide-content h1 {
        font-size: 22px;
        line-height: 1.2;
    }

    .slide-content p {
        font-size: 13px;
    }

    .slide-content .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .info-box {
        width: 100%;
        padding: 18px;
    }

    .info-box i {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .info-box h3 {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .info-box p {
        font-size: 12px;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .slider-dots {
        bottom: 10px;
    }

    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }

    /* Principal Message for small mobile */
    .principal-message-homepage {
        padding: 30px 0;
    }

    .principal-message-homepage .section-title h2 {
        font-size: 1.6rem;
    }

    .principal-content {
        padding: 0 10px;
        gap: 20px;
    }

    .principal-image img {
        height: 400px;
        width: 100%;
    }

    .principal-info h3 {
        font-size: 1.1rem;
    }

    .principal-info p {
        font-size: 12px;
    }

    .principal-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .principal-btn {
        padding: 15px 10px;
        flex-direction: column;
        justify-content: center;
    }

    .principal-btn i {
        font-size: 1.5rem;
    }

    .principal-btn span {
        font-size: 11px;
    }

    .message-quote {
        padding: 15px;
    }

    .message-quote i {
        font-size: 1.3rem;
    }

    .message-quote p {
        font-size: 0.95rem;
    }

    .principal-images-flex {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .principal-message-img {
        width: 100% !important;
        height: 450px !important;
        max-width: 100% !important;
        object-fit: cover;
        border-radius: 10px;
    }
    
    /* News & Events mobile styles for small screens */
    .news-events-section {
        padding: 40px 0;
    }
    
    .news-events-tabs {
        flex-direction: column;
        width: 95%;
        gap: 5px;
    }
    
    .tab-btn {
        border-radius: 10px;
        margin: 2px 0;
    }
    
    .news-image {
        height: 160px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
}

/* Page Header Styles */
.page-header {
    background: linear-gradient(rgba(0, 102, 51, 0.8), rgba(0, 102, 51, 0.8)), url('../uploads/slider/1756817317_WhatsApp Image 2025-09-01 at 13.26.11 (1).jpeg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 16px;
}

.breadcrumb a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: white;
}

/* Admission Page Styles */
.admission-content {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.admission-intro {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.admission-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #2E3D4C;
    text-align: justify;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.admission-list {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.admission-list h2 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
    text-align: center;
}

.admission-list ul {
    list-style: none;
    padding: 0;
}

.admission-list ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
    font-size: 17px;
    line-height: 1.8;
    color: #2E3D4C;
    text-align: justify;
    font-family: Arial, sans-serif;
}

.admission-list ul li:before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary);
    font-size: 14px;
}

.priority-section {
    margin-top: 50px;
    padding: 50px;
    background: var(--light);
    border-radius: 15px;
}

.priority-section h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.priority-section h3 i {
    color: var(--secondary);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card h4 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h4 i {
    color: var(--accent);
    font-size: 22px;
}

.info-card p {
    color: #666;
    line-height: 1.7;
    font-size: 16px;
}

.contact-box {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    margin-top: 60px;
}

.contact-box h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.contact-box p {
    font-size: 18px;
    margin-bottom: 25px;
}

.contact-box .btn {
    background: var(--secondary);
    color: var(--dark);
    padding: 15px 35px;
    font-weight: 600;
    font-size: 16px;
}

.contact-box .btn:hover {
    background: white;
    color: var(--primary);
}

/* Responsive for Admission Page */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }
    
    .admission-list {
        padding: 30px;
    }
    
    .admission-list ul li {
        padding-left: 35px;
        font-size: 16px;
    }
    
    .priority-section {
        padding: 30px;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
}

/* Streams Page Styles */
.streams-content {
    padding: 40px 0;
}

.streams-list {
    padding: 30px;
}

.streams-list h2 {
    margin-bottom: 25px;
    text-align: center;
    color: var(--primary);
    font-size: 28px;
}

.stream-section {
    margin-bottom: 30px;
}

.stream-title {
    color: #333333;
    font-size: 18px;
    margin: 15px 0 10px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.stream-number {
    background: #f0f0f0;
    color: #333333;
    border: 1px solid #ddd;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 11px;
    font-weight: 600;
}

.stream-section ul {
    margin-left: 30px;
    margin-bottom: 15px;
    list-style: none;
    padding: 0;
}

.stream-section ul li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.stream-section ul li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary);
    font-size: 10px;
}

/* School Timings Page Styles */
.school-timings-content {
    padding: 60px 0;
    background: #f9f9f9;
}

.timings-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.timings-image {
    flex: 1;
    max-width: 500px;
}

.timings-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timings-info {
    flex: 1;
    padding: 40px;
}

.timings-info h2 {
    color: var(--primary);
    font-size: 32px;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 35px;
    text-align: justify;
}

.timing-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.timing-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.timing-icon {
    width: 35px;
    height: 35px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.timing-icon i {
    color: white;
    font-size: 14px;
}

.timing-details h3 {
    color: #333;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
}

.timing-details p {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
}

.timing-details .note {
    display: block;
    color: #666;
    font-size: 14px;
    margin-top: 5px;
}

.encouragement-box {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.encouragement-box p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.encouragement-box i {
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Responsive for School Timings */
@media (max-width: 992px) {
    .timings-wrapper {
        flex-direction: column;
    }
    
    .timings-image {
        max-width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .timings-info {
        padding: 25px;
    }
    
    .timings-info h2 {
        font-size: 24px;
    }
    
    .timing-card {
        padding: 15px;
        gap: 15px;
    }
    
    .timing-icon {
        width: 30px;
        height: 30px;
    }
    
    .timing-icon i {
        font-size: 12px;
    }
}

/* School Uniform Page Styles */
.uniform-content {
    padding: 60px 0;
    background: white;
}

.uniform-wrapper {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.uniform-intro {
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.main-uniform-title {
    color: var(--primary);
    font-size: 32px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--secondary);
}

.uniform-subtitle {
    color: #333;
    font-size: 20px;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
    margin: 30px 0;
}

.uniform-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
}

.uniform-table thead tr {
    background-color: #dae0e3;
}

.uniform-table th {
    padding: 15px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    border: 1px solid #333;
}

.uniform-table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
}

.uniform-table .serial {
    text-align: center;
    font-weight: 600;
}

.uniform-table .alt-row {
    background-color: #f5f5f5;
}

.uniform-note {
    margin-top: 40px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.uniform-note i {
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.uniform-note p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

/* Responsive for Uniform Table */
@media (max-width: 768px) {
    .uniform-wrapper {
        padding: 20px;
    }
    
    .uniform-table {
        font-size: 12px;
    }
    
    .uniform-table th,
    .uniform-table td {
        padding: 8px;
    }
    
    .main-uniform-title {
        font-size: 26px;
    }
    
    .uniform-subtitle {
        font-size: 18px;
    }
}

/* Additional Uniform Sections */
.uniform-section {
    margin-top: 40px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.uniform-section .uniform-title {
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 10px;
}

.uniform-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    font-family: Arial, sans-serif;
}

/* Fee Structure Styles */
.fee-content {
    padding: 40px 0;
    background: #fff;
}

.fee-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.main-fee-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-bottom: 30px;
}

.fee-table thead tr {
    background-color: #dae0e3;
}

.fee-table th {
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    border: 1px solid #333;
}

.fee-table td {
    padding: 10px 12px;
    font-size: 13px;
    color: #333;
    border: 1px solid #ccc;
    text-align: center;
}

.fee-table .serial-cell {
    font-weight: 600;
    text-align: center;
    vertical-align: top;
    background-color: #f9f9f9;
}

.fee-table .section-header {
    background-color: #e8f5e9;
    font-weight: 700;
    text-align: left;
    padding-left: 20px;
    color: #333;
}

.fee-table .alt-row {
    background-color: #f5f5f5;
}

.fee-table .total-row {
    background-color: #e0e0e0;
    font-weight: 700;
}

.fee-table .total-row td {
    color: #000;
}

.fee-note {
    margin-top: 30px;
    padding: 18px;
    background: #e8f5e9;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.fee-note i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.fee-note p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.fee-important-note {
    margin-top: 20px;
    padding: 20px;
    background: #fff3cd;
    border-radius: 8px;
    border-left: 5px solid #ff9800;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.fee-important-note i {
    color: #ff9800;
    font-size: 20px;
    flex-shrink: 0;
}

.fee-important-note p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.fee-important-note strong {
    color: #ff6b00;
    font-weight: 700;
}

/* Responsive for Fee Table */
@media (max-width: 768px) {
    .fee-wrapper {
        padding: 20px;
    }
    
    .fee-table {
        font-size: 12px;
    }
    
    .fee-table th,
    .fee-table td {
        padding: 8px;
        font-size: 12px;
    }
    
    .fee-note {
        margin-top: 20px;
        padding: 15px;
    }
}

/* Admission Procedure Styles */
.admission-procedure-content {
    padding: 40px 0;
    background: #fff;
}

.procedure-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-procedure-title {
    font-size: 26px;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.document-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
}

.admission-procedure-content .section-title,
.admission-withdrawal-content .section-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admission-procedure-content .section-title i,
.admission-withdrawal-content .section-title i {
    color: var(--primary);
    font-size: 12px;
}

.document-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-list li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #e0e0e0;
}

.document-list li:last-child {
    border-bottom: none;
}

.document-list li:before {
    content: "\f058";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 10px;
}

.document-list li strong {
    color: #333;
    font-weight: 600;
}

.online-admission-section {
    margin-top: 40px;
    background: #e8f5e9;
    border-radius: 8px;
    padding: 30px;
}

.online-title {
    color: #2e7d32;
    margin-bottom: 15px;
}

.online-title i {
    color: #2e7d32;
    font-size: 12px;
}

.online-intro {
    font-size: 15px;
    color: #333;
    margin-bottom: 25px;
}

.procedure-steps-single {
    margin-top: 20px;
}

.procedure-step-single {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.step-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.step-item:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 20px;
    height: 20px;
    background: #666;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
}

.step-content p:last-child {
    margin-bottom: 0;
}

.step-content a {
    color: var(--primary);
    text-decoration: none;
}

.step-content a:hover {
    text-decoration: underline;
}

/* Responsive for Admission Procedure */
@media (max-width: 768px) {
    .procedure-wrapper {
        padding: 0 15px;
    }
    
    .main-procedure-title {
        font-size: 22px;
    }
    
    .document-section {
        padding: 20px;
    }
    
    .admission-procedure-content .section-title,
    .admission-withdrawal-content .section-title {
        font-size: 18px;
    }
    
    .procedure-step-single {
        padding: 15px;
    }
    
    .step-item {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .step-number {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

/* Admission & Withdrawal Styles */
.admission-withdrawal-content {
    padding: 40px 0;
    background: #fff;
}

.withdrawal-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.admission-process-section,
.withdrawal-process-section,
.subject-combinations-section {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary);
}

.combinations-intro {
    font-size: 15px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.process-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.process-content p:last-child {
    margin-bottom: 0;
}

.combinations-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 15px;
}

.combinations-table thead tr {
    background-color: #e8f5e9;
}

.combinations-table th {
    padding: 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: #333;
    border: 1px solid #333;
}

.combinations-table td {
    padding: 12px 15px;
    font-size: 14px;
    color: #333;
    border: 1px solid #ccc;
    vertical-align: top;
}

.combinations-table .alt-row {
    background-color: #e8f5e9;
}

.combinations-table td:first-child {
    font-weight: 600;
    width: 35%;
}

/* Responsive for Admission & Withdrawal */
@media (max-width: 768px) {
    .withdrawal-wrapper {
        padding: 0 15px;
    }
    
    .admission-process-section,
    .withdrawal-process-section,
    .subject-combinations-section {
        padding: 20px;
    }
    
    .combinations-table {
        font-size: 12px;
    }
    
    .combinations-table th,
    .combinations-table td {
        padding: 8px;
        font-size: 12px;
    }
}

/* Facilities Styles */
.facilities-content {
    padding: 40px 0;
    background: #fff;
}

.facilities-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.facility-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.facility-title {
    font-size: 22px;
    color: #333;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 12px;
}

.facility-title i {
    color: var(--primary);
    font-size: 14px;
}

.facility-content {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 30px;
    align-items: start;
}

.facility-images {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.facility-images img {
    width: 100%;
    height: auto;
    aspect-ratio: 713 / 415;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.facility-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border-color: var(--primary);
}

.facility-text {
    padding: 10px 0;
}

.facility-text p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 18px;
    text-align: justify;
}

.facility-text p:last-child {
    margin-bottom: 0;
}

.facility-stats {
    list-style: none;
    padding: 20px;
    margin: 20px 0 0 0;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.facility-stats li {
    font-size: 15px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.facility-stats li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 16px;
}

.facility-stats strong {
    color: #333;
    font-weight: 600;
}

/* Science Lab special layout */
.science-lab-special .science-lab-additional {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
}

.science-lab-additional img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.science-lab-additional img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    border-color: var(--primary);
}

/* Responsive for Facilities */
@media (max-width: 768px) {
    .facilities-wrapper {
        padding: 0 15px;
    }
    
    .facility-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .facility-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facility-images {
        grid-template-columns: 1fr;
    }
    
    .facility-images img {
        height: 180px;
    }
    
    .facility-title {
        font-size: 20px;
    }
    
    .science-lab-additional {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
}

/* Custom Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff4444;
    transform: scale(1.1);
}

.modal-prev, .modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-prev {
    left: -70px;
}

.modal-next {
    right: -70px;
}

.modal-prev:hover, .modal-next:hover {
    background: var(--primary);
    transform: translateY(-50%);
}

.modal-caption {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    color: white;
    text-align: center;
    font-size: 16px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .modal-prev {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .modal-next {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
        line-height: 35px;
    }
    
    .modal-caption {
        bottom: -30px;
        font-size: 14px;
        padding: 8px;
    }
}

/* Games and Sports Styles */
.games-sports-content {
    padding: 40px 0;
    background: #fff;
}

.sports-main-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}


.sports-subtitle {
    font-size: 18px;
    color: #333;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.sports-intro p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.sports-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.sports-images a {
    display: block;
}

.sports-images img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.sports-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.games-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin: 15px 0 25px 0;
    padding: 0;
    list-style: none;
}

.games-list li {
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid var(--primary);
    font-size: 14px;
    color: #333;
}

.sports-main-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* Responsive for Games and Sports */
@media (max-width: 768px) {
    .sports-main-section {
        padding: 20px;
        margin: 0 15px;
    }
    
    .main-sports-title {
        font-size: 22px;
    }
    
    .sports-subtitle {
        font-size: 16px;
    }
    
    .sports-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .sports-images img {
        height: 200px;
    }
    
    .games-list {
        grid-template-columns: 1fr;
        gap: 6px;
    }
}

/* House System Styles */
.house-system-content {
    padding: 40px 0;
    background: #fff;
}

.house-main-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.house-subtitle {
    font-size: 18px;
    color: #333;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.house-intro p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

.house-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin: 15px 0 25px 0;
    padding: 0;
    list-style: none;
}

.house-list li {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
    text-align: left;
    background: #f8f9fa;
}

.gandhi-house {
    border-left: 4px solid #ffc107;
}

.tagore-house {
    border-left: 4px solid #28a745;
}

.sarojini-house {
    border-left: 4px solid #dc3545;
}

.teresa-house {
    border-left: 4px solid #007bff;
}

.house-main-section p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
    text-align: justify;
}

/* ATL Styles */
.atl-content {
    padding: 40px 0;
    background: #fff;
}

.atl-main-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
}

.atl-intro p {
    font-size: 15px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: justify;
}

.atl-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 25px 0;
}

.atl-images a {
    display: block;
}

.atl-images img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    background: #f8f9fa;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.atl-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

/* Responsive for House System and ATL */
@media (max-width: 768px) {
    .house-main-section,
    .atl-main-section {
        padding: 20px;
        margin: 0 15px;
    }
    
    .house-subtitle {
        font-size: 16px;
    }
    
    .house-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .atl-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .atl-images img {
        height: 200px;
    }
}

/* Gallery Styles */
.gallery-albums {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0 60px 0;
}

.album-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
    text-decoration: none;
    color: inherit;
}

.album-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 102, 51, 0.2);
}

.album-cover {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f0f0f0;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.1);
}

.album-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 102, 51, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.album-info {
    padding: 20px;
}

.album-title {
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.album-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.view-album {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.3s ease;
}

.album-card:hover .view-album {
    gap: 10px;
}

.no-albums {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-albums i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

/* Album View Styles */
.album-header {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 3px solid var(--primary);
    margin-bottom: 40px;
}

.album-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.album-info h1 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.album-info p {
    color: #666;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 600px;
    margin: 0;
}

.back-to-gallery {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.back-to-gallery:hover {
    background: #004d26;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 51, 0.3);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.photo-item {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 102, 51, 0.2);
}

.photo-item img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 300px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.photo-description {
    font-size: 0.85rem;
    opacity: 0.9;
    line-height: 1.4;
}

.no-photos {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.no-photos i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.no-photos .back-to-gallery {
    margin-top: 20px;
}

/* Page content spacing */
.page-content {
    padding-bottom: 60px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.lightbox-close:hover {
    transform: rotate(90deg);
}

.lightbox-caption {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1001;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Gallery Media Queries */
@media (max-width: 768px) {
    .gallery-albums {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .album-header .container {
        flex-direction: column;
        text-align: center;
    }

    .album-info h1 {
        font-size: 1.5rem;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }

    .lightbox-nav {
        font-size: 20px;
        padding: 5px 10px;
    }
}

/* Admission Notice Marquee Styles */
.admission-notice-card {
    grid-column: span 2;
}

.admission-notice-card .marquee-container {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.admission-notice-card .marquee-content {
    animation: scrollUp 20s linear infinite;
    position: absolute;
    width: 100%;
}

.admission-notice-card .notice-item {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
}

.admission-notice-card .notice-item:hover {
    background: #f5f5f5;
}

.admission-notice-card .notice-item i {
    color: #2980b9;
    font-size: 18px;
    flex-shrink: 0;
}

.admission-notice-card .notice-item a {
    color: #2980b9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.admission-notice-card .notice-item a:hover {
    color: #1a5490;
    text-decoration: underline;
}

.admission-notice-card .notice-item strong {
    color: #333;
    font-weight: 600;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@media (max-width: 1024px) {
    .admission-notice-card .marquee-container {
        height: 200px;
    }
}

/* ===============================================
   Sticky Action Buttons (Right Side Fixed)
   =============================================== */
.sticky-action-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.sticky-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-left: 5px solid #FFD700;
    box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    writing-mode: vertical-lr;
    min-height: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky-btn i {
    font-size: 20px;
}

.sticky-btn:hover {
    transform: translateX(-5px);
    box-shadow: -5px 5px 20px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff6b5a 0%, #d63d31 100%);
}

.sticky-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sticky-btn:hover::before {
    opacity: 1;
}

/* Disclosure Button - Highlighted */
.disclosure-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-left-color: #FFD700;
    position: relative;
}

.disclosure-btn:hover {
    background: linear-gradient(135deg, #ff6b5a 0%, #d63d31 100%);
}

/* Pulse Animation for Highlighted Button */
@keyframes pulse-highlight {
    0%, 100% {
        box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.3),
                    0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: -3px 3px 15px rgba(0, 0, 0, 0.3),
                    0 0 20px 10px rgba(255, 215, 0, 0);
    }
}

@keyframes glow {
    0%, 100% {
        border-left-color: #FFD700;
        filter: brightness(1);
    }
    50% {
        border-left-color: #FFA500;
        filter: brightness(1.3);
    }
}

.highlight-pulse {
    animation: pulse-highlight 2s infinite, glow 2s infinite;
}

.highlight-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, transparent 100%);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .sticky-btn {
        padding: 12px 15px;
        font-size: 12px;
        min-height: 120px;
        border-left-width: 4px;
    }

    .sticky-btn i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .sticky-btn {
        padding: 10px 12px;
        font-size: 10px;
        min-height: 100px;
        border-left-width: 3px;
    }

    .sticky-btn i {
        font-size: 16px;
    }
}

/* Welcome Marquee Section */
.welcome-marquee-section {
    background: #fff;
    padding: 15px 0;
    overflow: hidden;
}

.welcome-marquee-wrapper {
    display: flex;
    align-items: center;
}

.welcome-marquee-text,
marquee.welcome-marquee-text {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #cc0000 !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
}

/* Pre-Primary Program Page Styles */
.program-hero {
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.program-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
    font-weight: 700;
}

.program-hero .subtitle {
    font-size: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.program-content {
    padding: 60px 0;
    background: #f8f9fa;
}

.intro-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 50px;
    text-align: center;
    border-left: 5px solid #006633;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #006633;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #006633, #004d26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 36px;
    color: white;
}

.feature-card h3 {
    color: #006633;
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
}

.curriculum-section {
    background: white;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border-left: 5px solid #006633;
}

.curriculum-section h2 {
    color: #006633;
    font-size: 32px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

.curriculum-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

.stage-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #006633;
    margin-bottom: 30px;
}

.stage-section h3 {
    color: #006633;
    font-size: 26px;
    margin-bottom: 15px;
    font-weight: 600;
}

.stage-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.stage-section p + p,
.curriculum-section p.spaced-paragraph {
    margin-top: 20px;
}

/* Pre-Primary Gallery - Simple Grid */
.preprimary-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin: 40px 0;
}

.preprimary-gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 102, 51, 0.2);
    transition: all 0.3s ease;
    border: 3px solid #006633;
    background: #FFF;
}

.preprimary-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 102, 51, 0.3);
}

.preprimary-gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .program-hero h1 {
        font-size: 28px;
    }

    .program-hero .subtitle {
        font-size: 16px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .curriculum-section,
    .intro-section {
        padding: 30px 20px;
    }

    .preprimary-gallery {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .preprimary-gallery-item:nth-child(1),
    .preprimary-gallery-item:nth-child(4) {
        grid-column: span 1;
        grid-row: span 1;
    }

    .preprimary-gallery-item img {
        height: auto;
        aspect-ratio: 4/3;
        object-fit: contain;
    }
}

/* Achievements Page Styles */
.achievements-content {
    padding: 40px 0;
    background: #f8f9fa;
}

.achievements-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-section {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.achievements-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: #fff;
}

.achievements-table thead {
    background: var(--primary);
    color: white;
}

.achievements-table th,
.achievements-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: top;
}

.achievements-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.achievements-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}

.achievements-table tbody tr:hover {
    background-color: #e8f4f8;
    transition: background-color 0.3s ease;
}

.academic-table th:nth-child(1) { width: 20%; }
.academic-table th:nth-child(2) { width: 60%; }
.academic-table th:nth-child(3) { width: 20%; text-align: center; }

.academic-table td:nth-child(3) {
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.sports-table th:nth-child(1) { width: 10%; }
.sports-table th:nth-child(2) { width: 70%; }
.sports-table th:nth-child(3) { width: 20%; }

.sports-table td:nth-child(1) {
    text-align: center;
    font-weight: 600;
    color: var(--primary);
}

.sports-table td:nth-child(3) {
    text-align: center;
    font-weight: 600;
}

.gold-medal {
    color: #B8860B;
    background-color: #FFF8DC;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #DAA520;
}

.winner {
    color: #28a745;
    font-weight: 600;
}

.runner-up {
    color: #6c757d;
    font-weight: 600;
}

.bronze {
    color: #8B4513;
    background-color: #F5DEB3;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #CD853F;
}

@media (max-width: 768px) {
    .achievement-section {
        padding: 20px;
    }

    .achievements-table {
        font-size: 12px;
    }

    .achievements-table th,
    .achievements-table td {
        padding: 8px 10px;
    }

    .sports-table td:nth-child(2) {
        font-size: 11px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .achievements-table th,
    .achievements-table td {
        padding: 6px 8px;
    }
}

/* Co-Curricular Activities Page Styles */
.activity-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.activity-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.activity-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .activity-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .activity-image img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .activity-image img {
        height: 180px;
    }
}

/* Board Results Page Styles */
.board-results-section {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.board-results-container {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.board-results-title {
    text-align: center;
    color: #006633;
    margin-bottom: 40px;
    font-size: 32px;
}

.board-results-subtitle {
    text-align: center;
    color: #006633;
    margin: 30px 0 20px 0;
    font-size: 26px;
}

.board-results-table {
    border-collapse: collapse;
    margin: 30px auto;
    width: 95%;
    max-width: 1200px;
    font-size: 18px;
}

.board-results-table thead {
    background-color: #006633;
}

.board-results-table th {
    border: 3px solid #006633;
    background-color: #006633;
    padding: 12px 10px;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

.board-results-table td {
    border: 2px solid #006633;
    padding: 18px 15px;
    font-size: 18px;
}

.board-results-table tbody tr:nth-child(odd) {
    background-color: #e8f5e9;
}

.board-results-table tbody tr:nth-child(even) {
    background-color: white;
}

.board-results-table td:first-child,
.board-results-table td:nth-child(2),
.board-results-table td:nth-child(4),
.board-results-table td:nth-child(5) {
    text-align: center;
    font-weight: bold;
}

.board-results-table td:nth-child(6) {
    text-align: center;
    padding: 10px;
}

.board-results-table .student-photo {
    width: 100px;
    height: 120px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .board-results-container {
        padding: 20px;
    }

    .board-results-title {
        font-size: 24px;
    }

    .board-results-subtitle {
        font-size: 20px;
    }

    .board-results-table {
        font-size: 14px;
    }

    .board-results-table td {
        padding: 10px 8px;
        font-size: 14px;
    }

    .board-results-table .student-photo {
        width: 70px;
        height: 85px;
    }
}

/* School Diary Page Styles */
.diary-page-content {
    min-height: 600px;
    padding: 60px 0;
    background: #f8f9fa;
}

.diary-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.diary-content-section {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.diary-content-section h2 {
    color: #006633;
    font-size: 2em;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #FFCC00;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.diary-content-section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #006633;
}

.diary-content-section h2 i {
    color: #FFCC00;
    font-size: 0.8em;
    margin-left: 15px;
}

.diary-content-section h3 {
    color: #CC0000;
    font-size: 1.5em;
    margin: 30px 0 20px 0;
    font-weight: 600;
}

.diary-content-section p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #333;
    margin-bottom: 20px;
    text-align: justify;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    counter-reset: rule-counter;
}

.rules-list li {
    background: #f8f9fa;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #006633;
    font-size: 1.05em;
    line-height: 1.6;
    color: #333;
    position: relative;
    counter-increment: rule-counter;
}

.rules-list li::before {
    content: counter(rule-counter);
    position: absolute;
    left: -15px;
    top: 15px;
    background: #006633;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.highlight-box {
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    text-align: center;
}

.highlight-box .icon-top {
    font-size: 2.5em;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.highlight-box h3 {
    color: #FFCC00;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.highlight-box p {
    font-size: 1.1em;
    margin: 0;
    color: white !important;
}

@media (max-width: 768px) {
    .diary-page-content {
        padding: 30px 0;
    }

    .diary-content-section {
        padding: 25px 20px;
        margin-bottom: 20px;
    }

    .diary-content-section h2 {
        font-size: 1.6em;
    }

    .rules-list li {
        padding: 15px;
        margin-left: 15px;
    }

    .rules-list li::before {
        left: -20px;
        top: 12px;
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .diary-container {
        padding: 0 10px;
    }

    .diary-content-section {
        padding: 20px 15px;
    }
}

/* Syllabus Page Styles */
.pdf-viewer-section {
    padding: 40px 0;
    background: #f5f5f5;
    min-height: calc(100vh - 200px);
}

.pdf-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.pdf-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #006633;
}

.pdf-header h1 {
    color: #006633;
    font-size: 32px;
    margin-bottom: 10px;
}

.pdf-header p {
    color: #666;
    font-size: 16px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.doc-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.doc-card:hover {
    border-color: #006633;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,102,51,0.2);
}

.doc-icon {
    font-size: 48px;
    color: #e74c3c;
    margin-bottom: 15px;
}

.doc-info h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.doc-info p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .pdf-header h1 {
        font-size: 24px;
    }

    .pdf-container {
        padding: 20px;
    }
}

/* Admissions Page Styles */
.admission-content {
    padding: 40px 0;
}

.admission-list {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admission-list h2 {
    margin-bottom: 20px;
    color: #006633;
    font-size: 28px;
}

.admission-list p {
    font-size: 16px;
    line-height: 1.6;
    color: #2E3D4C;
    text-align: justify;
    margin-bottom: 15px;
}

.admission-list ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.admission-list ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.admission-list h3 {
    color: var(--primary);
    font-size: 20px;
    margin: 20px 0 15px;
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 8px;
}

.admission-list h4 {
    color: var(--primary);
    font-size: 18px;
    margin: 15px 0 10px;
}

.admission-list h4 i {
    color: var(--secondary);
    margin-right: 8px;
    font-size: 14px;
}

.contact-box {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #006633 0%, #004d26 100%);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.contact-box h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: white;
}

.contact-box p {
    font-size: 16px;
    margin-bottom: 15px;
    color: white;
}

.contact-box .btn {
    background: #FFCC00;
    color: #006633;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

.contact-box .btn:hover {
    background: #FFD700;
    transform: translateY(-2px);
}

/* Fix priority icons alignment */
.admission-list h4 {
    display: flex;
    align-items: center;
}

.admission-list h4 i {
    margin-right: 8px;
    min-width: 20px;
    text-align: center;
}

/* PDF Viewer Styles for Syllabus Pages */
.pdf-embed-wrapper {
    width: 100%;
    height: 1000px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: auto;
    background: #525659;
}

.pdf-embed-wrapper iframe,
.pdf-embed-wrapper embed,
.pdf-embed-wrapper object {
    width: 100%;
    height: 100%;
    border: none;
}

.pdf-actions {
    margin-top: 20px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #006633, #004d26);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.pdf-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 51, 0.3);
}

.pdf-btn i {
    font-size: 18px;
}

.download-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b) !important;
}

.download-btn:hover {
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3) !important;
}

.back-btn {
    background: linear-gradient(135deg, #3498db, #2980b9) !important;
}

.back-btn:hover {
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3) !important;
}

@media (max-width: 768px) {
    .pdf-embed-wrapper {
        height: 600px;
    }
}

/* 404 Error Page Styles */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-size: 120px;
    font-weight: bold;
    color: #006633;
    margin-bottom: 20px;
    line-height: 1;
}

.error-title {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.error-message {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background: #CC0000;
}

.btn-secondary:hover {
    background: #990000;
}

/* Center 404 error page content */
.error-page .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* About Page Styles */
.aps-about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    width: 100%;
    display: block;
}

.aps-about-content p {
    margin-bottom: 20px;
    text-align: justify;
    display: block;
    width: 100%;
    clear: both;
}

.aps-campus-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
    width: 100%;
    clear: both;
}

.aps-campus-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 220px;
}

.aps-campus-image:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.aps-campus-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.aps-campus-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.aps-campus-image:hover .aps-campus-image-overlay {
    transform: translateY(0);
}

.aps-campus-image-overlay h4 {
    color: white;
    font-size: 14px;
    margin: 0;
    text-align: center;
}

.aps-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
    padding: 0;
    width: 100%;
    clear: both;
}

.aps-feature-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid #006633;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aps-feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.aps-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #006633, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.aps-feature-card h3 {
    color: #006633;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

.aps-feature-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
    flex-grow: 1;
}

.aps-vision-section {
    background: linear-gradient(135deg, #006633 0%, #2980b9 100%);
    padding: 50px 0;
    color: white;
    text-align: center;
    margin: 40px 0 0 0;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.aps-vision-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.aps-vision-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.aps-vision-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.aps-vision-section p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .aps-campus-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .aps-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aps-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .aps-campus-images {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .aps-campus-image {
        height: 200px;
    }

    .aps-vision-section h2 {
        font-size: 24px;
    }

    .aps-vision-section p {
        font-size: 15px;
    }

    .aps-feature-card {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .aps-about-content {
        font-size: 14px;
    }

    .aps-feature-card {
        padding: 20px;
    }
}

/* About page image styling */
.aps-about-content > div {
    margin: 30px 0;
}

.aps-about-content > div img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* Academics Page Styles */
.academics-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.academics-page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #004d26 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.academics-page-header h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.academics-page-header p {
    font-size: 1.2em;
    opacity: 0.9;
}

.academics-content-section {
    padding: 60px 0;
    background: white;
}

.academics-content-section:nth-child(even) {
    background: var(--light);
}

.academics-section-title {
    text-align: center;
    margin-bottom: 40px;
}

.academics-section-title h2 {
    font-size: 2.5em;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.academics-section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.academics-curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.academics-curriculum-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.academics-curriculum-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.academics-curriculum-card .icon {
    font-size: 3em;
    color: var(--primary);
    margin-bottom: 20px;
}

.academics-curriculum-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.4em;
}

.academics-curriculum-card p {
    color: #666;
    line-height: 1.6;
}

.academics-curriculum-card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.academics-curriculum-card ul li {
    color: #666;
    margin-bottom: 8px;
}

.academics-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.academics-feature-item {
    text-align: center;
}

.academics-feature-item .icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    margin: 0 auto 20px;
}

.academics-feature-item h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.academics-feature-item p {
    color: #666;
    line-height: 1.6;
}

.academics-tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.academics-table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.academics-table-title {
    background: var(--primary);
    color: white;
    padding: 20px;
    margin: 0;
    font-size: 1.3em;
    text-align: center;
}

.academics-table-responsive {
    overflow-x: auto;
    background: white;
}

.academics-calendar-table {
    width: 100%;
    border-collapse: collapse;
}

.academics-calendar-table thead {
    background: transparent;
    color: black;
}

.academics-calendar-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.academics-calendar-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.academics-calendar-table tbody tr:hover {
    background: #f9f9f9;
}

.academics-calendar-table thead tr:hover {
    background: transparent;
}

.academics-exam-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.academics-exam-card {
    background: linear-gradient(135deg, var(--primary) 0%, #004d26 100%);
    color: white;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.academics-exam-card:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.05);
    transform: rotate(45deg);
}

.academics-exam-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.academics-exam-card p {
    opacity: 0.9;
    line-height: 1.6;
}

.academics-cta-section {
    background: var(--primary);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.academics-cta-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.academics-cta-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

.academics-btn {
    display: inline-block;
    padding: 12px 30px;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    margin: 0 10px;
}

.academics-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    background: #f0f8f0;
    color: #006633;
}

.academics-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.academics-btn-secondary:hover {
    background: white;
    color: #006633;
}

@media (max-width: 768px) {
    .academics-page-header h1 {
        font-size: 2em;
    }

    .academics-section-title h2 {
        font-size: 1.8em;
    }

    .academics-curriculum-grid,
    .academics-features-grid,
    .academics-exam-cards {
        grid-template-columns: 1fr;
    }

    .academics-tables-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .academics-table-title {
        font-size: 1.1em;
        padding: 15px;
    }
}

/* Academics content sections styling */
.academics-content-section > .academics-container > div:first-of-type:not(.academics-section-title) {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.academics-content-section > .academics-container > div > p:first-child {
    text-align: center;
    margin-bottom: 40px;
}

.academics-content-section > .academics-container > div > div {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #006633;
}

.academics-content-section > .academics-container > div > div:nth-child(odd) {
    background: #f8f9fa;
}

.academics-content-section > .academics-container > div > div:nth-child(even) {
    background: #fff;
}

.academics-content-section > .academics-container > div > div h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
}

.academics-content-section > .academics-container > div > div p {
    margin-bottom: 15px;
}

.academics-content-section > .academics-container > div > div p:last-child {
    font-style: italic;
}

.academics-content-section > .academics-container > div > div p:last-child:not(:only-of-type) {
    font-weight: 600;
}

.academics-content-section > .academics-container > div > div ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

/* Academics page intro and stage cards */
.academics-intro-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.academics-intro-text {
    text-align: center;
    margin-bottom: 40px;
}

.academics-stage-card {
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #006633;
}

.academics-stage-card:nth-child(odd) {
    background: #f8f9fa;
}

.academics-stage-card:nth-child(even) {
    background: #fff;
}

.academics-stage-card h3 {
    color: #006633;
    font-size: 22px;
    margin-bottom: 15px;
}

.academics-stage-card p {
    margin-bottom: 15px;
}

.academics-stage-card p:last-of-type {
    font-style: italic;
}

.academics-stage-card ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.academics-stage-card ul li {
    margin-bottom: 8px;
}
