@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght=400;500;600;700&family=Playfair+Display:ital,wght@1,700&display=swap');

/* ===== MAIN HERO CONTAINER ===== */
.hero-section-premium {
    position: relative;
    width: 100%;
    height: 780px;
    background-color: #1a1a2e; /* Premium Dark Background Slate */
    font-family: 'Montserrat', sans-serif;
    overflow: hidden;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Master Slide Base Layout */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s ease-in-out;
    z-index: 1;
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 2;
    }

    /* Alternating Alignment Rules */
    .hero-slide.slide-img-right {
        flex-direction: row;
    }

    .hero-slide.slide-img-left {
        flex-direction: row-reverse;
    }

/* ==========================================================================
   Text Block Content Styling
   ========================================================================== */
.hero-text-block {
    width: 50%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

/* Precise Spatial Offsets For Text Columns */
.slide-img-right .hero-text-block {
    padding-left: 8%;
    padding-right: 5%;
}

.slide-img-left .hero-text-block {
    padding-left: 5%;
    padding-right: 8%;
}

/* Micro Entry Fluid Keyframe Activations */
.hero-slide.active .sectionslabel {
    animation: cleanSlideUp 0.7s ease forwards 0.2s;
}

.hero-slide.active .hero-title {
    animation: cleanSlideUp 0.7s ease forwards 0.4s;
}

.hero-slide.active .hero-desc {
    animation: cleanSlideUp 0.7s ease forwards 0.5s;
}

.hero-slide.active .hero-btns-group {
    animation: cleanSlideUp 0.7s ease forwards 0.6s;
}

.sectionslabel {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #cca43b; /* Premium Gold Label */
    margin-bottom: 15px;
    opacity: 0;
}

.hero-title {
    font-size: 50px;
    font-weight: 700;
    color: #ffffff; /* Brightened to White for Dark Background visibility */
    line-height: 1.15;
    margin: 0 0 22px 0;
    opacity: 0;
}

    .hero-title .accent-text {
        font-family: 'Playfair Display', Georgia, serif;
        font-style: italic;
        font-weight: 700;
        color: #e63329; /* Red Identity Accent */
    }

.hero-desc {
    font-size: 15px;
    color: #cbd5e1; /* Soft grayish-white description for flawless contrast readability */
    line-height: 1.75;
    margin-bottom: 35px;
    opacity: 0;
}

.hero-btns-group {
    display: flex;
    gap: 15px;
    opacity: 0;
}

/* Action Buttons Styles */
.btn-donate {
    background-color: #e63329;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 34px;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(230, 51, 41, 0.25);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .btn-donate:hover {
        background-color: #c4241b;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(230, 51, 41, 0.4);
    }

.btn-about-us {
    background-color: transparent;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 34px;
    text-decoration: none;
    border: 2px solid #ffffff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

    .btn-about-us:hover {
        background-color: #ffffff;
        color: #1e293b;
        transform: translateY(-2px);
    }

/* ==========================================================================
   Image Mask Layout Containers
   ========================================================================== */
.hero-slider-mask-wrapper {
    width: 50%;
    height: 100%;
}

.hero-mask-clip {
    width: 100% !important;
    height: 100% !important;
    background-color: #131416;
}

/* Generated Dynamic Mirror Opposite Curves */
.clip-right {
    clip-path: ellipse(95% 100% at 100% 50%);
}

.clip-left {
    clip-path: ellipse(95% 100% at 0% 50%);
}

.hero-img-main {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* ==========================================================================
   Global Controller UI Overlays (Featuring Brand Color #e63329)
   ========================================================================== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    .slider-arrow:hover {
        background: #e63329; /* Shifts to red on focus/hover interaction */
        border-color: #e63329;
        color: #ffffff;
        box-shadow: 0 0 15px rgba(230, 51, 41, 0.5);
        transform: translateY(-50%) scale(1.05);
    }

    .slider-arrow.prev {
        left: 30px;
    }

    .slider-arrow.next {
        right: 30px;
    }

/* Fixed Navigation Dots Array Area */
.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 25px;
    height: 5px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.25); /* Translucent inactive white markers */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Active Highlight Tracking Status Block */
    .slider-dot.active {
        background-color: #e63329; /* Dynamic Highlight identity color code tint */
        width: 50px;
        box-shadow: 0 0 10px rgba(230, 51, 41, 0.6);
    }

@keyframes cleanSlideUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Fluid Breakpoint Mobile Layout Engine (FIXED & LOOKS GREAT ON MOBILE)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-section-premium {
        height: auto;
    }

    .hero-slider-track {
        display: block;
        height: auto;
        position: relative;
    }

    /* Fixed: Changed from position absolute to relative for active states */
    .hero-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 100vh;
        display: flex;
    }

        .hero-slide.active {
            position: relative; /* Forces container layout height to open up naturally */
            opacity: 1;
            visibility: visible;
        }

        .hero-slide.slide-img-right,
        .hero-slide.slide-img-left {
            flex-direction: column-reverse; /* Image displays cleanly on top, content text block below */
        }

    .hero-text-block {
        width: 100%;
        padding: 40px 24px 80px 24px !important; /* Elegant mobile framing spacing */
        text-align: center;
    }

    .hero-title {
        font-size: 32px; /* Scale text down gracefully for smaller screen devices */
        margin-bottom: 16px;
    }

    .hero-desc {
        font-size: 14px;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .hero-btns-group {
        justify-content: center;
        flex-direction: column; /* Stack primary and secondary action buttons cleanly */
        gap: 12px;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .btn-donate, .btn-about-us {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .hero-slider-mask-wrapper {
        width: 100%;
        height: 300px; /* Reduced top image height box ratio on mobile screens */
    }

    .hero-mask-clip {
        clip-path: none !important; /* Discards horizontal clip shapes across small screens */
    }

    /* Hide arrow elements entirely on tablets & smartphones to maximize viewable area */
    .slider-arrow {
        display: none !important;
    }

    .slider-dots {
        bottom: 25px;
    }
}

















/* ==========================================================================
   ABOUT IMPACT SECTION LAYOUT (Desktop Baseline)
   ========================================================================== */
.about-impact-section {
    background-color: var(--off-white, #f8f9fa);
    padding: 80px 20px;
    width: 100%;
    box-sizing: border-box;
}

.impact-section-grid {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 balanced split grid on desktop */
    gap: 60px;
    align-items: center;
}

/* Image styling layer */
.impact-hero-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Typography elements */
.section-title {
    font-family: var(--font-display), 'Playfair Display', 'Georgia', serif;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 700;
    color: var(--dark, #1a1a2e);
    line-height: 1.25;
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--red, #e63329);
}

.lead-text {
    font-size: 16px;
    line-height: 1.65;
    color: #555c68;
    margin-bottom: 24px;
}

/* Clean Custom Premium Checklist */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    font-size: 15px;
    font-weight: 500;
    color: #2d3142;
    display: flex;
    align-items: center;
    gap: 12px;
}

.check-icon {
    color: var(--red, #e63329); /* Accent icon coloring match */
    font-size: 18px;
    flex-shrink: 0;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE ENGINE (Media Queries)
   ========================================================================== */

/* Tablet Optimization Layer */
@media (max-width: 992px) {
    .about-impact-section {
        padding: 60px 20px;
    }
    .impact-section-grid {
        gap: 40px;
    }
    .impact-hero-img {
        height: 380px;
    }
}

/* Smart Mobile Viewport Breakdown (Phones) */
@media (max-width: 768px) {
    .impact-section-grid {
        grid-template-columns: 1fr; /* 2-column grid automatically changes to vertical 1-column layout stack */
        gap: 35px;
    }

    .image-block {
        order: 1; /* Ensures image block is rendered gracefully on top of content text block */
    }

    .content-block {
        order: 2;
        text-align: left; /* Keeps text aligned professionally on mobile views */
    }

    .impact-hero-img {
        height: 300px; /* Reduced vertical scale constraint to perfectly fit smaller device viewports */
        border-radius: 16px;
    }

    .section-title {
        margin-bottom: 16px;
    }

    .lead-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .check-list {
        gap: 12px;
    }

    .check-list li {
        font-size: 14px;
    }
}

/* Micro-Devices Screen Polish */
@media (max-width: 420px) {
    .about-impact-section {
        padding: 40px 15px;
    }
    .impact-hero-img {
        height: 240px;
    }
}






















/* ==========================================================================
   IMPACT NUMBERS STYLE SHEET
   ========================================================================== */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.impact-item {
    position: relative;
    padding: 10px;
}

    /* Elegant line dividers between stats on desktop */
    .impact-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 20%;
        height: 60%;
        width: 1px;
        background: rgba(255, 255, 255, 0.1);
    }

.impact-icon {
    color: #e63329; /* Theme Red Accent Color */
    font-size: 24px;
    margin-bottom: 15px;
}

.impact-num-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: #ffffff;
    font-family: 'Playfair Display', 'Georgia', serif; /* Matching your luxury serif font */
    font-weight: 700;
    margin-bottom: 8px;
}

.impact-num {
    font-size: 48px;
    line-height: 1;
}

/* Explicit layout styling for the missing "+" sign */
.impact-plus {
    font-size: 32px;
    font-weight: 400;
    margin-left: 2px;
    color: #ffffff;
}

.impact-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #a0aec0;
    text-transform: uppercase;
}

/* ==========================================================================
   RESPONSIVE CLEANUP
   ========================================================================== */
@media (max-width: 992px) {
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .impact-item::after {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .impact-num {
        font-size: 40px;
    }
}




/* ==========================================================================
   HERO PREMIUM SLIDER STRUCTURE
   ========================================================================== */
.hero-image-wrap {
    position: relative;
    width: 100%;
    max-width: 650px; /* Adjust to match your exact desktop layout frame width */
    margin: 0 auto;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3; /* Maintains standard responsive geometry */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    background-color: #1a1a2e; /* Base canvas color behind transitions */
}

/* Fluid Absolute Crossfade Layer Engine */
.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1.02); /* Creates a subtle slow-zoom dynamic feel */
}

    .hero-slide.active {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        z-index: 1;
    }

.hero-img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   NAVIGATION ARROWS & NAVIGATION INDICATOR DOTS
   ========================================================================== */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: #1a1a2e;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-weight: bold;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition: all 0.3s ease;
}

/* Slide arrows slide into view when user hovers container box */
.hero-slider-container:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow:hover {
    background: #e63329;
    color: #ffffff;
}

.slider-arrow.prev {
    left: 16px;
}

.slider-arrow.next {
    right: 16px;
}

/* Navigation Bullets Grid */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(15, 18, 29, 0.4);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: #ffffff;
        width: 20px; /* Modern pill expansion effect for active status indicator */
        border-radius: 4px;
    }

/* ==========================================================================
   FLOATING FIXED BRANDING BADGES
   ========================================================================== */
.hero-badge, .hero-volunteers {
    position: absolute;
    z-index: 10; /* Keeps layout strictly locked above the moving slide panels */
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Adjust your existing positions to ensure pixel-perfect layout alignment */
.hero-badge {
    bottom: -15px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
}

.hero-badge-icon {
    width: 40px;
    height: 40px;
    background: rgba(230, 51, 41, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #e63329;
    font-size: 18px;
}

.hero-badge-text strong {
    display: block;
    font-size: 14px;
    color: #1a1a2e;
}

.hero-badge-text span {
    font-size: 12px;
    color: #7f8c8d;
}

.hero-volunteers {
    top: -15px;
    right: -20px;
    padding: 14px 20px;
    text-align: center;
    font-size: 13px;
    color: #555c68;
}

    .hero-volunteers strong {
        display: block;
        font-size: 22px;
        color: #e63329;
        line-height: 1.2;
    }

/* Responsive Fixes */
@media (max-width: 768px) {
    .hero-badge {
        left: 10px;
        bottom: 10px;
        padding: 10px;
    }

    .hero-volunteers {
        right: 10px;
        top: 10px;
        padding: 10px;
    }

    .slider-arrow {
        opacity: 1;
        width: 36px;
        height: 36px;
    }
}














/* ===========================
   VIDEO SECTION
=========================== */

.video-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    text-align: center;
}

/* Background Image */

.video-bg {
    position: absolute;
    inset: 0;
    background: url('../img/homeimage/Picture5.jpg') center center/cover no-repeat;
    transform: scale(1.05);
}

/* Dark Overlay */

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.60);
}

