/* -----------------------------------------------------------
   THERESA POWER HUB - COMPLETE DESIGN SYSTEM
   Mobile-First | 80% Teal / 10% White / 10% Red | Accessible
   Color Strategy:
     Teal  = Primary brand (structure, backgrounds, nav, headings)
     White = Neutral foundation (cards, page bg, text contrast)
     Red   = Accent only (emergency banners, CTAs, urgent actions)
   Ratio Rule: 60% neutrals · 30% teal · 10% red (60/30/10)
----------------------------------------------------------- */

:root {
    /* ── Teal Scale — 80% of UI (structure, brand, nav, headings) ── */
    --primary-teal: #0F766E;        /* main brand color */
    --primary-teal-hover: #0C5E58;  /* hover state */
    --dark-teal: #0A4F4A;           /* hero overlays, footer, offcanvas */
    --light-teal: #E6F4F3;          /* tinted section bgs, badge fills */

    /* ── Neutral Foundation — White & Grays ── */
    --white: #FFFFFF;               /* cards, modals, pure white areas */
    --off-white: #F8F9FA;           /* default page background */
    --light-gray: #E5E7EB;          /* borders, dividers, subtle lines */
    --text-dark: #1F2937;           /* primary body copy */
    --text-gray: #6B7280;           /* secondary / muted text */

    /* ── Accent Red — 10% of UI (emergency, CTAs, urgency only) ── */
    --accent-red: #D64545;          /* muted red — not fire-engine */
    --accent-red-hover: #B93838;    /* hover / pressed state */
    --accent-red-light: #FBEAEA;    /* soft background tint */

    /* ── Backward-compatible aliases (keeps HTML/JS using old names working) ── */
    --emergency-red: #D64545;
    --emergency-light: #FBEAEA;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(15, 118, 110, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 118, 110, 0.12);
    --shadow-lg: 0 8px 24px rgba(15, 118, 110, 0.16);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* -----------------------------------------------------------
   RESET & BASE STYLES
----------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 80px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--dark-teal);
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* -----------------------------------------------------------
   TYPOGRAPHY UTILITIES
----------------------------------------------------------- */
.text-teal { color: var(--primary-teal); }
.text-dark-teal { color: var(--dark-teal); }
.text-white { color: var(--white); }
.text-gray { color: var(--text-gray); }

.bg-light-teal { background-color: var(--light-teal); }
.bg-teal { background-color: var(--primary-teal); }
.bg-dark-teal { background-color: var(--dark-teal); }
.bg-white { background-color: var(--white); }

.section-padding {
    padding: var(--section-padding);
}

/* -----------------------------------------------------------
   NAVIGATION
----------------------------------------------------------- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
    transition: var(--transition-normal);
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-teal) !important;
    letter-spacing: -0.5px;
}

.navbar-brand .fw-light {
    font-weight: 400;
    color: var(--dark-teal);
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    position: relative;
    transition: color var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-red) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--accent-red);
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    padding: 8px;
}

.dropdown-item {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: background var(--transition-normal), color var(--transition-normal);
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--accent-red-light);
    color: var(--accent-red);
}

.btn-emergency-nav {
    background: var(--accent-red);
    color: var(--white) !important;
    padding: 8px 24px !important;
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
}

.btn-emergency-nav:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
    color: var(--accent-red);
    font-size: 1.5rem;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* -----------------------------------------------------------
   MOBILE OFF CANVAS MENU
----------------------------------------------------------- */
.offcanvas {
    background: var(--dark-teal);
    color: var(--white);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
}

.offcanvas-title {
    color: var(--white);
    font-weight: 800;
    font-size: 1.3rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.mobile-nav-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition-normal);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: var(--accent-red);
    color: var(--white);
    padding-left: 20px;
}

.mobile-nav-link.emergency-link {
    background: var(--accent-red);
    color: var(--white);
    text-align: center;
    margin-top: 20px;
}

/* -----------------------------------------------------------
   HERO SECTION
----------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, rgba(10,79,74,0.95) 0%, rgba(15,118,110,0.9) 100%),
                url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    padding: 60px 0;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn-primary-custom {
    background: var(--white);
    color: var(--dark-teal);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: var(--transition-normal);
}

.btn-primary-custom:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid var(--white);
    transition: var(--transition-normal);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--accent-red-hover);
    transform: translateY(-2px);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    display: block;
}

/* -----------------------------------------------------------
   SECTION HEADERS
----------------------------------------------------------- */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    margin: 0;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-teal);
    border-radius: 2px;
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.8);
}

.section-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.section-link:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

.section-header.light .section-link {
    color: var(--white);
}

/* -----------------------------------------------------------
   FEATURED CARD
----------------------------------------------------------- */
.featured-section {
    background: var(--white);
}

