/* Custom CSS for FFFOUNDATION Website */

:root {
    --primary-color: #0066CC;
    --primary-dark: #0052A3;
    --secondary-color: #FF6B35;
    --danger-color: #DC3545;
    --dark-color: #333333;
    --light-color: #F8F9FA;
    --text-light: #6C757D;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--dark-color);
    line-height: 1.7;
}

.director-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Header Styles */
.header {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.navbar {
    padding: 15px 0 !important;
}

.navbar-brand {
    text-decoration: none;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    max-width: 220px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(0, 102, 204, 0.2));
}

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

.logo-dots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    width: 42px;
    height: 42px;
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }
.dot:nth-child(4) { animation-delay: 0.6s; }
.dot:nth-child(5) { animation-delay: 0.8s; }
.dot:nth-child(6) { animation-delay: 1s; }
.dot:nth-child(7) { animation-delay: 1.2s; }
.dot:nth-child(8) { animation-delay: 1.4s; }
.dot:nth-child(9) { animation-delay: 1.6s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.9); }
}

.logo-circle {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text-small {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.logo-text-large {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--dark-color) !important;
    padding: 12px 20px !important;
    transition: all 0.3s ease;
    position: relative;
    margin: 0 5px;
    border-radius: 6px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background: rgba(0, 102, 204, 0.05);
}

.nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 700;
}

.search-btn {
    border: none;
    background: none;
    font-size: 1.15rem;
    padding: 14px 18px;
}

.donate-btn-header {
    background: linear-gradient(135deg, #DC3545, #C82333) !important;
    color: white !important;
    padding: 14px 32px !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    border: none;
    position: relative;
    overflow: hidden;
}

.donate-btn-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.donate-btn-header:hover::before {
    left: 100%;
}

.donate-btn-header:hover {
    background: linear-gradient(135deg, #C82333, #BD2130) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.donate-btn-header:active {
    transform: translateY(0);
}

.header-separator {
    height: 4px;
    background: linear-gradient(90deg, 
        var(--primary-color) 0%, 
        var(--secondary-color) 50%, 
        var(--primary-color) 100%);
    width: 100%;
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
}

.navbar-toggler
 {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background: rgba(0, 102, 204, 0.1);
    transform: scale(1.05);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.25);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 85vh;
    min-height: 700px;
    max-height: 900px;
    overflow: hidden;
    width: 100%;
}

.hero-slider .carousel {
    height: 100%;
    width: 100%;
}

.hero-slider .carousel-inner {
    height: 100%;
    width: 100%;
}

.carousel-item {
    height: 85vh;
    min-height: 700px;
    max-height: 900px;
    display: block;
    position: relative;
}

.carousel-item.active {
    display: block;
}

.hero-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0066CC;
}

.hero-content-wrapper {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 80px 0;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-tagline-box {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
}

.hero-title-main {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    padding: 0;
    max-width: 90%;
}

.btn-hero-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #28a745;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
}

.btn-hero-contact:hover {
    background: #218838;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-chevrons {
    font-size: 1.2rem;
    font-weight: 700;
}

.hero-slide::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60%;
    background: linear-gradient(to right, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.carousel-indicators {
    bottom: 50px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    border: 2px solid rgba(255,255,255,0.8);
    margin: 0 8px;
    opacity: 1;
    transition: all 0.3s;
}

.carousel-indicators button:hover {
    background: rgba(255,255,255,0.9);
    transform: scale(1.2);
}

.carousel-indicators .active {
    background: var(--secondary-color);
    border-color: white;
    width: 16px;
    height: 16px;
    transform: scale(1.1);
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    opacity: 0.8;
    transition: all 0.3s;
    margin: 0 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.privacy-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.75rem;
    z-index: 10;
    opacity: 0.8;
}

/* Sections */
.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.mission-section {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    padding: 100px 0;
    position: relative;
}

.mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Who We Are Section - Enhanced Design */
.cta-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(246, 146, 30, 0.15);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.cta-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.cta-icon:hover::before {
    left: 100%;
}

.cta-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(246, 146, 30, 0.25);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: white;
}

