/* ==========================================================================
   1. CORE VARIABLES, FONTS & ACCESSIBILITY
   ========================================================================== */

:root {
    /* Reverted Brand Colors (lighter green & gold per request) */
    --brand-green: #4CAF50;          /* Original navbar green */
    --brand-green-hover: #2e7d32;    /* Original dark green */
    --brand-yellow: #ffd700;         /* Original gold */
    --brand-yellow-hover: #ffcc00;   
    --brand-blue: #004c7d;           /* Info/About bar blue */
    --brand-blue-hover: #00375a;
    
    /* Modern Palette (Beige & Cream Avoided Site-wide) */
    --bg-white: #ffffff;             /* Primary page & card backgrounds */
    --bg-tint: #f3f6f4;              /* Cool, soft sage-tinted background */
    --bg-slate: #f8faf9;             /* Cool slate alternative background */
    
    /* Text and Contrast Colors */
    --text-dark: #333333;            
    --text-muted: #666666;           
    --text-white: #ffffff;           
    
    /* Layout & Decoration */
    --border-color: rgba(76, 175, 80, 0.15); /* Subtle green border */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.25s ease;
}

@font-face {
    font-family: 'Garet';
    src: url('fonts/Garet-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

body {
    font-family: 'Garet', Arial, sans-serif; /* Restored Garet brand font */
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 17px;
    scrollbar-gutter: stable;
}

.sr-only, .skip-link:not(:focus) {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; border: 0 !important;
}

/* skip link */
.skip-link {
    position: absolute;
    top: 6px;
    left: 6px;
    background: var(--brand-green-hover);
    color: var(--text-white);
    padding: 8px 16px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: 1001;
    transition: transform 0.15s ease-in-out;
}
.skip-link:focus {
    transform: translateY(0);
}

/* ==========================================================================
   2. NAVIGATION & PREMIUM GLOW BUTTONS
   ========================================================================== */

.navbar {
    background-color: var(--brand-green) !important;
    position: sticky !important; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1250px; margin: 0 auto;
    display: flex !important; justify-content: space-between !important;
    align-items: center !important; padding: 0.5rem 1.5rem !important;
}

.nav-brand img { height: 65px; width: auto; }

.nav-menu { display: flex !important; flex-direction: row !important; list-style: none !important; margin: 0; }

.nav-menu li { margin: 0; }

.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    padding: 1rem 1.2rem;
    display: block;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: var(--brand-green-hover);
    color: var(--text-white);
}

.nav-menu a.active {
    background-color: transparent;
    color: var(--brand-yellow);
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: .75rem;
    border: none;
    background: transparent;
    color: #fff;
}
.hamburger:focus { outline: none; }
.hamburger span {
    width: 26px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: transform .2s ease, opacity .2s ease;
}
.hamburger.active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2){ opacity: 0; }
.hamburger.active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Header Social Links */
.header-social { display: flex; align-items: center; gap: 0.5rem; }
.header-social .social-icon { color: #fff !important; display: inline-flex; align-items: center; justify-content: center; padding: 0.25rem; border-radius: 6px; transition: var(--transition); }
.header-social .social-icon:hover, 
.header-social .social-icon:focus { background: var(--brand-green-hover); opacity: 1; outline: none; }
.header-social-desktop { margin-left: 0.5rem; }

@media screen and (max-width: 768px) {
    .header-social-desktop { display: none; }
    .nav-social-links-mobile { display: block !important; padding: 0.5rem 1rem 1rem; }
    .nav-social-links-mobile .header-social { justify-content: center; }
}

/* THE PREMIUM GLOW STYLE (Used in Nav and Hero) */
.nav-app-link, .nav-app-link-hero {
    background: #0f172a !important;
    color: #ffffff !important;
    border-radius: 50px !important;
    border: 2px solid var(--brand-yellow) !important;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.45) !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    text-align: center;
}

.nav-app-link { padding: 10px 24px !important; font-size: 0.8rem !important; margin-left: 15px; }