.featured-card {
    background: var(--light-teal);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.featured-image {
    position: relative;
    height: 100%;
    min-height: 300px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.featured-content {
    padding: 40px;
}

.content-category {
    display: inline-block;
    background: var(--white);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.content-excerpt {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 700;
    transition: var(--transition-normal);
}

.btn-read-more:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

/* -----------------------------------------------------------
   STATS SECTION
----------------------------------------------------------- */
.stats-section {
    background: var(--white);
    padding: 60px 0;
}

.stat-card {
    background: var(--light-teal);
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    height: 100%;
    transition: var(--transition-normal);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1.2;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* -----------------------------------------------------------
   LEARN CARDS
----------------------------------------------------------- */
.learn-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.learn-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.learn-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.card-content p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.card-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

/* -----------------------------------------------------------
   VOICES SECTION
----------------------------------------------------------- */
.voices-section {
    background: var(--dark-teal);
    color: var(--white);
    padding: var(--section-padding);
}

.voice-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: var(--radius-md);
    position: relative;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(255,255,255,0.3);
    margin-bottom: 16px;
}

.voice-quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 24px;
    line-height: 1.8;
}

.voice-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-name {
    font-weight: 700;
    color: var(--white);
}

.author-title {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* -----------------------------------------------------------
   MAP CONTAINER
----------------------------------------------------------- */
.map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container img {
    width: 100%;
    height: auto;
    display: block;
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 40px 30px 30px;
}

.map-overlay p {
    margin-bottom: 16px;
    font-size: 1.1rem;
    max-width: 500px;
}

.btn-map {
    display: inline-block;
    background: var(--white);
    color: var(--dark-teal);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-map:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* -----------------------------------------------------------
   EMERGENCY BANNER
----------------------------------------------------------- */
.emergency-section {
    padding: 40px 0;
}

.emergency-banner {
    background: var(--accent-red-light);
    border-left: 6px solid var(--accent-red);
    padding: 32px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.emergency-title {
    color: var(--accent-red);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.emergency-text {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.emergency-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 16px;
}

.btn-emergency {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.btn-emergency:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    color: var(--white);
}

/* -----------------------------------------------------------
   FOOTER
----------------------------------------------------------- */
.footer {
    background: var(--accent-red);
    color: var(--white);
    padding: 80px 0 30px;
    margin-top: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--white);
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo .fw-light {
    color: rgba(255,255,255,0.7);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.social-links a:hover {
    background: var(--white);
    color: var(--accent-red-hover);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.newsletter-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.newsletter-form .input-group {
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    overflow: hidden;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 12px 20px;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form .form-control:focus {
    box-shadow: none;
    background: transparent;
}

.btn-subscribe {
    background: var(--white);
    color: var(--dark-teal);
    font-weight: 700;
    padding: 12px 24px;
    border: none;
    border-radius: 0 50px 50px 0 !important;
}

.btn-subscribe:hover {
    background: var(--accent-red-hover);
    color: var(--white);
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255,255,255,0.7);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* -----------------------------------------------------------
   PAGE HEADER
----------------------------------------------------------- */
.page-header {
    background: var(--light-teal);
    padding: 80px 0 60px;
    margin-top: -20px;
}

.page-title {
    font-size: 2.8rem;
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* -----------------------------------------------------------
   ABOUT / MISSION PAGES
----------------------------------------------------------- */
.mission-statement {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-mark {
    font-family: var(--font-heading);
    font-size: 8rem;
    color: var(--light-teal);
    position: absolute;
    top: 20px;
    left: 30px;
    opacity: 0.5;
    line-height: 1;
}

.mission-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.values-section {
    padding: var(--section-padding);
}

.value-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.value-card h3 {
    margin-bottom: 16px;
}

.value-card p {
    color: var(--text-gray);
}

.action-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.action-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.action-card p {
    color: var(--text-gray);
    margin: 0;
}

/* -----------------------------------------------------------
   DECLARATION PAGE
----------------------------------------------------------- */
.declaration-hero {
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.declaration-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
}

.declaration-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.declaration-content {
    max-width: 800px;
    margin: 0 auto;
}

.declaration-lead {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--primary-teal);
    margin-bottom: 40px;
    line-height: 1.8;
}

.declaration-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(15,118,110,0.1);
}

.declaration-item:last-child {
    border-bottom: none;
}

.declaration-item h3 {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
}

.declaration-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-left: 45px;
}

.declaration-signature {
    margin-top: 60px;
    text-align: right;
    font-size: 1.2rem;
}

.signature-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 8px 0;
}

.signature-date {
    color: var(--text-gray);
    font-style: italic;
}

.cta-section {
    padding: 80px 0;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* -----------------------------------------------------------
   BIO PAGE
----------------------------------------------------------- */
.bio-header {
    background: var(--white);
    padding: 60px 0;
}

.bio-image-wrapper {
    position: relative;
    padding: 20px;
}

.bio-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.bio-intro {
    padding: 40px;
}

.bio-tag {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.bio-name {
    font-size: 3rem;
    margin-bottom: 24px;
    color: var(--dark-teal);
}

.bio-quote {
    font-size: 1.3rem;
    font-style: italic;
    color: var(--primary-teal);
    line-height: 1.6;
    border-left: 4px solid var(--primary-teal);
    padding-left: 24px;
}

.bio-content {
    max-width: 800px;
    margin: 0 auto;
}

.bio-content h2 {
    margin: 40px 0 20px;
}

.bio-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.bio-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.bio-list li {
    margin-bottom: 16px;
    padding-left: 30px;
    position: relative;
    color: var(--text-gray);
}

.bio-list li::before {
    content: '✦';
    color: var(--primary-teal);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.bio-signature {
    margin-top: 60px;
    font-size: 1.2rem;
}

.signature {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin: 8px 0;
}

.connect-section {
    padding: 80px 0;
    text-align: center;
}

.connect-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.connect-text {
    color: var(--text-gray);
    margin-bottom: 32px;
}

.connect-social {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.connect-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--white);
    color: var(--primary-teal);
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.connect-icon:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* -----------------------------------------------------------
   LEARN PAGE
----------------------------------------------------------- */
.topic-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.topic-icon {
    width: 80px;
    height: 80px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.topic-card h3 {
    margin-bottom: 16px;
}

.topic-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
}

.topic-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.topic-link:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

.article-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 24px;
}

.article-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.article-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.article-link {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   MYTHS & FACTS PAGE
----------------------------------------------------------- */
.myth-card,
.fact-card {
    padding: 30px;
    border-radius: var(--radius-md);
    height: 100%;
    transition: var(--transition-normal);
}

.myth-card:hover,
.fact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.myth-card {
    background: var(--accent-red-light);
    border-left: 4px solid var(--accent-red);
}

.fact-card {
    background: var(--light-teal);
    border-left: 4px solid var(--primary-teal);
}

.myth-header,
.fact-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.myth-header i {
    color: var(--accent-red);
    font-size: 1.5rem;
}

.fact-header i {
    color: var(--primary-teal);
    font-size: 1.5rem;
}

.myth-header h3,
.fact-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.myth-card p,
.fact-card p {
    margin: 0;
    line-height: 1.8;
}

.source-section {
    padding: 0 0 60px;
}

.source-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   RESOURCES PAGE
----------------------------------------------------------- */
.quick-emergency {
    padding: 40px 0;
}

.emergency-quick-card {
    background: var(--accent-red);
    color: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.emergency-quick-card h3 {
    color: var(--white);
    margin-bottom: 8px;
}

.emergency-quick-card p {
    opacity: 0.9;
    margin: 0;
}

.btn-emergency-quick {
    display: inline-block;
    background: var(--white);
    color: var(--accent-red);
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition-normal);
}

.btn-emergency-quick:hover {
    background: var(--accent-red-hover);
    color: var(--white);
    transform: translateY(-2px);
}

.resource-category {
    margin-bottom: 60px;
}

.category-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.resource-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.resource-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-teal);
    margin-bottom: 12px;
}

.resource-card p {
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.resource-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resource-link:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

/* -----------------------------------------------------------
   VOICES PAGE
----------------------------------------------------------- */
.featured-voice {
    padding: 60px 0;
}

.featured-voice-card {
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    color: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.featured-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.featured-voice-card h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.featured-excerpt {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 20px;
    opacity: 0.95;
    line-height: 1.8;
}

.featured-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    opacity: 0.8;
    font-size: 0.95rem;
}

.featured-voice-card .btn-read-more {
    color: var(--white);
}

.featured-voice-card .btn-read-more:hover {
    color: rgba(255,255,255,0.8);
}

.featured-quote-icon {
    font-size: 8rem;
    color: rgba(255,255,255,0.1);
    text-align: center;
}

.voice-story-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.voice-story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.voice-story-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.voice-story-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.voice-story-header h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.voice-story-date {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin: 0;
}

.voice-story-excerpt {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.voice-story-link {
    color: var(--primary-teal);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.voice-story-link:hover {
    gap: 12px;
    color: var(--accent-red-hover);
}

.share-section {
    padding: 80px 0;
}

.share-title {
    font-size: 2rem;
    margin-bottom: 16px;
}

.share-text {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* -----------------------------------------------------------
   INTERVIEWS PAGE
----------------------------------------------------------- */
.featured-interview {
    padding: 60px 0;
}

.interview-featured-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.interview-featured-content {
    padding: 40px;
}

.interview-badge {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.interview-featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.interview-meta {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 20px;
}

.interview-excerpt {
    color: var(--text-gray);
    margin-bottom: 24px;
    line-height: 1.8;
}

.interview-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.interview-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.interview-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.interview-card-content {
    padding: 24px;
}

.interview-card-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.interview-card-title {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.interview-card-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.interview-link {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   DATA / MAP PAGE
----------------------------------------------------------- */
.full-map-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-legend {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.legend-item:last-child {
    margin-bottom: 0;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.region-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.region-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.region-card h3 {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--light-teal);
}

.region-stat {
    margin-bottom: 20px;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1.2;
}

.region-link {
    display: inline-block;
    color: var(--primary-teal);
    font-weight: 600;
    margin-top: 16px;
}

.region-link:hover {
    color: var(--accent-red-hover);
}

/* -----------------------------------------------------------
   EMERGENCY PAGE
----------------------------------------------------------- */
.emergency-hero {
    background: linear-gradient(135deg, var(--accent-red), var(--accent-red-hover));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.emergency-hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.emergency-hero-text {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.emergency-number-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 24px;
    align-items: flex-start;
    height: 100%;
    transition: var(--transition-normal);
}

.emergency-number-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.number-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-red-light);
    color: var(--accent-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.number-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hotline-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.number-content p {
    color: var(--text-gray);
    margin-bottom: 16px;
}

.btn-copy {
    background: transparent;
    border: 2px solid var(--accent-red);
    color: var(--accent-red);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-copy:hover {
    background: var(--accent-red);
    color: var(--white);
}

.btn-chat {
    display: inline-block;
    background: var(--primary-teal);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.btn-chat:hover {
    background: var(--accent-red-hover);
    color: var(--white);
}

.what-to-do-section {
    padding: var(--section-padding);
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
}

/* -----------------------------------------------------------
   BLOG POST PAGE
----------------------------------------------------------- */
.blog-article {
    padding: 40px 0 20px;
}

.article-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.article-category {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.article-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.meta-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.meta-author {
    display: block;
    font-weight: 700;
    color: var(--dark-teal);
}

.meta-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.article-featured-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    margin: 40px 0;
}

.article-content-section {
    padding: 0 0 60px;
}

.article-body {
    max-width: 700px;
    margin: 0 auto;
}

.article-lead {
    font-size: 1.3rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.8;
}

.article-body h2 {
    margin: 40px 0 20px;
}

.article-body p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-body ul {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.article-body li {
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.8;
}

.article-blockquote {
    background: var(--light-teal);
    padding: 40px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    position: relative;
}

.article-blockquote i {
    font-size: 2rem;
    color: var(--primary-teal);
    opacity: 0.3;
    margin-bottom: 16px;
}

.article-blockquote p {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--dark-teal);
    margin-bottom: 16px;
}

.article-blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-teal);
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 30px;
}

.tag {
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 30px 0;
    border-top: 1px solid rgba(15,118,110,0.1);
}

.share-icon {
    width: 40px;
    height: 40px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.share-icon:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px);
}

.related-articles {
    padding: 80px 0;
}

.related-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--transition-normal);
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-content {
    padding: 24px;
}

.related-content h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.related-content p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.related-link {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

/* -----------------------------------------------------------
   MISSION PAGE ADDITIONS
----------------------------------------------------------- */
.mission-hero {
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.mission-hero-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.mission-hero-text {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.pillar-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: var(--transition-normal);
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 80px;
    height: 80px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
}

.pillar-card h3 {
    text-align: center;
    margin-bottom: 16px;
}

.pillar-card p {
    color: var(--text-gray);
    margin-bottom: 24px;
    text-align: center;
}

.pillar-list {
    list-style: none;
    padding: 0;
}

.pillar-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.pillar-list i {
    color: var(--primary-teal);
    font-size: 1rem;
}

.why-matters {
    padding: 80px 0;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.stat-mini-item {
    text-align: center;
    padding: 20px;
    background: var(--light-teal);
    border-radius: var(--radius-md);
}

.stat-mini-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-teal);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-mini-item span:last-child {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* -----------------------------------------------------------
   RESPONSIVE DESIGN
----------------------------------------------------------- */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-content h3 {
        font-size: 1.5rem;
    }
    
    .content-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .map-overlay {
        padding: 20px;
        position: relative;
        background: var(--dark-teal);
    }
    
    .emergency-banner .row {
        text-align: center;
    }
    
    .emergency-number {
        margin: 16px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .mission-statement {
        padding: 30px;
    }
    
    .quote-mark {
        font-size: 5rem;
        top: 10px;
        left: 15px;
    }
    
    .mission-text {
        font-size: 1.1rem;
    }
    
    .bio-header .row {
        flex-direction: column-reverse;
    }
    
    .bio-intro {
        padding: 30px 0;
    }
    
    .bio-name {
        font-size: 2.2rem;
    }
    
    .bio-quote {
        font-size: 1.1rem;
    }
    
    .declaration-title {
        font-size: 2.2rem;
    }
    
    .declaration-item h3 {
        font-size: 1.2rem;
    }
    
    .declaration-item p {
        margin-left: 0;
    }
    
    .featured-voice-card {
        padding: 30px;
    }
    
    .featured-voice-card h2 {
        font-size: 1.8rem;
    }
    
    .featured-quote-icon {
        display: none;
    }
    
    .interview-featured-content {
        padding: 30px;
    }
    
    .map-legend {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
    
    .emergency-number-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .number-icon {
        margin-bottom: 16px;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta {
        flex-direction: column;
        text-align: center;
    }
    
    .article-blockquote {
        padding: 30px;
    }
    
    .article-share {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-mini-grid {
        margin-top: 30px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .featured-content h3 {
        font-size: 1.6rem;
    }
    
    .emergency-number {
        font-size: 1.6rem;
    }
}
/* ===========================================
   ADDITIONAL STYLES FOR COMPACT HOMEPAGE
   Add these to your existing style.css
=========================================== */

/* Section padding small */
.section-padding-sm {
    padding: 40px 0;
}

/* ===========================================
   HERO SECTION WITH PHOTO - FIXED WAVE
=========================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(10,79,74,0.98) 0%, rgba(15,118,110,0.95) 100%),
                url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding: 100px 0 80px;
    position: relative;
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    padding-right: 30px;
}

.hero-image-col {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    max-width: 450px;
    margin-left: auto;
}

.hero-image-wrapper:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-5px);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.hero-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 50px;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255,255,255,0.3);
}

.hero-image-badge i {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Fixed wave for all devices */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 80px;
    transform: scale(1.01);
}

/* ===========================================
   COMPACT STAT CARDS
=========================================== */
.stat-card.compact {
    padding: 15px 10px;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.stat-card.compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-card.compact .stat-number {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.stat-card.compact .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================================
   STORY CARDS - COMPACT
=========================================== */
.story-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.story-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.story-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.05);
}

.story-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.story-content {
    padding: 12px;
}

.story-content h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    line-height: 1.3;
}

.story-excerpt {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.story-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.7rem;
    color: var(--text-gray);
}

.story-meta i {
    font-size: 0.6rem;
    margin-right: 3px;
}

.story-link {
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.story-link i {
    font-size: 0.6rem;
}

/* ===========================================
   MINI CARDS FOR LEARN SECTION
=========================================== */
.mini-card {
    background: var(--white);
    padding: 16px 12px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(15,118,110,0.05);
}

.mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-red);
}

.mini-card-icon {
    width: 36px;
    height: 36px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 1rem;
}

.mini-card h3 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.mini-card p {
    font-size: 0.75rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.4;
}

.mini-link {
    color: var(--primary-teal);
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.mini-link i {
    font-size: 0.6rem;
}

/* ===========================================
   QUOTE CARDS - COMPACT
=========================================== */
.quote-card {
    background: var(--light-teal);
    padding: 20px 16px;
    border-radius: var(--radius-sm);
    height: 100%;
    position: relative;
    transition: var(--transition-normal);
}

.quote-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quote-icon-small {
    color: var(--primary-teal);
    opacity: 0.3;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.quote-text {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 12px;
}

.quote-author {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-teal);
    text-align: right;
    margin: 0;
}

/* ===========================================
   RESOURCE MINI CARDS
=========================================== */
.resource-mini-card {
    background: var(--white);
    padding: 20px 8px;
    border-radius: var(--radius-sm);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(15,118,110,0.05);
}

.resource-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    background: var(--accent-red);
    color: var(--white);
}

.resource-mini-card i {
    font-size: 1.2rem;
    color: var(--primary-teal);
    transition: var(--transition-normal);
}

.resource-mini-card:hover i {
    color: var(--white);
}

.resource-mini-card span {
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

/* ===========================================
   MAP PREVIEW - COMPACT
=========================================== */
.map-preview {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-preview img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.map-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10,79,74,0.95), rgba(15,118,110,0.8));
    color: var(--white);
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.map-preview-overlay p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-map-small {
    background: var(--white);
    color: var(--dark-teal);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition-normal);
}

.btn-map-small:hover {
    background: var(--accent-red-hover);
    color: var(--white);
}

/* ===========================================
   EMERGENCY BANNER - COMPACT
=========================================== */
.emergency-banner-compact {
    background: var(--accent-red-light);
    border-left: 4px solid var(--accent-red);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.emergency-icon-compact {
    font-size: 2rem;
    color: var(--accent-red);
    margin-right: 16px;
}

.emergency-title-compact {
    color: var(--accent-red);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.emergency-text-compact {
    font-size: 0.8rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.emergency-number-compact {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 6px;
}

.btn-emergency-compact {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-emergency-compact:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    color: var(--white);
}

/* ===========================================
   ARTICLE MINI CARDS
=========================================== */
.article-mini-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
}

.article-mini-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.article-mini-card img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.article-mini-content {
    padding: 10px;
}

.article-mini-content h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.article-mini-content a {
    color: var(--primary-teal);
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.article-mini-content a i {
    font-size: 0.6rem;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
=========================================== */
@media (max-width: 991px) {
    .hero-image-col {
        display: none;
    }
    
    .hero-content {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-wave svg {
        max-height: 40px;
    }
}

@media (max-width: 768px) {
    .section-padding-sm {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .map-preview-overlay {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .emergency-banner-compact .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
    
    .emergency-number-compact {
        display: inline-block;
        margin-right: 15px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .hero-image-wrapper {
        max-width: 380px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
}
/* ===========================================
   BLOG POST PAGE WITH SIDEBAR
   Add these to your existing style.css
=========================================== */

.blog-post-page {
    background-color: var(--off-white);
}

.blog-post-container {
    padding: 40px 0 60px;
}

/* ===========================================
   ARTICLE HEADER
=========================================== */
.article-category {
    display: inline-block;
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.article-category.secondary {
    background: var(--primary-teal);
    color: var(--white);
}

.article-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
    color: var(--dark-teal);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(15,118,110,0.1);
}

.meta-author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-teal);
}

.meta-author {
    display: block;
    font-weight: 700;
    color: var(--dark-teal);
    font-size: 0.95rem;
}

.meta-date {
    font-size: 0.8rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-date i {
    font-size: 0.7rem;
}

/* ===========================================
   FEATURED IMAGE - PROPERLY SIZED
=========================================== */
.featured-image-figure {
    margin: 0 0 30px 0;
    max-width: 100%;
}

.featured-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: block;
}

.featured-image-figure figcaption {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: 8px;
    text-align: right;
    font-style: italic;
}

/* ===========================================
   INLINE IMAGES - SMALL AND RESPONSIVE
=========================================== */
.inline-image {
    max-width: 300px;
    margin: 10px 20px 20px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    float: left;
}

.inline-image.right {
    float: right;
    margin: 10px 0 20px 20px;
}

.inline-image.left {
    float: left;
    margin: 10px 20px 20px 0;
}

.inline-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
    display: block;
}

.image-caption {
    display: block;
    font-size: 0.65rem;
    color: var(--text-gray);
    padding: 6px 10px;
    background: rgba(255,255,255,0.9);
    text-align: center;
    font-style: italic;
    border-top: 1px solid rgba(15,118,110,0.1);
}

/* ===========================================
   IMAGE GRID
=========================================== */
.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 30px 0;
}

.grid-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.grid-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.03);
}

/* ===========================================
   FULL WIDTH IMAGE - CONTAINED
=========================================== */
.full-width-image {
    margin: 40px 0;
}

.full-width-image img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.full-width-image figcaption {
    font-size: 0.7rem;
    color: var(--text-gray);
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* ===========================================
   ARTICLE BODY
=========================================== */
.article-body {
    max-width: 100%;
}

.article-lead {
    font-size: 1.1rem;
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.7;
    border-left: 3px solid var(--primary-teal);
    padding-left: 20px;
}

.article-body h2 {
    font-size: 1.5rem;
    margin: 40px 0 15px;
    clear: both;
}

.article-body h3 {
    font-size: 1.2rem;
    margin: 30px 0 15px;
}

.article-body p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.article-body ul, 
.article-body ol {
    margin: 20px 0 30px;
    padding-left: 20px;
}

.article-body li {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.article-body strong {
    color: var(--dark-teal);
}

.article-blockquote {
    background: var(--light-teal);
    padding: 30px 30px 30px 40px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    position: relative;
    border-left: 4px solid var(--primary-teal);
}

.article-blockquote i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    opacity: 0.3;
    margin-bottom: 10px;
    position: absolute;
    top: 20px;
    left: 20px;
}

.article-blockquote p {
    font-size: 1rem;
    font-style: italic;
    color: var(--dark-teal);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    padding-left: 20px;
}

.article-blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: var(--primary-teal);
    display: block;
    text-align: right;
    font-size: 0.9rem;
}

/* ===========================================
   TAGS AND SHARE
=========================================== */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 40px 0 30px;
    clear: both;
}

.tag {
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.tag:hover {
    background: var(--accent-red);
    color: var(--white);
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(15,118,110,0.1);
    border-bottom: 1px solid rgba(15,118,110,0.1);
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.article-share span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-gray);
}

.share-icon {
    width: 36px;
    height: 36px;
    background: var(--light-teal);
    color: var(--primary-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.share-icon:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===========================================
   AUTHOR BIO
=========================================== */
.author-bio {
    display: flex;
    gap: 20px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    margin: 40px 0;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15,118,110,0.1);
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--light-teal);
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.author-link {
    color: var(--primary-teal);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.author-link i {
    font-size: 0.7rem;
}

/* ===========================================
   SIDEBAR STYLES
=========================================== */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15,118,110,0.1);
}

.sidebar-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-teal);
    position: relative;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-teal);
}

/* About Card */
.about-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.sidebar-link {
    color: var(--primary-teal);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Emergency Sidebar */
.emergency-sidebar {
    background: var(--accent-red-light);
    border-left: 4px solid var(--accent-red);
    text-align: center;
}

.emergency-icon {
    font-size: 2rem;
    color: var(--accent-red);
    margin-bottom: 10px;
}

.emergency-sidebar h4 {
    color: var(--accent-red);
    font-size: 1rem;
    margin-bottom: 8px;
}

.emergency-hotline {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-red);
    margin-bottom: 12px;
}

.btn-emergency-sidebar {
    display: inline-block;
    background: var(--accent-red);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-emergency-sidebar:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    color: var(--white);
}

/* Table of Contents */
.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list li a {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-normal);
}

.toc-list li a i {
    font-size: 0.6rem;
    color: var(--primary-teal);
}

.toc-list li a:hover {
    color: var(--accent-red);
    padding-left: 3px;
}

/* Sidebar Related Items */
.sidebar-related-item {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(15,118,110,0.1);
}

.sidebar-related-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-related-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-related-item h4 {
    font-size: 0.85rem;
    margin-bottom: 4px;
    line-height: 1.3;
}

.sidebar-related-item h4 a {
    color: var(--dark-teal);
}

.sidebar-related-item h4 a:hover {
    color: var(--accent-red);
}

.related-meta {
    font-size: 0.65rem;
    color: var(--text-gray);
}

/* Category Tags */
.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-tag {
    background: var(--light-teal);
    color: var(--primary-teal);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.category-tag:hover {
    background: var(--accent-red);
    color: var(--white);
}

/* Newsletter Sidebar */
.newsletter-sidebar {
    background: var(--light-teal);
}

.sidebar-newsletter {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0 8px;
}

.sidebar-newsletter .form-control {
    border: 1px solid rgba(15,118,110,0.2);
    border-radius: 50px;
    padding: 10px 15px;
    font-size: 0.8rem;
}

.btn-subscribe-sidebar {
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: var(--transition-normal);
}

.btn-subscribe-sidebar:hover {
    background: var(--accent-red-hover);
}

/* Resource Quick List */
.resource-quick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resource-quick-list li {
    margin-bottom: 12px;
}

.resource-quick-list li a {
    color: var(--text-gray);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.resource-quick-list li a i {
    width: 20px;
    color: var(--primary-teal);
    font-size: 0.9rem;
}

.resource-quick-list li a:hover {
    color: var(--accent-red);
    padding-left: 3px;
}

/* ===========================================
   MORE ARTICLES SECTION
=========================================== */
.more-articles-section {
    padding: 40px 0 60px;
    background: var(--white);
    border-top: 1px solid rgba(15,118,110,0.1);
}

.more-article-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(15,118,110,0.05);
}

.more-article-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.more-article-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.more-article-content {
    padding: 12px;
}

.more-article-content h4 {
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.more-article-content a {
    color: var(--primary-teal);
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.more-article-content a i {
    font-size: 0.6rem;
}

/* ===========================================
   RESPONSIVE ADJUSTMENTS
=========================================== */
@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 40px;
        position: static;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .inline-image.right,
    .inline-image.left {
        max-width: 250px;
    }
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        text-align: center;
    }
    
    .inline-image.right,
    .inline-image.left {
        float: none;
        max-width: 100%;
        margin: 20px 0;
    }
    
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .author-bio {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .article-share {
        justify-content: center;
    }
    
    .more-article-card img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .featured-image {
        max-height: 250px;
    }
}
/* ============================================================
   THERESA POWER HUB — CSS ADDITIONS
   ADD THIS TO THE END OF YOUR style.css FILE
   These additions power all animations and new UI elements.
============================================================ */


/* -----------------------------------------------------------
   PAGE TRANSITION OVERLAY
----------------------------------------------------------- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.fade-in {
    opacity: 1;
    pointer-events: all;
}

.page-transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* -----------------------------------------------------------
   CURSOR GLOW
----------------------------------------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
}

@media (max-width: 991px) {
    .cursor-glow { display: none; }
}


/* -----------------------------------------------------------
   HERO SECTION ENHANCEMENTS
----------------------------------------------------------- */
/* Make background more visible — reduced overlay opacity */
.hero-section {
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    ),
    url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

/* Floating particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 100px;
    left: -50px;
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(255, 200, 150, 0.06);
    top: 40%;
    right: 30%;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Hero badge pulsing dot */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    animation: dotPulse 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Hero highlight text with shimmer */
.hero-highlight {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: highlightReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.9), rgba(255,255,255,0.3));
    background-size: 200% auto;
    animation: shimmerLine 2.5s linear infinite;
    border-radius: 2px;
}

@keyframes highlightReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerLine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero image rings */
.hero-image-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.ring-1 {
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    top: -15px;
    left: -15px;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    top: -30px;
    left: -30px;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
    opacity: 0.5;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 0.3; }
    50%       { transform: scale(1.02); opacity: 0.7; }
}

/* Floating badge */
.float-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(0deg); }
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%   { left: -100%; }
    100% { left: 100%; }
}


/* -----------------------------------------------------------
   HERO ENTRY ANIMATIONS
----------------------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    animation: revealRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
    to { opacity: 1; transform: translateX(0); }
}


/* -----------------------------------------------------------
   SCROLL REVEAL SYSTEM (used on all pages)
----------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal="fade-left"] {
    transform: translateX(-30px);
}

.scroll-reveal[data-reveal="fade-right"] {
    transform: translateX(30px);
}

.scroll-reveal[data-reveal="zoom-in"] {
    transform: scale(0.92);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}


/* -----------------------------------------------------------
   SECTION TITLE ANIMATED UNDERLINE
----------------------------------------------------------- */
.section-title::after {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-animated::after {
    transform: scaleX(1);
}


/* -----------------------------------------------------------
   CARD HOVER ENHANCEMENTS
----------------------------------------------------------- */
.mini-card,
.story-card,
.quote-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.mini-card:hover,
.story-card:hover {
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.2);
}

/* Story card image zoom */
.story-image img {
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.08);
}

/* Mini card icon pulse on hover */
.mini-card:hover .mini-card-icon {
    animation: iconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}


/* -----------------------------------------------------------
   BUTTON RIPPLE & ANIMATED
----------------------------------------------------------- */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

@keyframes rippleEffect {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(1); opacity: 0; }
}


/* -----------------------------------------------------------
   NAVBAR SCROLL EFFECT
----------------------------------------------------------- */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
}


/* -----------------------------------------------------------
   STAT CARD PULSE ON LOAD
----------------------------------------------------------- */
.stat-card.compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card.compact:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.18);
}


/* -----------------------------------------------------------
   EMERGENCY PULSE
----------------------------------------------------------- */
.emergency-pulse {
    animation: emergencyBeat 1.4s ease-in-out infinite;
}

@keyframes emergencyBeat {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.8; }
}


/* -----------------------------------------------------------
   RESOURCE MINI CARD ICON
----------------------------------------------------------- */
.resource-mini-card i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}


/* -----------------------------------------------------------
   SOCIAL ICON BUTTONS
----------------------------------------------------------- */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-right: 8px;
}

.social-icon-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

@keyframes iconBounce {
    0%   { transform: scale(1) translateY(0); }
    40%  { transform: scale(1.3) translateY(-4px); }
    70%  { transform: scale(0.95) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}


/* -----------------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-4px) scale(1.1);
}

.back-to-top i {
    position: relative;
    z-index: 2;
    animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

/* Progress ring */
.progress-ring {
    position: absolute;
    inset: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* -----------------------------------------------------------
   FOOTER LINK ITEMS (pre-animation state is inline JS)
----------------------------------------------------------- */
.footer-links li {
    will-change: opacity, transform;
}


/* -----------------------------------------------------------
   OTHER PAGES — INNER PAGE HERO BANNER ANIMATION
   Use .page-hero-section on inner page headers for same effect
----------------------------------------------------------- */
.page-hero-section {
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    );
    z-index: 1;
}

.page-hero-section > * {
    position: relative;
    z-index: 2;
}

.page-hero-section .hero-title,
.page-hero-section .hero-badge,
.page-hero-section .hero-text {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-section .hero-badge { animation-delay: 0.2s; }
.page-hero-section .hero-title  { animation-delay: 0.35s; }
.page-hero-section .hero-text   { animation-delay: 0.5s; }


/* -----------------------------------------------------------
   REDUCED MOTION — RESPECT ACCESSIBILITY
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .back-to-top i {
        animation: none;
    }
}
/* ============================================================
   THERESA POWER HUB — CSS ADDITIONS
   ADD THIS TO THE END OF YOUR style.css FILE
   These additions power all animations and new UI elements.
============================================================ */


/* -----------------------------------------------------------
   PAGE TRANSITION OVERLAY
----------------------------------------------------------- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.fade-in {
    opacity: 1;
    pointer-events: all;
}

.page-transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* -----------------------------------------------------------
   CURSOR GLOW
----------------------------------------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
}

@media (max-width: 991px) {
    .cursor-glow { display: none; }
}


/* -----------------------------------------------------------
   HERO SECTION ENHANCEMENTS
----------------------------------------------------------- */
/* Make background more visible — reduced overlay opacity */
.hero-section {
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    ),
    url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

/* Floating particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 100px;
    left: -50px;
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(255, 200, 150, 0.06);
    top: 40%;
    right: 30%;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Hero badge pulsing dot */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    animation: dotPulse 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Hero highlight text with shimmer */
.hero-highlight {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: highlightReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.9), rgba(255,255,255,0.3));
    background-size: 200% auto;
    animation: shimmerLine 2.5s linear infinite;
    border-radius: 2px;
}

@keyframes highlightReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerLine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero image rings */
.hero-image-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.ring-1 {
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    top: -15px;
    left: -15px;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    top: -30px;
    left: -30px;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
    opacity: 0.5;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 0.3; }
    50%       { transform: scale(1.02); opacity: 0.7; }
}

/* Floating badge */
.float-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(0deg); }
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%   { left: -100%; }
    100% { left: 100%; }
}


/* -----------------------------------------------------------
   HERO ENTRY ANIMATIONS
----------------------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    animation: revealRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
    to { opacity: 1; transform: translateX(0); }
}


/* -----------------------------------------------------------
   SCROLL REVEAL SYSTEM (used on all pages)
----------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal="fade-left"] {
    transform: translateX(-30px);
}

.scroll-reveal[data-reveal="fade-right"] {
    transform: translateX(30px);
}

.scroll-reveal[data-reveal="zoom-in"] {
    transform: scale(0.92);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}


/* -----------------------------------------------------------
   SECTION TITLE ANIMATED UNDERLINE
----------------------------------------------------------- */
.section-title::after {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-animated::after {
    transform: scaleX(1);
}


/* -----------------------------------------------------------
   CARD HOVER ENHANCEMENTS
----------------------------------------------------------- */
.mini-card,
.story-card,
.quote-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.mini-card:hover,
.story-card:hover {
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.2);
}

/* Story card image zoom */
.story-image img {
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.08);
}

/* Mini card icon pulse on hover */
.mini-card:hover .mini-card-icon {
    animation: iconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}


/* -----------------------------------------------------------
   BUTTON RIPPLE & ANIMATED
----------------------------------------------------------- */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

@keyframes rippleEffect {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(1); opacity: 0; }
}


