/* ============================================
   PNC - Promoting National Cohesion
   Main Stylesheet
   Color Theme: #00a859 (Green), #0c9bd3 (Blue), #f5873b (Orange)
   ============================================ */

/* CSS Variables */
:root {
    --primary-green: #00a859;
    --primary-blue: #0c9bd3;
    --primary-orange: #f5873b;
    --dark-green: #008a49;
    --dark-blue: #0a7fb0;
    --dark-orange: #e07530;
    --light-green: #e6f7ef;
    --light-blue: #e6f4fa;
    --light-orange: #fef3eb;
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.top-bar {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--text-white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    gap: 15px;
}

.top-bar-right a {
    color: var(--text-white);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.top-bar-right a:hover {
    background: var(--primary-orange);
    transform: translateY(-2px);
}

/* Main Header */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1.3;
}

.logo-text span {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 5px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--border-radius);
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.2;
}

.nav-menu > li > a i {
    font-size: 14px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    background: var(--light-green);
    color: var(--primary-green);
}

/* Orange highlight for Home & Community School */
.nav-menu > li > a.nav-highlight {
    color: var(--primary-orange);
}
.nav-menu > li > a.nav-highlight:hover,
.nav-menu > li > a.nav-highlight.active {
    background: var(--primary-orange);
    color: var(--text-white);
}

/* Dropdown Menu */
.nav-menu li.has-dropdown > a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 8px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.nav-menu li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    font-size: 14px;
    line-height: 1.2;
    white-space: nowrap;
}

.dropdown li:last-child a {
    border-bottom: none;
}

.dropdown li a:hover {
    background: var(--light-green);
    color: var(--primary-green);
    padding-left: 25px;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 168, 89, 0.65), rgba(12, 155, 211, 0.65));
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--text-white);
    padding: 0 20px;
}

.slide-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 20px;
    max-width: 700px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--primary-orange);
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 20px;
}

.slider-arrow:hover {
    background: var(--primary-orange);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--dark-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(245, 135, 59, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-green);
}

.btn-green {
    background: var(--primary-green);
    color: var(--text-white);
}

.btn-green:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 168, 89, 0.3);
}

.btn-blue {
    background: var(--primary-blue);
    color: var(--text-white);
}

.btn-facebook {
    background: #1877f2;
    color: var(--text-white);
    text-decoration: none;
}

.btn-facebook:hover {
    background: #166fe5;
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(24, 119, 242, 0.35);
}

.btn-facebook i {
    margin-right: 8px;
}

.news-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.news-detail-actions .btn-secondary {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.news-detail-actions .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

.btn-blue:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(12, 155, 211, 0.3);
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue), var(--primary-orange));
    border-radius: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

/* ============================================
   ABOUT / VISION MISSION SECTION
   ============================================ */
.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-orange);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--primary-green);
    border-radius: var(--border-radius);
    z-index: -1;
}

.about-content h3 {
    font-size: 32px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Vision Mission Cards */
.vm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.vm-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-green);
}

.vm-card:nth-child(2)::before {
    background: var(--primary-blue);
}

.vm-card:nth-child(3)::before {
    background: var(--primary-orange);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.vm-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.vm-card:nth-child(2) .vm-card-icon {
    background: var(--light-blue);
}

.vm-card:nth-child(3) .vm-card-icon {
    background: var(--light-orange);
}

.vm-card h4 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.vm-card p {
    color: var(--text-light);
}

/* ============================================
   STATISTICS COUNTER
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--text-white);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 18px;
    opacity: 0.9;
}

/* ============================================
   PROGRAMS / THEMATIC AREAS
   ============================================ */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.home-programs-grid {
    grid-template-columns: repeat(3, 1fr);
}

.program-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.program-image {
    height: 200px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 25px;
}

.program-content h4 {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.program-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--primary-green);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-green);
    color: var(--text-white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.project-gallery-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
}

.project-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: pointer;
}

/* Simple badges for project details page */
.project-location {
    background: var(--bg-light);
    color: var(--text-dark);
}

.project-status.completed {
    background: var(--primary-green) !important;
    color: var(--text-white) !important;
}