.mission-section .row > [class*="col-"]:hover .cta-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(246, 146, 30, 0.25);
}

.cta-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.mission-section .row > [class*="col-"]:hover .cta-title {
    color: var(--secondary-color);
}

.cta-text {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.mission-section .row > [class*="col-"] {
    transition: transform 0.3s ease;
}

.mission-section .row > [class*="col-"]:hover {
    transform: translateY(-5px);
}

.call-us-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(246, 146, 30, 0.15);
}

.call-us-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(246, 146, 30, 0.3);
}

.mission-section .lead {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.mission-section .badge.bg-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: #000 !important;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    transition: all 0.3s ease;
}

.mission-section .badge.bg-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
}

.mission-section .section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--dark-color);
    letter-spacing: -1px;
    margin-bottom: 25px;
    line-height: 1.2;
}

.mission-section .btn-primary {
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-section .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.mission-section .btn-primary:hover::before {
    left: 100%;
}

.mission-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

/* Mission & Vision Section */
.mission-vision-section {
    background: white;
    padding: 100px 0;
    position: relative;
}

.mission-vision-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.mission-vision-card {
    background: linear-gradient(to bottom, #ffffff 0%, #fafafa 100%);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mission-vision-card:hover::before {
    transform: scaleX(1);
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
}

.mission-vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
    position: relative;
    overflow: hidden;
}

.mission-vision-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.mission-vision-card:hover .mission-vision-icon::before {
    width: 200px;
    height: 200px;
}

.mission-vision-card:hover .mission-vision-icon {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ff8c00 100%);
}

.mission-vision-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 15px;
}

.mission-vision-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.mission-vision-card:hover .mission-vision-title::after {
    width: 100px;
}

.mission-vision-card:hover .mission-vision-title {
    color: var(--primary-dark);
}

.mission-vision-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin: 0;
    transition: color 0.3s ease;
}

.mission-vision-card:hover .mission-vision-text {
    color: #333;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
}

/* Our Work Section */
.our-work-section {
    background: white;
    position: relative;
}

.our-work-header-section {
    background: #2d5a3d;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px),
        repeating-linear-gradient(-45deg, transparent, transparent 2px, rgba(0,0,0,0.1) 2px, rgba(0,0,0,0.1) 4px);
    padding: 80px 0;
    position: relative;
}

.our-work-badge {
    display: block;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.our-work-title {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    text-shadow: 
        -2px -2px 0 #1a3d2a,
        2px -2px 0 #1a3d2a,
        -2px 2px 0 #1a3d2a,
        2px 2px 0 #1a3d2a;
    letter-spacing: 1px;
}

.orange-dot {
    color: var(--secondary-color);
    margin: 0 10px;
    font-size: 2.5rem;
    vertical-align: middle;
}


.our-work-carousel-wrapper {
    position: relative;
}

.our-work-card {
    background: #b8e0d5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.our-work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.our-work-card-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #e6f1ed;
}

.our-work-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.our-work-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.our-work-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.our-work-card-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.btn-our-work-know-more {
    display: inline-block;
    background: #2d5a3d;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s;
    align-self: flex-start;
}

.btn-our-work-know-more:hover {
    background: #1a3d2a;
    color: white;
    transform: translateX(5px);
}

.our-work-prev,
.our-work-next {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    opacity: 1;
    transition: all 0.3s;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
    border: 2px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    pointer-events: auto;
    position: absolute;
    user-select: none;
    -webkit-user-select: none;
}

.our-work-prev:hover,
.our-work-next:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transform: translateY(-50%) scale(1.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.our-work-prev:active,
.our-work-next:active {
    transform: translateY(-50%) scale(0.95);
}

.our-work-prev {
    left: 15px;
}

.our-work-next {
    right: 15px;
}

.our-work-prev i,
.our-work-next i {
    font-size: 1.8rem;
    font-weight: 700;
}

.our-work-carousel-wrapper {
    position: relative;
    padding: 0 60px;
}

#ourWorkCarousel.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

#ourWorkCarousel.carousel-fade .carousel-item.active,
#ourWorkCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#ourWorkCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

#ourWorkCarousel.carousel-fade .active.carousel-item-start,
#ourWorkCarousel.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

#ourWorkCarousel.carousel-fade .carousel-item-next,
#ourWorkCarousel.carousel-fade .carousel-item-prev,
#ourWorkCarousel.carousel-fade .carousel-item.active,
#ourWorkCarousel.carousel-fade .active.carousel-item-start,
#ourWorkCarousel.carousel-fade .active.carousel-item-prev {
    transform: none;
}

#ourWorkCarousel .carousel-item {
    transition: opacity 2.5s ease-in-out !important;
}