/* -----------------------------------------------------------
   NAVBAR SCROLL EFFECT
----------------------------------------------------------- */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
}


/* -----------------------------------------------------------
   STAT CARD PULSE ON LOAD
----------------------------------------------------------- */
.stat-card.compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card.compact:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.18);
}


/* -----------------------------------------------------------
   EMERGENCY PULSE
----------------------------------------------------------- */
.emergency-pulse {
    animation: emergencyBeat 1.4s ease-in-out infinite;
}

@keyframes emergencyBeat {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.8; }
}


/* -----------------------------------------------------------
   RESOURCE MINI CARD ICON
----------------------------------------------------------- */
.resource-mini-card i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}


/* -----------------------------------------------------------
   SOCIAL ICON BUTTONS
----------------------------------------------------------- */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-right: 8px;
}

.social-icon-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

@keyframes iconBounce {
    0%   { transform: scale(1) translateY(0); }
    40%  { transform: scale(1.3) translateY(-4px); }
    70%  { transform: scale(0.95) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}


/* -----------------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-4px) scale(1.1);
}

.back-to-top i {
    position: relative;
    z-index: 2;
    animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

/* Progress ring */
.progress-ring {
    position: absolute;
    inset: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* -----------------------------------------------------------
   FOOTER LINK ITEMS (pre-animation state is inline JS)
----------------------------------------------------------- */
.footer-links li {
    will-change: opacity, transform;
}


/* -----------------------------------------------------------
   OTHER PAGES — INNER PAGE HERO BANNER ANIMATION
   Use .page-hero-section on inner page headers for same effect
----------------------------------------------------------- */
.page-hero-section {
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    );
    z-index: 1;
}

.page-hero-section > * {
    position: relative;
    z-index: 2;
}

.page-hero-section .hero-title,
.page-hero-section .hero-badge,
.page-hero-section .hero-text {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-section .hero-badge { animation-delay: 0.2s; }
.page-hero-section .hero-title  { animation-delay: 0.35s; }
.page-hero-section .hero-text   { animation-delay: 0.5s; }


/* -----------------------------------------------------------
   LEARN HUB SECTION
----------------------------------------------------------- */
.learn-hub-section {
    background: var(--white);
}

/* Section arrow link */
.learn-hub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.learn-hub-arrow:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateX(4px);
}

/* ---- Carousel ---- */
.learn-hub-carousel {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark-teal);
    aspect-ratio: 16 / 7;
    cursor: grab;
    user-select: none;
}