@media (max-width: 1024px) {
    .project-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.project-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.completed {
    background: var(--primary-green);
    color: var(--text-white);
}

.project-status.ongoing {
    background: var(--primary-orange);
    color: var(--text-white);
}

.project-content {
    padding: 25px;
}

.project-content h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   BOD / TEAM SECTION
   ============================================ */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.team-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 0;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--primary-green);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.team-info {
    padding: 25px;
}

.team-info h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.team-info span {
    color: var(--primary-green);
    font-size: 14px;
}

/* BOD & TAG Profiles – 2 per row, horizontal cards */
.bod-profiles .team-grid,
.tag-profiles .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 44px;
}

/* Horizontal card: image left, text right – room for dynamic content */
.bod-profiles .team-card,
.tag-profiles .team-card {
    display: flex;
    flex-direction: row;
    text-align: left;
    align-items: stretch;
    min-height: 0;
}

.bod-profiles .team-card:hover,
.tag-profiles .team-card:hover {
    transform: translateY(-4px);
}

.bod-profiles .team-image,
.tag-profiles .team-image {
    width: 200px;
    min-width: 200px;
    height: 260px;
    flex-shrink: 0;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.bod-profiles .team-image img,
.tag-profiles .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bod-profiles .team-info,
.tag-profiles .team-info {
    flex: 1;
    min-width: 0;
    padding: 28px 32px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.bod-profiles .team-info h4,
.tag-profiles .team-info h4 {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 6px;
}

.bod-profiles .team-info span,
.tag-profiles .team-info span {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.bod-profiles .team-info .bod-card-desc,
.tag-profiles .team-info .tag-card-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
    min-height: 0;
}

.bod-profiles .bod-badge {
    display: inline-block;
    padding: 6px 22px;
    background: var(--primary-green);
    color: white;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 16px;
}

.bod-profiles .bod-expertise {
    color: var(--primary-blue);
    font-size: 14px;
    margin-bottom: 16px;
}

.bod-profiles .bod-featured .about-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
}

.bod-profiles .bod-photo {
    object-fit: cover;
}

/* BOD & TAG cards: social bar at bottom of image */
.bod-profiles .team-social,
.tag-profiles .team-social {
    bottom: 0;
}

.bod-profiles .team-card:hover .team-social,
.tag-profiles .team-card:hover .team-social {
    bottom: 0;
}

@media (max-width: 992px) {
    .bod-profiles .team-grid,
    .tag-profiles .team-grid {
        gap: 32px 0;
    }
    .bod-profiles .team-image,
    .tag-profiles .team-image {
        width: 180px;
        min-width: 180px;
        height: 230px;
    }
    .bod-profiles .team-info,
    .tag-profiles .team-info {
        padding: 24px 24px 24px 20px;
    }
}

@media (max-width: 768px) {
    .bod-profiles .team-grid,
    .tag-profiles .team-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .bod-profiles .team-card,
    .tag-profiles .team-card {
        flex-direction: column;
        text-align: center;
    }
    .bod-profiles .team-image,
    .tag-profiles .team-image {
        width: 100%;
        min-width: 100%;
        height: 280px;
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    .bod-profiles .team-info,
    .tag-profiles .team-info {
        padding: 24px 20px;
        text-align: center;
    }
    .bod-profiles .team-info span,
    .tag-profiles .team-info span {
        margin-bottom: 10px;
    }
    .bod-profiles .bod-featured .about-content h3 {
        font-size: 24px;
    }
}

/* ============================================
   APPRECIATION LETTERS
   ============================================ */
.appreciation-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.appreciation-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.appreciation-card:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-hover);
}

.appreciation-image {
    height: 350px;
    overflow: hidden;
}

.appreciation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.appreciation-content {
    padding: 20px;
    text-align: center;
}

.appreciation-content h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.appreciation-content p {
    font-size: 13px;
    color: var(--text-light);
}

/* ============================================
   NEWS / UPDATES
   ============================================ */
.news-updates-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.news-updates-main {
    min-width: 0;
}

.news-updates-sidebar {
    position: sticky;
    top: 100px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.news-sidebar-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text-dark);
}

.news-sidebar-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-sidebar-list li {
    margin: 0 0 10px;
}

.news-sidebar-list a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
}

.news-sidebar-list a:hover {
    text-decoration: underline;
}

.news-sidebar-list a.is-active {
    color: var(--text-dark);
    font-weight: 700;
    pointer-events: none;
}

@media (max-width: 991px) {
    .news-updates-layout {
        grid-template-columns: 1fr;
    }

    .news-updates-sidebar {
        position: static;
    }
}

