:root {
            --deep-blue: #0a2e4a;
            --bright-blue: #1b6b9e;
            --accent-green: #27ae60;
            --accent-red: #e63946;
            --white: #ffffff;
            --soft-white: #f8fafc;
            --transition: 0.25s ease;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background: #eef2f5;
            min-height: 200vh;
            padding-top: 1px;
        }

        /* ===== HEADER ===== */
        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            width: 100%;
            background: var(--deep-blue);
            background: linear-gradient(135deg, #0a2e4a 0%, #113a56 100%);
            box-shadow: 0 4px 20px rgba(0,0,0,0.12);
            transition: all var(--transition);
        }

        .site-header.scrolled {
            box-shadow: 0 6px 28px rgba(0,0,0,0.25);
            background: #0a2e4a;
        }

        /* Bottom line */
        .site-header::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(to right, #e63946 0%, #e63946 33%, #27ae60 33%, #27ae60 66%, var(--bright-blue) 66%, var(--bright-blue) 100%);
            z-index: 1;
        }

        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
            height: 78px;
            gap: 20px;
            position: relative;
            z-index: 2;
        }

        /* ===== LOGO ===== */
        .logo-section {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            flex-shrink: 0;
        }

        .logo-text {
            display: flex;
            flex-direction: column;
            line-height: 1.2;
        }

        .logo-img {
            width: 44px;
            height: 44px;
            object-fit: contain;
            border-radius: 8px;
            background: rgba(255,255,255,0.1);
            padding: 4px;
            transition: transform var(--transition);
            flex-shrink: 0;
        }

        .logo-section:hover .logo-img {
            transform: scale(1.06);
        }

        .site-name {
            font-size: 1.3rem;
            font-weight: 700;
            color: white;
            white-space: nowrap;
            letter-spacing: 0.4px;
        }

        .site-name .green-heart {
            color: var(--accent-green);
            font-weight: 800;
        }

        .foundation-tagline {
            font-size: 0.7rem;
            font-weight: 400;
            color: rgba(255,255,255,0.75);
            white-space: nowrap;
            letter-spacing: 0.3px;
            text-transform: uppercase;
        }

        /* ===== DESKTOP NAV ===== */
        .main-nav {
            display: flex;
            align-items: center;
            flex: 1;
            justify-content: center;
        }

        .main-nav > ul {
            display: flex;
            list-style: none;
            gap: 6px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;
        }

        .main-nav > ul > li {
            position: relative;
            padding: 10px 14px;
            cursor: pointer;
            color: #d4e2f0;
            font-weight: 500;
            font-size: 0.95rem;
            white-space: nowrap;
            border-radius: 6px;
            transition: all var(--transition);
            user-select: none;
        }

        .main-nav > ul > li:hover {
            color: white;
            background: rgba(255,255,255,0.08);
        }

        .main-nav > ul > li.dropdown-parent::after {
            content: '▾';
            margin-left: 5px;
            font-size: 0.7rem;
            color: var(--accent-green);
            transition: transform var(--transition);
        }

        .main-nav > ul > li.dropdown-parent:hover::after {
            transform: rotate(180deg);
        }

        .main-nav .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translateX(-50%) translateY(4px);
            background: white;
            list-style: none;
            min-width: 200px;
            border-radius: 10px;
            box-shadow: 0 12px 30px rgba(0,0,0,0.15);
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: all 0.2s ease;
            padding: 8px 0;
            z-index: 100;
            border: 1px solid rgba(0,0,0,0.05);
        }

        .main-nav > ul > li.dropdown-parent:hover > .dropdown-menu {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
            transform: translateX(-50%) translateY(0px);
        }

        .main-nav .dropdown-menu li {
            padding: 10px 20px;
            color: #1e293b;
            font-size: 0.9rem;
            cursor: pointer;
            white-space: nowrap;
            border-left: 3px solid transparent;
            transition: background 0.2s, border-color 0.2s;
        }

        .main-nav .dropdown-menu li:hover {
            background: #f0f7fa;
            border-left-color: var(--accent-green);
            color: var(--deep-blue);
        }

        /* ===== ACTIONS ===== */
        .header-actions {
            display: flex;
            align-items: center;
            gap: 16px;
            flex-shrink: 0;
        }

        .social-icons {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .social-icon-link {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(255,255,255,0.12);
            color: white;
            transition: all var(--transition);
            text-decoration: none;
        }

        .social-icon-link i {
            font-size: 1rem;
        }

        .social-icon-link:hover {
            transform: translateY(-2px);
            background: white;
        }

        .social-icon-link.twitter:hover { color: #000; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .social-icon-link.youtube:hover { color: #ff0000; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
        .social-icon-link.whatsapp:hover { color: #25d366; background: white; box-shadow: 0 4px 12px rgba(0,0,0,0.2); }

        .donation-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 10px 24px;
            background: var(--accent-red);
            color: white;
            font-weight: 700;
            font-size: 0.95rem;
            border-radius: 6px;
            text-decoration: none;
            letter-spacing: 0.3px;
            transition: all var(--transition);
            white-space: nowrap;
            box-shadow: 0 4px 14px rgba(230, 57, 70, 0.4);
            border: 1px solid rgba(255,255,255,0.15);
        }

        .donation-btn:hover {
            background: #c62828;
            box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
            transform: translateY(-1px);
        }

        /* ===== HAMBURGER ===== */
        .hamburger {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 42px;
            height: 42px;
            background: rgba(255,255,255,0.08);
            border: none;
            border-radius: 8px;
            cursor: pointer;
            z-index: 1001;
            gap: 5px;
            transition: background var(--transition);
        }

        .hamburger span {
            display: block;
            width: 20px;
            height: 2px;
            background: white;
            border-radius: 2px;
            transition: all 0.3s ease;
        }

        .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
        .hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
        .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

        /* ===== MOBILE MENU – RESPONSIVE WIDTH ===== */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 85vw;           /* fluid width */
            max-width: 400px;      /* don't get too wide */
            min-width: 250px;      /* don't get too narrow */
            height: 100vh;
            background: #0a2e4a;
            z-index: 999;
            overflow-y: auto;
            padding: 20px 20px 30px;
            transform: translateX(-100%);
            transition: transform 0.3s ease;
            box-shadow: 4px 0 20px rgba(0,0,0,0.3);
        }

        .mobile-menu.open {
            transform: translateX(0);
        }

        .mobile-menu .close-area {
            display: flex;
            justify-content: flex-end;
            margin-bottom: 20px;
        }

        .mobile-close-btn {
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 6px;
        }

        .mobile-menu > ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .mobile-menu > ul > li {
            color: #e0eef7;
            font-weight: 500;
            font-size: 1rem;
            padding: 12px 10px;
            cursor: pointer;
            border-radius: 6px;
            border-bottom: 1px solid rgba(255,255,255,0.07);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .mobile-menu > ul > li.dropdown-parent::after {
            content: '▾';
            color: var(--accent-green);
            transition: transform 0.3s;
        }

        .mobile-menu > ul > li.dropdown-parent.expanded::after {
            transform: rotate(180deg);
        }

        .mobile-submenu {
            width: 100%;
            list-style: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding-left: 0;
        }

        .mobile-menu > ul > li.dropdown-parent.expanded > .mobile-submenu {
            max-height: 500px;     /* increased for longer content */
        }

        .mobile-submenu li {
            padding: 10px 10px 10px 24px;
            color: #c4d6e4;
            font-size: 0.9rem;
            cursor: pointer;
            border-left: 2px solid transparent;
            transition: all var(--transition);
        }

        .mobile-submenu li:hover {
            background: rgba(255,255,255,0.05);
            border-left-color: var(--accent-green);
            color: white;
        }

        .mobile-social-row {
            display: flex;
            gap: 14px;
            margin-top: 24px;
            padding-top: 16px;
            border-top: 1px solid rgba(255,255,255,0.15);
        }

        .mobile-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.4);
            z-index: 998;
            opacity: 0;
            transition: opacity 0.3s;
        }

        .mobile-overlay.show {
            display: block;
            opacity: 1;
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1023px) {
            .main-nav { display: none; }
            .hamburger { display: flex; }
            .mobile-menu { display: flex; flex-direction: column; }
            .header-actions .social-icons { display: none; }
            .header-container {
                height: 68px;
                padding: 0 16px;
                gap: 12px;
            }
            .logo-img { width: 38px; height: 38px; }
            .site-name { font-size: 1.1rem; }
            .foundation-tagline { font-size: 0.6rem; }
            .donation-btn { padding: 9px 16px; font-size: 0.85rem; }
        }

        @media (max-width: 480px) {
            .header-container {
                height: 60px;
                padding: 0 12px;
                gap: 8px;
            }
            .logo-img { width: 32px; height: 32px; }
            .site-name { font-size: 0.9rem; }
            .foundation-tagline { font-size: 0.55rem; }
            .donation-btn { padding: 8px 14px; font-size: 0.8rem; }
            /* mobile menu width adapts even on tiny screens */
            .mobile-menu {
                width: 90vw;
                min-width: unset;
                max-width: none;
            }
        }

        /* Extra tiny phones */
        @media (max-width: 360px) {
            .header-container { height: 54px; padding: 0 8px; gap: 5px; }
            .logo-section { gap: 5px; }
            .logo-img { width: 26px; height: 26px; padding: 2px; }
            .site-name { font-size: 0.72rem; }
            .foundation-tagline { font-size: 0.48rem; }
            .donation-btn { padding: 6px 10px; font-size: 0.7rem; }
            .hamburger { width: 34px; height: 34px; }
        }