.learn-hub-carousel:active {
    cursor: grabbing;
}

.lhc-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.lhc-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.lhc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.lhc-slide:hover img {
    transform: scale(1.04);
}

/* Teal gradient overlay on slides */
.lhc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 79, 74, 0.88) 0%,
        rgba(15, 118, 110, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px 32px;
}

.lhc-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    max-width: 70%;
}

/* Dots */
.lhc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.lhc-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.lhc-dot.active {
    background: var(--white);
    width: 40px;
}

/* Arrow buttons */
.lhc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lhc-arrow:hover {
    background: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.lhc-prev { left: 14px; }
.lhc-next { right: 14px; }

/* ---- Article List ---- */
.lh-article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lh-article-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease, padding-left 0.2s ease;
    border-radius: var(--radius-sm);
}

.lh-article-item:last-child {
    border-bottom: none;
}

.lh-article-item:hover {
    background: var(--accent-red-light);
    padding-left: 12px;
    padding-right: 12px;
}

.lh-article-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 90px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--primary-teal);
}

.lh-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.lh-article-item:hover .lh-article-thumb img {
    transform: scale(1.08);
}

.lh-article-body {
    flex: 1;
}

.lh-article-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-teal);
    margin-bottom: 6px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.lh-article-item:hover .lh-article-title {
    color: var(--accent-red-hover);
}