.nav-app-link-hero { 
    padding: 16px 45px !important; 
    font-size: 1rem !important; 
    letter-spacing: 0.1em;
    margin-top: 1rem;
    display: inline-block;
}

.nav-app-link:hover, .nav-app-link-hero:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.75) !important;
}

/* ==========================================================================
   3. HEROES & GLASS CARDS
   ========================================================================== */

/* Page Hero */
.page-hero-cream {
    background-color: var(--bg-tint) !important; /* Sage-slate instead of cream */
    padding: 4rem 1.5rem !important;
    text-align: center;
}

.page-hero-cream h1 {
    color: var(--brand-green-hover) !important; font-size: 3rem !important;
    font-weight: 800 !important; margin-bottom: 1.5rem;
}

.hero-subtitle-blue {
    color: #03395f !important; font-size: 1.25rem;
    font-weight: 600; max-width: 850px; margin: 0 auto 2rem;
}

/* Neurodiverse Friendly Spaces Logo Scaling */
.spaces-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    margin: 1rem 0;
}
.spaces-hero-logo {
    max-height: 120px; /* Reduced scale to fit elegantly and stay in keeping with standard logos */
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
    transition: transform 0.3s ease;
}
.spaces-hero-logo:hover {
    transform: scale(1.03);
}

.page-hero {
    background: var(--bg-tint);
    padding: 2rem 0;
    margin: 0;
}
.page-hero h1 {
    color: var(--brand-green-hover);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}
.page-hero p {
    color: #03395f;
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 600;
    text-align: center;
    max-width: 100ch;
    margin: 0 auto 1.5rem;
}
.page-hero .logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 1rem 0;
}
.page-hero .logo-section img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

/* Glass Cards for Events/Articles/Crisis */
.events-glass-wrapper, .article-glass-card, .support-cat-box {
    background: #ffffff !important;
    border-radius: 25px !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.03) !important;
    transition: transform 0.3s ease !important;
}

/* Glass Articles Grid */
.articles-glass-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 30px !important;
    max-width: 1200px;
    margin: 3rem auto !important;
    padding: 0 1.5rem;
}

.article-glass-card {
    background: #ffffff !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.article-glass-card .article-image-legacy img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.article-glass-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Homepage Hero Layouts */
.hero-layout {
    display: flex;
    align-items: center;
    gap: 2rem;
    min-height: 300px;
}
.hero-above { flex-direction: column; text-align: center; }
.hero-below { flex-direction: column-reverse; text-align: center; }
.hero-left { flex-direction: row; }
.hero-right { flex-direction: row-reverse; }

.hero-above .hero-image img,
.hero-below .hero-image img {
    display: block;
    margin: 0 auto;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    min-height: 200px;
    object-fit: contain;
    border-radius: 8px;
}
.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--brand-green-hover);
}
.hero-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #03395f;
    max-width: 100ch;
}

/* Homepage news section */
.homepage-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1rem 0;
}
.homepage-article {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.homepage-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.article-image { margin-bottom: 1rem; }
.article-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 4px;
}
.article-content h3 {
    color: var(--brand-green-hover);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}
.article-text {
    color: #03395f;
    line-height: 1.6;
}

/* ==========================================================================
   4. GLOBAL BUTTONS, INFO BAR & BREADCRUMBS
   ========================================================================== */

.btn {
    display: inline-block;
    background: var(--brand-green);
    color: #fff;
    text-decoration: none;
    padding: .55rem .9rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}
.btn:hover {
    background: var(--brand-green-hover);
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline {
    background: transparent;
    color: var(--brand-green-hover);
    border: 2px solid var(--brand-green-hover);
}
.btn-outline:hover {
    background: var(--brand-green-hover);
    color: #fff;
}

.btn-yellow, .btn-outline-white {
    padding: 12px 35px !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block;
}

.btn-yellow {
    background: var(--brand-yellow) !important;
    color: #00395d !important;
    border: none !important;
}

.btn-outline-white {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
}

.btn-yellow:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4); }