/* ===== HERO SECTION (no about text inside) ===== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 45, 70, 0.55);
    /* deep blue tint */
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-title span {
    color: var(--accent-green);
    /* green highlight */;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}

/* CTA buttons */
.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
}

.primary-cta {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
}

.primary-cta:hover {
    background: #c62828;
    border-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.55);
}

.secondary-cta {
    background: transparent;
    color: white;
    border-color: white;
}

.secondary-cta:hover {
    background: white;
    color: var(--deep-blue);
    border-color: white;
    transform: translateY(-2px);
}

/* ===== UNIQUE ABOUT THE WEBSITE SECTION ===== */
.about-website {
    background: #ffffff;
    padding: 70px 24px;
}

.about-website-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Decorative icon circle */
.about-icon {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-green), var(--deep-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 8px 24px rgba(39, 174, 96, 0.35);
}

.about-website-text {
    flex: 1;
    min-width: 280px;
}

.about-website-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 18px;
    position: relative;
}

.about-website-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--accent-red);
    /* red underline */
    margin-top: 8px;
    border-radius: 2px;
}

.about-website-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 14px;
}

.about-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-green);
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: gap 0.3s;
}

.about-cta-link:hover {
    gap: 12px;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 380px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    .about-website-container {
        flex-direction: column;
        text-align: center;
    }
    .about-icon {
        margin-bottom: 10px;
    }
    .about-website-title::after {
        margin: 10px auto 0;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 300px;
    }
    .hero-title {
        font-size: 1.6rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}

/* ===== MISSION SECTION (beautiful & unique) ===== */
.mission-beautiful {
    position: relative;
    padding: 80px 24px;
    background: url('image4.jpeg') center/cover no-repeat;
    /* 👆 Replace with your own heart‑care‑related image */
    overflow: hidden;
    z-index: 1;
}

/* Dark overlay with gradient (blue to deep blue) */
.mission-beautiful::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 45, 70, 0.88) 0%, rgba(8, 60, 90, 0.9) 100%);
    z-index: 0;
}