#ourWorkCarousel.carousel-fade .carousel-item {
    transition: opacity 2.5s ease-in-out !important;
}

#ourWorkCarousel.carousel-fade .carousel-item.active,
#ourWorkCarousel.carousel-fade .carousel-item-next.carousel-item-start,
#ourWorkCarousel.carousel-fade .carousel-item-prev.carousel-item-end {
    transition: opacity 2.5s ease-in-out !important;
}

#ourWorkCarousel.carousel-fade .active.carousel-item-start,
#ourWorkCarousel.carousel-fade .active.carousel-item-end {
    transition: opacity 2.5s ease-in-out !important;
}

#ourWorkCarousel .carousel-item.active {
    display: block;
}

#ourWorkCarousel .carousel-item:not(.active) {
    display: none;
}

@media (max-width: 768px) {
    .our-work-carousel-wrapper {
        padding: 0 50px;
    }

    .our-work-prev {
        left: 10px;
    }

    .our-work-next {
        right: 10px;
    }
}

.stat-card {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0.95;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Impact Section */
.impact-section {
    background: var(--light-color);
    padding: 100px 0;
}

.impact-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.impact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.impact-image {
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.impact-card:hover .impact-image img {
    transform: scale(1.08);
}

/* News Section */
.news-section {
    background: white;
    padding: 100px 0;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.news-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    padding: 4px 12px;
    background: rgba(0, 102, 204, 0.1);
    border-radius: 4px;
}

.news-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.news-content p {
    color: var(--text-light);
    flex: 1;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.news-link:hover {
    color: var(--primary-dark);
    gap: 8px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 3rem;
    font-weight: 700;
}

.cta-section .lead {
    font-size: 1.3rem;
}

/* Footer */
/* Footer Styles */
.footer {
    background: #2c3e50;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.footer-top {
    padding: 50px 0 35px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-top .row {
    margin-left: -10px;
    margin-right: -10px;
}

.footer-top .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-description {
    color: #e8e8e8;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '▸';
    position: absolute;
    left: -18px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 20px;
    font-weight: 600;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact {
    color: #e8e8e8;
}

.contact-item {
    margin-bottom: 18px;
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.7;
    color: #d0d0d0;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 4px;
    flex-shrink: 0;
    margin-right: 12px;
}

.contact-item a {
    color: #d0d0d0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.contact-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.3rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.5);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
}

.footer-bottom-content {
    text-align: center;
    color: #b0b0b0;
    font-size: 0.95rem;
}

.footer-bottom-content p {
    margin: 8px 0;
    font-weight: 500;
}

.footer-badge {
    color: #a0a0a0 !important;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

@media (max-width: 768px) {
    .footer-top {
        padding: 40px 0 30px;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-top: 30px;
    }
    
    .footer-title:first-of-type {
        margin-top: 0;
    }
}

/* About/Donate/Events Hero */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

/* Bootstrap Primary Color Override */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

.btn-outline-primary {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Donate Form Styles */
.amount-btn.active {
    background: var(--primary-color) !important;
    color: white !important;
    border-color: var(--primary-color) !important;
}

/* Responsive */
@media (max-width: 968px) {
    .hero-slider {
        height: 70vh;
        min-height: 500px;
    }

    .hero-content-wrapper {
        padding: 60px 20px;
    }

    .hero-title-main {
        font-size: 2.2rem;
        line-height: 1.2;
        max-width: 100%;
        letter-spacing: -0.3px;
    }

    .hero-slide::before {
        width: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
        margin: 0 15px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }

    .hero-content-wrapper {
        padding: 40px 20px;
    }

    .hero-title-main {
        font-size: 1.6rem;
        line-height: 1.25;
        max-width: 100%;
        letter-spacing: -0.2px;
    }

    .hero-tagline-box {
        font-size: 0.875rem;
        padding: 10px 18px;
        margin-bottom: 20px;
    }

    .btn-hero-contact {
        font-size: 1rem;
        padding: 14px 28px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
    }

    .carousel-indicators {
        bottom: 30px;
    }

    .carousel-indicators button {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }

    .carousel-indicators .active {
        width: 14px;
        height: 14px;
    }

    .who-we-are-image-section,
    .who-we-are-content-section {
        min-height: 400px;
    }

    .circular-image-cutout {
        width: 280px;
        height: 280px;
    }

    .who-we-are-content-wrapper {
        padding: 40px 30px;
    }

    .who-we-are-title {
        font-size: 2rem;
    }

    .who-we-are-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .mission-section,
    .mission-vision-section,
    .stats-section,
    .impact-section,
    .news-section,
    .cta-section {
        padding: 60px 0;
    }

    .mission-vision-card {
        padding: 30px;
        margin-bottom: 30px;
    }

    .mission-vision-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .mission-vision-title {
        font-size: 1.75rem;
    }

    .mission-vision-text {
        font-size: 1rem;
    }
}

/* Gallery Styles */
.gallery-card {
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.gallery-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0;
    cursor: pointer;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.05);
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes zoomIn {
    from { transform: scale(0.8); }
    to { transform: scale(1); }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: color 0.3s ease;
    line-height: 1;
}

.lightbox-close:hover {
    color: #ccc;
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 18px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 5px;
    max-width: 80%;
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .lightbox-caption {
        font-size: 16px;
        bottom: 10px;
        padding: 8px 15px;
    }
}

@media (max-width: 768px) {
    .gallery-image-wrapper {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .gallery-image-wrapper {
        height: 200px;
    }
}

/* About Page Styles */
.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.title-underline-white {
    width: 80px;
    height: 4px;
    background: white;
    border-radius: 2px;
}

.about-content {
    line-height: 1.8;
}

/* Donate Section Styles */
.donate-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 0;
    position: relative;
}

.donate-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.donate-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.donate-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

.donate-form-header {
    background: var(--primary-color);
    color: white;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donate-form-header-text {
    font-weight: 600;
    font-size: 1rem;
}

.donate-form-header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.donate-form-steps {
    display: flex;
    gap: 8px;
}

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

.step-dot.active {
    background: white;
    width: 10px;
    height: 10px;
}

.donate-form-body {
    padding: 35px 30px;
}

.donate-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 25px;
    line-height: 1.4;
    text-align: center;
}

.donate-frequency-toggle {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
}

.frequency-btn {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.frequency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.frequency-btn:hover::before {
    left: 100%;
}

.frequency-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.frequency-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transform: scale(1.02);
}

.donate-amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 25px;
}

.amount-btn {
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.amount-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.amount-btn:hover::before {
    width: 200px;
    height: 200px;
}

.amount-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.amount-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transform: scale(1.05);
}

.custom-amount-input {
    margin-top: 20px;
    margin-bottom: 25px;
}

.custom-amount-label {
    display: block;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.custom-amount-input .form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.custom-amount-input .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-check {
    padding-left: 0;
    margin-bottom: 25px;
    padding: 12px 15px;
    background: rgba(0, 102, 204, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-check:hover {
    background: rgba(0, 102, 204, 0.06);
}

.form-check-input {
    margin-top: 0.3rem;
    margin-right: 12px;
    width: 22px;
    height: 22px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-label {
    font-size: 0.95rem;
    color: var(--dark-color);
    cursor: pointer;
    font-weight: 500;
}

.btn-donate-next {
    width: 100%;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-donate-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-donate-next:hover::before {
    left: 100%;
}

.btn-donate-next:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.donate-powered-by {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 0;
}

.donate-content {
    padding: 30px 0 30px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.donate-content-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.donate-content-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.donate-content-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    padding: 18px;
    background: linear-gradient(to right, rgba(0, 102, 204, 0.05), transparent);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
}

.donate-impact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.donate-impact-list li {
    padding: 15px 0;
    padding-left: 40px;
    position: relative;
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-bottom: 5px;
    border-radius: 8px;
    padding-right: 15px;
}

.donate-impact-list li:hover {
    background: rgba(0, 102, 204, 0.03);
    padding-left: 50px;
    color: var(--primary-color);
}

.donate-impact-list li:last-child {
    border-bottom: none;
}

.donate-impact-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 18px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.donate-impact-list li:hover::before {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 18px rgba(0, 102, 204, 0.4);
}

.donate-content-conclusion {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    font-weight: 600;
    padding: 15px 18px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.05), rgba(246, 146, 30, 0.05));
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.donate-content-conclusion:last-child {
    margin-bottom: 0;
}

@media (max-width: 968px) {
    .donate-section {
        padding: 60px 0;
    }

    .donate-form-body {
        padding: 35px 25px;
    }

    .donate-content {
        padding: 30px 0;
        margin-top: 40px;
    }

    .donate-content-title {
        font-size: 2.2rem;
    }

    .donate-content-subtitle {
        font-size: 1.4rem;
    }

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

    .donate-form-title {
        font-size: 1.7rem;
    }
}

/* Upcoming Events Section */
.upcoming-events-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.upcoming-events-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.upcoming-event-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.upcoming-event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    z-index: 1;
}

.upcoming-event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.upcoming-event-image-wrapper {
    position: relative;
    width: 100%;
    min-height: 400px;
    overflow: visible;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.upcoming-event-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    background: #f8f9fa;
    transition: transform 0.5s ease;
    display: block;
}

.upcoming-event-card:hover .upcoming-event-image {
    transform: scale(1.02);
}


.upcoming-event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    z-index: 2;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.upcoming-event-content {
    padding: 30px 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.upcoming-event-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.upcoming-event-date::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.upcoming-event-card:hover .upcoming-event-date::before {
    left: 100%;
}

.upcoming-event-card:hover .upcoming-event-date {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.5);
}

.upcoming-event-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 20px;
    line-height: 1.3;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.upcoming-event-card:hover .upcoming-event-title {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.upcoming-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.95rem;
    padding: 8px 12px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.upcoming-event-card:hover .event-meta-item {
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary-color);
    transform: translateX(5px);
}

.event-meta-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.upcoming-event-card:hover .event-meta-item i {
    transform: scale(1.2);
}

.upcoming-event-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
    padding: 15px;
    background: linear-gradient(to right, rgba(0, 102, 204, 0.03), transparent);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upcoming-event-card:hover .upcoming-event-description {
    background: linear-gradient(to right, rgba(0, 102, 204, 0.08), transparent);
    border-left-color: var(--secondary-color);
    transform: translateX(5px);
}

.upcoming-event-activities {
    margin-bottom: 20px;
}

.activities-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(246, 146, 30, 0.1));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.upcoming-event-card:hover .activities-title {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.15), rgba(246, 146, 30, 0.15));
    transform: translateX(5px);
}

.activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activities-list li {
    padding: 10px 0;
    padding-left: 35px;
    position: relative;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin-bottom: 5px;
}

.activities-list li:hover {
    background: rgba(0, 102, 204, 0.05);
    padding-left: 40px;
    color: var(--primary-color);
}

.activities-list li i {
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--primary-color);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.activities-list li:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

.upcoming-event-details {
    margin-top: auto;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.event-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    padding: 10px;
    background: rgba(0, 102, 204, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.event-detail-item:last-child {
    margin-bottom: 0;
}

.event-detail-item:hover {
    background: rgba(0, 102, 204, 0.08);
    transform: translateX(5px);
    color: var(--primary-color);
}

.event-detail-item i {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.event-detail-item:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--secondary-color);
}

/* Past Events Image Styles */
.impact-section .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-section .card-body {
    flex: 1;
}

.past-event-image-wrapper {
    width: 100%;
    height: 450px;
    background: #f8f9fa;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.past-event-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f8f9fa;
}

.impact-section .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.impact-section .card-title {
    margin-bottom: 6px;
}

.impact-section .card-text,
.impact-section .text-muted {
    margin-bottom: 6px;
}

@media (max-width: 968px) {
    .upcoming-event-image-wrapper {
        min-height: 280px;
    }

    .upcoming-event-content {
        padding: 25px 20px;
    }

    .upcoming-event-title {
        font-size: 1.5rem;
    }

    .upcoming-event-meta {
        flex-direction: column;
        gap: 12px;
    }

    .past-event-image-wrapper {
        height: 340px;
    }
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.contact-form-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

.contact-form-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.2;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.contact-form-card .form-control {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.contact-form-card textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-contact-submit {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.btn-contact-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-contact-submit:hover::before {
    left: 100%;
}

.btn-contact-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.4);
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    height: 100%;
}

.contact-info-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-info-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-info-items {
    margin-bottom: 35px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(to right, rgba(0, 102, 204, 0.03), transparent);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: linear-gradient(to right, rgba(0, 102, 204, 0.08), transparent);
    transform: translateX(5px);
    border-left-color: var(--secondary-color);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.contact-info-content h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.contact-info-content p {
    font-size: 1rem;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-social {
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.contact-social h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-social .social-icons {
    display: flex;
    gap: 12px;
}

.contact-social .social-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(246, 146, 30, 0.1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.contact-social .social-icon:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

@media (max-width: 968px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-form-card,
    .contact-info-card {
        padding: 30px 25px;
        margin-bottom: 30px;
    }

    .contact-form-title {
        font-size: 1.7rem;
    }

    .contact-info-title {
        font-size: 1.5rem;
    }
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.1), rgba(255, 107, 53, 0.1));
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    margin: 30px 0;
}

.highlight-box p {
    font-style: italic;
    color: var(--dark-color);
}

.bi-quote {
    font-size: 1.2rem;
    opacity: 0.7;
}

/* Values Section Styles */
.values-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
    overflow: hidden;
}

.values-section::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"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.values-section .container {
    position: relative;
    z-index: 1;
}

.value-card {
    padding: 40px 25px;
    background: #f5f5dc;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.value-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
    background: #fff;
}

.value-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f6921e, #ffa64d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(246, 146, 30, 0.3);
    position: relative;
}

.value-icon-wrapper::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent);
    top: 0;
    left: 0;
}

.value-card:hover .value-icon-wrapper {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 12px 30px rgba(246, 146, 30, 0.5);
}

.value-icon {
    font-size: 3rem;
    color: white;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.value-title {
    color: #2d5016;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 20px 0 10px 0;
    letter-spacing: 0.5px;
}

.value-description {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .value-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .value-card {
        padding: 30px 20px;
    }
    
    .logo-img{
        height: 55px;
        width: auto;
    }
    
    .logo-text-large {
        font-size: 1.4rem;
    }

    .mission-section .section-title {
    font-size: 2.4rem;
    }
    
    .about-hero h1 {
    font-size: 2.4rem;
    }
}
