/**
 * NGO Portal - Custom Styles
 * Modern, Premium Design
 */

:root {
    --primary-color: #3f449a;
    --primary-dark: #2e317d;
    --secondary-color: #e91e63;
    --secondary-dark: #c2185b;
    --accent-color: #ffd700;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Attractive Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #f1f1f1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* ========================================
   HEADER STYLES - Three-Tier Design
   ======================================== */

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icon {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.75rem;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

.news-ticker {
    display: flex;
    align-items: center;
    overflow: hidden;
    flex: 1;
}

.news-badge {
    background: var(--secondary-color);
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 0.75rem;
    font-size: 0.75rem;
}

.ticker-content {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content span {
    display: inline-block;
    animation: ticker 30s linear infinite;
    padding-left: 100%;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.top-contact {
    color: white;
    font-weight: 500;
}

.top-contact i {
    color: var(--secondary-color);
}

/* Main Header */
.main-header {
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-logo img {
    transition: var(--transition);
}

.header-logo:hover img {
    transform: scale(1.05);
}

.org-name {
    display: flex;
    flex-direction: column;
}

.org-acronym {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.org-full-name {
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-donate {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: white;
}

.language-selector {
    padding: 0.4rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.85rem;
    background: white;
    cursor: pointer;
    transition: var(--transition);
}

.language-selector:focus {
    outline: none;
    border-color: var(--primary-color);
}

.google-translate-badge {
    font-size: 0.7rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

/* Main Navigation */
.main-nav {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-wrapper {
    position: relative;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 0.75rem;
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-link i.fas.fa-home {
    font-size: 1.1rem;
}

.nav-link i.fa-chevron-down {
    font-size: 0.7rem;
    margin-left: 0.25rem;
}

/* Fix double dropdown icons */
.dropdown-toggle::after {
    display: none !important;
}

/* Dropdown Menu */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    padding: 0.5rem 0;
    margin: 0;
    list-style: none;
    z-index: 1001;
}

.dropdown-item {
    color: var(--text-dark);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-top: 1px solid #e9ecef;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .org-full-name {
        display: none;
    }

    .org-acronym {
        font-size: 1.2rem;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .btn-donate {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .language-selector {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    .google-translate-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .top-bar {
        font-size: 0.75rem;
        padding: 0.4rem 0;
        display: block !important;
        /* Forces top bar to show on mobile */
    }

    .top-bar .news-ticker {
        display: none !important;
        /* Hide ticker on mobile to save space for icons */
    }

    .top-bar .social-icons {
        margin: 0 auto !important;
        display: flex;
        justify-content: center;
    }

    .top-bar .top-contact {
        display: block !important;
        text-align: center;
        margin-top: 5px;
        font-size: 0.8rem;
    }

    .main-header {
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        z-index: 1020;
    }

    .header-logo img {
        height: 75px !important;
        /* Increased logo size from 50px */
    }

    * {
        -webkit-tap-highlight-color: transparent;
        /* Remove blue highlight on tap */
        touch-action: manipulation;
        /* Faster taps */
    }

    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .news-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .ticker-content span {
        font-size: 0.75rem;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        position: absolute;
        top: 100%;
        left: 0;
        padding: 1rem 0;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 0.85rem 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.2);
        border-radius: 0;
        margin-left: 0;
    }

    .nav-item.dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-item {
        color: white;
        padding: 0.75rem 2rem;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    /* App-like Card Adjustments */
    .card {
        border-radius: 20px !important;
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem !important;
    }

    .hero-buttons {
        display: flex;
        gap: 10px;
    }

    .btn-lg {
        padding: 0.75rem 0.5rem;
        width: 100%;
        font-size: 0.85rem !important;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }

    .btn-lg i {
        margin-right: 5px !important;
    }

    /* Hero Slider Mobile Fix */
    .hero-slide {
        min-height: 450px !important;
        background-attachment: scroll !important;
    }

    .hero-content {
        padding: 1.5rem 1rem !important;
        backdrop-filter: none !important;
        /* 0px blur for mobile */
        -webkit-backdrop-filter: none !important;
        background: rgba(0, 0, 0, 0.3) !important;
        margin: 0 10px;
        width: calc(100% - 20px);
        box-shadow: none !important;
        border: none !important;
        border-radius: 12px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
        text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8) !important;
    }
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(63, 68, 154, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 68, 154, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========================================
   HERO SLIDER STYLES
   ======================================== */

.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
}

.min-vh-70 {
    min-height: 70vh;
}

.hero-content {
    color: white;
    z-index: 2;
    position: relative;
    background: rgba(0, 0, 0, 0.25);
    /* Adjusted for low blur */
    backdrop-filter: blur(1px);
    /* 1px blur as requested */
    -webkit-backdrop-filter: blur(1px);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 6px solid var(--secondary-color);
    max-width: fit-content;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn {
    min-width: 160px;
    font-size: 1rem;
    padding: 0.875rem 2rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 24px;
    height: 24px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators [data-mdb-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    transition: var(--transition);
}

.carousel-indicators .active {
    background-color: white;
    width: 40px;
    border-radius: 6px;
}

/* Slide Animation */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.carousel-item.active .hero-content {
    animation: slideUp 0.8s ease-out;
}

/* Carousel Fade Effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Responsive Hero Slider */
@media (max-width: 991px) {
    .hero-slide {
        min-height: 60vh;
    }

    .min-vh-70 {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons .btn {
        min-width: 140px;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-slide {
        min-height: 50vh;
    }

    .min-vh-70 {
        min-height: 50vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }

    .carousel-control-prev {
        left: 1rem;
    }

    .carousel-control-next {
        right: 1rem;
    }

    .carousel-indicators {
        bottom: 1rem;
    }
}

/* ========================================
   NEW HOMEPAGE SECTIONS
   ======================================== */

/* President's Message */
.president-message-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.president-message-content blockquote {
    margin: 0;
}

.president-signature {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #dee2e6;
}

/* Latest Activities */
.activity-card {
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.activity-icon {
    text-align: center;
}

.activity-date {
    font-weight: 500;
}

/* Photo Gallery Carousel */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-card img {
    transition: var(--transition);
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-caption {
    font-weight: 500;
    color: var(--text-dark);
}

#galleryCarousel .carousel-control-prev-icon,
#galleryCarousel .carousel-control-next-icon {
    filter: none;
}

/* Team Members */
.team-card {
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.team-image-wrapper img {
    transition: var(--transition);
}

.team-card:hover .team-image-wrapper img {
    transform: scale(1.1);
}

.team-social .btn {
    width: 35px;
    height: 35px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social .btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   ENHANCED PROGRAMS SECTION
   ======================================== */

.programs-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: none;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.program-icon-wrapper {
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.program-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: var(--transition);
}

.program-card:hover .program-icon-wrapper::before {
    top: -100%;
    right: -100%;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.bg-gradient-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.bg-gradient-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, #f58220 0%, #d66e1a 100%);
}

.program-content {
    padding: 2rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.program-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.program-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.program-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.program-features li i {
    margin-right: 0.5rem;
}

/* ========================================
   ENHANCED STATISTICS SECTION
   ======================================== */

.stats-section-enhanced {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.stats-section-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.stat-card-enhanced {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 1;
}

.stat-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-card-enhanced .stat-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.stat-card-enhanced .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-card-enhanced .stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   LOCATE US SECTION
   ======================================== */

.location-info {
    padding: 1rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.info-card .icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 122, 79, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.info-card .icon-wrapper i {
    transition: var(--transition);
}

.info-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

.info-card h5 {
    color: var(--text-dark);
    font-weight: 700;
}

.map-container {
    position: relative;
}

.map-container iframe {
    width: 100%;
    transition: var(--transition);
}

.map-container iframe:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.map-container-full {
    width: 100%;
    margin: 0;
    padding: 0;
}

.map-container-full iframe {
    display: block;
    width: 100%;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .president-message-content {
        padding: 1.5rem;
    }

    .president-message-content p {
        font-size: 1rem !important;
    }

    .gallery-card img {
        height: 200px;
    }
}

/* Hero Section (Legacy - keeping for compatibility) */

.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(45, 122, 79, 0.9), rgba(30, 84, 56, 0.9)),
        url('../images/hero-bg.jpg') center/cover no-repeat;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Progress Bar */
.progress {
    height: 12px;
    border-radius: 10px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Section Titles */
.section-title {
    position: relative;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* Campaign Card */
.campaign-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.campaign-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.campaign-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.campaign-content {
    padding: 1.5rem;
}

.campaign-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.campaign-progress {
    margin: 1rem 0;
}

.campaign-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Team Member Card */
.team-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid var(--bg-light);
    box-shadow: var(--shadow-sm);
}

.team-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.team-designation {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    color: white;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Forms */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 122, 79, 0.15);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
}

.hover-link:hover {
    color: var(--primary-color) !important;
    padding-left: 5px;
}

/* Animations */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-gradient-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #e67316);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

.rounded-custom {
    border-radius: 15px;
}

/* Loading Spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

/* ========================================
   ENHANCED REPORTS & ACTIONS
   ======================================== */
.bg-primary-soft {
    background-color: rgba(45, 122, 79, 0.1) !important;
}

/* Enhanced Reports Section */
.report-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    background: white;
}

.report-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.report-card .icon-box {
    width: 80px;
    height: 80px;
    background: rgba(45, 122, 79, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.report-card:hover .icon-box {
    background: var(--primary-color);
    transform: scale(1.1);
}

.report-card:hover .icon-box i {
    color: white !important;
}

/* Enhanced Action Buttons */
.action-card {
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: transparent;
}

.action-card .icon-wrapper {
    transition: transform 0.3s ease;
}

.action-card:hover .icon-wrapper {
    transform: scale(1.1);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ========================================
   FINANCIAL & TESTIMONIAL SECTION
   ======================================== */
.financial-review-section {
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)), url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    position: relative;
    overflow: hidden;
}

.script-text {
    font-family: 'Yellowtail', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
}

.text-purple {
    color: #e056fd;
}

.text-yellow {
    color: #fca311;
}

.fin-table {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 1rem;
}

.fin-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s;
}

.fin-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.fin-table tr:last-child {
    border-bottom: none;
}

.fin-table td {
    padding: 12px 20px;
    font-size: 0.95rem;
    vertical-align: middle;
    color: rgba(255, 255, 255, 0.9);
}

.fin-table td:first-child {
    font-weight: 600;
    width: 45%;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.feedback-tag {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 0px;
}

.feedback-tag::before,
.feedback-tag::after {
    content: '';
    height: 2px;
    width: 30px;
    background-color: #e056fd;
}

.quote-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.donor-name {
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
}

/* Custom Navigation for Testimonial */
.testimonial-nav .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.testimonial-nav .btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ========================================
   DIGITAL MEDIA SECTION
   ======================================== */
.digital-media-section {
    background: white;
    padding: 3rem 0 5rem;
}

.media-title {
    font-size: 2.2rem;
    color: black;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.media-title .script-text {
    font-size: 3.5rem;
    color: #fca311;
    text-transform: none;
    line-height: 0.8;
}

.btn-splash {
    background: #d63384;
    color: white;
    font-weight: 700;
    padding: 12px 35px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.1);
    transform: rotate(-2deg);
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.btn-splash:hover {
    transform: rotate(0deg) scale(1.05);
    color: white;
    background: #c2185b;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.15);
}

.video-card {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s;
    background: black;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.video-card:hover .video-thumb {
    opacity: 0.7;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 40px;
    background: red;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 14px;
    border-color: transparent transparent transparent white;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.media-control-prev,
.media-control-next {
    width: 40px;
    height: 40px;
    background: #ff69b4;
    border-radius: 50%;
    opacity: 1;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s;
}

.media-control-prev:hover,
.media-control-next:hover {
    background: #d63384;
}

.media-control-prev {
    left: -20px;
}

.media-control-next {
    right: -20px;
}

/* ========================================
   ENHANCED PHOTO GALLERY
   ======================================== */
.gallery-card {
    border-radius: 15px;
    background: transparent;
    transition: transform 0.3s ease;
    text-align: center;
    margin-bottom: 1rem;
}

.gallery-card:hover {
    transform: translateY(-5px);
}

.gallery-card img {
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: all 0.3s ease;
}

.gallery-card:hover img {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}

.gallery-caption p {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

/* Gallery Carousel Controls */
.gallery-control-prev,
.gallery-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    /* Hidden by default for cleaner look, show on hover? Or just show. User said fix scroll button. */
    opacity: 1;
    transition: all 0.3s;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-control-prev:hover,
.gallery-control-next:hover {
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
}

.gallery-control-prev {
    left: -25px;
}

.gallery-control-next {
    right: -25px;
}

@media (max-width: 768px) {
    .gallery-control-prev {
        left: 0;
    }

    .gallery-control-next {
        right: 0;
    }
}

/* View All Button */
.btn-view-all {
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(45, 122, 79, 0.3);
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   OUR TEAM SECTION
   ======================================== */
.team-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px 5px;
    /* Padding for shadow clipping */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-scroll-container::-webkit-scrollbar {
    display: none;
}

.team-item {
    flex: 0 0 85%;
    /* Mobile: Show slightly less than full width to hint scroll, or 100%? User said "one card show". I'll use 85% with centering to peek next card. */
    scroll-snap-align: center;
}

@media (min-width: 576px) {
    .team-item {
        flex: 0 0 50%;
    }
}

@media (min-width: 992px) {
    .team-item {
        flex: 0 0 25%;
    }
}

.team-card {
    background: white;
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    /* Soft diffuse shadow */
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-5px);
}

.initials-avatar {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bg-team-green {
    background: var(--primary-color);
}

.bg-team-pink {
    background: var(--secondary-color);
}

.bg-team-darkindigo {
    background: var(--primary-dark);
}

.team-card h5 {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.25rem;
}

.team-card .role {
    color: #95a5a6;
    font-size: 0.85rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.team-social-btn {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.team-social-btn:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-team {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 10px 30px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: 0.3s;
}

.btn-outline-team:hover {
    background: var(--primary-color);
    color: white;
}

.team-wrapper {
    position: relative;
    padding: 0 10px;
}

.team-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.team-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.team-prev {
    left: -15px;
}

.team-next {
    right: -15px;
}

@media (max-width: 768px) {
    .team-prev {
        left: 0;
    }

    .team-next {
        right: 0;
    }
}

/* ========================================
   OUR PROGRAMS SECTION
   ======================================== */
.program-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
    height: 100%;
    background: white;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-header {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.program-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.program-card:hover .program-header img {
    transform: scale(1.1);
}

.program-body {
    padding: 25px;
    text-align: left;
}

.program-title {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.program-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.program-list li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1rem;
}

/* Carousel / Scroll Styles */
.program-wrapper {
    position: relative;
    padding: 0 10px;
}

.program-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* IE */
}

.program-scroll-container::-webkit-scrollbar {
    display: none;
}

.program-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {
    .program-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 992px) {
    .program-item {
        flex: 0 0 30%;
    }
}

.program-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.program-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.program-prev {
    left: -20px;
}

.program-next {
    right: -20px;
}

@media (max-width: 768px) {
    .program-prev {
        left: 0;
    }

    .program-next {
        right: 0;
    }
}

/* ========================================
   OUR PROGRAMS SECTION
   ======================================== */
.program-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
    height: 100%;
    background: white;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-header {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Diagonal Overlay Effect */
.program-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1), transparent);
    transform: skewX(-20deg) translateX(50%);
    pointer-events: none;
}

.program-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: rgba(0, 0, 0, 0.05);
    /* Darker diagonal shade */
    transform: rotate(25deg);
    pointer-events: none;
}

.bg-p-indigo {
    background-color: var(--primary-color);
}

.bg-p-pink {
    background-color: var(--secondary-color);
}

.bg-p-accent {
    background-color: var(--accent-color);
}

.program-icon {
    font-size: 3.5rem;
    color: white;
    z-index: 2;
    position: relative;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.program-body {
    padding: 30px 25px;
    text-align: left;
}

.program-title {
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 1.35rem;
}

.program-desc {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-list li {
    margin-bottom: 10px;
    color: #555;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.program-list li i {
    color: var(--primary-color);
    /* Check color */
    margin-right: 12px;
    font-size: 1rem;
}

/* ========================================
   GALLERY & MEDIA SCROLL
   ======================================== */
.gallery-wrapper,
.media-wrapper {
    position: relative;
    padding: 0 10px;
}

.gallery-scroll-container,
.media-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 25px;
    padding: 20px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-scroll-container::-webkit-scrollbar,
.media-scroll-container::-webkit-scrollbar {
    display: none;
}

.gallery-item,
.media-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
}

@media (min-width: 768px) {

    .gallery-item,
    .media-item {
        flex: 0 0 45%;
    }
}

@media (min-width: 992px) {

    .gallery-item,
    .media-item {
        flex: 0 0 30%;
    }
}

/* Reuse Nav Button Styles but allow custom positioning/class */
.gallery-nav-btn,
.media-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 100;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.gallery-nav-btn:hover,
.media-nav-btn:hover {
    background: var(--primary-color);
    color: white;
}

.gallery-prev,
.media-prev {
    left: -20px;
}

.gallery-next,
.media-next {
    right: -20px;
}

@media (max-width: 768px) {

    .gallery-prev,
    .media-prev {
        left: 0;
    }

    .gallery-next,
    .media-next {
        right: 0;
    }
}

/* ========================================
   SDG SECTION
   ======================================== */
.sdg-tile {
    width: 65px;
    height: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.sdg-tile:hover {
    transform: translateY(-5px);
}

.sdg-num {
    font-size: 0.75rem;
    position: absolute;
    top: 3px;
    left: 5px;
    font-weight: 700;
    line-height: 1;
}