/* Floating shapes */
.mission-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    z-index: 0;
}
.shape1 {
    width: 300px;
    height: 300px;
    top: -50px;
    right: -80px;
}
.shape2 {
    width: 200px;
    height: 200px;
    bottom: -30px;
    left: -40px;
    background: rgba(46, 204, 113, 0.06);
    /* green tint */;
}

.mission-grid {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

/* Left column */
.mission-left {
    flex: 1 1 400px;
    color: white;
}

.mission-icon-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.mission-icon-wrap i {
    font-size: 2.8rem;
    color: var(--accent-red);
    position: relative;
    z-index: 2;
}

.pulse-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(230, 57, 70, 0.5);
    animation: pulse 2.5s infinite;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.25);
        opacity: 0;
    }
}

.mission-main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.highlight-green {
    color: var(--accent-green);
    background: rgba(46, 204, 113, 0.15);
    padding: 0 6px;
    border-radius: 4px;
}

.mission-intro {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.mission-stats {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-green);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Right column – glass card */
.mission-right {
    flex: 1 1 380px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-red), var(--accent-green), var(--primary-blue));
}

.glass-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

/* Training tags */
.training-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tag {
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 500;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.tag:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.glass-card-text {
    color: #e0eef7;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.glass-card-text strong {
    color: white;
    font-weight: 700;
}

/* Buttons inside glass card */
.card-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 24px;
}

.cta-button {
    display: inline-block;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.primary-cta {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

.primary-cta:hover {
    background: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.6);
}

.glass-cta {
    background: transparent;
    color: white;
    border-color: white;
    backdrop-filter: blur(4px);
}

.glass-cta:hover {
    background: white;
    color: var(--deep-blue);
    border-color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .mission-beautiful {
        padding: 60px 20px;
    }
    .mission-grid {
        flex-direction: column;
        text-align: center;
    }
    .mission-icon-wrap {
        margin: 0 auto 20px;
    }
    .mission-stats {
        justify-content: center;
    }
    .glass-card {
        padding: 30px 20px;
    }
    .mission-main-heading {
        font-size: 1.9rem;
    }
    .card-buttons {
        justify-content: center;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #0a2e4a;
    color: #e0eef7;
    margin-top: 80px;
    position: relative;
}

/* Top decorative stripe */
.footer-stripe {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--accent-red) 0%, var(--accent-red) 33%, var(--accent-green) 33%, var(--accent-green) 66%, var(--primary-blue) 66%, var(--primary-blue) 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* Columns */
.footer-col {
    flex: 1 1 220px;
    min-width: 200px;
}

.brand-col {
    flex: 1 1 260px;
}

/* Logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 4px;
}

.footer-site-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    white-space: nowrap;
}

.green-text {
    color: var(--accent-green);
}

.footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 20px;
}

/* Social icons in footer */
.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-link:hover {
    transform: translateY(-2px);
    background: var(--accent-green);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Headings */
.footer-heading {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent-red);
    border-radius: 1px;
}

/* Quick links */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #c0d4e5;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-green);
    padding-left: 5px;
}

/* Contact info */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-contact i {
    color: var(--accent-green);
    width: 18px;
    text-align: center;
    margin-top: 2px;
}

.footer-contact a {
    color: #c0d4e5;
    text-decoration: none;
}

.footer-contact a:hover {
    color: white;
    text-decoration: underline;
}

/* Office hours */
.footer-hours {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-donate-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--accent-red);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.3s;
    font-size: 0.9rem;
}

.footer-donate-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* Bottom bar */
.footer-bottom {
    background: #071f33;
    padding: 20px 24px;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #a0bcd0;
}

.footer-bottom-container a {
    color: #a0bcd0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom-container a:hover {
    color: white;
}

.footer-bottom-links span {
    margin: 0 6px;
    opacity: 0.5;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px 30px;
    }
    .footer-col {
        flex: 1 1 auto;
    }
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== MISSION · VISION · MOTTO SECTION ===== */
.mission-vision-motto {
    position: relative;
    background: #0a2e4a;
    /* deep blue */
    padding: 100px 24px;
    overflow: hidden;
    z-index: 1;
}

/* Floating background shapes */
.mvm-bg-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    z-index: 0;
}
.mvm-bg-shape.shape1 {
    width: 350px;
    height: 350px;
    top: -80px;
    left: -60px;
}
.mvm-bg-shape.shape2 {
    width: 280px;
    height: 280px;
    bottom: -50px;
    right: -40px;
    background: rgba(46, 204, 113, 0.06);
    /* green tint */;
}

.mvm-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
}

/* Section header */
.mvm-header {
    text-align: center;
    margin-bottom: 60px;
    color: white;
}

.mvm-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
}

.mvm-header span {
    color: var(--accent-green);
}