/* Content */

.video-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    padding: 20px;
}

    .video-content h2 {
        font-size: 58px;
        font-weight: 700;
        color: #ffffff;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .video-content p {
        color: rgba(255,255,255,.85);
        font-size: 18px;
        line-height: 1.8;
        max-width: 700px;
        margin: 0 auto;
    }

.tag {
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===========================
   PLAY BUTTON
=========================== */

.play-btn {
    width: 90px;
    height: 90px;
    margin: 40px auto 0;
    border-radius: 50%;
    background: #e63329;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: .3s;
    animation: pulse 2s infinite;
}

    .play-btn i {
        font-size: 28px;
        margin-left: 5px;
    }

    .play-btn:hover {
        transform: scale(1.1);
        background: #c94212;
    }

    /* Pulse Animation */

    .play-btn::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        border: 2px solid #ffffff;
        border-radius: 50%;
        animation: ripple 2s infinite;
    }

@keyframes ripple {

    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(232,84,26,.6);
    }

    70% {
        box-shadow: 0 0 0 25px rgba(232,84,26,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(232,84,26,0);
    }
}

/* ===========================
   VIDEO MODAL
=========================== */

#videoModal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn .4s ease;
}

    #videoModal video {
        width: 85%;
        max-width: 900px;
        border-radius: 15px;
        box-shadow: 0 20px 60px rgba(0,0,0,.5);
    }

    #videoModal span {
        position: absolute;
        top: 25px;
        right: 35px;
        color: #fff;
        font-size: 45px;
        cursor: pointer;
        transition: .3s;
    }

        #videoModal span:hover {
            color: #e8541a;
            transform: rotate(90deg);
        }