.lh-article-excerpt {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 576px) {
    .learn-hub-carousel {
        aspect-ratio: 4 / 3;
    }

    .lhc-title {
        max-width: 100%;
        font-size: 0.95rem;
    }

    .lhc-overlay {
        padding: 16px;
    }

    .lh-article-thumb {
        width: 70px;
        height: 70px;
    }

    .lhc-arrow {
        display: none;
    }
}


/* -----------------------------------------------------------
   REDUCED MOTION — RESPECT ACCESSIBILITY
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .back-to-top i {
        animation: none;
    }
}
/* ============================================================
   THERESA POWER HUB — CSS ADDITIONS
   ADD THIS TO THE END OF YOUR style.css FILE
   These additions power all animations and new UI elements.
============================================================ */


/* -----------------------------------------------------------
   PAGE TRANSITION OVERLAY
----------------------------------------------------------- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.fade-in {
    opacity: 1;
    pointer-events: all;
}

.page-transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* -----------------------------------------------------------
   CURSOR GLOW
----------------------------------------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
}

@media (max-width: 991px) {
    .cursor-glow { display: none; }
}


/* -----------------------------------------------------------
   HERO SECTION ENHANCEMENTS
----------------------------------------------------------- */
/* Make background more visible — reduced overlay opacity */
.hero-section {
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    ),
    url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