/* Info Bar */
.info-bar {
    background: var(--brand-blue);
    color: #fff;
    padding: 2rem 0;
    margin: 0;
}
.info-bar p { color: #fff; }
.info-bar .btn {
    display: inline-block;
    background: var(--brand-green-hover);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}
.info-bar .btn:hover { background: #256628; }
.info-bar .info-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.info-bar p {
    color: #fff;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-slate);
    padding: .5rem 0;
}
.breadcrumbs ol {
    list-style: none;
    margin: 0 auto;
    padding: 0 1rem;
    max-width: 1200px;
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.breadcrumbs li {
    color: var(--text-dark);
    font-size: .95rem;
}
.breadcrumbs a {
    color: var(--brand-green-hover);
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   5. ABOUT ROW & SUPPORTERS GRID
   ========================================================================== */

/* About Section */
.about-section {
    background: linear-gradient(135deg, #004c7d 0%, #05487a 100%);
    color: white;
    padding: 3rem 1rem;
}
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 2rem;
    align-items: center;
}
.about-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
}
.contact-info {
    font-size: 1rem;
    line-height: 1.8;
}
.contact-info a {
    color: var(--brand-yellow);
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* Supporters Grid */
.supporters-section {
    padding: 3rem 0;
    background: #fff;
}
.supporters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .supporters-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
        margin: 2rem auto 0;
    }
}
.supporter-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}
.supporter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.supporter-logo {
    max-width: 200px;
    max-height: 100px;
    margin-bottom: 1rem;
    object-fit: contain;
}
.supporter-name {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.supporter-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Supporters Premium Grid - Equidistant Layout */
.supporters-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem auto 0;
    max-width: 1200px;
}
.supporter-glass-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%; /* Ensures equal height for all cards in the grid row */
}
.supporter-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(76, 175, 80, 0.12);
}
.supporter-glass-card .logo-wrapper {
    height: 100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.supporter-glass-card .logo-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.supporter-glass-card h3 {
    font-size: 1.35rem;
    color: var(--brand-green-hover);
    margin-bottom: 0.75rem;
    font-weight: 700;
}
.supporter-glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1; /* Pushes the button to the bottom so buttons align perfectly */
}
.supporter-glass-card .partner-link {
    display: inline-block;
    background: var(--brand-green);
    color: #fff !important;
    text-decoration: none;
    padding: 0.65rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    transition: var(--transition);
    margin-top: auto; /* Aligns to bottom */
    border: none;
    cursor: pointer;
}
.supporter-glass-card .partner-link:hover {
    background: var(--brand-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

/* ==========================================================================
   6. FOOTER STYLING
   ========================================================================== */

.footer-section {
    background: linear-gradient(135deg, var(--brand-green-hover) 0%, #66bb6a 50%, var(--brand-green-hover) 100%);
    color: white;
    padding: 2rem 1rem;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}
.footer-card:hover {
    transform: translateY(-5px);
}
.footer-card img {
    height: 60px;
    margin-bottom: 1rem;
}
.footer-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}
.footer-card .footer-social {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: .75rem;
}
.footer-card .footer-social .social-icon {
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem;
    border-radius: 8px;
    text-decoration: none;
}
.footer-card .footer-social .social-icon:hover {
    background: rgba(255,255,255,0.15);
}

/* ==========================================================================
   7. EVENTS & CALENDAR LAYOUTS
   ========================================================================== */

.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.card { background: var(--bg-slate); border-radius: 12px; box-shadow: 0 10px 27px rgba(0,0,0,0.05); }
.card-inner { padding: 1rem; }
.muted { color: #777; }

/* Events list */
.event-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 640px) {
    .event-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .event-list { grid-template-columns: repeat(3, 1fr); }
}
.event-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    transition: all 0.2s ease;
}
.event-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.event-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: transparent;
}
.event-body {
    padding: 1rem;
}
.event-title {
    margin: 0 0 .5rem 0;
    color: var(--brand-green-hover);
}
.event-meta {
    margin: 0 0 .5rem 0;
    color: #444;
    font-weight: 600;
}
.event-desc {
    color: #555;
}