@keyframes fadeIn {

    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width:991px) {

    .video-section {
        min-height: 500px;
    }

    .video-content h2 {
        font-size: 42px;
    }

    .video-content p {
        font-size: 16px;
    }

    .play-btn {
        width: 75px;
        height: 75px;
    }

        .play-btn i {
            font-size: 24px;
        }
}

@media (max-width:767px) {

    .video-section {
        min-height: 420px;
        padding: 60px 15px;
    }

    .video-content h2 {
        font-size: 30px;
    }

    .video-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .play-btn {
        width: 65px;
        height: 65px;
        margin-top: 25px;
    }

        .play-btn i {
            font-size: 20px;
        }

    #videoModal video {
        width: 95%;
    }
}




















/* Container fix to prevent header alignment blowouts */
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ==========================================================================
   PREMIUM LOGO GLOW ANIMATION ENGINE
   ========================================================================== */
@keyframes logoAnimation {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(230, 51, 41, 0.3);
    }

    50% {
        transform: scale(1.03); /* Tiny professional scaling keeping image sharp */
        border-color: #c0271e; /* Subtle shift to deeper red at peak */
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08), 0 0 0 12px rgba(230, 51, 41, 0.15); /* Soft outer aura radial expand */
    }

    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05), 0 0 0 0 rgba(230, 51, 41, 0.3);
    }
}