/* Floating particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 100px;
    left: -50px;
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(255, 200, 150, 0.06);
    top: 40%;
    right: 30%;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Hero badge pulsing dot */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    animation: dotPulse 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Hero highlight text with shimmer */
.hero-highlight {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: highlightReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.9), rgba(255,255,255,0.3));
    background-size: 200% auto;
    animation: shimmerLine 2.5s linear infinite;
    border-radius: 2px;
}

@keyframes highlightReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerLine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero image rings */
.hero-image-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.ring-1 {
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    top: -15px;
    left: -15px;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    top: -30px;
    left: -30px;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
    opacity: 0.5;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 0.3; }
    50%       { transform: scale(1.02); opacity: 0.7; }
}

/* Floating badge */
.float-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(0deg); }
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%   { left: -100%; }
    100% { left: 100%; }
}


/* -----------------------------------------------------------
   HERO ENTRY ANIMATIONS
----------------------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    animation: revealRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
    to { opacity: 1; transform: translateX(0); }
}


/* -----------------------------------------------------------
   SCROLL REVEAL SYSTEM (used on all pages)
----------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal="fade-left"] {
    transform: translateX(-30px);
}

.scroll-reveal[data-reveal="fade-right"] {
    transform: translateX(30px);
}

.scroll-reveal[data-reveal="zoom-in"] {
    transform: scale(0.92);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}


/* -----------------------------------------------------------
   SECTION TITLE ANIMATED UNDERLINE
----------------------------------------------------------- */
.section-title::after {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-animated::after {
    transform: scaleX(1);
}


/* -----------------------------------------------------------
   CARD HOVER ENHANCEMENTS
----------------------------------------------------------- */
.mini-card,
.story-card,
.quote-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.mini-card:hover,
.story-card:hover {
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.2);
}

/* Story card image zoom */
.story-image img {
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.08);
}

/* Mini card icon pulse on hover */
.mini-card:hover .mini-card-icon {
    animation: iconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}


/* -----------------------------------------------------------
   BUTTON RIPPLE & ANIMATED
----------------------------------------------------------- */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

@keyframes rippleEffect {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(1); opacity: 0; }
}


/* -----------------------------------------------------------
   NAVBAR SCROLL EFFECT
----------------------------------------------------------- */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
}


/* -----------------------------------------------------------
   STAT CARD PULSE ON LOAD
----------------------------------------------------------- */
.stat-card.compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card.compact:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.18);
}


/* -----------------------------------------------------------
   EMERGENCY PULSE
----------------------------------------------------------- */
.emergency-pulse {
    animation: emergencyBeat 1.4s ease-in-out infinite;
}

@keyframes emergencyBeat {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.8; }
}


/* -----------------------------------------------------------
   RESOURCE MINI CARD ICON
----------------------------------------------------------- */
.resource-mini-card i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}


/* -----------------------------------------------------------
   SOCIAL ICON BUTTONS
----------------------------------------------------------- */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-right: 8px;
}

.social-icon-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

