/*
Theme Name: NSC School Theme
Description: Custom WordPress theme for N.S.C Public School - Nurturing minds, Building futures
Version: 1.0
Author: kuldeep Singh
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    min-height: 100vh;
}

/* Header Styles */
.site-header {
    color: var(--text-white);
    /* padding: 10px 0; */
    box-shadow: 0 2px 10px var(--shadow-secondary);
    transition: all 0.3s ease;
}

/* Header Style Variations */
.site-header-default,
.site-header {
    background: var(--nsc-red);
}

.site-header-blue {
    background: var(--nsc-blue);
}

.site-header-light {
    background: var(--bg-light);
    color: var(--text-dark);
    border-bottom: 3px solid var(--nsc-red);
}

.site-header-dark {
    background: #2c3e50;
    color: var(--text-white);
}

.header-top {
    background: rgba(0,0,0,0.1);
    padding: 8px 0;
    font-size: 14px;
}

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

.contact-info span {
    margin-right: 20px;
}

.login-btn {
    background: var(--bg-accent);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
}

.header-main {
    padding: 20px 0;
}

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

/* Header Content Positioning */
.header-content-center {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.header-content-right {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.header-center-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-center {
    flex-direction: column;
    text-align: center;
    margin-bottom: 15px;
}

/* Custom Logo Wrapper for Size Control */
.custom-logo-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.custom-logo-wrapper img,
.logo img {
    max-height: 80px;
    max-width: 300px;
    width: auto;
    height: auto;
    margin-right: 15px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.logo-center .custom-logo-wrapper img,
.logo-center .logo img {
    margin-right: 0;
    margin-bottom: 10px;
}

.school-name h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.school-name-center h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.school-tagline {
    font-size: 14px;
    opacity: 0.9;
    transition: color 0.3s ease;
}

.school-name-center .school-tagline {
    font-size: 16px;
    margin-bottom: 15px;
}

/* Header CTA positioning */
.header-cta-center {
    margin-top: 10px;
}

/* Light header specific styles */
.site-header-light .header-top {
    background: rgba(0,0,0,0.05);
    color: var(--text-dark);
}

.site-header-light .login-btn {
    background: var(--nsc-red);
    color: var(--text-white);
}

.site-header-light .contact-info {
    color: var(--text-dark);
}

/* Responsive Header Styles */
@media (max-width: 768px) {
    .header-content,
    .header-content-center,
    .header-content-right {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo {
        margin-bottom: 10px;
    }
    
    .school-name h1 {
        font-size: 22px;
    }
    
    .school-name-center h1 {
        font-size: 26px;
    }
    
    .custom-logo-wrapper img,
    .logo img {
        max-height: 60px;
        max-width: 250px;
        margin-right: 0;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .header-main {
        padding: 15px 0;
    }
    
    /* Bootstrap Mobile Navigation - Small Screen Adjustments */
    .navbar-nav .nav-link {
        padding: 10px 12px !important;
        font-size: 14px;
    }
    
    .navbar-toggler {
        padding: 0.4rem 0.6rem;
    }
    
    .school-name h1 {
        font-size: 18px;
    }
    
    .school-name-center h1 {
        font-size: 20px;
    }
    
    .school-tagline {
        font-size: 12px;
    }
    
    .custom-logo-wrapper img,
    .logo img {
        max-height: 50px;
        max-width: 200px;
    }
    
    .about-content {
        gap: 20px;
        padding: 0 10px;
    }
    
    .about-text p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .about-image img {
        max-width: 100%;
        width: 100%;
        height: auto;
        max-width: 300px;
    }
    
    .legacy-vision {
        gap: 15px;
        margin-top: 20px;
        width: 100%;
        overflow: hidden;
        padding: 0 5px;
    }
    
    .legacy-vision div {
        padding: 15px 10px;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }
    
    .legacy-vision div h5 {
        font-size: 16px;
    }
    
    .legacy-vision div p {
        font-size: 12px;
    }
    
    .stats-highlight {
        margin-top: 20px;
    }
    
    .stat-item h3 {
        font-size: 24px;
    }
    
    .stat-item p {
        font-size: 12px;
    }
}

.apply-btn {
    background: var(--bg-success);
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    background: var(--nsc-green-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-green);
}

/* Bootstrap Navigation Customization - English Country Style */
.main-navigation {
    background: linear-gradient(135deg, #2d4a22 0%, #1a3a1a 100%);
    padding: 15px 0;
    border-bottom: 3px solid #8b4513;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.navbar-toggler {
    border: 2px solid #8b4513;
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%238b4513' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link,
.navbar-nav .nav-item .nav-link,
.main-navigation .navbar-nav .nav-link {
    color: #fdfcf8 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin: 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.2);
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #8b4513;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link:focus::before,
.navbar-nav .nav-item.active .nav-link::before {
    width: 80%;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-item.active .nav-link,
.main-navigation .navbar-nav .nav-link:hover,
.main-navigation .navbar-nav .nav-link:focus,
.main-navigation .navbar-nav .nav-item.active .nav-link {
    color: #8b4513 !important;
    background: linear-gradient(145deg, #fdfcf8 0%, #f5f5dc 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.2);
}

.navbar-nav .dropdown-menu {
    background: linear-gradient(135deg, #2d4a22 0%, #1a3a1a 100%);
    border: 2px solid #8b4513;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    margin-top: 10px;
    padding: 8px 0;
}

.navbar-nav .dropdown-item {
    color: #fdfcf8;
    padding: 12px 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    border-radius: 6px;
    margin: 2px 8px;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background: linear-gradient(145deg, #8b4513 0%, #a0522d 100%);
    color: #fdfcf8;
    transform: translateX(5px);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
    position: relative;
    color: var(--text-white);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('assets/school-slide-1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    transform: translateX(100%);
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide:not(.active) {
    transform: translateX(-100%);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-prev,
.slider-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background: var(--text-white);
    border-color: var(--text-white);
    transform: scale(1.2);
}

/* Hero Slider Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .slider-nav {
        padding: 0 10px;
    }
    
    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slider-indicators {
        bottom: 20px;
        gap: 8px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        height: 350px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 14px;
    }
    
    .slider-nav {
        display: none; /* Hide navigation arrows on very small screens */
    }
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

/* Updates Section - Enhanced UI */
.updates-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, #f8f9fa 100%);
    padding: 25px 0;
    border-bottom: 4px solid var(--nsc-yellow);
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.updates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--nsc-red), var(--nsc-yellow), var(--nsc-blue));
    opacity: 0.8;
}

.updates-ticker {
    display: flex;
    align-items: center;
    max-width: 100%;
    position: relative;
    background: var(--text-white);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    cursor: pointer;
}

.updates-ticker:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.updates-ticker:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.updates-ticker::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--nsc-red), var(--nsc-yellow), var(--nsc-blue));
    border-radius: 50px;
    z-index: -1;
    opacity: 0.8;
}

.updates-label {
    background: linear-gradient(135deg, var(--nsc-red), var(--nsc-red-light));
    color: var(--text-white);
    padding: 15px 25px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 50px 0 0 50px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
    box-shadow: inset 0 1px 3px rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.updates-label::before {
    content: '📢';
    font-size: 16px;
    animation: pulse 2s infinite;
}

.updates-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(135deg, var(--nsc-red), var(--nsc-red-light));
    clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.update-text {
    color: var(--text-dark);
    font-weight: 500;
    background: var(--text-white);
    padding: 15px 25px 15px 35px;
    white-space: nowrap;
    overflow: hidden;
    flex: 1;
    position: relative;
    border-radius: 0 50px 50px 0;
    font-size: 15px;
    line-height: 1.4;
}

.update-text::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    animation: shimmer 3s infinite;
    z-index: 1;
}

.update-text-content {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
    font-weight: 500;
    color: var(--text-dark);
}

/* Enhanced Scrolling Animation */
@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-30px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 30px));
        opacity: 0;
    }
}

/* Mobile Responsive Updates - Enhanced */
@media (max-width: 768px) {
    .updates-section {
        padding: 20px 15px;
    }
    
    .updates-ticker {
        flex-direction: column;
        border-radius: 25px;
        margin: 0 10px;
    }
    
    .updates-label {
        width: 100%;
        text-align: center;
        border-radius: 25px 25px 0 0;
        padding: 12px 20px;
        justify-content: center;
    }
    
    .updates-label::after {
        display: none;
    }
    
    .updates-label::before {
        margin-right: 5px;
    }
    
    .update-text {
        border-radius: 0 0 25px 25px;
        padding: 12px 20px;
        text-align: center;
    }
    
    .update-text::before {
        display: none; /* Hide shimmer effect on mobile */
    }
}

@media (max-width: 480px) {
    .updates-section {
        padding: 15px 10px;
    }
    
    .updates-ticker {
        margin: 0 5px;
        border-radius: 20px;
    }
    
    .updates-label {
        padding: 10px 15px;
        font-size: 12px;
        border-radius: 20px 20px 0 0;
    }
    
    .updates-label::before {
        font-size: 14px;
    }
    
    .update-text {
        padding: 10px 15px;
        font-size: 13px;
        border-radius: 0 0 20px 20px;
    }
    
    /* Slower animation on mobile for better readability */
    .update-text-content {
        animation-duration: 40s;
    }
}

/* Content Sections - Countryside Theme */
.content-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.2), transparent);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 42px;
    color: #2d4a22;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 4px rgba(45, 74, 34, 0.1);
}