/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --red: #e63329;
    --red-dark: #c0271e;
    --dark: #1a1a2e;
    --dark2: #16213e;
    --text: #444;
    --text-light: #777;
    --white: #fff;
    --off-white: #f8f8f8;
    --border: #e8e8e8;
    --font-body: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}



a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes counterUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease,transform .7s ease;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity .7s ease,transform .7s ease;
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity .7s ease,transform .7s ease;
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity .7s ease,transform .7s ease;
}

    .reveal.active, .reveal-left.active, .reveal-right.active, .reveal-zoom.active {
        opacity: 1;
        transform: none;
    }

.d1 {
    transition-delay: .1s;
}

.d2 {
    transition-delay: .2s;
}

.d3 {
    transition-delay: .3s;
}

.d4 {
    transition-delay: .4s;
}

.d5 {
    transition-delay: .5s;
}

/* ===== UTILITY ===== */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .section-label::before {
        content: '';
        width: 30px;
        height: 2px;
        background: var(--red);
        display: inline-block;
    }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(26px,4vw,46px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

    .section-title span {
        color: var(--red);
    }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s;
}

.btn-red {
    background: var(--red);
    color: #fff;
}

    .btn-red:hover {
        background: var(--red-dark);
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(230,51,41,.35);
    }

.btn-outline {
    border: 2px solid var(--red) !important;
    color: var(--red) !important;
}

    .btn-outline:hover {
        background: var(--red) !important;
        color: #fff !important;
    }

.btn-white {
    background: #fff;
    color: var(--red);
}

    .btn-white:hover {
        background: var(--red);
        color: #fff;
    }

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}

    .preloader.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-display);
    font-size: clamp(26px,5vw,36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}

    .preloader-logo span {
        color: var(--red);
    }

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,.15);
    border-radius: 3px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-fill {
    height: 100%;
    background: linear-gradient(90deg,var(--red),#ff6b6b,var(--red));
    background-size: 400% 100%;
    animation: shimmer 1.5s infinite;
}

/* ==========================================================================
   TOPBAR MAIN STYLES (Desktop Baseline)
   ========================================================================== */
.topbar {
    background: var(--dark, #1a1a2e);
    color: #aaa;
    font-size: 13px;
    padding: 10px 0;
    width: 100%;
}

    .topbar .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: all 0.3s ease;
    }

    .topbar a {
        color: #e63329!important;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        transition: color 0.2s ease, transform 0.2s ease;
    }

        .topbar a:hover {
            color: #ffffff;
        }

.topbar-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

    /* Icon Color Tweaks to highlight brand consistency */
    .topbar-left i {
        color: var(--red, #e63329);
        font-size: 14px;
    }

.topbar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

    .topbar-right .follow-text {
        color: #777;
        font-size: 12px;
        font-weight: 500;
    }

    .topbar-right .social-link {
        font-size: 14px;
    }

        .topbar-right .social-link:hover {
            color: var(--red, #e63329);
            transform: translateY(-1px);
        }

/* ==========================================================================
   PREMIUM MOBILE RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* Tablet & Smaller Desktop Adjustments */
@media (max-width: 992px) {
    .topbar {
        padding: 8px 0;
    }

    .topbar-left {
        gap: 16px;
    }
}

/* Mobile Screen Stack Optimization (Phones) */
@media (max-width: 650px) {
    .topbar .container {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        text-align: center;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .topbar-left {
        width: 100%;
        flex-direction: row;
        justify-content: center; /* Center-aligns phone and mail links on mobile */
        gap: 18px;
    }

    .topbar-right {
        width: 100%;
        justify-content: center; /* Center-aligns social blocks */
        border-top: 1px solid rgba(255, 255, 255, 0.07); /* Clean line split */
        padding-top: 8px;
        gap: 20px; /* Wider targets for finger taps */
    }

        .topbar-right .follow-text {
            display: none; /* Safely hides "Follow us" to keep mobile UI minimal */
        }
}

/* Micro Devices Viewport Cleanup */
@media (max-width: 420px) {
    .topbar {
        font-size: 12px;
    }

    .topbar-left {
        flex-direction: column; /* Stacks links beautifully on tiny screens */
        gap: 6px;
    }

    .topbar-right {
        border-top: none;
        padding-top: 2px;
    }
}

/* ===== HEADER ===== */
header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
    transition: all .3s;
}

    header.scrolled {
        box-shadow: 0 4px 30px rgba(0,0,0,.14);
    }

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.1;
}

    .logo-text span {
        color: var(--red);
        display: block;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: .5px;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .nav-links > li {
        position: relative;
    }

        .nav-links > li > a {
            padding: 8px 12px;
            font-weight: 500;
            font-size: 14px;
            color: var(--dark);
            border-radius: 4px;
            transition: all .2s;
            display: flex;
            align-items: center;
            gap: 4px;
            white-space: nowrap;
        }

            .nav-links > li > a:hover {
                color: var(--red);
            }

        .nav-links > li.menu-item > a::after {
            content: '\f107';
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            font-size: 11px;
        }

/* Dropdown */
.dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-radius: 10px;
    min-width: 240px;
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .25s ease;
    z-index: 200;
}

.menu-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 9px 18px;
    font-size: 14px;
    color: var(--text);
    transition: all .2s;
    border-left: 2px solid transparent;
}

    .dropdown li a:hover {
        color: var(--red);
        background: rgba(230,51,41,.05);
        border-left-color: var(--red);
        padding-left: 22px;
    }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--dark);
        transition: all .3s;
        border-radius: 2px;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