@keyframes iconBounce {
    0%   { transform: scale(1) translateY(0); }
    40%  { transform: scale(1.3) translateY(-4px); }
    70%  { transform: scale(0.95) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}


/* -----------------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-4px) scale(1.1);
}

.back-to-top i {
    position: relative;
    z-index: 2;
    animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

/* Progress ring */
.progress-ring {
    position: absolute;
    inset: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* -----------------------------------------------------------
   FOOTER LINK ITEMS (pre-animation state is inline JS)
----------------------------------------------------------- */
.footer-links li {
    will-change: opacity, transform;
}


/* -----------------------------------------------------------
   OTHER PAGES — INNER PAGE HERO BANNER ANIMATION
   Use .page-hero-section on inner page headers for same effect
----------------------------------------------------------- */
.page-hero-section {
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    );
    z-index: 1;
}

.page-hero-section > * {
    position: relative;
    z-index: 2;
}

.page-hero-section .hero-title,
.page-hero-section .hero-badge,
.page-hero-section .hero-text {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-section .hero-badge { animation-delay: 0.2s; }
.page-hero-section .hero-title  { animation-delay: 0.35s; }
.page-hero-section .hero-text   { animation-delay: 0.5s; }


/* -----------------------------------------------------------
   PAGE LOADER
----------------------------------------------------------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-loader.loader-out {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--dark-teal);
    margin-bottom: 1.2rem;
    animation: loaderPulse 1s ease-in-out infinite alternate;
}

.loader-logo span {
    font-weight: 300;
}

@keyframes loaderPulse {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: #eee;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-teal), #4fd1c5);
    border-radius: 2px;
    animation: loaderFill 1.1s ease forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}


/* -----------------------------------------------------------
   LEARN HUB SECTION
----------------------------------------------------------- */
.learn-hub-section {
    background: var(--white);
}

/* Section arrow link */
.learn-hub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.learn-hub-arrow:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateX(4px);
}

/* ---- Two-column body ---- */
.learn-hub-body {
    display: flex;
    gap: 28px;
    align-items: stretch;
}

/* Carousel takes ~58% width on desktop */
.learn-hub-carousel-col {
    flex: 0 0 58%;
    min-width: 0;
}

/* Article list takes remaining ~42% */
.learn-hub-list-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stack on mobile — list on top, carousel below */
@media (max-width: 767px) {
    .learn-hub-body {
        flex-direction: column-reverse;
    }

    .learn-hub-carousel-col,
    .learn-hub-list-col {
        flex: none;
        width: 100%;
    }
}

/* ---- Carousel ---- */
.learn-hub-carousel {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark-teal);
    height: 100%;
    min-height: 280px;
    cursor: grab;
    user-select: none;
}

.learn-hub-carousel:active {
    cursor: grabbing;
}

.lhc-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.lhc-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.lhc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.lhc-slide:hover img {
    transform: scale(1.04);
}

/* Teal gradient overlay on slides */
.lhc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 79, 74, 0.88) 0%,
        rgba(15, 118, 110, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px 32px;
}

.lhc-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Dots */
.lhc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.lhc-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.lhc-dot.active {
    background: var(--white);
    width: 40px;
}

/* Arrow buttons */
.lhc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lhc-arrow:hover {
    background: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.lhc-prev { left: 14px; }
.lhc-next { right: 14px; }

/* ---- Article List ---- */
.lh-article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: 100%;
    justify-content: space-between;
}

.lh-article-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 10px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, padding-left 0.25s ease, padding-right 0.25s ease;
}

.lh-article-item:last-child {
    border-bottom: none;
}

.lh-article-item:hover {
    background: var(--accent-red-light);
    padding-left: 14px;
    padding-right: 14px;
}

.lh-article-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--primary-teal);
}

.lh-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.lh-article-item:hover .lh-article-thumb img {
    transform: scale(1.08);
}

.lh-article-body {
    flex: 1;
}

.lh-article-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-teal);
    margin-bottom: 5px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.lh-article-item:hover .lh-article-title {
    color: var(--accent-red-hover);
}

.lh-article-excerpt {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .lhc-title {
        font-size: 0.9rem;
    }
    .lhc-overlay {
        padding: 14px 16px;
    }
    .lhc-arrow {
        display: none;
    }
    .lh-article-thumb {
        width: 65px;
        height: 65px;
    }
}


/* -----------------------------------------------------------
   REDUCED MOTION — RESPECT ACCESSIBILITY
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .back-to-top i {
        animation: none;
    }
}
/* ============================================================
   THERESA POWER HUB — CSS ADDITIONS
   ADD THIS TO THE END OF YOUR style.css FILE
   These additions power all animations and new UI elements.
============================================================ */


/* -----------------------------------------------------------
   PAGE TRANSITION OVERLAY
----------------------------------------------------------- */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--dark-teal), var(--primary-teal));
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.page-transition-overlay.fade-in {
    opacity: 1;
    pointer-events: all;
}

.page-transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}


/* -----------------------------------------------------------
   CURSOR GLOW
----------------------------------------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 118, 110, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
}

@media (max-width: 991px) {
    .cursor-glow { display: none; }
}


/* -----------------------------------------------------------
   HERO SECTION ENHANCEMENTS
----------------------------------------------------------- */
/* Make background more visible — reduced overlay opacity */
.hero-section {
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    ),
    url('https://images.unsplash.com/photo-1534528741775-53994a69daeb?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
}

/* Floating particles container */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes particleFloat {
    0%   { transform: translateY(0) translateX(0); opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 0.8; }
    100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(60px);
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.07);
    top: -100px;
    right: -100px;
    animation: orbFloat 12s ease-in-out infinite alternate;
}

.orb-2 {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    bottom: 100px;
    left: -50px;
    animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

.orb-3 {
    width: 180px;
    height: 180px;
    background: rgba(255, 200, 150, 0.06);
    top: 40%;
    right: 30%;
    animation: orbFloat 10s ease-in-out infinite alternate;
}

@keyframes orbFloat {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

/* Hero badge pulsing dot */
.badge-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    margin-right: 8px;
    animation: dotPulse 2s ease-in-out infinite;
    vertical-align: middle;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
    50%       { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

/* Hero highlight text with shimmer */
.hero-highlight {
    position: relative;
    display: inline-block;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
    animation: highlightReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.9), rgba(255,255,255,0.3));
    background-size: 200% auto;
    animation: shimmerLine 2.5s linear infinite;
    border-radius: 2px;
}

@keyframes highlightReveal {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmerLine {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Hero image rings */
.hero-image-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    pointer-events: none;
}

.ring-1 {
    width: calc(100% + 30px);
    height: calc(100% + 30px);
    top: -15px;
    left: -15px;
    animation: ringPulse 3s ease-in-out infinite;
}

.ring-2 {
    width: calc(100% + 60px);
    height: calc(100% + 60px);
    top: -30px;
    left: -30px;
    animation: ringPulse 3s ease-in-out infinite 0.5s;
    opacity: 0.5;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1);   opacity: 0.3; }
    50%       { transform: scale(1.02); opacity: 0.7; }
}

/* Floating badge */
.float-badge {
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50%       { transform: translateY(-10px) rotate(0deg); }
}

/* Scroll indicator */
.scroll-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    opacity: 0.7;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: rgba(255,255,255,0.5);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: white;
    animation: scrollLineMove 1.5s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%   { left: -100%; }
    100% { left: 100%; }
}