/* Facebook feed widget (home) */
.fb-widget {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 28px 28px 36px;
    margin-top: 8px;
}

.fb-widget-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 28px;
}

.fb-widget-brand {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    min-width: 0;
    flex: 1 1 280px;
}

.fb-widget-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid #e7ecf3;
}

.fb-widget-avatar--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
    color: #fff;
    font-weight: 700;
    font-size: 22px;
}

.fb-widget-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.fb-widget-page-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1877f2;
    text-decoration: none;
}

.fb-widget-page-name:hover {
    text-decoration: underline;
}

.fb-widget-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.fb-widget-followers {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.fb-widget-about {
    font-size: 14px;
    line-height: 1.55;
    color: var(--text-light);
    margin: 10px 0 0;
    max-width: 640px;
}

.fb-widget-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    flex: 0 1 auto;
}

.fb-widget-search-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid #dde3ea;
    background: #f8f9fb;
    min-width: 200px;
}

.fb-widget-search-wrap i {
    color: #8a94a6;
    font-size: 14px;
}

.fb-widget-search-wrap input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    width: 160px;
    color: var(--text-dark);
}

.fb-widget-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    background: #1877f2;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition);
}

.fb-widget-like-btn:hover {
    background: #166fe5;
    color: #fff !important;
    transform: translateY(-2px);
}

.fb-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.fb-post-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.fb-post-card:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.fb-post-card.is-hidden {
    display: none !important;
}

.fb-post-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 14px 0;
}

.fb-post-card-head-left {
    display: flex;
    gap: 10px;
    align-items: center;
    min-width: 0;
}

.fb-post-card-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.fb-post-card-meta {
    min-width: 0;
}

.fb-post-card-page {
    font-size: 13px;
    font-weight: 700;
    color: #1877f2;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-post-card-page:hover {
    text-decoration: underline;
}

.fb-post-card-date {
    font-size: 12px;
    color: #65676b;
    margin-top: 2px;
}

.fb-post-card-fbicon {
    color: #1877f2;
    font-size: 18px;
    flex-shrink: 0;
}

.fb-post-card-body {
    padding: 10px 14px 0;
    font-size: 14px;
    line-height: 1.5;
    color: #1c1e21;
}

.fb-post-text {
    word-break: break-word;
}

.fb-post-text .fb-hashtag {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

.fb-post-text .fb-hashtag:hover {
    text-decoration: underline;
}

.fb-show-more {
    color: #1877f2;
    font-weight: 600;
    cursor: pointer;
    margin-left: 4px;
    border: none;
    background: none;
    font-size: inherit;
    padding: 0;
    font-family: inherit;
}

.fb-post-card.expanded .fb-post-text-trunc {
    display: none;
}

.fb-post-card:not(.expanded) .fb-post-text-full {
    display: none;
}

.fb-post-media {
    margin-top: 12px;
    background: #f0f2f5;
}

.fb-post-media img {
    width: 100%;
    display: block;
    max-height: 280px;
    object-fit: cover;
}

.fb-post-media--empty {
    min-height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a94a6;
    font-size: 14px;
}

.fb-post-collage {
    display: grid;
    gap: 2px;
    max-height: 280px;
    overflow: hidden;
}

.fb-post-collage-2 {
    grid-template-columns: 1fr 1fr;
}

.fb-post-collage-3,
.fb-post-collage-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.fb-post-collage-cell {
    position: relative;
    min-height: 120px;
    overflow: hidden;
}

.fb-post-collage-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: none;
}

.fb-post-collage-more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.fb-post-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 14px;
    font-size: 13px;
    color: #65676b;
    border-top: 1px solid #f0f2f5;
    margin-top: auto;
}

.fb-post-card-foot-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fb-post-card-foot-left i {
    margin-right: 4px;
    color: #65676b;
}

.fb-post-share {
    border: none;
    background: none;
    color: #65676b;
    cursor: pointer;
    padding: 4px;
    font-size: 16px;
}

.fb-post-share:hover {
    color: #1877f2;
}

/* Modal */
.fb-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.fb-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.fb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    cursor: pointer;
}