/* Event Detail */
.event-detail {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 27px rgba(0,0,0,0.05);
}
.event-image-lg {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: .5rem 0 1rem 0;
    max-height: none;
    object-fit: contain;
    background: transparent;
}

/* Calendar */
.calendar-nav {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: .5rem 0 1rem 0;
}
.calendar-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.page-calendar .schedule-grid {
    display: grid !important; grid-template-columns: repeat(7, 1fr) !important;
    gap: 12px !important;
}
.schedule-cell {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    min-height: 100px;
    padding: .5rem;
}
.schedule-cell.muted {
    background: var(--bg-slate);
}
.schedule-date {
    font-weight: 700;
    color: var(--brand-green-hover);
}
.schedule-items {
    list-style: none;
    margin: .25rem 0 0 0;
    padding: 0;
}
.schedule-items li {
    margin: .25rem 0;
}
.schedule-items a {
    color: var(--brand-blue);
    text-decoration: none;
}
.schedule-items a:hover {
    text-decoration: underline;
}

body.calendar-page main.container {
    background: var(--bg-white);
}

/* ==========================================================================
   8. CRISIS SUPPORT PAGE STYLES
   ========================================================================== */

.urgent-alert-bar { background: #d32f2f !important; padding: 1.5rem 0; color: white; text-align: center; }
.urgent-link { color: var(--brand-yellow) !important; font-size: 1.8rem; font-weight: 900; text-decoration: none; border-bottom: none; }
.urgent-flex {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}
.urgent-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.urgent-label {
    font-size: 1.8rem;
    font-weight: 900;
    color: #ffffff;
}

.crisis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.emergency-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.crisis-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 4px solid var(--brand-green);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
.crisis-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.crisis-card.emergency-primary {
    border-left-color: #f44336;
    background: linear-gradient(135deg, #fff 0%, #ffebee 100%);
    border: 2px solid #f44336;
}
.crisis-card.emergency-secondary {
    border-left-color: #ff9800;
    background: linear-gradient(135deg, #fff 0%, #fff3e0 100%);
    border: 2px solid #ff9800;
}
.crisis-card.always-available {
    border-left-color: var(--brand-green);
    background: linear-gradient(135deg, #fff 0%, #f1f8e9 100%);
}
.phone-number-large {
    font-size: 3rem;
    font-weight: 900;
    color: #f44336;
    margin: 0 0 1rem 0;
}
.phone-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand-green-hover);
    margin: 0 0 1rem 0;
}
.phone-number-small {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brand-green-hover);
    background: rgba(76, 175, 80, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    display: inline-block;
}
.crisis-card h3 {
    color: var(--brand-green-hover);
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}
.crisis-card.emergency-primary h3,
.crisis-card.emergency-secondary h3 {
    color: #d32f2f;
}
.emergency-note {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin-top: 1rem !important;
}

/* Support Categories */
.support-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 2rem 0;
}
.support-category {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.support-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}
.support-category h3 {
    color: var(--brand-green-hover);
    margin: 0 0 1.5rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
}
.support-item {
    padding: 1rem;
    background: var(--bg-slate);
    border-radius: 8px;
    border-left: 3px solid var(--brand-green);
}
.support-item h4 {
    color: var(--brand-green-hover);
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}
.support-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.hours {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}
.support-item p {
    margin: 0.25rem 0;
    line-height: 1.5;
}
.support-item strong {
    color: var(--brand-green-hover);
}
.support-item a {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 500;
}
.support-item a:hover {
    text-decoration: underline;
    color: var(--brand-green-hover);
}

/* ==========================================================================
   9. VOLUNTEER FORM & SHARE UTILITY
   ========================================================================== */

.volunteer-form-container {
    max-width: 500px;
    margin: 20px auto;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}
.volunteer-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.volunteer-form label {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}
.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
}
.volunteer-form button[type="submit"] {
    width: 100%;
    padding: 0.85rem;
    background-color: var(--brand-green);
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.volunteer-form button[type="submit"]:hover {
    background-color: var(--brand-green-hover);
}

/* Share Section */
.share-section {
    margin: 1.5rem 0 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
}
.share-label {
    margin: 0 0 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.share-row {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-green);
    color: #fff;
    padding: 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
}
.share-btn:hover {
    background: var(--brand-green-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.3);
}
.share-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.2);
}
.share-btn.copy.copied {
    background: var(--brand-green-hover);
    transform: scale(0.95);
}
.share-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ==========================================================================
   10. ADMIN DASHBOARD PANELS
   ========================================================================== */

