/*
Theme Name: BSW--Foundation
Theme URI: https://bswfoundation.org
Author: BSW Foundation Team
Author URI: https://bswfoundation.org
Description: A modern, engaging WordPress theme for Baltoro Social Welfare Foundation - Empowering education in Baltistan
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bswf
Tags: nonprofit, charity, education, responsive, custom-background, custom-logo, custom-menu, featured-images
*/

/* ========================================
   CSS VARIABLES - Brand Colors from Logo
======================================== */
:root {
    --primary-navy: #0D3B66;
    --primary-teal: #2E8BC0;
    --primary-green: #6BA539;
    --light-blue: #B8D4E8;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --dark-gray: #2C3E50;
    --text-dark: #1A1A1A;
    --text-light: #6C757D;

    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lato', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.25);
}

/* ========================================
   RESET & BASE STYLES
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    margin: 0 !important;
    padding: 0 !important;
    height: 100%;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background-color: var(--white);
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    height: 100%;
    position: relative;
}

body>* {
    margin-top: 0;
}

body::before {
    display: none;
}

#page,
#content,
.site {
    margin: 0;
    padding: 0;
}

.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
}

h6 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-light);
    font-size: 1.05rem;
}

a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: all var(--transition-fast);
}

a:hover {
    color: var(--primary-green);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title h2 {
    display: inline-block;
    position: relative;
    padding-bottom: var(--spacing-sm);
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-green));
    border-radius: 2px;
    animation: slideIn 0.6s ease-out;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: var(--spacing-sm) auto 0;
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--primary-green), #5A9E2F);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--white);
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-2 {
    width: 50%;
}

.col-3 {
    width: 33.333%;
}

.col-4 {
    width: 25%;
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        width: 0;
    }

    to {
        width: 60px;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all var(--transition-fast);
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.98), rgba(46, 139, 192, 0.98));
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 0 !important;
    border-bottom: 3px solid var(--primary-green);
    transform: translateZ(0);
    overflow: visible;
}

.site-header.scrolled {
    background: linear-gradient(135deg, rgba(13, 59, 102, 1), rgba(46, 139, 192, 1));
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.header-top {
    display: none !important;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.95), rgba(46, 139, 192, 0.95));
    color: var(--white);
    padding: 12px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-left,
.header-top-right {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.header-top a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.header-top a:hover {
    color: var(--light-blue);
}

.header-main {
    padding: 14px 0;
    background: transparent;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    min-height: auto;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 0;
}

.site-logo img {
    height: 55px;
    width: auto;
    transition: transform var(--transition-fast);
    max-height: 55px;
}

.site-logo:hover img {
    transform: scale(1.05);
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    overflow: hidden;
    flex-shrink: 1;
    min-width: 0;
}

.site-logo-text h1 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.site-logo-text span {
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

/* Main Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-shrink: 0;
    margin-left: auto;
}

.main-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-menu li {
    position: relative;
}

.main-menu a {
    display: block;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-fast);
}

.main-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary-green);
    transition: width var(--transition-fast);
    border-radius: 2px;
}

.main-menu a:hover::before,
.main-menu .current-menu-item a::before {
    width: 80%;
}

.main-menu a:hover {
    color: var(--primary-green);
    text-shadow: 0 0 10px rgba(107, 165, 57, 0.5);
}

/* Dropdown Menu Indicator */
.main-menu li.menu-item-has-children>a {
    padding-right: 30px;
    position: relative;
}

.main-menu li.menu-item-has-children>a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
    color: var(--primary-green);
    opacity: 0.9;
}

.main-menu li.menu-item-has-children:hover>a::after {
    transform: translateY(-50%) rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    box-shadow: 0 15px 50px rgba(13, 59, 102, 0.25), 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(107, 165, 57, 0.2);
    border-top: 4px solid var(--primary-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-fast);
    padding: 12px 0;
    list-style: none;
    z-index: 1000;
    margin-top: 10px;
    backdrop-filter: blur(10px);
}

.main-menu li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.main-menu .sub-menu li {
    position: relative;
    margin: 0;
}

.main-menu .sub-menu a {
    padding: 12px 20px 12px 20px;
    color: var(--primary-navy);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    transition: all var(--transition-fast);
    border-left: 4px solid transparent;
    position: relative;
}

.main-menu .sub-menu a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 12px;
    color: var(--primary-green);
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.25s ease;
}

.main-menu .sub-menu a:hover {
    background: linear-gradient(90deg, rgba(107, 165, 57, 0.12) 0%, rgba(46, 139, 192, 0.05) 100%);
    color: var(--primary-teal);
    padding-left: 20px;
    border-left-color: var(--primary-green);
    transform: translateX(3px);
}