/* Mobile menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark);
    z-index: 2000;
    flex-direction: column;
    padding: 24px 24px 40px;
    overflow-y: auto;
}

    .mobile-menu.open {
        display: flex;
        animation: fadeIn .3s ease;
    }

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.mobile-close {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    background: none;
    border: none;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s;
}

    .mobile-nav-link:hover {
        color: var(--red);
    }

    .mobile-nav-link i {
        font-size: 13px;
        transition: transform .3s;
    }

.mobile-nav-item.open .mobile-nav-link i {
    transform: rotate(180deg);
}

.mobile-subnav {
    display: none;
    padding: 0 0 12px 16px;
}

.mobile-nav-item.open .mobile-subnav {
    display: block;
}

.mobile-subnav a {
    display: block;
    padding: 8px 0;
    color: rgba(255,255,255,.65);
    font-size: 15px;
    transition: color .2s;
}

    .mobile-subnav a:hover {
        color: var(--red);
    }

.mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
}

    .mobile-cta .btn {
        justify-content: center;
    }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 620px;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1a3e 60%, var(--dark) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../img/homeimage/img_1738.jpg');
    
    opacity: .22;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,.94) 45%, rgba(26,26,46,.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 90px 0 !important;
    width: 100%;
}

    .hero-content .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: center;
    }

.hero-text .section-label {
    color: #f0a500;
}

    .hero-text .section-label::before {
        background: #f0a500;
    }

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px,5vw,58px);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 22px;
    animation: fadeInLeft .8s ease .2s both;
}

    .hero-title span {
        color: var(--red);
    }

.hero-desc {
    color: rgba(255,255,255,.75);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 34px;
    animation: fadeInLeft .8s ease .4s both;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInLeft .8s ease .6s both;
}

.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 38px;
    flex-wrap: wrap;
    animation: fadeInLeft .8s ease .8s both;
}

.hero-stat-num {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

    .hero-stat-num span {
        color: var(--red);
    }

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    margin-top: 2px;
}

.hero-image-wrap {
    position: relative;
    animation: fadeInRight .8s ease .4s both;
}

.hero-img-main {
    border-radius: 20px;
    height: 420px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}

.hero-badge {
    position: absolute;
    bottom: 28px;
    left: -20px;
    background: #fff;
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-badge-icon {
    width: 42px;
    height: 42px;
    background: var(--red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
}

.hero-badge-text strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.hero-badge-text span {
    font-size: 12px;
    color: var(--text-light);
}

.hero-volunteers {
    position: absolute;
    top: 28px;
    right: -10px;
    background: var(--red);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 600;
    animation: float 3s ease-in-out 1.5s infinite;
}

    .hero-volunteers strong {
        display: block;
        font-size: 20px;
    }

/* ===== MARQUEE ===== */
.marquee-section {
    background: var(--red);
    padding: 14px 0;
    overflow: hidden;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 0 28px;
}

    .marquee-item i {
        font-size: 11px;
        opacity: .7;
    }

/* ===== ABOUT SPLIT ===== */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 40px 0;
    max-width: 1220px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.about-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    height: 440px;
}

    .about-img-grid img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 14px;
        box-shadow: 0 12px 40px rgba(0,0,0,.1);
    }

    .about-img-grid .span2 {
        grid-column: span 2;
        height: 200px;
    }

.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

    .eyebrow::before {
        content: '';
        width: 28px;
        height: 2px;
        background: var(--red);
    }

.about-split h2 {
    font-family: var(--font-display);
    font-size: clamp(26px,3.5vw,42px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

    .about-split h2 em {
        color: var(--red);
        font-style: normal;
    }

.lead {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

.feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 20px;
}

.pill-icon {
    width: 44px;
    height: 44px;
    background: rgba(230,51,41,.1);
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--red);
}

.pill-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.pill-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
}

.director-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 16px 20px;
    background: var(--off-white);
    border-radius: 12px;
    border-left: 3px solid var(--red);
}

.director-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.director-info strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
}

.director-info span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===== PILLARS ===== */
.pillars {
    padding: 80px 20px;
    max-width: 1220px;
    margin: 0 auto;
}

    .pillars .fade-up h2 {
        font-family: var(--font-display);
        font-size: clamp(26px,3.5vw,42px);
        font-weight: 700;
        color: var(--dark);
        line-height: 1.2;
        text-align: center;
    }

        .pillars .fade-up h2 em {
            color: var(--red);
            font-style: normal;
        }

    .pillars .fade-up .lead {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.pillar-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,.08);
    transition: all .3s;
}

    .pillar-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(0,0,0,.14);
    }