.fb-modal-dialog {
    position: relative;
    z-index: 2;
    width: min(1040px, 100%);
    max-height: min(90vh, 880px);
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.fb-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1c1e21;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.fb-modal-close:hover {
    background: #fff;
}

.fb-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #1c1e21;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.fb-modal-nav:hover {
    background: #fff;
}

.fb-modal-prev {
    left: 8px;
}

.fb-modal-next {
    right: 8px;
}

.fb-modal-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    min-height: 360px;
    max-height: min(90vh, 880px);
}

.fb-modal-media {
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 280px;
    max-height: min(90vh, 880px);
}

.fb-modal-media-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    overflow: hidden;
}

.fb-modal-media-main img {
    max-width: 100%;
    max-height: min(72vh, 720px);
    width: auto;
    height: auto;
    object-fit: contain;
}

.fb-modal-thumbs {
    display: flex;
    gap: 6px;
    padding: 8px;
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.35);
}

.fb-modal-thumbs button {
    flex: 0 0 56px;
    height: 56px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.75;
}

.fb-modal-thumbs button.is-active {
    border-color: #fff;
    opacity: 1;
}

.fb-modal-thumbs button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fb-modal-aside {
    padding: 28px 24px 24px;
    overflow-y: auto;
    max-height: min(90vh, 880px);
    border-left: 1px solid #e8ecf1;
}

.fb-modal-aside-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.fb-modal-aside-brand {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fb-modal-aside-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.fb-modal-aside-title {
    font-weight: 700;
    color: #1877f2;
    font-size: 15px;
    text-decoration: none;
}

.fb-modal-aside-title:hover {
    text-decoration: underline;
}

.fb-modal-aside-date {
    font-size: 13px;
    color: #65676b;
    margin-top: 2px;
}

.fb-modal-aside-body {
    font-size: 15px;
    line-height: 1.55;
    color: #1c1e21;
    white-space: pre-wrap;
    word-break: break-word;
}

.fb-modal-aside-body .fb-hashtag {
    color: #1877f2;
    text-decoration: none;
    font-weight: 500;
}

.fb-modal-aside-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #f0f2f5;
    font-size: 14px;
    color: #65676b;
}

.fb-modal-aside-foot-left {
    display: flex;
    gap: 16px;
}

.fb-modal-aside-foot-left i {
    margin-right: 6px;
}