.main-menu .sub-menu a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.main-menu .sub-menu li:first-child a {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.main-menu .sub-menu li:last-child a {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: linear-gradient(135deg, rgba(107, 165, 57, 0.2), rgba(46, 139, 192, 0.2));
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px 10px;
    z-index: 1001;
    transition: all var(--transition-fast);
    backdrop-filter: blur(5px);
}

.mobile-menu-toggle:hover {
    background: linear-gradient(135deg, rgba(107, 165, 57, 0.3), rgba(46, 139, 192, 0.3));
    border-color: var(--primary-green);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    transition: all var(--transition-fast);
    border-radius: 3px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle.active {
    background: linear-gradient(135deg, var(--primary-green), var(--primary-teal));
    border-color: var(--white);
}

.mobile-menu-toggle.active span {
    background: var(--white);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Donate Button in Header */
.header-donate-btn {
    margin-left: 5px;
}

/* ========================================
   UPDATES SLIDER TOGGLE BUTTON
======================================== */
.updates-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-left: 8px;
    transition: all var(--transition-fast);
    box-shadow: 0 2px 8px rgba(46, 139, 192, 0.3);
    position: relative;
    z-index: 1000;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
}

.updates-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 139, 192, 0.4);
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
}

.updates-toggle-btn i {
    font-size: 1rem;
}

.updates-btn-text {
    display: none;
}

/* ========================================
   UPDATES SLIDER - Glassmorphism Design
======================================== */
.updates-slider {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.3s, opacity 0.3s ease;
}

.updates-slider.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0s, opacity 0.3s ease;
}

.updates-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(46, 139, 192, 0.3), rgba(26, 55, 77, 0.5));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    transition: backdrop-filter 0.3s ease;
}

.updates-slider.active .updates-slider-overlay {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.updates-slider-content {
    position: absolute;
    top: 0;
    left: -380px;
    width: 380px;
    max-width: 90vw;
    height: 100vh;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-gray) 100%);
    border-right: 3px solid var(--primary-green);
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.updates-slider.active .updates-slider-content {
    left: 0;
}

.updates-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 20px;
    background: var(--primary-navy);
    border-bottom: 2px solid var(--primary-green);
    color: #ffffff;
}

.updates-slider-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.updates-slider-header i {
    font-size: 1.1rem;
    color: #2e8bc0;
}

.updates-slider-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.updates-slider-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #2e8bc0;
    color: #2e8bc0;
    transform: rotate(90deg);
}

.updates-slider-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px;
    background: var(--light-gray);
}

/* Custom Scrollbar */
.updates-slider-body::-webkit-scrollbar {
    width: 6px;
}

.updates-slider-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.updates-slider-body::-webkit-scrollbar-thumb {
    background: rgba(46, 139, 192, 0.5);
    border-radius: 3px;
}

.updates-slider-body::-webkit-scrollbar-thumb:hover {
    background: rgba(46, 139, 192, 0.7);
}

.update-slide-item {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 14px;
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: slideInUp 0.5s ease forwards;
}

.update-slide-item:nth-child(1) {
    animation-delay: 0.1s;
}

.update-slide-item:nth-child(2) {
    animation-delay: 0.2s;
}

.update-slide-item:nth-child(3) {
    animation-delay: 0.3s;
}

.update-slide-item:nth-child(4) {
    animation-delay: 0.4s;
}

.update-slide-item:nth-child(5) {
    animation-delay: 0.5s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.update-slide-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--white);
    border-color: var(--primary-teal);
}

.update-slide-image {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.update-slide-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(0, 0, 0, 0.6));
    pointer-events: none;
}

.update-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.update-slide-item:hover .update-slide-image img {
    transform: scale(1.15);
}

.update-slide-content {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.update-slide-content h4 {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--primary-navy);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.update-slide-meta {
    display: none;
}

.updates-slider-footer {
    padding: 18px 20px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.updates-slider-footer .btn-block {
    background: #2e8bc0;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(46, 139, 192, 0.3);
}

.updates-slider-footer .btn-block:hover {
    background: #3a9dd4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(46, 139, 192, 0.4);
}

.btn-block {
    width: 100%;
    text-align: center;
    justify-content: center;
}

.no-updates-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.5);
}

.no-updates-message i {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 16px;
}

.no-updates-message p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