.admin-tabs {
    display: flex;
    border-bottom: 2px solid var(--brand-green);
    margin-bottom: 2rem;
}
.tab-button {
    background: none;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    font-size: 1.1rem;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tab-button:hover {
    color: var(--brand-green);
    background: #f8f9fa;
}
.tab-button.active {
    color: var(--brand-green);
    border-bottom-color: var(--brand-green);
    font-weight: bold;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.admin-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.form-group {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--brand-green-hover);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    color: #333;
    background: white;
}
.form-group input[type="file"] {
    padding: 0.75rem;
    background: #f8f9fa;
    border: 2px dashed var(--brand-green-hover);
    color: var(--brand-green-hover);
    font-weight: bold;
}
.form-group textarea {
    height: 100px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.content-list {
    margin-top: 1rem;
}
.content-item {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f9f9f9;
}
.content-item h4 {
    margin: 0 0 0.5rem 0;
    color: var(--brand-green-hover);
}
.content-item p {
    margin: 0.5rem 0;
    color: #666;
}
.content-actions {
    margin-top: 1rem;
}
.content-actions .btn {
    margin-right: 0.5rem;
}
.edit-form {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    background: #f0f8f0;
    border-radius: 4px;
}

/* ==========================================================================
   11. MEDIA QUERIES (RESPONSIVE WRAP UP)
   ========================================================================== */

@media screen and (max-width: 991px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    .about-logo {
        margin: 0 auto;
        max-width: 150px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--brand-green);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        z-index: 1000;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 0;
    }
    .nav-menu a {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu .nav-app-link {
        display: inline-block !important;
        margin: 1.5rem auto !important;
        width: auto;
        padding: 10px 24px !important;
        border: 2px solid var(--brand-yellow) !important;
        border-radius: 50px !important;
    }
    .urgent-label, .urgent-link {
        font-size: 1.35rem !important;
    }
    .hamburger {
        display: flex;
    }
    .header-social-desktop {
        display: none;
    }
    .nav-social-links-mobile {
        display: block !important;
        padding: 0.5rem 1rem 1rem;
    }
    .nav-social-links-mobile .header-social {
        justify-content: center;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .page-hero p {
        font-size: 1.1rem;
    }
    .hero-layout {
        flex-direction: column !important;
        text-align: center;
        gap: 1.5rem;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-text {
        font-size: 1.1rem;
    }
    .crisis-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .crisis-card {
        padding: 1.25rem;
    }
    .support-categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .support-category {
        padding: 1.5rem;
    }
    .support-list {
        gap: 1rem;
    }
    .support-item {
        padding: 0.75rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 1rem;
    }
    .page-hero {
        padding: 2.5rem 1rem;
    }
    .volunteer-form-container {
        padding: 1.5rem;
    }
}

/* ==========================================================================
   12. PREMIUM HOMEPAGE LAYOUTS & MICRO-INTERACTIONS
   ========================================================================== */

/* 12.1 Hero Section Split Layout */
.hero-flex-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 2rem 0;
}

.hero-text-side {
    flex: 1.25;
    text-align: left;
}

.hero-image-side {
    flex: 0.75;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.brand-green-text {
    color: var(--brand-green);
}

.hero-quote-box {
    position: relative;
    padding-left: 1.75rem;
    border-left: 4px solid var(--brand-green);
    margin-bottom: 2.5rem;
}

.hero-quote-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    font-weight: 500;
}

.hero-cta-box-premium {
    margin-top: 2rem;
}

.cta-prompt {
    font-weight: 800;
    color: var(--brand-green-hover);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.premium-glow-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.premium-glow-btn .arrow {
    transition: transform 0.2s ease;
}

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

.hero-logo-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-img {
    max-width: 100%;
    height: auto;
    max-height: 380px;
    filter: drop-shadow(0 15px 30px rgba(76, 175, 80, 0.12));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* 12.2 Premium Responsive Article Layouts */
.articles-glass-grid {
    display: grid;
    grid-template-columns: 1fr; /* Center single updates beautifully */
    gap: 3rem;
    max-width: 1100px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.article-glass-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(76, 175, 80, 0.1);
    overflow: hidden;
    transition: var(--transition);
}

.article-glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
}

.article-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem;
}

.article-layout.article-left {
    flex-direction: row;
}

.article-layout.article-right {
    flex-direction: row-reverse;
}

.article-layout.article-above,
.article-layout.article-below {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
}

.article-layout.article-below {
    flex-direction: column-reverse;
}

.article-content {
    flex: 1.3;
    text-align: left;
}

.article-layout.article-above .article-content,
.article-layout.article-below .article-content {
    text-align: center;
}

.article-content h3 {
    font-size: 1.85rem;
    color: var(--brand-green-hover);
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.article-text {
    color: var(--text-dark);
    line-height: 1.75;
    font-size: 1.08rem;
}

.article-image {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.article-image img {
    width: 100%;
    height: auto;
    max-height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.article-image img:hover {
    transform: scale(1.02);
}

/* 12.3 Teaser Section (Horizontal Cards next to Map) */
.event-list-home {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.event-list-home .event-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    background: #ffffff !important;
    border: 1px solid rgba(76, 175, 80, 0.1) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    text-align: left !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.01) !important;
    transition: var(--transition) !important;
}

.event-list-home .event-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.08) !important;
    border-color: rgba(76, 175, 80, 0.25) !important;
}

.event-list-home .event-image {
    width: 140px !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
    border-right: 1px solid rgba(76, 175, 80, 0.08) !important;
}

.event-list-home .event-body {
    flex-grow: 1 !important;
    padding: 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.event-list-home .event-title {
    font-size: 1.25rem !important;
    margin: 0 0 0.5rem 0 !important;
    color: var(--brand-green-hover) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

.event-list-home .event-meta {
    font-size: 0.92rem !important;
    color: var(--text-dark) !important;
    font-weight: 600 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
}

.event-list-home .event-actions {
    margin-top: auto !important;
}

.event-list-home .event-actions .btn {
    padding: 0.45rem 1.25rem !important;
    font-size: 0.85rem !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* 12.4 Responsive Adjustments */
@media screen and (max-width: 991px) {
    .hero-main-title {
        font-size: 3rem;
    }
    .hero-flex-container {
        gap: 2.5rem;
    }
    .article-layout {
        gap: 2.5rem;
        padding: 2.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero-flex-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2.5rem;
        padding: 1.5rem 0.5rem;
    }
    .hero-text-side {
        text-align: center;
    }
    .hero-main-title {
        font-size: 2.5rem;
    }
    .hero-quote-box {
        padding-left: 0;
        border-left: none;
        border-top: 1px dashed rgba(76, 175, 80, 0.3);
        border-bottom: 1px dashed rgba(76, 175, 80, 0.3);
        padding: 1.5rem 0;
        margin-bottom: 2rem;
    }
    .hero-quote-text {
        font-size: 1.1rem;
    }
    .hero-logo-img {
        max-height: 250px;
    }
    .article-layout {
        flex-direction: column !important;
        gap: 2rem !important;
        padding: 2rem 1.5rem !important;
    }
    .article-content {
        text-align: center !important;
    }
    .article-image {
        max-width: 100% !important;
    }
    .article-image img {
        max-height: 280px !important;
    }
}

@media screen and (max-width: 480px) {
    .event-list-home .event-card {
        flex-direction: column !important;
    }
    .event-list-home .event-image {
        width: 100% !important;
        height: 120px !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(76, 175, 80, 0.08) !important;
    }
    .article-content h3 {
        font-size: 1.5rem;
    }
    .article-text {
        font-size: 1rem;
    }
}