@media (max-width: 900px) {
    .fb-modal-inner {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .fb-modal-aside {
        border-left: none;
        border-top: 1px solid #e8ecf1;
        max-height: 40vh;
    }

    .fb-modal-media-main img {
        max-height: 45vh;
    }

    .fb-modal-nav {
        display: none;
    }
}

@media (max-width: 991px) {
    .fb-posts-grid {
        grid-template-columns: 1fr;
    }

    .fb-widget-header {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .fb-widget {
        padding: 18px 16px 24px;
    }

    .fb-widget-like-btn {
        width: 100%;
        justify-content: center;
    }

    .fb-widget-search-wrap {
        width: 100%;
    }

    .fb-widget-search-wrap input {
        flex: 1;
        width: auto;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-green);
    color: var(--primary-green);
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.news-content h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.partners-slider {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logo {
    max-height: 80px;
    
    transition: var(--transition);
    /*opacity: 0.7;
    filter: grayscale(100%);*/
}

.partner-logo:hover {
    opacity: 1;
    filter: grayscale(100%);/* 0% */
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #1a1a1a;
    color: var(--text-white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    color: #aaa;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-orange);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: #aaa;
}

.footer-contact i {
    color: var(--primary-green);
    font-size: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    color: #aaa;
}

/* ============================================
   PAGE HEADER / BANNER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    padding: 100px 0 60px;
    text-align: center;
    color: var(--text-white);
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>') repeat;
    opacity: 0.5;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
    color: var(--text-white);
}

.breadcrumb span {
    color: var(--primary-orange);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.contact-info-card i {
    width: 60px;
    height: 60px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-green);
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.contact-info-card p {
    color: var(--text-light);
}

.contact-info-card--complaints {
    border-left: 4px solid var(--primary-blue);
    background: linear-gradient(90deg, rgba(0, 102, 204, 0.06), var(--bg-white));
}

.contact-info-card--complaints i {
    background: rgba(0, 102, 204, 0.12);
    color: var(--primary-blue);
}

.contact-info-card--complaints a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-info-card--complaints a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-green);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .programs-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
    }

    .nav-menu > li > a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
    }

    .nav-menu li.has-dropdown.active .dropdown {
        display: block;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-slider {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .vm-cards {
        grid-template-columns: 1fr;
    }

    .programs-grid,
    .projects-grid,
    .news-grid,
    .appreciation-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .top-bar {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 26px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 40px;
    }

    .page-header h1 {
        font-size: 32px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.pt-40 { padding-top: 40px; }
.pb-40 { padding-bottom: 40px; }

.bg-light { background: var(--bg-light); }
.bg-white { background: var(--bg-white); }

.text-green { color: var(--primary-green); }
.text-blue { color: var(--primary-blue); }
.text-orange { color: var(--primary-orange); }

/* Volunteer page helpers */
.volunteer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.volunteer-alert {
    padding: 14px 16px;
    border-radius: var(--border-radius);
    margin-bottom: 18px;
    font-size: 14px;
}
.volunteer-alert.success {
    background: rgba(0, 168, 89, 0.12);
    border: 1px solid rgba(0, 168, 89, 0.25);
    color: var(--text-dark);
}
.volunteer-alert.error {
    background: rgba(245, 135, 59, 0.12);
    border: 1px solid rgba(245, 135, 59, 0.25);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .volunteer-form-row {
        grid-template-columns: 1fr;
    }
}

/* Community School page */
.community-school-concept {
    background: var(--bg-light);
    padding: 28px 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-blue);
    margin-bottom: 36px;
}

.community-school-subtitle {
    font-size: 18px;
    color: var(--primary-blue);
    margin: 22px 0 10px;
}

.community-school-subtitle:first-of-type {
    margin-top: 0;
}

.community-school-list {
    margin-left: 20px;
    margin-bottom: 0;
    color: var(--text-light);
}

.community-school-list li { margin-bottom: 10px; }

.community-school-cta {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-blue));
    color: var(--text-white);
    padding: 24px 32px;
    border-radius: var(--border-radius);
    text-align: center;
    margin: 32px 0 40px;
}
.community-school-price { font-size: 18px; margin: 0; }
.community-school-benefits { grid-template-columns: repeat(4, 1fr); }
.community-school-benefits .vm-card { padding: 24px 16px; }
.community-school-benefits .vm-card h4 { font-size: 16px; margin: 12px 0 0; }
.community-school-text { margin: 26px 0; color: var(--text-light); }
.community-school-text p { margin-bottom: 16px; }
.community-school-donate {
    background: var(--bg-light);
    padding: 28px 32px;
    border-radius: var(--border-radius);
    margin: 32px 0;
    border-left: 4px solid var(--primary-green);
}
.community-school-donate h3 { margin-bottom: 16px; color: var(--primary-green); }
.community-school-donate h3 i { margin-right: 10px; }
.community-school-bank { color: var(--text-light); }
.community-school-bank p { margin-bottom: 8px; }
.community-school-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 32px 0 40px;
}
.community-school-card {
    background: var(--bg-white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}
.community-school-card h4 { margin-bottom: 12px; color: var(--primary-blue); }
.community-school-card h4 i { margin-right: 8px; }
.community-school-card p { margin-bottom: 10px; color: var(--text-light); }
.community-school-card a { color: var(--primary-green); }
.community-school-card-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.community-school-card-actions .btn-card {
    width: 100%;
    justify-content: center;
}
.community-school-card-actions .btn-card {
    padding: 10px 18px;
    font-size: 14px;
    border-radius: var(--border-radius);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}
.community-school-card-actions .btn-card.btn-green {
    background: var(--primary-green);
    color: var(--text-white);
    width:250px
}
.community-school-card-actions .btn-card.btn-green:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}
.community-school-card-actions .btn-card.btn-blue {
    background: var(--primary-blue);
    color: var(--text-white);
    width:250px
}
.community-school-card-actions .btn-card.btn-blue:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
}
.community-school-more-link {
    margin-top: 12px;
    font-size: 13px;
}
.community-school-more-link a { word-break: break-all; }
@media (max-width: 768px) {
    .community-school-benefits { grid-template-columns: repeat(2, 1fr); }
    .community-school-contact-grid { grid-template-columns: 1fr; }
}

/* Lightbox for appreciation letters */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* Loading Animation */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--light-green);
    border-top-color: var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-green);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--dark-green);
    transform: translateY(-5px);
}