.header-line {
    width: 60px;
    height: 3px;
    background: var(--accent-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Cards grid */
.mvm-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Individual card */
.mvm-card {
    background: white;
    border-radius: 16px;
    padding: 40px 28px 30px;
    flex: 1 1 280px;
    max-width: 340px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mvm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

/* Coloured top bars */
.card-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
}
.red-bar {
    background: var(--accent-red);
}
.green-bar {
    background: var(--accent-green);
}
.blue-bar {
    background: var(--primary-blue);
}

/* Icon circle */
.card-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 20px;
    font-size: 2rem;
    color: var(--deep-blue);
    transition: all 0.3s;
}

.mvm-card:hover .card-icon-wrap {
    background: var(--accent-green);
    color: white;
    transform: scale(1.05);
}

/* Headings */
.mvm-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 14px;
}

/* Normal text */
.mvm-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 20px;
}

/* Motto special styling */
.motto-quote {
    font-size: 1.6rem !important;
    font-weight: 700;
    color: var(--accent-red) !important;
    font-style: italic;
    line-height: 1.4;
}

.motto-quote span {
    font-size: 2.2rem;
    color: var(--accent-green);
    font-weight: 400;
}

.motto-sub {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 6px;
}

/* Card number watermark */
.card-number {
    position: absolute;
    bottom: 6px;
    right: 18px;
    font-size: 2.8rem;
    font-weight: 800;
    color: rgba(10, 46, 74, 0.06);
    /* faint blue */
    pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
    .mission-vision-motto {
        padding: 70px 20px;
    }
    .mvm-header h2 {
        font-size: 1.8rem;
    }
    .mvm-cards {
        gap: 24px;
    }
    .mvm-card {
        max-width: 100%;
    }
    .motto-quote {
        font-size: 1.4rem !important;
    }
}

/* ===== BENEFICIARIES GALLERY ===== */
.beneficiaries-section {
    background: #ffffff;
    padding: 80px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 16px;
}

.beneficiaries-intro {
    font-size: 1.05rem;
    color: #475569;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Each card */
.gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Image container */
.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Coloured overlay on each card */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .card-overlay {
    opacity: 0.25;
}

.red-overlay {
    background: var(--accent-red);
}

.green-overlay {
    background: var(--accent-green);
}

.blue-overlay {
    background: var(--primary-blue);
}

/* Caption */
.card-caption {
    padding: 20px 16px;
}

.card-caption h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 8px;
}

.card-caption p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .beneficiaries-section {
        padding: 60px 16px;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* ===== PURPOSE & CHARITABLE OBJECTIVES ===== */
.purpose-section {
    background: #f8fafc;  /* soft off‑white */
    padding: 80px 24px;
}

.purpose-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

/* ---- Left Image ---- */
.purpose-image {
    flex: 1 1 420px;
    position: relative;
}

.purpose-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 2;
}

/* Decorative coloured accent behind the image */
.purpose-image-accent {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e63946, #2ecc71);
    border-radius: 20px;
    top: 16px;
    left: 16px;
    z-index: 1;
    opacity: 0.7;
}

/* ---- Right Content ---- */
.purpose-content {
    flex: 1 1 500px;
}

.purpose-content h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0a4b78;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 16px;
}

.purpose-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #e63946;  /* red underline */
    border-radius: 2px;
}

.purpose-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 28px;
}

/* Objectives list */
.objectives-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 36px;
}

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.98rem;
    color: #334155;
    line-height: 1.5;
}

.objectives-list i {
    font-size: 1.3rem;
    color: #2ecc71;        /* green icons */
    margin-top: 2px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* Call‑to‑action buttons */
.purpose-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
}

.cta-btn {
    display: inline-block;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.red-btn {
    background: #e63946;
    color: white;
    border-color: #e63946;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

.red-btn:hover {
    background: #c62828;
    border-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.55);
}

.outline-btn {
    background: transparent;
    color: #0a4b78;
    border-color: #0a4b78;
}

.outline-btn:hover {
    background: #0a4b78;
    color: white;
    border-color: #0a4b78;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .purpose-container {
        flex-direction: column;
        gap: 40px;
    }
    .purpose-image {
        flex: 1 1 auto;
        max-width: 500px;
        margin: 0 auto;
    }
    .purpose-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .purpose-section {
        padding: 60px 16px;
    }
    .purpose-content h2 {
        font-size: 1.6rem;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== LEARN CPR WITH US (unique design) ===== */
.cpr-section {
    position: relative;
    background: #ffffff;
    padding: 0;
    overflow: hidden;
}

/* Decorative waves – top and bottom */
.cpr-wave-top,
.cpr-wave-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50' preserveAspectRatio='none'%3E%3Cpath d='M0,25 C360,0 720,50 1080,25 C1260,12.5 1380,30 1440,25 L1440,50 L0,50 Z' fill='%23f8fafc'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    z-index: 0;
}

.cpr-wave-top {
    top: 0;
    transform: rotate(180deg);
    /* flip for top */;
}

.cpr-wave-bottom {
    bottom: 0;
}

.cpr-inner {
    position: relative;
    z-index: 2;
    padding: 80px 24px;
    background: #f8fafc;
    /* soft grey‑white background */;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a4b78;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #475569;
}

/* Cards grid */
.cpr-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

/* Individual card */
.cpr-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.cpr-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

/* Image area */
.cpr-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

/* Small badge icon on image */
.cpr-card-badge {
    width: 40px;
    height: 40px;
    background: #e63946;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.cpr-card:hover .cpr-card-badge {
    transform: scale(1.1);
}

.cpr-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0a4b78;
    margin: 20px 16px 8px;
}

.cpr-card p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin: 0 16px 20px;
    flex-grow: 1;
}