.section-title p {
    font-size: 20px;
    color: #5a6b4a;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: #2d4a22;
    margin-bottom: 25px;
    font-family: 'Georgia', serif;
    font-weight: 600;
}

.about-text p {
    color: #5a6b4a;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.stats-highlight {
    margin-top: 30px;
    text-align: center;
}

.stat-item {
    display: inline-block;
    padding: 20px 30px;
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 15px;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 40px rgba(139, 69, 19, 0.12),
        0 4px 12px rgba(45, 74, 34, 0.06);
}

.stat-item h3 {
    color: #2d4a22;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    font-family: 'Georgia', serif;
}

.stat-item p {
    color: #5a6b4a;
    font-size: 14px;
    margin: 0;
    font-weight: 500;
}

.legacy-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    margin-top: 40px;
}

.legacy-vision div {
    text-align: center;
    padding: 30px 25px;
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 18px;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: all 0.3s ease;
}

.legacy-vision div:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(139, 69, 19, 0.12),
        0 4px 12px rgba(45, 74, 34, 0.06);
}

.legacy-vision div h5 {
    color: #2d4a22;
    font-size: 18px;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.legacy-vision div p {
    color: #5a6b4a;
    font-size: 14px;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

/* School Gallery Section - Countryside Theme */
.school-gallery-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
}

.school-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22, #8B4513);
    opacity: 1;
}