.pillar-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .5s;
}

.pillar-card:hover .pillar-img {
    transform: scale(1.05);
}

.pillar-body {
    padding: 22px;
}

.pillar-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.pillar-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.pillar-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.65;
}

.stats-bar {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
    border-top: 2px solid var(--border);
    padding-top: 36px;
    margin-top: 48px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(30px,4vw,48px);
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stars {
    color: #f0a500;
    font-size: 16px;
}

.stats-bar .btn {
    margin-left: auto;
}

/* ===== IMPACT SECTION ===== */
.impact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1220px;
    margin: 0 auto;
    padding: 80px 20px;
    background: var(--off-white);
}

.impact-img img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.impact-content h2 {
    font-family: var(--font-display);
    font-size: clamp(26px,3.5vw,42px);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
}

    .impact-content h2 em {
        color: var(--red);
        font-style: normal;
    }

.impact-content .lead {
    margin-bottom: 24px;
}

.check-list {
    margin-bottom: 28px;
}

    .check-list li {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--text);
        padding: 7px 0;
        border-bottom: 1px solid var(--border);
    }

        .check-list li::before {
            content: '\f058';
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--red);
            font-size: 15px;
            flex-shrink: 0;
        }

/* ===== HIGHLIGHTS ===== */
.highlights {
    padding: 40px 20px;
    background: var(--dark);
}

.highlights-header {
    text-align: center;
    margin-bottom: 50px;
}

    .highlights-header h2 {
        font-family: var(--font-display);
        font-size: clamp(26px,4vw,44px);
        font-weight: 700;
        color: #fff;
    }

        .highlights-header h2 em {
            color: var(--red);
            font-style: normal;
        }

    .highlights-header .lead {
        color: rgba(255,255,255,.65);
        max-width: 600px;
        margin: 12px auto 0;
    }

.mini-features {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
    max-width: 1220px;
    margin: 0 auto 48px;
}

.mini-feat {
    background: rgba(255,255,255,.05);
    border-radius: 14px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.08);
    transition: all .3s;
}

    .mini-feat:hover {
        background: rgba(255,255,255,.09);
        transform: translateY(-4px);
    }