/* CTA buttons */
.cpr-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 14px 38px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.red-btn {
    background: #e63946;
    color: white;
    border-color: #e63946;
    box-shadow: 0 6px 18px rgba(230, 57, 70, 0.4);
}

.red-btn:hover {
    background: #c62828;
    border-color: #c62828;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 57, 70, 0.55);
}

.outline-btn {
    background: transparent;
    color: #0a4b78;
    border-color: #0a4b78;
}

.outline-btn:hover {
    background: #0a4b78;
    color: white;
    border-color: #0a4b78;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 992px) {
    .cpr-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .cpr-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .cpr-inner {
        padding: 60px 16px;
    }
    .section-header h2 {
        font-size: 2rem;
    }
    .cta-btn {
        width: 100%;
        text-align: center;
        max-width: 280px;
    }
}

.floating-whatsapp {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 997;
  width: 55px;
  height: 55px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

@media (max-width: 600px) {
  .floating-whatsapp {
    width: 48px;
    height: 48px;
    font-size: 24px;
    right: 16px;
  }
}

/* ===== BREADCRUMB NAVIGATION ===== */
.breadcrumb {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px 24px;
    background: transparent;
}
.breadcrumb ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 0;
    padding: 0;
}
.breadcrumb li {
    font-size: 0.9rem;
    color: #475569;
}
.breadcrumb li a {
    color: #0a4b78;          /* your blue */
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb li a:hover {
    text-decoration: underline;
}
.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 6px;
    color: #27ae60;          /* your green */
    font-weight: 600;
}
.breadcrumb li [aria-current="page"] {
    color: #e63946;          /* your red – indicates current page */
    font-weight: 600;
}

@media (max-width: 480px) {
    .breadcrumb li {
        font-size: 0.8rem;
    }
}

/* ===== FLOATING LIVE CLOCK (with seconds) ===== */
.floating-clock {
    position: fixed;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    background: #0a2e4a;
    color: white;
    padding: 10px 14px;
    border-radius: 40px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    font-family: 'Segoe UI', system-ui, sans-serif;
    min-width: 90px;  /* slightly wider for seconds */
    cursor: grab;
}

.fc-time {
    display: block;
    font-size: 1.3rem;    /* a bit smaller so seconds fits */
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

.fc-date {
    display: block;
    font-size: 0.7rem;
    color: #27ae60;       /* green accent */
    margin-top: 2px;
    white-space: nowrap;
}
/* grabbing section */
.floating-clock:active {
    cursor: grabbing;
}

.floating-clock::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(to right, #e63946, #27ae60, #1b6b9e);
    border-radius: 0 0 20px 20px;
}

@media (max-width: 480px) {
    .floating-clock {
        left: 6px;
        padding: 8px 10px;
        min-width: 75px;
    }
    .fc-time {
        font-size: 1.1rem;
    }
    .fc-date {
        font-size: 0.65rem;
    }
}

/* ===== BOARD OF TRUSTEES HOME SECTION ===== */
    .home-trustees {
        position: relative;
        /* Replace with your own background image */
        background: url('pexels-lagosfoodbank-9823017.jpg') center/cover no-repeat;
        min-height: 420px;
        display: flex;
        align-items: center;
    }

    /* Deep blue overlay – blends with the image */
    .trustees-overlay {
        background: rgba(10, 46, 74, 0.88); /* var(--deep-blue) with opacity */
        width: 100%;
        padding: 60px 24px;
    }

    .trustees-content {
        max-width: 1000px;
        margin: 0 auto;
        color: white;
    }

    .trustees-text h2 {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: 16px;
    }
    .trustees-text h2 span {
        color: #27ae60; /* green accent */
    }
    .trustees-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        opacity: 0.95;
        margin-bottom: 24px;
        max-width: 600px;
    }

    /* Role tags */
    .trustee-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 28px;
    }
    .trustee-tag {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: white;
        padding: 6px 14px;
        border-radius: 30px;
        font-size: 0.85rem;
        font-weight: 500;
        white-space: nowrap;
    }

    /* CTA button */
    .trustees-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #e63946;        /* red */
        color: white;
        padding: 14px 30px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1rem;
        transition: background 0.2s, transform 0.2s;
        box-shadow: 0 6px 18px rgba(230, 57, 70, 0.45);
    }
    .trustees-btn:hover {
        background: #c62828;
        transform: translateY(-2px);
    }

    /* Fade‑in animation (reuse your existing class) */
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mobile adjustments */
    @media (max-width: 600px) {
        .trustees-text h2 {
            font-size: 1.8rem;
        }
        .trustee-tag {
            font-size: 0.75rem;
            padding: 5px 10px;
        }
        .trustees-overlay {
            padding: 40px 16px;
        }
    }

    /* ===== FLOATING EMAIL BUTTON (LEFT SIDE, NEAR WHATSAPP) ===== */
.floating-email {
    position: fixed;
    left: 20px;                     /* ← moved from right to left */
    bottom: 120px;                  /* adjust this value to position above/below WhatsApp */
    /* If your WhatsApp is centred (top: 50%), use bottom instead of top */
    z-index: 998;
    display: flex;
    align-items: center;
    gap: 0;
    background: #0a2e4a;
    color: white;
    border-radius: 50px;
    padding: 12px;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    overflow: hidden;
    white-space: nowrap;
}

/* Icon circle (unchanged) */
.floating-email .email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #27ae60;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: background 0.3s;
}