/* School Gallery Grid */
.school-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.gallery-item {
    background: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.gallery-item.animate-in {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.gallery-item-inner {
    position: relative;
}

/* Gallery Images */
.gallery-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

/* Gallery Overlay */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--nsc-red) 0%, rgba(239, 43, 24, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 10px;
}

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

.gallery-icon {
    font-size: 48px;
    animation: bounce 2s infinite;
}

.view-icon {
    font-size: 24px;
    background: rgba(255,255,255,0.2);
    padding: 8px 12px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

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

/* Gallery Placeholder - Admin */
.gallery-placeholder.admin-placeholder {
    height: 220px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #ffc107;
    margin: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gallery-placeholder.admin-placeholder:hover {
    background: linear-gradient(135deg, #ffeaa7, #fdcb6e);
    border-color: var(--nsc-red);
}

.placeholder-content {
    text-align: center;
    color: #856404;
}

.placeholder-icon {
    font-size: 48px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.placeholder-hint {
    font-size: 12px;
    opacity: 0.8;
    font-style: italic;
}

/* Gallery Placeholder - Visitors */
.gallery-visitor-placeholder {
    height: 220px;
    background: linear-gradient(135deg, var(--nsc-blue), rgba(0, 147, 221, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gallery-visitor-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.visitor-placeholder-content {
    text-align: center;
    color: var(--text-white);
    z-index: 2;
    position: relative;
}

.visitor-placeholder-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

.visitor-placeholder-text {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.visitor-placeholder-subtitle {
    font-size: 14px;
    opacity: 0.8;
    font-weight: 400;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Gallery Content */
.gallery-content {
    padding: 25px;
    text-align: center;
}

.gallery-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.gallery-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Gallery CTA */
.gallery-cta {
    text-align: center;
    margin-top: 50px;
}

.gallery-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(239, 43, 24, 0.3);
}

.gallery-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(239, 43, 24, 0.4);
}

.gallery-arrow {
    font-style: normal;
    transition: transform 0.3s ease;
}

.gallery-btn:hover .gallery-arrow {
    transform: translateX(5px);
}

/* Gallery Lightbox */
.gallery-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--text-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: var(--text-white);
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

#lightboxImage {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: block;
}

.lightbox-caption {
    padding: 20px;
    text-align: center;
    background: var(--text-white);
}

.lightbox-caption h4 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 18px;
}

.lightbox-caption p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

/* Gallery Mobile Responsive */
@media (max-width: 768px) {
    .school-gallery-section {
        padding: 60px 0;
    }
    
    .school-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }
    
    .gallery-image {
        height: 180px;
    }
    
    .gallery-content {
        padding: 20px;
    }
    
    .gallery-title {
        font-size: 18px;
    }
    
    .gallery-description {
        font-size: 13px;
    }
    
    .gallery-icon {
        font-size: 36px;
    }
    
    .gallery-cta {
        margin-top: 40px;
    }
    
    .gallery-btn {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .school-gallery-section {
        padding: 50px 0;
    }
    
    .school-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }
    
    .gallery-image {
        height: 160px;
    }
    
    .gallery-content {
        padding: 15px;
    }
    
    .gallery-title {
        font-size: 16px;
    }
    
    .gallery-description {
        font-size: 12px;
    }
    
    .placeholder-icon,
    .visitor-placeholder-icon {
        font-size: 36px;
    }
    
    .placeholder-text,
    .visitor-placeholder-text {
        font-size: 12px;
    }
    
    .visitor-placeholder-subtitle {
        font-size: 11px;
    }
    
    .placeholder-hint {
        font-size: 10px;
    }
    
    .lightbox-content {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .lightbox-caption {
        padding: 15px;
    }
    
    .lightbox-caption h4 {
        font-size: 16px;
    }
    
    .lightbox-caption p {
        font-size: 13px;
    }
}

/* Full Gallery Page Styles */
.gallery-page-header {
    text-align: center;
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--bg-light), #f8f9fa);
    margin: -20px -20px 40px -20px;
    border-bottom: 4px solid var(--nsc-yellow);
}

.gallery-page-header h1 {
    font-size: 42px;
    color: var(--text-primary);
    margin-bottom: 15px;
    font-weight: 700;
}

.gallery-page-header p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Gallery Filter */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
    justify-content: center;
    padding: 20px;
    background: var(--text-white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.filter-btn {
    padding: 12px 20px;
    border: 2px solid var(--nsc-blue);
    background: var(--text-white);
    color: var(--nsc-blue);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    background: var(--nsc-blue);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 147, 221, 0.3);
}

.filter-btn.active {
    background: var(--nsc-red);
    color: var(--text-white);
    border-color: var(--nsc-red);
    box-shadow: 0 5px 15px rgba(239, 43, 24, 0.3);
}

/* Full Gallery Grid */
.full-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.full-gallery-item {
    background: var(--text-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.full-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--nsc-red);
    color: var(--text-white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.gallery-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e9ecef, #dee2e6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.no-image-placeholder span {
    font-size: 48px;
    margin-bottom: 10px;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(239, 43, 24, 0.9), rgba(0, 147, 221, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--text-white);
    text-align: center;
    padding: 20px;
}

.full-gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-icons {
    font-size: 24px;
    margin-bottom: 15px;
}

.photo-date {
    font-size: 14px;
    opacity: 0.9;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h4 {
    color: var(--text-primary);
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.gallery-info p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* No Photos Message */
.no-photos-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
    border-radius: 20px;
    border: 2px dashed #dee2e6;
}

.no-photos-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-photos-icon {
    font-size: 64px;
    display: block;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-photos-message h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
}

.no-photos-message p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

/* Enhanced Lightbox for Full Gallery */
.lightbox-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(0,0,0,0.7);
    color: var(--text-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

.lightbox-meta {
    margin-top: 15px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Mobile Responsive - Full Gallery */
@media (max-width: 768px) {
    .gallery-page-header {
        padding: 40px 0 30px;
        margin: -15px -15px 30px -15px;
    }
    
    .gallery-page-header h1 {
        font-size: 32px;
    }
    
    .gallery-page-header p {
        font-size: 16px;
    }
    
    .gallery-filter {
        gap: 10px;
        padding: 15px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .full-gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .gallery-image-container {
        height: 200px;
    }
    
    .gallery-info {
        padding: 15px;
    }
    
    .lightbox-navigation {
        padding: 0 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-page-header {
        padding: 30px 0 25px;
    }
    
    .gallery-page-header h1 {
        font-size: 28px;
    }
    
    .full-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-filter {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
}

/* Virtual Tour - Countryside Style */
.virtual-tour {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    color: #2d4a22;
    text-align: center;
    padding: 90px 0;
    position: relative;
}

.virtual-tour::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.2), transparent);
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.tour-item {
    text-align: center;
}

.tour-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

/* Admission Section - Countryside Style */
.admission-section {
    background: linear-gradient(135deg, #2d4a22 0%, #3a5d2a 100%);
    text-align: center;
    padding: 80px 0;
    color: white;
    position: relative;
}

.admission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22, #8B4513);
}

.admission-section h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    font-family: 'Georgia', serif;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admission-section p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-style: italic;
}

.download-btn {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: white;
    padding: 18px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 6px 24px rgba(218, 165, 32, 0.3);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    background: linear-gradient(135deg, #B8860B 0%, #DAA520 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(218, 165, 32, 0.4);
    color: white;
}

.download-btn:hover {
    background: var(--nsc-red-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-primary);
}

/* Footer */
.site-footer {
    background: var(--bg-blue);
    color: var(--text-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: var(--nsc-yellow);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--nsc-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Bootstrap Mobile Navigation Adjustments - English Country Style */
    .navbar-nav {
        text-align: center;
        margin: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 16px !important;
        border-bottom: 2px solid rgba(139, 69, 19, 0.3);
        margin: 0;
        border-radius: 0;
        font-size: 15px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        background: rgba(139, 69, 19, 0.15);
        border-left: 3px solid #8b4513;
        border-right: 3px solid #8b4513;
    }
    
    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .navbar-collapse {
        background: linear-gradient(135deg, #2d4a22 0%, #1a3a1a 100%);
        margin-top: 15px;
        border-radius: 12px;
        border: 2px solid #8b4513;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
        padding: 10px 0;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background: linear-gradient(145deg, #8b4513 0%, #a0522d 100%);
        color: #fdfcf8 !important;
        transform: none;
        box-shadow: none;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-text {
        order: 1;
    }
    
    .about-image {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .about-image img {
        max-width: 100%;
        height: auto;
        width: 100%;
        max-width: 400px;
    }
    
    .legacy-vision {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
        width: 100%;
        overflow: hidden;
    }
    
    .legacy-vision div {
        padding: 20px 15px;
        width: 100%;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .stats-highlight {
        margin-top: 30px;
    }
    
    .stat-item {
        text-align: center;
    }
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* btn-primary styles moved to components.css to avoid conflicts */ 

/* ================================
   News & Updates Section - Countryside Style
   ================================ */
.news-updates-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    position: relative;
}

.news-updates-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22, #8B4513);
    opacity: 0.8;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
    align-items: start;
}

.news-item {
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: all 0.4s ease;
    position: relative;
}

.news-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-item:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(139, 69, 19, 0.15),
        0 4px 16px rgba(45, 74, 34, 0.08);
}

.news-item:hover::before {
    opacity: 1;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-content {
    padding: 25px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.news-date,
.news-category {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.news-date i,
.news-category i {
    color: #DAA520;
    font-size: 12px;
}

.news-content h3 {
    margin: 0 0 15px 0;
    font-size: 22px;
    line-height: 1.3;
    color: #2d4a22;
    font-family: 'Georgia', serif;
}

.news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-content h3 a:hover {
    color: #3a5d2a;
}

.news-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: #2d4a22;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #2d4a22 0%, #3a5d2a 100%);
    color: white;
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(45, 74, 34, 0.2);
}

.read-more:hover {
    background: linear-gradient(135deg, #3a5d2a 0%, #4a6d3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(45, 74, 34, 0.3);
    color: white;
}

.read-more i {
    transition: transform 0.3s ease;
}

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

.news-cta {
    text-align: center;
    margin-top: 50px;
}

.news-cta .btn-primary {
    background: linear-gradient(135deg, #2d4a22 0%, #3a5d2a 100%);
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    box-shadow: 0 6px 24px rgba(45, 74, 34, 0.2);
    transition: all 0.3s ease;
}

.news-cta .btn-primary:hover {
    background: linear-gradient(135deg, #3a5d2a 0%, #4a6d3a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(45, 74, 34, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-updates-section {
        padding: 60px 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 18px;
    }
} 

/* ================================
   Inner Pages - Countryside Styling
   ================================ */
.page-content {
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
}

.page-featured-image.countryside-featured {
    margin-bottom: 30px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
}

.page-featured-image.countryside-featured img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.page-featured-image.countryside-featured:hover img {
    transform: scale(1.02);
}

.page-content h2,
.page-content h3,
.page-content h4 {
    color: #2d4a22;
    font-family: 'Georgia', serif;
    margin: 30px 0 20px;
}

.page-content p {
    color: #5a6b4a;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    color: #5a6b4a;
    line-height: 1.8;
    margin: 20px 0;
    padding-left: 30px;
}

.page-content blockquote {
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    border-left: 4px solid #DAA520;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #2d4a22;
    border-radius: 0 12px 12px 0;
}

/* ================================
   Single Post Layout
   ================================ */
.single-post-page {
    padding: 40px 0 80px;
    background: #f8f9fa;
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.post-main-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Post Header Styles */
.single-post-header {
    padding: 40px 40px 30px;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumb a {
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #1e3c72;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #dee2e6;
}

.breadcrumb .current {
    color: #1e3c72;
    font-weight: 500;
}

.single-post-title {
    font-size: 32px;
    line-height: 1.3;
    color: #1e3c72;
    margin-bottom: 20px;
    font-weight: 700;
}

.single-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
}

.meta-item i {
    color: #ffc107;
    width: 16px;
}

.single-post-featured-image {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.single-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content Styles */
.single-post-content {
    padding: 40px;
    line-height: 1.7;
    color: #333;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4,
.single-post-content h5,
.single-post-content h6 {
    color: #1e3c72;
    margin: 30px 0 15px;
    line-height: 1.4;
}

.single-post-content p {
    margin-bottom: 20px;
}

.single-post-content ul,
.single-post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.single-post-content blockquote {
    background: #f8f9fa;
    border-left: 4px solid #1e3c72;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    color: #555;
}

/* Post Footer Styles */
.single-post-footer {
    padding: 30px 40px 40px;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.post-tags {
    margin-bottom: 30px;
}

.post-tags h4 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 16px;
}

.tag-list a {
    display: inline-block;
    background: #e9ecef;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    margin: 0 5px 5px 0;
    transition: all 0.3s ease;
}

.tag-list a:hover {
    background: #1e3c72;
    color: white;
}

.post-share h4 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 16px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    color: white;
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Post Navigation */
.post-navigation {
    margin-top: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.nav-previous,
.nav-next {
    padding: 30px;
    border-right: 1px solid #e9ecef;
}

.nav-next {
    border-right: none;
    text-align: right;
}

.nav-previous a,
.nav-next a {
    text-decoration: none;
    color: #333;
    display: block;
    transition: color 0.3s ease;
}

.nav-previous a:hover,
.nav-next a:hover {
    color: #1e3c72;
}

.nav-subtitle {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 5px;
    font-weight: 500;
}

.nav-title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

/* Sidebar Styles */
.post-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.widget-title {
    color: #1e3c72;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f8f9fa;
}

/* Back to News Button */
.back-to-news .btn-primary {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Related Posts */
.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.related-post-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.related-post-item:hover {
    background: #e9ecef;
}

.related-post-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.related-post-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: #1e3c72;
}

.related-post-date {
    font-size: 12px;
    color: #6c757d;
}

/* School Events */
.events-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.event-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: #e9ecef;
}

.event-date {
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    background: #1e3c72;
    color: white;
    border-radius: 6px;
    padding: 8px 5px;
}

.event-date .day {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    margin-top: 2px;
}

.event-content h4 {
    margin: 0 0 5px;
    font-size: 14px;
    color: #1e3c72;
}

.event-content p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
}

.events-cta {
    text-align: center;
}

.view-all-events {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.view-all-events:hover {
    color: #2a5298;
}

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

.quick-links-list li {
    border-bottom: 1px solid #f8f9fa;
}

.quick-links-list li:last-child {
    border-bottom: none;
}

.quick-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-links-list a:hover {
    color: #1e3c72;
    padding-left: 5px;
}

.quick-links-list i {
    color: #ffc107;
    width: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .single-post-layout {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .single-post-page {
        padding: 20px 0 60px;
    }
    
    .single-post-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-post-header,
    .single-post-content {
        padding: 25px;
    }
    
    .single-post-footer {
        padding: 20px 25px 25px;
    }
    
    .single-post-title {
        font-size: 24px;
    }
    
    .single-post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .nav-previous,
    .nav-next {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
        text-align: left;
    }
    
    .nav-next {
        border-bottom: none;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
} 

/* ================================
   News Archive Page - English Countryside Style
   ================================ */
.news-archive-page,
.gallery-page,
.inner-page,
.directors-message-page,
.prospectus-page,
.blog-archive-page {
    padding: 40px 0 80px;
    background: linear-gradient(135deg, #f8f6f0 0%, #e8e6e0 100%);
    min-height: 100vh;
}

.news-page-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f9f7f4 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.05);
    position: relative;
    overflow: hidden;
}

.news-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22, #8B4513);
}

.news-page-header h1 {
    color: #2d4a22;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-shadow: 0 2px 4px rgba(45, 74, 34, 0.1);
}

.news-page-header p {
    color: #5a6b4a;
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    font-style: italic;
    line-height: 1.6;
}

.news-archive-content {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.news-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
    align-items: start;
}

/* Ensure at least 2 cards per row on larger screens */
@media (min-width: 768px) {
    .news-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (min-width: 1200px) {
    .news-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

/* Countryside News Cards */
.news-card.countryside-card {
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
    transition: all 0.4s ease;
    min-height: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card.countryside-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card.countryside-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 16px 48px rgba(139, 69, 19, 0.15),
        0 4px 16px rgba(45, 74, 34, 0.08);
}

.news-card.countryside-card:hover::before {
    opacity: 1;
}

/* Card Header */
.news-card .card-header {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-featured-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.news-card:hover .news-featured-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(45, 74, 34, 0) 0%, 
        rgba(45, 74, 34, 0.1) 50%,
        rgba(45, 74, 34, 0.3) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .image-overlay {
    opacity: 1;
}

.news-placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8e6e0 0%, #d4d2c8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    text-align: center;
    color: #8b7355;
}

.placeholder-content i {
    font-size: 48px;
    margin-bottom: 10px;
    display: block;
}

.placeholder-content span {
    font-size: 14px;
    font-weight: 500;
}

.card-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #2d4a22 0%, #3a5d2a 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(45, 74, 34, 0.3);
}

.date-day {
    display: block;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
}

.date-year {
    display: block;
    font-size: 10px;
    opacity: 0.8;
    margin-top: 1px;
}

/* Card Body */
.news-card .card-body {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.category-badge {
    background: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.3);
}

.reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8b7355;
    font-size: 13px;
}

.reading-time i {
    color: #DAA520;
}

.card-title {
    margin: 0 0 16px;
    font-size: 22px;
    line-height: 1.3;
    font-family: 'Georgia', serif;
    flex-shrink: 0;
}

.card-title a {
    color: #2d4a22;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
}

.card-title a:hover {
    color: #3a5d2a;
}

.card-excerpt {
    color: #5a6b4a;
    line-height: 1.7;
    font-size: 15px;
    flex: 1;
    margin-bottom: 20px;
}

/* Card Footer */
.news-card .card-footer {
    padding: 20px 30px 25px;
    border-top: 1px solid rgba(139, 69, 19, 0.08);
    background: linear-gradient(135deg, #fdfcf8 0%, #f9f7f1 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b7355;
    font-size: 14px;
}

.card-author i {
    color: #DAA520;
    font-size: 16px;
}

.card-button {
    background: linear-gradient(135deg, #2d4a22 0%, #3a5d2a 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(45, 74, 34, 0.2);
}

.card-button:hover {
    background: linear-gradient(135deg, #3a5d2a 0%, #4a6d3a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 74, 34, 0.3);
    color: white;
}

.card-button i {
    transition: transform 0.3s ease;
}

.card-button:hover i {
    transform: translateX(3px);
}

/* News Pagination */
.news-pagination {
    text-align: center;
    margin-top: 40px;
}

.news-pagination .page-numbers {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.news-pagination .page-numbers a,
.news-pagination .page-numbers span {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    font-weight: 500;
}

.news-pagination .page-numbers a:hover,
.news-pagination .page-numbers .current {
    background: #1e3c72;
    color: white;
    border-color: #1e3c72;
}

/* No News State */
.no-news {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.no-news-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-news-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.no-news h2 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 28px;
}

.no-news p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Countryside News Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.news-sidebar .sidebar-widget {
    background: linear-gradient(145deg, #ffffff 0%, #fdfcf8 100%);
    border-radius: 18px;
    padding: 30px;
    box-shadow: 
        0 8px 32px rgba(139, 69, 19, 0.08),
        0 2px 8px rgba(45, 74, 34, 0.04);
    border: 1px solid rgba(139, 69, 19, 0.08);
    position: relative;
    overflow: hidden;
}

.news-sidebar .sidebar-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B4513, #DAA520, #228B22);
}

.news-sidebar .widget-title {
    color: #2d4a22;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(139, 69, 19, 0.1);
    position: relative;
}

.news-sidebar .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #DAA520;
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    border-bottom: 1px solid #f8f9fa;
}

.categories-list li:last-child {
    border-bottom: none;
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.categories-list a:hover {
    color: #1e3c72;
    padding-left: 5px;
}

.category-count {
    background: #e9ecef;
    color: #6c757d;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.categories-list a:hover .category-count {
    background: #1e3c72;
    color: white;
}

/* Recent Posts Widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-post-item:hover {
    background: #e9ecef;
}

.recent-post-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-content h4 {
    margin: 0 0 8px;
    font-size: 14px;
    line-height: 1.4;
}

.recent-post-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-post-content h4 a:hover {
    color: #1e3c72;
}

.recent-post-date {
    font-size: 12px;
    color: #6c757d;
}

/* Quick Links Widget */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    border-bottom: 1px solid #f8f9fa;
}

.quick-links li:last-child {
    border-bottom: none;
}

.quick-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    color: #1e3c72;
    padding-left: 5px;
}

.quick-links i {
    color: #ffc107;
    width: 16px;
}

/* Responsive Design for Countryside News Archive */
@media (max-width: 1400px) {
    .news-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .news-archive-content {
        grid-template-columns: 1fr 300px;
        gap: 35px;
    }
    
    .news-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }
    
    .news-card.countryside-card {
        height: auto;
        min-height: 450px;
    }
}

@media (max-width: 1024px) {
    .news-archive-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .news-archive-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .news-card.countryside-card {
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .news-archive-page {
        padding: 20px 0 60px;
    }
    
    .news-page-header {
        margin-bottom: 40px;
        padding: 35px 20px;
        border-radius: 15px;
    }
    
    .news-page-header h1 {
        font-size: 32px;
    }
    
    .news-page-header p {
        font-size: 18px;
    }
    
    .news-archive-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .news-archive-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card .card-header {
        height: 200px;
    }
    
    .news-card .card-body {
        padding: 20px 25px;
    }
    
    .news-card .card-footer {
        padding: 18px 25px 22px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .card-button {
        align-self: stretch;
        justify-content: center;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-date-badge {
        top: 12px;
        right: 12px;
        padding: 10px 14px;
    }
    
    .date-day {
        font-size: 18px;
    }
    
    .news-sidebar .sidebar-widget {
        padding: 25px;
        border-radius: 15px;
    }
    
    .news-sidebar .widget-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .news-pagination .page-numbers {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .news-pagination .page-numbers a,
    .news-pagination .page-numbers span {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .news-page-header {
        padding: 25px 15px;
    }
    
    .news-page-header h1 {
        font-size: 26px;
    }
    
    .news-page-header p {
        font-size: 16px;
    }
    
    .news-card .card-body {
        padding: 18px 20px;
    }
    
    .news-card .card-footer {
        padding: 15px 20px 18px;
    }
    
    .card-title {
        font-size: 18px;
    }
    
    .card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .news-sidebar .sidebar-widget {
        padding: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .page-content {
        padding: 25px;
        border-radius: 15px;
    }
    
    .page-content h2,
    .page-content h3,
    .page-content h4 {
        font-size: 20px;
        margin: 20px 0 15px;
    }
    
    .page-featured-image.countryside-featured {
        border-radius: 15px;
        margin-bottom: 25px;
    }
} 

/* Inner Pages Mobile Responsiveness */
@media (max-width: 768px) {
    .inner-page,
    .gallery-page,
    .directors-message-page,
    .prospectus-page,
    .blog-archive-page {
        padding: 20px 0 60px;
    }
    
    .page-content {
        margin-bottom: 30px;
    }
}

/* ===================================
   COMPACT CONTACT PAGE STYLES
=================================== */

/* Contact Page Compact Wrapper */
.contact-page-compact {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Quick Contact Info Bar */
.contact-info-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--nsc-green), var(--nsc-green-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.info-text strong {
    display: block;
    color: var(--nsc-red);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.info-text span {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.4;
}

/* Main Contact Layout */
.contact-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.section-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(3, 109, 51, 0.1);
}

.section-header h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Georgia', serif;
}

.section-header h2 i {
    color: var(--nsc-green);
    margin-right: 8px;
}

.section-header p {
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

/* Compact Contact Form */
.compact-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-field,
.form-field-full {
    display: flex;
    flex-direction: column;
}

.form-field label,
.form-field-full label {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.form-field label i,
.form-field-full label i {
    color: var(--nsc-green);
    margin-right: 6px;
    width: 14px;
}

.form-field input,
.form-field select,
.form-field-full textarea {
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #2c3e50;
    font-family: inherit;
}

.form-field input:focus,
.form-field select:focus,
.form-field-full textarea:focus {
    outline: none;
    border-color: var(--nsc-green);
    box-shadow: 0 0 0 3px rgba(3, 109, 51, 0.1);
}

.form-field input::placeholder,
.form-field-full textarea::placeholder {
    color: #a0a0a0;
    font-style: italic;
}

.form-field-full textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.privacy-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #5a6c7d;
    cursor: pointer;
}

.privacy-check input[type="checkbox"] {
    accent-color: var(--nsc-green);
}

.btn-submit {
    background: linear-gradient(135deg, var(--nsc-green), var(--nsc-green-light));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(3, 109, 51, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 109, 51, 0.4);
    background: linear-gradient(135deg, var(--nsc-green-dark), var(--nsc-green));
}

/* Department Quick Links */
.department-quick-links {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid rgba(3, 109, 51, 0.1);
}

.department-quick-links h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

.dept-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dept-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.2);
    border-radius: 6px;
    color: var(--nsc-green);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.dept-links a:hover {
    background: var(--nsc-green);
    color: white;
    transform: translateY(-1px);
}

.dept-links a i {
    font-size: 14px;
}

/* Contact Map Section */
.contact-map-section {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

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

.map-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.map-btn {
    background: linear-gradient(135deg, var(--nsc-blue), var(--nsc-blue-light));
    color: white;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 147, 221, 0.3);
}

.map-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 147, 221, 0.4);
    background: linear-gradient(135deg, var(--nsc-blue-dark), var(--nsc-blue));
}

/* Address Details */
.address-details {
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.address-details h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
    border-bottom: 2px solid rgba(3, 109, 51, 0.1);
    padding-bottom: 10px;
}

.address-details p {
    color: #5a6c7d;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 15px;
}

.address-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
}

.address-features span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--nsc-green);
    font-size: 13px;
    font-weight: 600;
}

.address-features span i {
    color: var(--nsc-green);
}

/* Compact Contact Page Mobile Responsiveness */
@media (max-width: 768px) {
    .contact-page-compact {
        padding: 15px;
    }
    
    .contact-info-bar {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .info-item i {
        align-self: center;
    }
    
    .contact-main-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-form-section,
    .contact-map-section {
        padding: 20px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-submit {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .privacy-check {
        justify-content: center;
    }
    
    .btn-submit {
        align-self: center;
        padding: 14px 30px;
    }
    
    .dept-links {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .map-btn {
        justify-content: center;
    }
    
    .address-features {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

/* ===================================
   SIMPLE SINGLE POST STYLES
=================================== */

/* Simple Single Post Page */
.simple-single-post {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    padding: 30px 0 60px;
    min-height: 60vh;
}

/* Back Navigation */
.post-back-nav {
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nsc-green);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(3, 109, 51, 0.3);
}

.back-button:hover {
    background: var(--nsc-green-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(3, 109, 51, 0.4);
    color: white;
}

/* Post with Sidebar Layout */
.post-with-sidebar-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Post Main Content */
.post-main-content {
    min-width: 0; /* Prevents overflow issues */
}

/* Simple Post Article */
.simple-post-article {
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Simple Post Header */
.simple-post-header {
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(3, 109, 51, 0.1);
}

.simple-post-header .post-title {
    color: #2c3e50;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    font-family: 'Georgia', serif;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #5a6c7d;
    font-size: 14px;
    font-weight: 500;
}

.post-meta i {
    color: var(--nsc-green);
}

.post-category a {
    color: var(--nsc-green);
    text-decoration: none;
    font-weight: 600;
}

.post-category a:hover {
    color: var(--nsc-green-dark);
}

/* Featured Image */
.post-featured-image {
    margin: 30px 0;
    text-align: center;
}

.post-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 40px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    color: #2c3e50;
    margin: 30px 0 15px;
    font-weight: 600;
}

.post-content h2 {
    font-size: 24px;
}

.post-content h3 {
    font-size: 20px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
}

/* Simple Post Footer */
.simple-post-footer {
    border-top: 2px solid rgba(3, 109, 51, 0.1);
    padding-top: 30px;
}

/* Tags */
.post-tags {
    margin-bottom: 25px;
    text-align: center;
}

.tags-label {
    color: #2c3e50;
    font-weight: 600;
    margin-right: 10px;
}

.tag {
    display: inline-block;
    background: rgba(3, 109, 51, 0.1);
    color: var(--nsc-green);
    padding: 4px 12px;
    border-radius: 6px;
    margin: 0 5px 5px 0;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.tag:hover {
    background: var(--nsc-green);
    color: white;
}

/* Post Navigation */
.post-navigation {
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-previous,
.nav-next {
    background: var(--nsc-blue);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(0, 147, 221, 0.3);
}

.nav-previous:hover,
.nav-next:hover {
    background: var(--nsc-blue-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 147, 221, 0.4);
    color: white;
}

/* Post Simple Sidebar */
.post-simple-sidebar {
    position: sticky;
    top: 30px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
}

/* Sidebar Widget */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sidebar-widget:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.widget-title {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(3, 109, 51, 0.1);
    text-align: center;
}

/* Sidebar Posts List */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-post-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f6f0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-post-item:hover {
    background: rgba(3, 109, 51, 0.05);
    transform: translateX(3px);
}

.sidebar-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    overflow: hidden;
    border-radius: 6px;
}

.sidebar-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-content {
    flex: 1;
    min-width: 0;
}

.sidebar-post-content h4 {
    margin-bottom: 5px;
}

.sidebar-post-content h4 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-content h4 a:hover {
    color: var(--nsc-green);
}

.sidebar-post-date {
    color: #7f8c8d;
    font-size: 12px;
    font-weight: 500;
}

.no-related {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
    padding: 20px;
}

/* View All Link */
.view-all-link {
    margin-top: 20px;
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(3, 109, 51, 0.1);
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--nsc-green);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: var(--nsc-green-dark);
    transform: translateY(-1px);
    color: white;
}

/* Categories List */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: #f8f6f0;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: var(--nsc-green);
    color: white;
    transform: translateX(3px);
}

.category-link i {
    color: var(--nsc-green);
    margin-right: 8px;
}

.category-link:hover i {
    color: white;
}

.category-count {
    font-size: 12px;
    opacity: 0.8;
}

/* Quick Links List */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8f6f0;
    border-radius: 6px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-link:hover {
    background: var(--nsc-blue);
    color: white;
    transform: translateX(3px);
}

.quick-link i {
    color: var(--nsc-blue);
    width: 16px;
    text-align: center;
}

.quick-link:hover i {
    color: white;
}

/* Simple Single Post Mobile */
@media (max-width: 768px) {
    .simple-single-post {
        padding: 20px 0 40px;
    }
    
    /* Mobile: Stack sidebar below content */
    .post-with-sidebar-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .simple-post-article {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .simple-post-header .post-title {
        font-size: 26px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-previous,
    .nav-next {
        justify-content: center;
    }
    
    /* Mobile Sidebar */
    .post-simple-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    
    .sidebar-widget {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .widget-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    /* Mobile Sidebar Posts */
    .sidebar-post-item {
        padding: 10px;
    }
    
    .sidebar-post-thumb {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-post-content h4 a {
        font-size: 13px;
    }
}

/* ===================================
   ABOUT US PAGE STYLES
=================================== */

.about-us-page {
    background: linear-gradient(135deg, #fdfbf7 0%, #f8f6f0 100%);
}

/* About Hero Section */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}

.about-hero-content {
    text-align: center;
}

.about-us-page .school-name {
    font-size: 3rem;
    color: var(--nsc-green);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.about-us-page .school-tagline {
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.about-us-page .school-affiliation {
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 25px;
    font-style: italic;
}

.affiliation-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.affiliation-badges .badge {
    background: var(--nsc-green);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--nsc-green);
}

.affiliation-badges .badge:hover {
    background: white;
    color: var(--nsc-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Vision & Mission Grid */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vm-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vision-card {
    border-color: #007bff;
}

.mission-card {
    border-color: var(--nsc-green);
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.vm-card h3 {
    color: var(--nsc-green);
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.vm-card ul {
    text-align: left;
    color: #666;
    line-height: 1.8;
    list-style: none;
    padding: 0;
}

.vm-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.vm-card ul li:before {
    content: "✓";
    color: var(--nsc-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.vm-card p {
    color: #666;
    line-height: 1.8;
    text-align: left;
}

/* Principal Message */
.principal-message {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.principal-photo {
    text-align: center;
}

.photo-placeholder {
    width: 250px;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid var(--nsc-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.photo-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 10px;
}

.photo-text {
    color: #888;
    font-size: 0.9rem;
}

.principal-photo h4 {
    color: var(--nsc-green);
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.designation {
    color: #666;
    font-style: italic;
}

.principal-content blockquote {
    background: rgba(3, 109, 51, 0.1);
    border-left: 5px solid var(--nsc-green);
    padding: 20px 25px;
    margin-bottom: 25px;
    border-radius: 0 15px 15px 0;
    font-size: 1.2rem;
    font-style: italic;
    color: var(--nsc-green);
}

.principal-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    text-align: justify;
}

/* Academic Features */
.academic-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--nsc-green);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    color: var(--nsc-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.highlight-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--nsc-green);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--nsc-green);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.highlight-item h4 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.highlight-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--nsc-green);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h4 {
    color: var(--nsc-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Contact About Section */
.contact-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.contact-info h3 {
    color: var(--nsc-green);
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    border-left: 4px solid var(--nsc-green);
}

.contact-item strong {
    color: var(--nsc-green);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item p {
    color: #555;
    margin: 0;
    font-size: 1rem;
}

.quick-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.school-image {
    text-align: center;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--nsc-green);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.placeholder-icon {
    font-size: 4rem;
    color: #ccc;
    margin-bottom: 15px;
}

.image-placeholder p {
    color: #888;
    font-size: 1rem;
    margin: 0;
}

/* Responsive Design for About Us */
@media (max-width: 768px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .school-name {
        font-size: 2.2rem;
    }
    
    .affiliation-badges {
        justify-content: center;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .principal-message {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .photo-placeholder {
        width: 200px;
        height: 250px;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-about {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quick-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .school-name {
        font-size: 1.8rem;
    }
    
    .affiliation-badges .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-number {
        font-size: 2.5rem;
    }
    
    .vm-card, .feature-card, .value-item {
        padding: 20px;
    }
    
    .vm-icon, .feature-icon, .value-icon {
        font-size: 2.5rem;
    }
}

/* ===================================
   MANDATORY DISCLOSURE PAGE STYLES
=================================== */

/* Mandatory Disclosure Page */
.mandatory-disclosure-page {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    padding: 30px 0 60px;
    min-height: 70vh;
}

/* Disclosure Content */
.disclosure-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.disclosure-breadcrumb {
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.disclosure-breadcrumb a {
    color: var(--nsc-green);
    text-decoration: none;
    font-weight: 600;
}

.disclosure-breadcrumb a:hover {
    color: var(--nsc-green-dark);
    text-decoration: underline;
}

.disclosure-breadcrumb .separator {
    margin: 0 10px;
    color: #7f8c8d;
}

.disclosure-breadcrumb .current {
    color: #2c3e50;
    font-weight: 600;
}

/* Disclosure Section */
.disclosure-section {
    background: #ffffff;
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.disclosure-section:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.section-title {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--nsc-green);
    text-align: center;
    font-family: 'Georgia', serif;
    background: linear-gradient(135deg, var(--nsc-green), var(--nsc-green-light));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Table Wrapper */
.info-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Disclosure Table */
.disclosure-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin: 0;
}

.disclosure-table thead {
    background: linear-gradient(135deg, var(--nsc-green), var(--nsc-green-light));
}

.disclosure-table thead th {
    color: white;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--nsc-green-dark);
}

.disclosure-table tbody tr {
    transition: all 0.3s ease;
}

.disclosure-table tbody tr:nth-child(even) {
    background: #f8f6f0;
}

.disclosure-table tbody tr:hover {
    background: rgba(3, 109, 51, 0.05);
    transform: translateX(2px);
}

.disclosure-table td {
    padding: 15px 12px;
    border-bottom: 1px solid rgba(3, 109, 51, 0.1);
    vertical-align: top;
    color: #2c3e50;
    line-height: 1.5;
}

.disclosure-table td:first-child {
    font-weight: 600;
    color: var(--nsc-green);
    text-align: center;
    background: rgba(3, 109, 51, 0.03);
    min-width: 60px;
}

.disclosure-table td:nth-child(2) {
    font-weight: 500;
    color: #34495e;
    min-width: 200px;
}

.disclosure-table td:last-child {
    font-weight: 600;
    color: #2c3e50;
}

/* Document Links */
.doc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--nsc-blue), var(--nsc-blue-light));
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 147, 221, 0.3);
}

.doc-link:before {
    content: '📄';
    font-size: 14px;
}

.doc-link:hover {
    background: linear-gradient(135deg, var(--nsc-blue-dark), var(--nsc-blue));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 147, 221, 0.4);
    color: white;
}

/* Video Link */
.video-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--nsc-red), #ff4757);
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(239, 43, 24, 0.3);
}

.video-link:hover {
    background: linear-gradient(135deg, var(--nsc-red-dark), var(--nsc-red));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 43, 24, 0.4);
    color: white;
}

/* Pending Document */
.pending-doc {
    color: #e74c3c;
    font-style: italic;
    font-weight: 500;
}

/* Disclosure Footer */
.disclosure-footer {
    background: linear-gradient(135deg, #f8f6f0 0%, #ffffff 100%);
    border: 1px solid rgba(3, 109, 51, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.last-updated {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(3, 109, 51, 0.1);
}

.last-updated p {
    margin-bottom: 8px;
    color: #5a6c7d;
    font-size: 14px;
}

.last-updated p:first-child {
    color: #2c3e50;
    font-weight: 600;
    font-size: 16px;
}

.contact-info h3 {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Georgia', serif;
}

.contact-info p {
    margin-bottom: 8px;
    color: #5a6c7d;
    font-size: 15px;
}

/* Mobile Responsive for Disclosure */
@media (max-width: 768px) {
    .mandatory-disclosure-page {
        padding: 20px 0 40px;
    }
    
    .disclosure-content {
        padding: 0 15px;
    }
    
    .disclosure-section {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .section-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .disclosure-table {
        font-size: 13px;
    }
    
    .disclosure-table thead th,
    .disclosure-table td {
        padding: 10px 8px;
    }
    
    .disclosure-table td:nth-child(2) {
        min-width: 150px;
    }
    
    .doc-link,
    .video-link {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .disclosure-footer {
        padding: 20px 15px;
    }
    
    .contact-info h3 {
        font-size: 18px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
}

/* Print Styles for Disclosure */
@media print {
    .mandatory-disclosure-page {
        background: white !important;
        padding: 0 !important;
    }
    
    .disclosure-breadcrumb,
    .page-header-primary {
        display: none;
    }
    
    .disclosure-section {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 20px;
    }
    
    .section-title {
        color: #000 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
    
    .disclosure-table {
        box-shadow: none;
    }
    
    .disclosure-table thead {
        background: #f0f0f0 !important;
    }
    
    .disclosure-table thead th {
        color: #000 !important;
    }
    
    .doc-link,
    .video-link {
        background: none !important;
        color: #000 !important;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* =====================================================
   ADMISSIONS PAGE STYLES
   ===================================================== */

.admissions-page {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f3ed 100%);
    min-height: 100vh;
}

.admissions-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Admission Hero Section */
.admission-hero {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--nsc-green);
}

.admission-intro p {
    font-size: 18px;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 20px;
}

.admission-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Compact Highlights */
.admission-highlights-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.highlight-item-compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(3, 109, 51, 0.2);
}

.highlight-item-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(3, 109, 51, 0.3);
}

.highlight-icon-small {
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

/* Legacy highlight cards (keep for compatibility) */
.highlight-card {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(3, 109, 51, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(3, 109, 51, 0.4);
}

.highlight-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.highlight-card p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
}

/* Section Styling */
.content-section {
    margin: 60px 0;
    padding: 0 20px;
}

.content-section-alt {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    margin: 60px -20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 2px solid #e8f5e8;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--nsc-green);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-title p {
    font-size: 20px;
    color: #666;
    line-height: 1.6;
}

/* Tables */
.admission-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.eligibility-table-wrapper,
.fee-table-wrapper {
    overflow-x: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.admission-table th {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 20px 15px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admission-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 15px;
    line-height: 1.6;
}

.admission-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.admission-table tr:hover {
    background-color: #e8f5e8;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.admission-table td strong {
    color: var(--nsc-green);
    font-weight: 700;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--nsc-green);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.step-number {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(3, 109, 51, 0.3);
}

.step-content h4 {
    color: var(--nsc-green);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-content p {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Documents Toggle Section */
.documents-toggle-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f8f0;
}

.documents-toggle-btn {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(3, 109, 51, 0.3);
    min-width: 280px;
    justify-content: center;
}

.documents-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(3, 109, 51, 0.4);
    background: linear-gradient(135deg, #028a37 0%, var(--nsc-green) 100%);
}

.toggle-icon {
    font-size: 20px;
}

.toggle-text {
    font-size: 18px;
}

.toggle-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.toggle-subtitle {
    margin-top: 15px;
    color: #666;
    font-size: 16px;
    font-style: italic;
}

.documents-collapsible {
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Documents Grid */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.document-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #f0f8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.document-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--nsc-green);
}

.doc-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--nsc-green);
}

.document-card h4 {
    color: var(--nsc-green);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.document-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Important Dates */
.dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.date-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid #f0f8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.date-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--nsc-green);
}

.date-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--nsc-green);
}

.date-card h4 {
    color: var(--nsc-green);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.date-value {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 15px;
    display: inline-block;
}

.date-note {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    font-style: italic;
}

/* Admissions Layout */
.admissions-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.admissions-main-content {
    min-width: 0; /* Prevents overflow */
}

.admissions-sidebar {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 20px;
    height: fit-content;
    position: sticky;
    top: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 2px solid #f0f8f0;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 30px;
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f8f0;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    color: var(--nsc-green);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8f5e8;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Widget */
.contact-widget .contact-item {
    margin-bottom: 15px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.contact-widget .contact-item:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.contact-widget strong {
    color: var(--nsc-green);
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.contact-widget p {
    color: #555;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.sidebar-btn {
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 109, 51, 0.3);
    color: white;
    text-decoration: none;
}

/* Facts List */
.facts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.fact-item:hover {
    background: #e8f5e8;
    transform: translateX(5px);
}

.fact-icon {
    font-size: 24px;
    min-width: 30px;
    text-align: center;
}

.fact-content strong {
    color: var(--nsc-green);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.fact-content p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Page Navigation */
.page-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-link:hover {
    background: var(--nsc-green);
    color: white;
    transform: translateX(5px);
    text-decoration: none;
    border-left-color: white;
    box-shadow: 0 4px 12px rgba(3, 109, 51, 0.2);
}

.nav-link.active {
    background: var(--nsc-green);
    color: white;
    border-left-color: white;
}

.nav-icon {
    font-size: 16px;
    min-width: 20px;
}

/* Sidebar Links */
.sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background: var(--nsc-green);
    color: white;
    transform: translateX(5px);
    text-decoration: none;
}

.link-icon {
    font-size: 16px;
    min-width: 20px;
}

/* Deadlines List */
.deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.deadline-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.deadline-item:hover {
    background: #e8f5e8;
}

.deadline-date {
    background: var(--nsc-green);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    min-width: 50px;
    line-height: 1.2;
}

.deadline-text strong {
    color: var(--nsc-green);
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.deadline-text p {
    color: #666;
    font-size: 12px;
    margin: 0;
}

/* Apply Section - Simplified */
.apply-section-simple {
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(3, 109, 51, 0.3);
    text-align: center;
}

.apply-content-center h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.apply-content-center p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.apply-note {
    margin-top: 25px !important;
    font-size: 16px !important;
    opacity: 0.9 !important;
    font-style: italic;
}

/* Legacy Apply Section (keep for compatibility) */
.apply-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin: 60px 0;
    padding: 50px;
    background: linear-gradient(135deg, var(--nsc-green) 0%, #028a37 100%);
    color: white;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(3, 109, 51, 0.3);
}

.apply-content h3 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.apply-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    opacity: 0.95;
}

.apply-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 200px;
}

.btn-primary {
    background: white;
    color: var(--nsc-green);
    border: 3px solid white;
}

.btn-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--nsc-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.apply-contact h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

.contact-info strong {
    font-weight: 700;
    margin-right: 8px;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* =====================================================
   RESPONSIVE DESIGN - ADMISSIONS PAGE
   ===================================================== */

@media (max-width: 768px) {
    .admissions-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .admissions-sidebar {
        position: static;
        order: -1; /* Show sidebar first on mobile */
        padding: 15px;
    }
    
    .sidebar-widget {
        margin-bottom: 20px;
        padding: 20px;
    }
    
    .widget-title {
        font-size: 16px;
    }
    
    .admission-hero {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .admission-highlights-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .highlight-item-compact {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    .highlight-icon-small {
        font-size: 20px;
    }
    
    .content-section-alt {
        margin: 40px -10px;
        padding: 40px 20px;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .section-title p {
        font-size: 18px;
    }
    
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .documents-toggle-section {
        padding: 20px;
        margin: 30px 0;
    }
    
    .documents-toggle-btn {
        padding: 15px 25px;
        font-size: 16px;
        min-width: 250px;
    }
    
    .apply-section,
    .apply-section-simple {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .apply-content-center h3 {
        font-size: 28px;
    }
    
    .apply-actions {
        flex-direction: column;
    }
    
    .btn-large {
        min-width: auto;
        width: 100%;
    }
    
    .admission-table {
        font-size: 14px;
    }
    
    .admission-table th,
    .admission-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    .admission-hero {
        padding: 20px 15px;
    }
    
    .content-section {
        padding: 0 10px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .step-content h4 {
        font-size: 20px;
    }
    
    .apply-content h3,
    .apply-content-center h3 {
        font-size: 28px;
    }
    
    .admissions-sidebar {
        padding: 10px;
    }
    
    .sidebar-widget {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .highlight-card {
        padding: 20px;
    }
    
    .highlight-icon {
        font-size: 36px;
    }
    
    .documents-toggle-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .documents-toggle-btn {
        padding: 12px 20px;
        font-size: 14px;
        min-width: 200px;
        flex-direction: column;
        gap: 8px;
    }
    
    .toggle-text {
        font-size: 16px;
    }
    
    .fact-item, .deadline-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .deadline-date {
        min-width: auto;
        padding: 6px 10px;
    }
}