/* ========================================
   HERO SECTION (HOME PAGE)
======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 106px;
    padding-bottom: 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 59, 102, 0.9), rgba(46, 139, 192, 0.85));
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
}

.hero-shape.circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 30px solid var(--white);
    top: 10%;
    right: 10%;
    animation: float 6s ease-in-out infinite;
}

.hero-shape.triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 250px solid var(--white);
    bottom: 10%;
    left: 5%;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 900px;
    padding: 2rem 0;
    margin-bottom: 14rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    animation: fadeInUp 1s ease-out;
    font-weight: 800;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.8;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
    position: relative;
    z-index: 3;
}

.hero-stats {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    z-index: 2;
}

.hero-stats .container {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-around;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    flex: 1 1 200px;
    min-width: 150px;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--light-blue), transparent);
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-navy), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
    display: block;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   ABOUT HOME SECTION
======================================== */
.about-home-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-home-image {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.about-home-text {
    position: relative;
    animation: fadeInUp 1s ease-out 0.3s both;
}

@media (max-width: 968px) {
    .about-home-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-home-image .card-image {
        height: 300px !important;
    }

    .about-home-text>div {
        padding: 2rem !important;
    }

    .about-home-text h3 {
        font-size: 1.5rem !important;
    }

    .about-home-text p {
        font-size: 1rem !important;
    }
}

@media (max-width: 768px) {
    .about-home-section {
        padding: 3rem 0 !important;
    }

    .about-home-image .card-image {
        height: 250px !important;
    }

    .about-home-text>div {
        padding: 1.5rem !important;
    }

    .about-home-buttons {
        flex-direction: column !important;
    }

    .about-home-buttons .btn {
        width: 100% !important;
        min-width: auto !important;
    }
}

/* ========================================
   CARDS & BOXES
======================================== */
.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    height: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.card-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

/* Archive page - All Updates section card image height */
.section .row .col-3 .card-image {
    height: 180px;
}

/* Archive Page - Featured Updates and All Updates 3-column layout */
.archive-featured-updates .row,
.archive-all-updates .row {
    margin: 0 !important;
}

.archive-featured-updates .row .col-3,
.archive-all-updates .row .col-3,
.archive-featured-updates .row .col.col-3,
.archive-all-updates .row .col.col-3 {
    width: calc(33.333% - 0.67rem) !important;
    flex: 0 0 calc(33.333% - 0.67rem) !important;
    max-width: calc(33.333% - 0.67rem) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Override tablet breakpoint for archive pages (993px-1200px) */
@media (min-width: 993px) and (max-width: 1200px) {

    .archive-featured-updates .row .col-3,
    .archive-all-updates .row .col-3,
    .archive-featured-updates .row .col.col-3,
    .archive-all-updates .row .col.col-3 {
        width: calc(33.333% - 0.67rem) !important;
        flex: 0 0 calc(33.333% - 0.67rem) !important;
        max-width: calc(33.333% - 0.67rem) !important;
        padding: 0 !important;
    }
}

/* Override for all screen sizes above mobile */
@media (min-width: 769px) {

    .archive-featured-updates .row .col-3,
    .archive-all-updates .row .col-3,
    .archive-featured-updates .row .col.col-3,
    .archive-all-updates .row .col.col-3 {
        width: calc(33.333% - 0.67rem) !important;
        flex: 0 0 calc(33.333% - 0.67rem) !important;
        max-width: calc(33.333% - 0.67rem) !important;
        padding: 0 !important;
    }
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.card:hover .card-image img {
    transform: scale(1.1);
}

.card-content {
    padding: var(--spacing-md);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-light);
    margin-bottom: var(--spacing-md);
}

/* Icon Box */
.icon-box {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.icon-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-green));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.icon-box:hover::before {
    transform: scaleX(1);
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.icon-box-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-teal), var(--primary-navy));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    transition: all var(--transition-fast);
}

.icon-box:hover .icon-box-icon {
    transform: rotateY(360deg);
}

.icon-box-title {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-sm);
}

.icon-box-text {
    color: var(--text-light);
}