.mini-feat-icon {
    width: 48px;
    height: 48px;
    background: rgba(230,51,41,.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.mini-feat h4 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.mini-feat p {
    font-size: 13px;
    color: rgba(255,255,255,.6);
    line-height: 1.7;
}

.counters-strip {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    max-width: 1220px;
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    overflow: hidden;
}

.counter-item {
    text-align: center;
    padding: 36px 20px;
    border-right: 1px solid rgba(255,255,255,.1);
}

    .counter-item:last-child {
        border-right: none;
    }

.counter-num {
    font-family: var(--font-display);
    font-size: clamp(32px,4vw,48px);
    font-weight: 800;
    color: #fff;
}

.counter-suffix {
    font-family: var(--font-display);
    font-size: clamp(32px,4vw,48px);
    font-weight: 800;
    color: #fff;
}

.counter-label {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
}

/* ===== WORK CARDS ===== */
/* ==========================================================================
   DESKTOP BASE SYSTEM (PC View: Exactly 3 Parallel Cards)
   ========================================================================== */
.work {
    padding: 30px 0;
    max-width: 1220px;
    margin: 0 auto;
    overflow: hidden; /* Stops cards from sliding outside the screen limits */
}
.work-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 0 15px;
    text-align: center;
}

    .work-header h2 {
        font-family: var(--font-display), sans-serif;
        font-size: clamp(24px, 3.5vw, 40px);
        font-weight: 700;
        color: var(--dark, #222);
        line-height: 1.2;
        margin: 0;
        width: 100%;
        text-align: center;
    }

        .work-header h2 em {
            color: var(--red, #e8541a);
            font-style: normal;
        }

.btn-outline-custom {
    display: inline-block;
    padding: 12px 24px;
    border: 1px solid var(--red, #e8541a);
    border-radius: 6px;
    color: var(--red, #e8541a);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .btn-outline-custom:hover {
        background-color: var(--red, #e8541a);
        color: #fff;
        text-decoration: none;
    }

/* --- THE FLEX TRACK SLIDER ENGINE --- */
.work-slider-container {
    position: relative;
    width: 100%;
    padding: 0 15px;
}

.work-slider {
    display: flex;
    gap: 24px; /* Space between sliding items */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

/* PC Math: Allocation for exactly 3 blocks per slide row view */
.work-slide-item {
    flex: 0 0 calc((100% - 48px) / 3);
    width: calc((100% - 48px) / 3);
}

.work-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 340px; /* Secure uniform height for PC screens */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background-color: #000;
}

    .work-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .5s;
    }

    .work-card:hover img {
        transform: scale(1.07);
    }

.work-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(26,26,46,0.92) 35%, rgba(26,26,46,0.3) 70%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background .3s;
}

.work-tag {
    display: inline-block;
    background: var(--red, #e8541a);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
    width: fit-content;
}

.work-card-overlay h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.read-more {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,.8);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Ensures mobile looks gorgeous)
   ========================================================================== */

@media (max-width: 992px) {
    /* Tablet Profile: 2 cards per view */
    .work-slide-item {
        flex: 0 0 calc((100% - 24px) / 2);
        width: calc((100% - 24px) / 2);
    }

    .work-card {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .work {
        padding: 40px 0;
    }

    .work-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 30px;
    }

    /* Mobile Profile: Exactly 1 card per view with automatic aspect ratio scaling */
    .work-slide-item {
        flex: 0 0 100%;
        width: 100%;
        padding: 0 10px;
    }

    .work-card {
        height: auto;
        aspect-ratio: 4 / 3; /* Fixed layout clipping text cutoff errors on small screen */
    }

    .work-card-overlay h3 {
        font-size: 18px;
    }
}

/* ===== IMPACT NUMBERS BANNER ===== */
.impact-numbers {
    padding: 70px 20px;
    background: var(--dark);
}

    .impact-numbers .container {
        max-width: 1220px;
        margin: 0 auto;
    }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 36px;
}

.impact-item {
    text-align: center;
    color: #fff;
}

.impact-num {
    font-family: var(--font-display);
    font-size: clamp(32px,5vw,52px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

    .impact-num span {
        color: var(--red);
    }

.impact-label {
    font-size: 13px;
    color: rgba(255,255,255,.55);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.impact-icon {
    font-size: 26px;
    color: var(--red);
    margin-bottom: 10px;
}

/* ===== BANNER ===== */
.banner {
    position: relative;
    padding: 100px 20px;
    overflow: hidden;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1542810634-71277d95dcbb?w=1400&q=80') center/cover no-repeat;
}

    .banner::before {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(26,26,46,.78);
    }

.banner-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.banner-play {
    width: 70px;
    height: 70px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    position: relative;
    cursor: pointer;
    transition: all .3s;
    border: none;
}

    .banner-play::before, .banner-play::after {
        content: '';
        position: absolute;
        border-radius: 50%;
        background: rgba(230,51,41,.3);
        width: 100%;
        height: 100%;
        animation: ripple 2s ease-out infinite;
    }

    .banner-play::after {
        animation-delay: .8s;
    }

    .banner-play:hover {
        transform: scale(1.1);
        background: var(--red-dark);
    }

.banner-inner h2 {
    font-family: var(--font-display);
    font-size: clamp(28px,5vw,54px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.banner-inner p {
    color: rgba(255,255,255,.7);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* ===== TEAM ===== */
.team {
    padding: 40px 20px;
    background: #fff;
}

    .team .container-inner {
        max-width: 1220px;
        margin: 0 auto;
    }

.team-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

    .team-header h2 {
        font-family: var(--font-display);
        font-size: clamp(24px,3.5vw,40px);
        font-weight: 700;
        color: var(--dark);
        line-height: 1.2;
    }

        .team-header h2 em {
            color: var(--red);
            font-style: normal;
        }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0,0,0,.08);
    transition: all .3s;
}

    .team-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 60px rgba(0,0,0,.14);
    }

.team-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .5s;
    display: block;
}

.team-card:hover .team-photo {
    transform: scale(1.04);
}

.team-info {
    padding: 20px;
}

    .team-info h4 {
        font-size: 17px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 4px;
    }

    .team-info span {
        font-size: 13px;
        color: var(--red);
        font-weight: 600;
        display: block;
        margin-bottom: 10px;
    }

    .team-info p {
        font-size: 13px;
        color: var(--text-light);
        line-height: 1.65;
    }

/* ===== TESTIMONIAL ===== */
.testimonial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--off-white);
}

.testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 360px;
    display: block;
}

.testi-content {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stars-row {
    color: #f0a500;
    font-size: 20px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.testi-text {
    font-family: var(--font-display);
    font-size: clamp(16px,2vw,20px);
    font-style: italic;
    color: var(--dark);
    line-height: 1.7;
    margin-bottom: 28px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
}

.testi-author-info strong {
    display: block;
    font-size: 15px;
    color: var(--dark);
}

.testi-author-info span {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== JOIN BANNER ===== */
.join-banner {
    background: var(--red);
    padding: 20px 40px;
}

.join-banner-container {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.join-banner h2 {
    color: #fff;
    font-size: clamp(18px,3vw,24px);
    font-weight: 700;
    margin: 0;
    flex: 1;
    text-align: center;
}

.join-btn {
    background: var(--dark);
    color: #fff;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: .3s;
    white-space: nowrap;
    flex-shrink: 0;
}

    .join-btn:hover {
        background: #06276d;
        color: #fff;
    }

/* ===== FAQ ===== */
.faq {
    padding: 40px 20px;
    background: #fff;
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    max-width: 1220px;
    margin: 0 auto;
    align-items: start;
}

    .faq-layout h2 {
        font-family: var(--font-display);
        font-size: clamp(24px,3.5vw,40px);
        font-weight: 700;
        color: var(--dark);
        line-height: 1.2;
        margin-bottom: 16px;
    }

        .faq-layout h2 em {
            color: var(--red);
            font-style: normal;
        }

.faq-rating {
    margin-top: 28px;
}

    .faq-rating img {
        width: 100%;
        height: 100px;
        object-fit: cover;
        border-radius: 10px;
        margin-bottom: 16px;
    }

.rating-num {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
}

.rating-stars {
    color: #f0a500;
    font-size: 18px;
    margin: 4px 0;
}

.faq-rating p {
    font-size: 13px;
    color: var(--text-light);
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    border: 2px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s;
}

    .accordion-item.open {
        border-color: var(--red);
    }

.accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    background: #fff;
    cursor: pointer;
    border: none;
    gap: 12px;
}

.accordion-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .3s;
    color: var(--dark);
}

.accordion-item.open .accordion-icon {
    background: var(--red);
    color: #fff;
    transform: rotate(45deg);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

.accordion-item.open .accordion-body {
    max-height: 300px;
}

.accordion-body-inner {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===== NEWSLETTER ===== */
.newsletter {
    padding: 70px 20px;
    background: var(--red);
}

    .newsletter .newsletter-inner {
        max-width: 1220px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
    }

.newsletter-content h2 {
    font-family: var(--font-display);
    font-size: clamp(22px,3vw,36px);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: rgba(255,255,255,.8);
    font-size: 15px;
    line-height: 1.65;
}

.newsletter-form {
    display: flex;
    gap: 0;
}

    .newsletter-form input {
        flex: 1;
        padding: 15px 20px;
        border: none;
        border-radius: 8px 0 0 8px;
        font-size: 15px;
        font-family: inherit;
        outline: none;
    }

    .newsletter-form button {
        background: var(--dark);
        color: #fff;
        padding: 15px 26px;
        border-radius: 0 8px 8px 0;
        font-size: 15px;
        font-weight: 700;
        border: none;
        cursor: pointer;
        transition: background .3s;
        white-space: nowrap;
        font-family: inherit;
    }

        .newsletter-form button:hover {
            background: #000;
        }

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
}

.footer-top {
    padding: 70px 20px 5px;
}

    .footer-top .container {
        max-width: 1220px;
        margin: 0 auto;
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-brand .footer-logo {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

    .footer-brand .footer-logo span {
        color: var(--red);
    }

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 10px;
}

    .footer-socials a {
        width: 36px;
        height: 36px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255,255,255,.6);
        font-size: 14px;
        transition: all .2s;
    }

        .footer-socials a:hover {
            background: var(--red);
            border-color: var(--red);
            color: #fff;
        }

.footer-col h4 {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

    .footer-links a {
        font-size: 14px;
        color: rgba(255,255,255,.6);
        transition: color .2s;
        display: flex;
        align-items: center;
        gap: 8px;
    }

        .footer-links a::before {
            content: '›';
            font-size: 16px;
            color: var(--red);
        }

        .footer-links a:hover {
            color: var(--red);
        }

.footer-contact-item {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

    .footer-contact-item i {
        color: var(--red);
        width: 16px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .footer-contact-item span {
        font-size: 13px;
        line-height: 1.55;
    }

.footer-bottom .footer-bottom-inner {
    max-width: 1220px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

    .footer-bottom-links a {
        color: rgba(255,255,255,.5);
        transition: color .2s;
    }

        .footer-bottom-links a:hover {
            color: var(--red);
        }

/* ===== BACK TO TOP ===== */
.back-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: var(--red);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all .3s;
    box-shadow: 0 8px 25px rgba(230,51,41,.4);
}

    .back-top.show {
        opacity: 1;
        transform: translateY(0);
    }

    .back-top:hover {
        transform: translateY(-4px);
    }

/* ===== SUCCESS MODAL ===== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(0,0,0,.7);
    align-items: center;
    justify-content: center;
}

    .modal.open {
        display: flex;
        animation: fadeIn .3s ease;
    }

.modal-inner {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    position: relative;
    animation: zoomIn .3s ease;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    background: none;
    border: none;
}

.modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal-sub {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
    line-height: 1.6;
}

.success-icon {
    width: 70px;
    height: 70px;
    background: rgba(46,204,113,.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

    .success-icon i {
        color: #2ecc71;
        font-size: 32px;
    }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px) {
    .hero-content .container {
        grid-template-columns: 1fr;
    }

    .hero-image-wrap {
        display: none;
    }

    .about-split,
    .impact-section,
    .testimonial {
        grid-template-columns: 1fr;
    }

    .impact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .about-img-grid {
        height: 260px;
    }

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .newsletter .newsletter-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width:768px) {
    .topbar {
        display: none;
    }

    .nav-links, .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .pillars-grid,
    .work-grid,
    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .mini-features {
        grid-template-columns: 1fr 1fr;
    }

    .counters-strip {
        grid-template-columns: 1fr;
    }

    .counter-item {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

        .counter-item:last-child {
            border-bottom: none;
        }

    .impact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .join-banner {
        padding: 20px;
    }

    .join-banner-container {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form input {
            border-radius: 8px;
        }

        .newsletter-form button {
            border-radius: 8px;
        }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .testi-content {
        padding: 40px 24px;
    }

    .about-split {
        padding: 60px 20px;
    }

    .stats-bar .btn {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width:540px) {
    .pillars-grid,
    .work-grid,
    .team-grid,
    .mini-features {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
    }

    .hero-stats {
        gap: 18px;
    }
}