/* -----------------------------------------------------------
   HERO ENTRY ANIMATIONS
----------------------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    animation: revealRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes revealUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes revealRight {
    to { opacity: 1; transform: translateX(0); }
}


/* -----------------------------------------------------------
   SCROLL REVEAL SYSTEM (used on all pages)
----------------------------------------------------------- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal[data-reveal="fade-left"] {
    transform: translateX(-30px);
}

.scroll-reveal[data-reveal="fade-right"] {
    transform: translateX(30px);
}

.scroll-reveal[data-reveal="zoom-in"] {
    transform: scale(0.92);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}


/* -----------------------------------------------------------
   SECTION TITLE ANIMATED UNDERLINE
----------------------------------------------------------- */
.section-title::after {
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.title-animated::after {
    transform: scaleX(1);
}


/* -----------------------------------------------------------
   CARD HOVER ENHANCEMENTS
----------------------------------------------------------- */
.mini-card,
.story-card,
.quote-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.mini-card:hover,
.story-card:hover {
    box-shadow: 0 20px 50px rgba(15, 118, 110, 0.2);
}

/* Story card image zoom */
.story-image img {
    transition: transform 0.5s ease;
}

.story-card:hover .story-image img {
    transform: scale(1.08);
}

/* Mini card icon pulse on hover */
.mini-card:hover .mini-card-icon {
    animation: iconPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes iconPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25) rotate(-5deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}


/* -----------------------------------------------------------
   BUTTON RIPPLE & ANIMATED
----------------------------------------------------------- */
.btn-animated {
    position: relative;
    overflow: hidden;
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    pointer-events: none;
}

@keyframes rippleEffect {
    from { transform: scale(0); opacity: 0.6; }
    to   { transform: scale(1); opacity: 0; }
}


/* -----------------------------------------------------------
   NAVBAR SCROLL EFFECT
----------------------------------------------------------- */
.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.15);
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.95) !important;
}


/* -----------------------------------------------------------
   STAT CARD PULSE ON LOAD
----------------------------------------------------------- */
.stat-card.compact {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card.compact:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 16px 40px rgba(15, 118, 110, 0.18);
}


/* -----------------------------------------------------------
   EMERGENCY PULSE
----------------------------------------------------------- */
.emergency-pulse {
    animation: emergencyBeat 1.4s ease-in-out infinite;
}

@keyframes emergencyBeat {
    0%, 100% { transform: scale(1);   opacity: 1; }
    50%       { transform: scale(1.2); opacity: 0.8; }
}


/* -----------------------------------------------------------
   RESOURCE MINI CARD ICON
----------------------------------------------------------- */
.resource-mini-card i {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}


/* -----------------------------------------------------------
   SOCIAL ICON BUTTONS
----------------------------------------------------------- */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    margin-right: 8px;
}

.social-icon-btn:hover {
    background: var(--accent-red);
    color: white;
    transform: translateY(-3px);
}

@keyframes iconBounce {
    0%   { transform: scale(1) translateY(0); }
    40%  { transform: scale(1.3) translateY(-4px); }
    70%  { transform: scale(0.95) translateY(0); }
    100% { transform: scale(1) translateY(0); }
}


/* -----------------------------------------------------------
   BACK TO TOP BUTTON
----------------------------------------------------------- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(15, 118, 110, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
    pointer-events: none;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--accent-red-hover);
    transform: translateY(-4px) scale(1.1);
}

.back-to-top i {
    position: relative;
    z-index: 2;
    animation: arrowBounce 1.8s ease-in-out infinite;
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-3px); }
}

/* Progress ring */
.progress-ring {
    position: absolute;
    inset: 0;
    width: 50px;
    height: 50px;
    transform: rotate(-90deg);
    pointer-events: none;
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: rgba(255, 255, 255, 0.8);
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.1s linear;
}


/* -----------------------------------------------------------
   FOOTER LINK ITEMS (pre-animation state is inline JS)
----------------------------------------------------------- */
.footer-links li {
    will-change: opacity, transform;
}


/* -----------------------------------------------------------
   OTHER PAGES — INNER PAGE HERO BANNER ANIMATION
   Use .page-hero-section on inner page headers for same effect
----------------------------------------------------------- */
.page-hero-section {
    position: relative;
    overflow: hidden;
}

.page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 79, 74, 0.72) 0%,
        rgba(15, 118, 110, 0.65) 100%
    );
    z-index: 1;
}

.page-hero-section > * {
    position: relative;
    z-index: 2;
}

.page-hero-section .hero-title,
.page-hero-section .hero-badge,
.page-hero-section .hero-text {
    animation: revealUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-hero-section .hero-badge { animation-delay: 0.2s; }
.page-hero-section .hero-title  { animation-delay: 0.35s; }
.page-hero-section .hero-text   { animation-delay: 0.5s; }


/* -----------------------------------------------------------
   PAGE LOADER
----------------------------------------------------------- */
.page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.page-loader.loader-out {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--dark-teal);
    margin-bottom: 1.2rem;
    animation: loaderPulse 1s ease-in-out infinite alternate;
}

.loader-logo span {
    font-weight: 300;
}

@keyframes loaderPulse {
    from { opacity: 0.4; }
    to   { opacity: 1; }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: #eee;
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.loader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-teal), #4fd1c5);
    border-radius: 2px;
    animation: loaderFill 1.1s ease forwards;
}

@keyframes loaderFill {
    to { width: 100%; }
}


/* -----------------------------------------------------------
   LEARN HUB SECTION
----------------------------------------------------------- */
.learn-hub-section {
    background: var(--white);
}

/* Section arrow link */
.learn-hub-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.learn-hub-arrow:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateX(4px);
}

/* ---- Two-column body ---- */
.learn-hub-body {
    display: flex;
    flex-direction: row;
    gap: 28px;
    align-items: flex-start; /* prevent carousel from stretching and overflowing */
}

/* Carousel takes ~58% width on desktop */
.learn-hub-carousel-col {
    flex: 0 0 58%;
    min-width: 0;
}

/* Article list takes remaining ~42% */
.learn-hub-list-col {
    flex: 1;
    min-width: 0;
}

/* Stack on mobile — carousel first (top), list below */
@media (max-width: 767px) {
    .learn-hub-body {
        flex-direction: column; /* carousel col comes first in DOM, so it appears on top */
    }

    .learn-hub-carousel-col,
    .learn-hub-list-col {
        flex: none;
        width: 100%;
    }
}

/* ---- Carousel ---- */
.learn-hub-carousel {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--dark-teal);
    aspect-ratio: 4 / 3; /* fixed ratio so it never overflows into neighbour */
    cursor: grab;
    user-select: none;
}

.learn-hub-carousel:active {
    cursor: grabbing;
}

.lhc-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.lhc-slide {
    flex: 0 0 100%;
    position: relative;
    overflow: hidden;
}

.lhc-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.lhc-slide:hover img {
    transform: scale(1.04);
}

/* Teal gradient overlay on slides */
.lhc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 79, 74, 0.88) 0%,
        rgba(15, 118, 110, 0.4) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 28px 32px;
}

.lhc-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(0.95rem, 2vw, 1.3rem);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Dots */
.lhc-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}

.lhc-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
}

.lhc-dot.active {
    background: var(--white);
    width: 40px;
}

/* Arrow buttons */
.lhc-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lhc-arrow:hover {
    background: var(--accent-red);
    transform: translateY(-50%) scale(1.1);
}

.lhc-prev { left: 14px; }
.lhc-next { right: 14px; }

/* ---- Article List ---- */
.lh-article-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.lh-article-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 10px;
    border-bottom: 1px solid rgba(15, 118, 110, 0.1);
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-sm);
    transition: background 0.2s ease, padding-left 0.25s ease, padding-right 0.25s ease;
}

.lh-article-item:last-child {
    border-bottom: none;
}

.lh-article-item:hover {
    background: var(--accent-red-light);
    padding-left: 14px;
    padding-right: 14px;
}

.lh-article-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--primary-teal);
}

.lh-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.lh-article-item:hover .lh-article-thumb img {
    transform: scale(1.08);
}

.lh-article-body {
    flex: 1;
}

.lh-article-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-teal);
    margin-bottom: 5px;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.lh-article-item:hover .lh-article-title {
    color: var(--accent-red-hover);
}

.lh-article-excerpt {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Mobile tweaks */
@media (max-width: 576px) {
    .lhc-title {
        font-size: 0.9rem;
    }
    .lhc-overlay {
        padding: 14px 16px;
    }
    .lhc-arrow {
        display: none;
    }
    .lh-article-thumb {
        width: 65px;
        height: 65px;
    }
}


/* -----------------------------------------------------------
   REDUCED MOTION — RESPECT ACCESSIBILITY
----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .back-to-top i {
        animation: none;
    }
}