/* ========================================
   FORMS
======================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    border: 2px solid #E1E8ED;
    border-radius: 8px;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(46, 139, 192, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232C3E50' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-teal);
}

.form-message {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: linear-gradient(135deg, var(--primary-navy), #082441);
    color: var(--white);
    padding-top: var(--spacing-xl);
}

.footer-main {
    padding-bottom: var(--spacing-lg);
}

.footer-widget {
    margin-bottom: var(--spacing-md);
}

.footer-widget h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--primary-green));
}

.footer-widget p,
.footer-widget li {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-widget a {
    color: rgba(255, 255, 255, 0.8);
    display: inline-block;
    padding: 5px 0;
    transition: all var(--transition-fast);
}

.footer-widget a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-teal);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .header-main {
        padding: 12px 0;
    }

    .site-logo img {
        height: 50px;
        max-height: 50px;
    }

    .site-logo-text h1 {
        font-size: 1.1rem;
    }

    .site-logo-text span {
        font-size: 0.7rem;
    }

    .site-logo {
        gap: 10px;
    }

    .main-menu a {
        padding: 9px 14px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding-top: 82px;
    }

    .hero-content {
        margin-bottom: 13rem;
    }
}

@media (max-width: 1024px) {
    .header-main {
        padding: 10px 0;
    }

    .site-logo img {
        height: 48px;
        max-height: 48px;
    }

    .site-logo-text h1 {
        font-size: 1.05rem;
    }

    .site-logo-text span {
        font-size: 0.68rem;
    }

    .site-logo {
        gap: 9px;
    }

    .main-menu a {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .hero-section {
        padding-top: 76px;
    }

    .hero-content {
        margin-bottom: 12rem;
    }

    .col-3 {
        width: 50%;
        margin-bottom: var(--spacing-md);
    }

    .hero-stats .container {
        flex-wrap: wrap;
        padding: 1.75rem 1.5rem;
    }

    .stat-item {
        flex: 1 1 45%;
        padding: 0.75rem;
    }
}

@media (max-width: 992px) {
    .header-main {
        padding: 9px 0;
    }

    .updates-toggle-btn {
        padding: 8px 14px;
        margin-left: 8px;
        font-size: 0.85rem;
    }

    .updates-toggle-btn i {
        font-size: 0.95rem;
    }

    .updates-slider-content {
        width: 380px;
        left: -380px;
        right: auto;
    }

    .updates-slider.active .updates-slider-content {
        left: 0;
    }

    .updates-slider-header {
        padding: 20px 15px;
    }

    .updates-slider-header h3 {
        font-size: 1rem;
    }

    .updates-slider-body {
        padding: 15px;
    }

    .updates-slider-footer {
        padding: 15px;
    }

    .site-logo img {
        height: 45px;
        max-height: 45px;
    }

    .site-logo-text h1 {
        font-size: 1rem;
    }

    .site-logo-text span {
        font-size: 0.65rem;
    }

    .site-logo {
        gap: 8px;
    }

    .main-menu a {
        padding: 8px 11px;
        font-size: 0.75rem;
    }

    .header-donate-btn {
        padding: 9px 18px !important;
        font-size: 0.8rem !important;
    }

    .hero-section {
        padding-top: 67px;
    }

    .hero-content {
        margin-bottom: 11rem;
    }

    .hero-stats .container {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 850px) {
    .site-logo-text {
        display: flex;
    }

    .site-logo {
        gap: 8px;
    }

    .hero-content {
        margin-bottom: 10rem;
    }
}

@media (max-width: 768px) {
    .header-main .container {
        gap: 8px;
        justify-content: flex-end;
    }

    .site-logo img {
        height: 42px;
        max-height: 42px;
    }

    .site-logo {
        gap: 8px;
        flex: 1;
    }

    .site-logo-text h1 {
        font-size: 0.9rem;
    }

    .site-logo-text span {
        font-size: 0.55rem;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: 5px;
    }

    .updates-toggle-btn {
        padding: 6px 10px;
        margin-left: 5px;
        font-size: 0.8rem;
    }

    .updates-toggle-btn i {
        font-size: 0.9rem;
    }

    .updates-btn-text {
        display: none;
    }

    .updates-slider-content {
        width: 320px;
        left: -320px;
        right: auto;
        height: 100vh;
        border-radius: 0;
    }

    .updates-slider.active .updates-slider-content {
        left: 0;
    }

    .update-slide-image {
        height: 140px;
    }

    .updates-slider-header h3 {
        font-size: 1.1rem;
    }

    .update-slide-item {
        flex-direction: column;
        gap: 0;
    }

    .update-slide-image {
        width: 100%;
        height: 140px;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fc 100%);
        flex-direction: column;
        padding: 80px 0 30px;
        box-shadow: 5px 0 30px rgba(13, 59, 102, 0.3);
        transition: left var(--transition-fast);
        overflow-y: auto;
        z-index: 999;
        border-right: 3px solid var(--primary-green);
    }

    .main-navigation.active {
        left: 0;
    }

    /* Mobile Menu Header */
    .main-navigation::before {
        content: 'Menu';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 20px 25px;
        background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
        color: var(--white);
        font-family: var(--font-primary);
        font-size: 1.3rem;
        font-weight: 700;
        text-align: left;
        border-bottom: 3px solid var(--primary-green);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }

    .main-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: 0 25px;
    }

    .main-menu>li {
        border-bottom: 1px solid rgba(13, 59, 102, 0.1);
    }

    .main-menu>li:last-child {
        border-bottom: none;
    }

    .main-menu a {
        padding: 16px 0;
        color: var(--primary-navy);
        font-weight: 600;
        font-size: 1rem;
        position: relative;
        border-bottom: none;
    }

    .main-menu a::before {
        display: none;
    }

    .main-menu>li>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* Add icon before menu items */
    .main-menu>li>a::after {
        content: '\f105';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--primary-green);
        font-size: 0.9rem;
        transition: all var(--transition-fast);
    }

    .main-menu>li.current-menu-item>a,
    .main-menu>li>a:hover {
        color: var(--primary-teal);
        padding-left: 10px;
    }

    .main-menu>li.current-menu-item>a::after,
    .main-menu>li>a:hover::after {
        color: var(--primary-teal);
    }

    /* Mobile Dropdown Indicator */
    .main-menu li.menu-item-has-children>a::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--primary-green);
        font-size: 0.85rem;
        transition: transform var(--transition-fast);
        transform: translateY(-50%);
        position: static;
        right: auto;
        top: auto;
        margin-left: auto;
        opacity: 1;
    }

    .main-menu li.menu-item-has-children.active>a::after {
        transform: rotate(180deg);
        color: var(--primary-teal);
    }

    /* Mobile Submenu */
    .main-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(107, 165, 57, 0.05);
        border-radius: 8px;
        border: none;
        border-top: none;
        backdrop-filter: none;
    }

    .main-menu li.menu-item-has-children.active>.sub-menu {
        max-height: 600px;
        padding: 8px 0;
        margin-top: 8px;
        margin-bottom: 8px;
        border-left: 3px solid var(--primary-green);
    }

    .main-menu .sub-menu li {
        border-bottom: none;
        padding-left: 15px;
    }

    .main-menu .sub-menu a {
        padding: 12px 15px;
        font-size: 0.95rem;
        font-weight: 500;
        color: var(--primary-navy);
        border-left: none;
        display: flex;
        align-items: center;
    }

    .main-menu .sub-menu a::before {
        content: '\f0da';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        color: var(--primary-green);
        margin-right: 10px;
        font-size: 0.8rem;
        opacity: 0.7;
        transform: none;
        transition: all 0.25s ease;
    }

    .main-menu .sub-menu a:hover {
        color: var(--primary-teal);
        background: rgba(46, 139, 192, 0.08);
        padding-left: 20px;
        transform: none;
        border-radius: 6px;
    }

    .main-menu .sub-menu a:hover::before {
        opacity: 1;
        color: var(--primary-teal);
        transform: translateX(0);
    }

    .main-menu .sub-menu li:first-child a,
    .main-menu .sub-menu li:last-child a {
        border-radius: 0;
    }

    /* Mobile Donate Button */
    .header-donate-btn {
        margin: 20px 25px 0;
        width: calc(100% - 50px);
        text-align: center;
        padding: 14px 20px;
        background: linear-gradient(135deg, var(--primary-green) 0%, #5a8e2f 100%);
        box-shadow: 0 4px 15px rgba(107, 165, 57, 0.3);
        border-radius: 10px;
        font-weight: 700;
        font-size: 1rem;
    }

    .header-donate-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(107, 165, 57, 0.4);
    }

    /* Overlay for mobile menu */
    body.menu-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(13, 59, 102, 0.6);
        backdrop-filter: blur(3px);
        z-index: 998;
        animation: fadeIn 0.3s ease;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .col-2,
    .col-3,
    .col-4 {
        width: 100%;
        margin-bottom: var(--spacing-md);
    }

    .header-top {
        display: none !important;
    }

    .site-header {
        margin-top: 0;
        border-bottom-width: 2px;
    }

    /* Hero Section Mobile Fixes */
    .hero-section {
        margin-top: 0;
        height: 100vh;
        min-height: 550px;
        padding-top: 70px;
        padding-bottom: 2rem;
    }

    .hero-content {
        max-width: 100%;
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.4);
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        margin-top: 2rem;
        z-index: 1;
    }

    .hero-stats .container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
        gap: 1rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .stat-item {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 120px;
        padding: 0.75rem 0.5rem;
    }

    .stat-item:nth-child(2n)::after {
        display: none;
    }

    .stat-item:not(:nth-child(2n))::after {
        display: block;
    }

    .stat-number {
        font-size: 1.75rem;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .hero-shape.circle {
        width: 150px;
        height: 150px;
        border-width: 15px;
    }

    .hero-shape.triangle {
        border-left-width: 75px;
        border-right-width: 75px;
        border-bottom-width: 125px;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .header-main {
        padding: 6px 0;
    }

    .site-logo img {
        height: 38px;
        max-height: 38px;
    }

    .site-logo {
        gap: 6px;
    }

    .site-logo-text h1 {
        font-size: 0.75rem;
    }

    .site-logo-text span {
        font-size: 0.5rem;
    }

    /* Hide logo text on very small screens if needed */
    .hero-section {
        padding-top: 58px;
    }
}

/* ========================================
   ACCESSIBILITY
======================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

*:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {

    .site-header,
    .site-footer,
    .hero-section,
    .btn {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* ========================================
   MOBILE-SPECIFIC FIXES
======================================== */
@media (max-width: 768px) {

    /* Homepage - Alumni Success Stories: Force single column */
    .alumni-success-stories .row {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .alumni-success-stories .row .col-3,
    .alumni-success-stories .row .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem;
    }

    .alumni-success-stories .card {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Homepage - Official Recognition Section: Swap LSO row order */
    .lso-certification-row {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .lso-certification-row .col-2 {
        width: 100% !important;
    }

    /* Contact Page - Ensure all contact cards stack properly */
    .contact-info-box {
        margin-bottom: 1.5rem;
    }

    /* Contact Page - Force contact info cards to stack in single column */
    section .row .col-3,
    section .row .col.col-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1.5rem !important;
    }

    /* Ensure the row itself stacks properly */
    section .row {
        gap: 0 !important;
    }

    /* Contact Page - Make contact form responsive */
    #contact-form .row {
        flex-direction: column !important;
    }

    #contact-form .row .col-2,
    #contact-form .row .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 0 !important;
    }

    #contact-form .form-group {
        margin-bottom: 1.5rem !important;
    }

    /* Contact Page - Make the form and sidebar stack */
    .contact-form-row {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .contact-form-row .col-2 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 1rem !important;
    }

    .contact-form-section .row {
        gap: 1rem !important;
    }

    /* Contact Page - Reduce padding on mobile for better fit */
    .contact-form-section .col-2>div {
        padding: 2rem 1.5rem !important;
    }

    .contact-form-section h2 {
        font-size: 1.5rem !important;
    }

    .contact-form-section .btn {
        width: 100% !important;
        padding: 14px 20px !important;
    }

    /* About Page - Our Story Section: Proper mobile layout */
    .our-story-section .row {
        flex-direction: column !important;
    }

    .our-story-section .row .col-2 {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .our-story-section .row .col-2 img {
        width: 100%;
        height: auto;
        max-height: 400px;
        object-fit: cover;
    }

    /* About Page - Certification Section: Swap LSO image order */
    .about-lso-certification-row {
        display: flex;
        flex-direction: column-reverse !important;
    }

    .about-lso-certification-row .col-2 {
        width: 100% !important;
    }

    /* Programs Page - Accommodation Section: Responsive layout */
    .program-accommodation-row {
        flex-direction: column !important;
    }

    .program-accommodation-row .col-2 {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .program-accommodation-row .col-2:first-child {
        order: 1 !important;
    }

    .program-accommodation-row .col-2:last-child {
        order: 2 !important;
    }

    .program-accommodation-row img {
        width: 100%;
        height: auto;
        min-height: 300px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Programs Page - Academic Excellence Section: Responsive layout */
    .program-education-row {
        flex-direction: column !important;
    }

    .program-education-row .col-2 {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .program-education-row .col-2:first-child {
        order: 2 !important;
    }

    .program-education-row .col-2:last-child {
        order: 1 !important;
    }

    .program-education-row img {
        width: 100%;
        height: auto;
        min-height: 300px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Programs Page - Alumni Mentorship Section: Responsive layout */
    .program-alumni-row {
        flex-direction: column !important;
    }

    .program-alumni-row .col-2 {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    .program-alumni-row .col-2:first-child {
        order: 1 !important;
    }

    .program-alumni-row .col-2:last-child {
        order: 2 !important;
    }

    .program-alumni-row img {
        width: 100%;
        height: auto;
        min-height: 300px;
        object-fit: cover;
        border-radius: 15px;
    }

    /* Updates Archive Page - Mobile Responsive */
    .row .col-3 {
        width: 100% !important;
        margin-bottom: 1.5rem !important;
    }

    /* Single Update Page - Mobile Layout */
    section .row>.col {
        flex: 1 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    section .row {
        flex-direction: column !important;
    }
}

/* ========================================
   DEFAULT PAGE TEMPLATE STYLES
======================================== */

/* Page Breadcrumb */
.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.page-breadcrumb a:hover {
    color: white;
}

/* Page Content Styling */
.page article {
    max-width: 1000px;
    margin: 0 auto;
}

.page .entry-content h1,
.page .entry-content h2,
.page .entry-content h3,
.page .entry-content h4,
.page .entry-content h5,
.page .entry-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.page .entry-content h1 {
    font-size: 2.2rem;
}

.page .entry-content h2 {
    font-size: 1.9rem;
}

.page .entry-content h3 {
    font-size: 1.6rem;
}

.page .entry-content h4 {
    font-size: 1.4rem;
}

.page .entry-content h5 {
    font-size: 1.2rem;
}

.page .entry-content h6 {
    font-size: 1.1rem;
}

.page .entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page .entry-content ul,
.page .entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2.5rem;
}

.page .entry-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.page .entry-content ul li {
    list-style-type: disc;
}

.page .entry-content ol li {
    list-style-type: decimal;
}

.page .entry-content a {
    color: var(--primary-teal);
    text-decoration: underline;
    transition: all var(--transition-fast);
}

.page .entry-content a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.page .entry-content img {
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    max-width: 100%;
    height: auto;
}

.page .entry-content figure {
    margin: 2rem 0;
}

.page .entry-content figcaption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.page .entry-content blockquote {
    border-left: 5px solid var(--primary-teal);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

.page .entry-content blockquote p {
    margin-bottom: 0.5rem;
}

.page .entry-content blockquote cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-navy);
    font-style: normal;
}

.page .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    overflow: hidden;
}

.page .entry-content table thead {
    background: var(--primary-navy);
    color: white;
}

.page .entry-content table th,
.page .entry-content table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.page .entry-content table th {
    font-weight: 600;
}

.page .entry-content table tbody tr:nth-child(even) {
    background: var(--light-gray);
}

.page .entry-content table tbody tr:hover {
    background: rgba(46, 139, 192, 0.1);
}

.page .entry-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.page .entry-content code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: #d63638;
}

.page .entry-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Page Pagination for Multi-page content */
.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.page-links>strong {
    margin-right: 10px;
    color: var(--primary-navy);
}

.page-links a,
.page-links>span {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary-teal);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.page-links a:hover {
    background: var(--primary-navy);
    transform: translateY(-2px);
}

/* Featured Image on Pages */
.page .featured-image {
    margin-bottom: 2.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* Edit Page Button */
.page footer .btn {
    font-size: 0.9rem;
}

/* Mobile Responsive for Default Page Template */
@media (max-width: 768px) {
    .page article {
        padding: 2rem 1.5rem !important;
    }

    .page .entry-content {
        font-size: 1rem !important;
    }

    .page .entry-content h1 {
        font-size: 1.75rem !important;
    }

    .page .entry-content h2 {
        font-size: 1.5rem !important;
    }

    .page .entry-content h3 {
        font-size: 1.3rem !important;
    }

    .page .entry-content h4 {
        font-size: 1.15rem !important;
    }

    .page .entry-content table {
        font-size: 0.9rem;
    }

    .page .entry-content table th,
    .page .entry-content table td {
        padding: 0.75rem 0.5rem;
    }

    .page .entry-content pre {
        padding: 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .page article {
        padding: 1.5rem 1rem !important;
        border-radius: 15px !important;
    }

    .page .entry-content h1 {
        font-size: 1.5rem !important;
    }

    .page .entry-content h2 {
        font-size: 1.35rem !important;
    }

    .page .entry-content h3 {
        font-size: 1.2rem !important;
    }
}

/* ========================================
   UPDATES ARCHIVE PAGE STYLES
======================================== */

/* Update Type Badges */
.update-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.update-type-achievement {
    background: #28a745;
}

.update-type-event {
    background: #007bff;
}

.update-type-announcement {
    background: #ffc107;
    color: #333;
}

.update-type-donation {
    background: #17a2b8;
}

.update-type-education {
    background: #6f42c1;
}

.update-type-infrastructure {
    background: #fd7e14;
}

.update-type-visitor {
    background: #20c997;
}

.update-type-graduation {
    background: #dc3545;
}

/* Featured Update Cards */
.featured-update-card {
    position: relative;
    border: 3px solid var(--primary-green);
    transition: all var(--transition-fast);
}

.featured-update-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(107, 165, 57, 0.3);
}

/* Update Card Hover Effects */
.update-card {
    position: relative;
    overflow: hidden;
}

.update-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 192, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.update-card:hover::before {
    left: 100%;
}

/* Pagination Styles for Updates */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: var(--white);
    color: var(--primary-navy);
    border: 2px solid var(--primary-teal);
    border-radius: 8px;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 600;
}

.pagination a:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--primary-teal);
    color: var(--white);
}