/* Label (unchanged) */
.floating-email .email-label {
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    font-weight: 600;
    font-size: 0.95rem;
    transition: max-width 0.4s ease, opacity 0.3s ease, margin-left 0.4s ease;
    overflow: hidden;
}

/* Expanded state (unchanged) */
.floating-email.expanded {
    padding-right: 20px;
    background: #0a4b78;
}
.floating-email.expanded .email-icon {
    background: #e63946;
}
.floating-email.expanded .email-label {
    max-width: 200px;
    opacity: 1;
    margin-left: 12px;
}

/* Hover */
.floating-email.expanded:hover {
    background: #0a2e4a;
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.3);
}

/* Mobile tweaks (unchanged) */
@media (max-width: 600px) {
    .floating-email {
        left: 12px;
        bottom: 80px;
    }
    .floating-email .email-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    .floating-email.expanded .email-label {
        font-size: 0.85rem;
        margin-left: 8px;
    }
}

/* ===== IMPACT SECTION (Image + Colour Fade, Fully Responsive) ===== */
.impact-image-blend {
    position: relative;
    padding: 80px 24px;
    overflow: hidden;
    background: #0a2e4a;   /* fallback solid colour */
}
.impact-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    filter: brightness(0.6);
}
.impact-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 46, 74, 0.8);
    z-index: 1;
}

/* Heading */
.impact-heading {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    padding: 0 24px;
}
.impact-heading h2 {
    font-size: clamp(2rem, 6vw, 2.6rem);
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}
.impact-heading h2 span {
    color: #27ae60;
    position: relative;
    display: inline-block;
}
.impact-heading h2 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #27ae60;
    border-radius: 3px;
}
.impact-heading p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
    margin-top: 6px;
}

/* Counters row */
.impact-numbers {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 25px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}

/* Glass cards */
.num-box {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 24px;
    padding: 32px 24px 28px;
    flex: 1 1 0;
    min-width: 0;
    position: relative;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1.2);
    overflow: hidden;
    color: white;
}
.num-box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255,255,255,0.2) 0%, transparent 60%);
    z-index: 0;
}
.num-box .counter,
.num-box .label {
    position: relative;
    z-index: 1;
}
.num-box .counter {
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    font-weight: 800;
    display: block;
    line-height: 1;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: color 0.3s;
}
.num-box .label {
    font-size: clamp(0.8rem, 2vw, 1rem);
    font-weight: 600;
    margin-top: 10px;
    letter-spacing: 0.3px;
    color: rgba(255,255,255,0.9);
}
.num-box:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 16px 36px rgba(0,0,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .impact-image-blend {
        padding: 60px 16px;
    }
    .impact-heading h2 {
        font-size: 2rem;
    }
    .impact-heading p {
        font-size: 0.95rem;
    }
    .impact-numbers {
        gap: 20px;
        padding: 0 16px;
    }
    .num-box {
        padding: 25px 18px 22px;
    }
}

@media (max-width: 600px) {
    .impact-image-blend {
        padding: 50px 12px;
    }
    .impact-heading h2 {
        font-size: 1.8rem;
    }
    .impact-heading p {
        font-size: 0.9rem;
    }
    .impact-numbers {
        gap: 12px;
        padding: 0 12px;
    }
    .num-box {
        padding: 20px 12px 18px;
        border-radius: 20px;
    }
    .num-box .counter {
        font-size: 1.8rem;
    }
    .num-box .label {
        font-size: 0.75rem;
        margin-top: 8px;
    }
}

@media (max-width: 380px) {
    .impact-numbers {
        gap: 8px;
    }
    .num-box {
        padding: 15px 8px 14px;
    }
    .num-box .counter {
        font-size: 1.5rem;
    }
    .num-box .label {
        font-size: 0.7rem;
    }
}

/* Reveal on scroll */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== VIDEO CAROUSEL (YouTube) ===== */
.video-carousel-section {
    padding: 60px 24px;
    background: #0a2e4a;
    text-align: center;
}

.carousel-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.carousel-header {
    margin-bottom: 30px;
    color: white;
}
.carousel-header h2 {
    font-size: 2rem; font-weight: 800; margin-bottom: 10px;
}
.carousel-header h2 span { color: #27ae60; }
.carousel-header p {
    font-size: 1rem; color: rgba(255,255,255,0.85);
}

/* Track wrapper – contains arrows and track */
.carousel-track-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

/* Arrow buttons */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: white;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    color: #0a2e4a;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.carousel-arrow:hover { background: #27ae60; color: white; }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }

/* Scrollable track */
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    width: 100%;
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
}
.carousel-track::-webkit-scrollbar { display: none; }

/* Individual card */
.video-card {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s;
    min-width: 260px;
    position: relative;
}
.video-card:hover { transform: translateY(-4px); }

/* Poster + play button */
.video-poster {
    position: relative;
    cursor: pointer;
}
.poster-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.play-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    background: rgba(230,57,70,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
    transition: background 0.3s;
}
.video-poster:hover .play-overlay { background: #c62828; }

/* Video info */
.video-info {
    padding: 12px 15px 15px;
    color: white;
    text-align: left;
}
.video-info h3 { font-size: 1.1rem; font-weight: 700; margin: 0; }

/* When a video is playing, hide the poster and show the iframe */
.video-card.playing .video-poster { display: none; }
.video-card.playing .youtube-iframe-container { display: block; }

/* YouTube iframe container (hidden initially) */
.youtube-iframe-container {
    display: none;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 ratio */
    position: relative;
}
.youtube-iframe-container iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
    border-radius: 0 0 16px 16px;
}

/* Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}
.carousel-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.2s;
}
.carousel-dots .dot.active { background: #27ae60; }

/* CTA button */
.cta-btn.red-btn {
    display: inline-block;
    background: #e63946;
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 6px 18px rgba(230,57,70,0.45);
}
.cta-btn.red-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 900px) {
    .video-card { flex: 0 0 calc(50% - 10px); min-width: 220px; }
}
@media (max-width: 600px) {
    .video-carousel-section { padding: 40px 16px; }
    .carousel-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .carousel-arrow.prev { left: -18px; }
    .carousel-arrow.next { right: -18px; }
    .video-card { flex: 0 0 85%; min-width: 260px; }
}

    /* ===== MEMBERSHIP PROMO SECTION (with member list) ===== */
    .membership-promo {
    position: relative;
    padding: 80px 24px;
    /* fallback colour if the image doesn't load */
    background: #0a2e4a;
    overflow: hidden;
    z-index: 1;
}

/* Background image – replace the URL with your own image path */
.membership-promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('image15.jpeg');   /* 👈 change this to your image */
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);          /* darkens the image slightly */
    z-index: 0;
}

/* Deep‑blue overlay to keep text readable and blend with brand */
.membership-promo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 46, 74, 0.8);   /* adjust opacity (0.8) for lighter/darker overlay */
    z-index: 1;
}

/* Ensure all content stays above the overlay */
.promo-container {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

    .promo-bg-shape {
        position: absolute;
        border-radius: 50%;
        z-index: 0;
    }
    .promo-bg-shape.shape1 {
        width: 350px;
        height: 350px;
        top: -100px;
        right: -120px;
        background: rgba(255,255,255,0.03);
    }
    .promo-bg-shape.shape2 {
        width: 250px;
        height: 250px;
        bottom: -60px;
        left: -80px;
        background: rgba(46,204,113,0.06);
    }

    .promo-container {
        position: relative;
        z-index: 2;
        max-width: 1100px;
        margin: 0 auto;
        text-align: center;
        color: white;
    }

    .promo-header h2 {
        font-size: 2.4rem;
        font-weight: 800;
        margin-bottom: 12px;
    }
    .promo-header h2 span {
        color: #27ae60;
        position: relative;
    }
    .promo-header h2 span::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 0;
        width: 100%;
        height: 3px;
        background: #e63946;
        border-radius: 3px;
    }
    .promo-subtitle {
        font-size: 1.1rem;
        color: rgba(255,255,255,0.9);
        max-width: 650px;
        margin: 0 auto 40px;
        line-height: 1.6;
    }

    /* Benefits grid */
    .promo-benefits {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        margin-bottom: 40px;
    }

    .benefit-item {
        background: rgba(255,255,255,0.08);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 20px;
        padding: 30px 20px;
        flex: 1 1 250px;
        max-width: 300px;
        transition: transform 0.3s, background 0.3s;
    }
    .benefit-item:hover {
        transform: translateY(-8px);
        background: rgba(255,255,255,0.15);
    }

    .benefit-icon {
        font-size: 2.4rem;
        color: #27ae60;
        margin-bottom: 16px;
    }
    .benefit-item h3 {
        font-size: 1.3rem;
        font-weight: 700;
        margin-bottom: 10px;
        color: white;
    }
    .benefit-item p {
        font-size: 0.95rem;
        color: rgba(255,255,255,0.85);
        line-height: 1.6;
    }

    /* Members list header */
    .members-list-header {
        margin: 40px 0 25px;
    }
    .members-list-header h3 {
        font-size: 1.8rem;
        font-weight: 700;
        color: white;
    }
    .members-list-header h3 span {
        color: #27ae60;
    }

    /* Members grid */
    .members-list-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
        margin-bottom: 40px;
    }

    .member-card {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: 18px;
        padding: 25px 20px;
        flex: 1 1 200px;
        max-width: 220px;
        text-align: center;
        transition: transform 0.3s, background 0.3s;
        backdrop-filter: blur(4px);
    }
    .member-card:hover {
        transform: translateY(-6px);
        background: rgba(255,255,255,0.15);
    }

    .member-avatar {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background: rgba(255,255,255,0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        margin: 0 auto 14px;
        color: #d4e2f0;
    }

    .member-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: white;
        margin-bottom: 5px;
    }

    .member-title {
        font-size: 0.85rem;
        color: #27ae60;
        font-weight: 600;
    }

    /* CTA Button */
    .promo-cta {
        margin-bottom: 20px;
    }
    .membership-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: #e63946;
        color: white;
        padding: 15px 36px;
        border-radius: 40px;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.05rem;
        box-shadow: 0 6px 20px rgba(230,57,70,0.45);
        transition: background 0.2s, transform 0.2s;
    }
    .membership-btn:hover {
        background: #c62828;
        transform: translateY(-3px);
        box-shadow: 0 10px 28px rgba(230,57,70,0.6);
    }

    .promo-note {
        font-size: 0.9rem;
        color: rgba(255,255,255,0.7);
        margin-top: 10px;
    }
    .promo-note i {
        color: #27ae60;
        margin-right: 6px;
    }

    /* Mobile adjustments */
    @media (max-width: 768px) {
        .membership-promo {
            padding: 60px 20px;
        }
        .promo-header h2 {
            font-size: 2rem;
        }
        .promo-benefits {
            flex-direction: column;
            align-items: center;
        }
        .benefit-item {
            max-width: 100%;
        }
        .members-list-grid {
            flex-direction: column;
            align-items: center;
        }
        .member-card {
            max-width: 280px;
        }
    }

    
    /* ===== CHATBOT STYLES (mobile‑optimised) ===== */