/* Update Meta Icons */
.update-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.update-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.update-meta i {
    color: var(--primary-teal);
}

/* ========================================
   SINGLE UPDATE PAGE STYLES
======================================== */

/* Update Header Breadcrumb */
.update-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.update-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

.update-breadcrumb a:hover {
    color: white;
}

/* Update Content Styling */
.entry-content h1,
.entry-content h2,
.entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.entry-content h1 {
    font-size: 2rem;
}

.entry-content h2 {
    font-size: 1.75rem;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.entry-content img {
    border-radius: 10px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.entry-content blockquote {
    border-left: 5px solid var(--primary-teal);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
}

/* Share Buttons Hover Effects */
.share-button {
    transition: all var(--transition-fast);
}

.share-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Sidebar Widget Styling */
.update-sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    transition: all var(--transition-fast);
}

.update-sidebar-widget:hover {
    box-shadow: var(--shadow-lg);
}

.update-sidebar-widget h3 {
    color: var(--primary-navy);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Recent Updates Widget */
.recent-update-item {
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    transition: all var(--transition-fast);
}

.recent-update-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.recent-update-item:hover {
    transform: translateX(5px);
}

.recent-update-item img {
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.recent-update-item:hover img {
    transform: scale(1.05);
}

/* Category Links Hover Effect */
.category-link {
    transition: all var(--transition-fast);
}

.category-link:hover {
    background: var(--primary-teal) !important;
    color: white !important;
    transform: translateX(5px);
}

/* ========================================
   MOBILE RESPONSIVE - UPDATES PAGES
======================================== */
@media (max-width: 768px) {

    /* Update Archive Header */
    .page-header {
        padding: 4rem 0 2rem !important;
        margin-top: 0 !important;
        padding-top: 7rem !important;
    }

    /* Featured Updates Section */
    .featured-update-card {
        margin-bottom: 2rem;
    }

    /* Update Cards Grid */
    .update-cards-grid {
        grid-template-columns: 1fr !important;
    }

    /* Single Update Meta */
    .update-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Update Header Badges */
    .update-type-badge {
        display: block;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    /* Entry Content Mobile */
    .entry-content {
        font-size: 1rem !important;
    }

    .entry-content h1 {
        font-size: 1.75rem !important;
    }

    .entry-content h2 {
        font-size: 1.5rem !important;
    }

    .entry-content h3 {
        font-size: 1.25rem !important;
    }

    /* Share Buttons Mobile */
    .share-button {
        width: 100%;
        justify-content: center;
    }

    /* Sidebar on Mobile */
    .update-sidebar-widget {
        padding: 1.5rem;
    }

    /* Pagination Mobile */
    .pagination {
        gap: 5px;
    }

    .pagination a,
    .pagination span {
        padding: 8px 12px;
        font-size: 0.9rem;
    }

    /* Single Update Page - Mobile Layout */
    .single-update-section {
        padding: 2rem 0 !important;
    }

    .single-update-section .container {
        padding: 0 1rem !important;
    }

    .single-update-row {
        flex-direction: column !important;
        gap: 2rem !important;
    }

    .single-update-main,
    .single-update-sidebar {
        flex: 1 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-update-article {
        padding: 1.5rem !important;
        border-radius: 15px !important;
    }

    .single-update-sidebar>div {
        padding: 1.5rem !important;
    }

    /* Single Update Header - Mobile */
    .single .page-header .container {
        padding: 0 1rem !important;
    }

    .single .page-header h1 {
        font-size: 1.5rem !important;
        text-align: center !important;
    }

    .single .page-header .update-meta {
        justify-content: center;
    }
}

@media (max-width: 480px) {

    /* Smaller screens adjustments */
    .update-type-badge {
        font-size: 0.75rem;
        padding: 3px 10px;
    }

    .update-meta {
        font-size: 0.85rem;
    }

    .entry-content {
        padding: 1.5rem !important;
    }

    .update-sidebar-widget h3 {
        font-size: 1.1rem;
    }

    /* Single Update - Extra Small Screens */
    .single-update-section .container {
        padding: 0 0.75rem !important;
    }

    .single-update-article {
        padding: 1rem !important;
    }

    .single .page-header {
        padding: 3rem 0 2rem !important;
        margin-top: 0 !important;
        padding-top: 6rem !important;
    }

    .single .page-header h1 {
        font-size: 1.3rem !important;
    }

    .single .page-header .container {
        padding: 0 0.75rem !important;
    }

    /* Reduce gaps on very small screens */
    .single-update-row {
        gap: 1.5rem !important;
    }

    .single-update-sidebar>div {
        padding: 1rem !important;
    }
}

/* ========================================
   PRINT STYLES FOR UPDATES
======================================== */
@media print {

    .update-sidebar-widget,
    .share-button,
    .pagination,
    .btn {
        display: none !important;
    }

    .entry-content {
        font-size: 12pt;
        line-height: 1.6;
    }
}