.chat-bubble {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 55px;
    height: 55px;
    background: var(--accent-green, #27ae60);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    box-shadow: 0 6px 20px rgba(39,174,96,0.4);
    cursor: pointer;
    z-index: 9999;
    transition: transform 0.2s;
}
.chat-bubble:hover { transform: scale(1.1); }

.chat-window {
    position: fixed;
    bottom: 90px;           /* above the bubble */
    right: 20px;
    width: 320px;
    max-width: calc(100vw - 40px);
    height: 400px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.open { display: flex; }

.chat-header {
    background: var(--deep-blue, #0a2e4a);
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header h3 { font-size: 1rem; margin: 0; }
.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-messages {
    padding: 12px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.bot-message, .user-message {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}
.bot-message {
    background: #f1f5f9;
    color: var(--deep-blue);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.user-message {
    background: var(--accent-green);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input {
    display: flex;
    border-top: 1px solid #e2e8f0;
    padding: 8px;
}
.chat-input input {
    flex: 1;
    border: none;
    padding: 10px;
    font-size: 0.9rem;
    outline: none;
    background: transparent;
}
.chat-input button {
    background: var(--accent-green);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    flex-shrink: 0;
}

/* On very small screens, make the chat full‑width */
@media (max-width: 480px) {
    .chat-window {
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        border-radius: 16px 16px 0 0;
    }
    .chat-bubble {
        bottom: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }
}

/* ===== RECENT ACTIVITIES – AUTO SLIDER (fixed arrows) ===== */
.recent-activities {
    padding: 70px 24px;
    background: #f8fafc;
    text-align: center;
    overflow: hidden;
}

.activities-header {
    margin-bottom: 40px;
}
.activities-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a2e4a;
    margin-bottom: 10px;
}
.activities-header h2 span {
    color: #27ae60;
}
.activities-header p {
    color: #475569;
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Carousel wrapper – REMOVED overflow:hidden so arrows stay visible */
.activities-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 25px;
    /* overflow: hidden;  <-- REMOVED */
}

/* Track – holds the sliding cards */
.act-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.act-track::-webkit-scrollbar {
    display: none;
}

/* Individual slide */
.act-slide {
    flex: 0 0 calc(33.333% - 14px);
    scroll-snap-align: start;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04);
    transition: transform 0.3s;
    min-width: 260px;
}
.act-slide:hover {
    transform: translateY(-5px);
}

/* Image + date overlay */
.act-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 15px;
}
.act-date {
    background: rgba(10,46,74,0.85);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

/* Caption text */
.act-caption {
    padding: 15px;
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

/* Arrow buttons – always visible, slightly overlapping the track */
.act-arrow {
    position: absolute;
    top: 45%;                     /* vertically centred on the image area */
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(0,0,0,0.08);
    width: 44px; height: 44px;
    border-radius: 50%;
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    cursor: pointer;
    color: #0a2e4a;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}
.act-arrow:hover {
    background: #27ae60;
    color: white;
    box-shadow: 0 8px 18px rgba(0,0,0,0.18);
}
.act-arrow.prev {
    left: 0;                     /* flush with the left edge of the carousel */
    transform: translate(-50%, -50%);
}
.act-arrow.next {
    right: 0;
    transform: translate(50%, -50%);
}

/* Dot indicators */
.act-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}
.act-dots .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s;
}
.act-dots .dot.active {
    background: #27ae60;
}

/* CTA button */
.act-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e63946;
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 6px 18px rgba(230,57,70,0.45);
}
.act-cta-btn:hover {
    background: #c62828;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .act-slide { flex: 0 0 calc(50% - 10px); min-width: 220px; }
    .act-arrow { width: 40px; height: 40px; font-size: 1.2rem; }
    .act-arrow.prev { transform: translate(-50%, -50%); }
    .act-arrow.next { transform: translate(50%, -50%); }
}
@media (max-width: 600px) {
    .recent-activities { padding: 50px 16px; }
    .act-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .act-arrow.prev { transform: translate(-50%, -50%); }
    .act-arrow.next { transform: translate(50%, -50%); }
    .act-slide { flex: 0 0 85%; min-width: 260px; }
}

.activities-header h2 span {
    position: relative;
    display: inline-block;
}
.activities-header h2 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 3px;
    background: #27ae60;      /* green accent */
    border-radius: 3px;
}


/* ===== POPUP STYLES (Dayspring Heart Care theme) ===== */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 46, 74, 0.75);   /* deep‑blue with transparency */
  backdrop-filter: blur(4px);            /* soft blur (modern browsers) */
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;                        /* so popup never touches screen edges */
}

.popup-overlay.show {
  display: flex;
}

.popup-box {
  background: linear-gradient(145deg, #0a2e4a 0%, #113a56 100%);
  color: #ffffff;
  padding: 32px 28px 28px;
  border-radius: 16px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  animation: popupFadeIn 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  border-bottom: 4px solid #27ae60;     /* accent‑green bottom line */
}

/* Close button (×) */
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, transform 0.2s;
}

.popup-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

/* Text inside popup */
.popup-box p {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
}

/* Contact link */
.popup-box a {
  color: #27ae60;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.popup-box a:hover {
  color: #2ecc71;
  border-bottom-color: #2ecc71;
}

/* Subtle animation */
@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile: make it cozy */
@media (max-width: 480px) {
  .popup-box {
    padding: 28px 20px 24px;
  }
  .popup-box p {
    font-size: 0.95rem;
  }
}