

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

/* Decorative elements */
.hero-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
}

.hero-blob.blob-1 {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.6), rgba(2, 132, 199, 0.2));
    animation: float 15s ease-in-out infinite;
}

.hero-blob.blob-2 {
    bottom: 15%;
    right: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6), rgba(249, 115, 22, 0.2));
    animation: float 18s ease-in-out infinite reverse;
}

.hero-blob.blob-3 {
    top: 40%;
    right: 25%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.6), rgba(250, 204, 21, 0.2));
    animation: float 12s ease-in-out infinite;
}

.hero-geometric-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.2;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 50px 50px;
    opacity: 0.3;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

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

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.7), 
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.7));
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 90%;
    max-width: 900px;
    z-index: 3;
}

.slide-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

.slide.active .slide-title {
    animation: fadeInUp 1.2s forwards 0.3s;
}

.slide-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.5s;
}

.slide-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-primary);
    color: white;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.7s;
}

.slide-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
    margin: 0 1rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.slider-controls {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    z-index: 10;
}

/* Mission Section - Enhanced to match Next.js version exactly */
.mission-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

/* Background elements - Exact match to Next.js version */
.mission-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(193, 214, 241, 0.8) 0%, 
        rgba(184, 175, 188, 0.8) 50%,
        rgba(224, 242, 254, 0.8) 100%);
    z-index: -2;
}

.mission-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(2, 132, 199, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.5;
    z-index: -1;
}

.mission-geometric {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, rgba(2, 132, 199, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 132, 199, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
    z-index: -1;
}

.mission-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.mission-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.15;
}

.mission-blob.blob-1 {
    top: 10%;
    left: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.6), rgba(2, 132, 199, 0.2));
    animation: float 15s ease-in-out infinite;
}

.mission-blob.blob-2 {
    bottom: 15%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.6), rgba(249, 115, 22, 0.2));
    animation: float 18s ease-in-out infinite reverse;
}

.mission-blob.blob-3 {
    top: 40%;
    right: 25%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.6), rgba(250, 204, 21, 0.2));
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(-15px) translateX(10px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}

.mission-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(2, 132, 199, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mission-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1), 
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* Animated accent lines */
.mission-accent-line {
    position: absolute;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    opacity: 0.7;
    transition: all 0.5s ease;
}

.line-top-left {
    top: 0;
    left: 0;
    width: 100px;
    height: 3px;
    transform-origin: left;
}

.line-top-right {
    top: 0;
    right: 0;
    width: 3px;
    height: 100px;
    transform-origin: top;
}

.line-bottom-left {
    bottom: 0;
    left: 0;
    width: 3px;
    height: 100px;
    transform-origin: bottom;
}

.line-bottom-right {
    bottom: 0;
    right: 0;
    width: 100px;
    height: 3px;
    transform-origin: right;
}

.mission-card:hover .line-top-left,
.mission-card:hover .line-bottom-right {
    width: 150px;
}

.mission-card:hover .line-top-right,
.mission-card:hover .line-bottom-left {
    height: 150px;
}

.mission-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.title-highlight {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    border-radius: 9999px;
}

.quote-container {
    position: relative;
    margin: 2.5rem 0;
    padding: 0 1.5rem;
}

.quote-mark {
    font-size: 5rem;
    line-height: 0;
    position: absolute;
    color: rgba(2, 132, 199, 0.15);
    transition: all 0.5s ease;
}

.quote-mark.left {
    top: 0;
    left: -1rem;
}

.quote-mark.right {
    bottom: -1rem;
    right: -1rem;
    transform: rotate(180deg);
}

.mission-card:hover .quote-mark.left {
    transform: translateY(-5px) scale(1.1);
    color: rgba(2, 132, 199, 0.25);
}

.mission-card:hover .quote-mark.right {
    transform: rotate(180deg) translateY(-5px) scale(1.1);
    color: rgba(249, 115, 22, 0.25);
}

.mission-text {
    font-size: 1.25rem;
    font-weight: 300;
    font-style: italic;
    color: var(--color-text);
    line-height: 1.8;
}

.gradient-line {
    width: 100px;
    height: 3px;
    background: rgba(2, 132, 199, 0.1);
    margin: 2.5rem auto;
    position: relative;
    border-radius: 9999px;
    overflow: hidden;
}

.gradient-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary), var(--color-primary));
    background-size: 200% 100%;
    animation: gradient-x 3s linear infinite;
}

.mission-buttons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .mission-buttons {
        flex-direction: row;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%) rotate(45deg);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover:before {
    transform: translateX(100%) rotate(45deg);
}

.btn-primary {
    background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.2), 0 2px 4px -1px rgba(2, 132, 199, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(2, 132, 199, 0.3), 0 4px 6px -2px rgba(2, 132, 199, 0.1);
}

.btn-secondary {
    background: linear-gradient(to right, var(--color-secondary), var(--color-secondary-dark));
    color: white;
    box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.2), 0 2px 4px -1px rgba(249, 115, 22, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(249, 115, 22, 0.3), 0 4px 6px -2px rgba(249, 115, 22, 0.1);
}

.btn-icon {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(3px);
}

/* Media Queries */
@media (min-width: 768px) {
    .section-title {
        font-size: 3rem;
    }

    .mission-text {
        font-size: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .mission-card {
        padding: 2rem;
    }
}

/* Pillars Section - Exact match to image */
.pillars-section {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(208, 224, 249, 0.8) 0%, 
        rgba(220, 230, 255, 0.9) 50%,
        rgba(230, 225, 255, 0.8) 100%);
}

/* Wave background */
.wave-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200px;
    background-repeat: repeat-x;
    left: -50%;
    z-index: 1;
    opacity: 0.5;
}

.wave-1 {
    top: 20%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    height: 300px;
    border-radius: 50%;
    transform: scaleX(0.5);
}

.wave-2 {
    top: 40%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.4), transparent);
    height: 400px;
    border-radius: 50%;
    transform: scaleX(0.7);
}

.wave-3 {
    bottom: 10%;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
    height: 350px;
    border-radius: 50%;
    transform: scaleX(0.6);
}

.blue-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(135, 206, 250, 0.7), rgba(135, 206, 250, 0.2));
    filter: blur(20px);
    z-index: 1;
}

.red-circle {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 160, 160, 0.7), rgba(255, 160, 160, 0.2));
    filter: blur(20px);
    z-index: 1;
}

.circle-left {
    top: 15%;
    left: 5%;
}

.circle-right {
    bottom: 20%;
    right: 10%;
}

/* Container */
.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

/* Section header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(135, 206, 250, 0.3);
    color: #0078d4;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #333;
}

.title-underline {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.blue-line {
    height: 2px;
    width: 200px;
    background: linear-gradient(to right, #0078d4, #00a1f1);
    border-radius: 2px;
    margin-right: 2px;
}

.orange-line {
    height: 2px;
    width: 200px;
    background: linear-gradient(to right, #f7630c, #ff9e1f);
    border-radius: 2px;
    margin-left: 2px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    color: #555;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* Pillars grid */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

@media (min-width: 640px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Pillar cards */
.pillar-card {
    position: relative;
    height: 100%;
}

.pillar-card-inner {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card accents */
.card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    opacity: 0.7;
}

.card-accent-red {
    background: linear-gradient(to right, #ff6b6b, #ff8787);
}

.card-accent-blue {
    background: linear-gradient(to right, #339af0, #74c0fc);
}

.card-accent-green {
    background: linear-gradient(to right, #40c057, #8ce99a);
}

.card-accent-yellow {
    background: linear-gradient(to right, #fcc419, #ffe066);
}

/* Icon styling */
.pillar-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.pillar-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: relative;
}

.pillar-card[data-color="red"] .pillar-icon {
    background-color: rgba(255, 107, 107, 0.1);
}

.pillar-card[data-color="blue"] .pillar-icon {
    background-color: rgba(51, 154, 240, 0.1);
}

.pillar-card[data-color="green"] .pillar-icon {
    background-color: rgba(64, 192, 87, 0.1);
}

.pillar-card[data-color="yellow"] .pillar-icon {
    background-color: rgba(252, 196, 25, 0.1);
}

.pillar-icon img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

/* Title styling */
.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
}

.pillar-card[data-color="red"] .pillar-title {
    color: #e03131;
}

.pillar-card[data-color="blue"] .pillar-title {
    color: #1971c2;
}

.pillar-card[data-color="green"] .pillar-title {
    color: #2b8a3e;
}

.pillar-card[data-color="yellow"] .pillar-title {
    color: #e67700;
}

/* Description */
.pillar-description {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Animation for staggered appearance */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pillar-card {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.pillar-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pillar-card:nth-child(2) {
    animation-delay: 0.3s;
}

.pillar-card:nth-child(3) {
    animation-delay: 0.5s;
}

.pillar-card:nth-child(4) {
    animation-delay: 0.7s;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.75rem;
    }
}

/* Our Impact Section - Exact match to image */
.impact-section {
    position: relative;
    padding: 2rem 0;
    background: linear-gradient(to right, #2374b5, #8b5e55, #e67e56);
    overflow: hidden;
}

/* Add subtle wave effect at bottom */
.impact-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23FFFFFF'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0.1;
    pointer-events: none;
}

.impact-title {
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

.impact-cards {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .impact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .impact-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

.impact-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2374b5;
    margin-bottom: 0.5rem;
}

.impact-label {
    color: #4b5563;
    font-size: 1rem;
}

.impact-cta {
    text-align: center;
    margin-top: 2rem;
}

.impact-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.375rem;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.impact-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Featured Programs Section - Exact match to image */
.featured-programs-section {
    position: relative;
    padding: 5rem 0;
    background: linear-gradient(135deg, #c7c5e6, #b8b5e1, #d5d0f0);
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

.programs-title {
    text-align: center;
    color: #6c5ce7;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.programs-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a4a4a;
    font-size: 1.125rem;
    line-height: 1.6;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 640px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.program-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.program-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
}

.program-badge.education {
    background-color: #4361ee;
}

.program-badge.agriculture {
    background-color: #2ecc71;
}

.program-badge.supplies {
    background-color: #f39c12;
}

.program-content {
    padding: 1rem;
}

.program-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #333;
}

.program-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.program-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: gap 0.3s ease;
    gap: 0.25rem;
}

.program-link:hover {
    gap: 0.5rem;
}

.education-link {
    color: #4361ee;
}

.agriculture-link {
    color: #2ecc71;
}

.supplies-link {
    color: #f39c12;
}

.arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.program-link:hover .arrow {
    transform: translateX(3px);
}

.programs-cta {
    text-align: center;
    margin-top: 2rem;
}

.view-all-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, #6c5ce7, #a55eea);
    color: white;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3);
}

.view-all-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 92, 231, 0.4);
}

.view-all-button svg {
    transition: transform 0.3s ease;
}

.view-all-button:hover svg {
    transform: translateX(3px);
}

/* Voices of Impact Section - Exact match to image */
.testimonials-section {
    position: relative;
    padding: 5rem 0 8rem;
    background: linear-gradient(135deg, rgba(230, 230, 250, 0.7), rgba(240, 248, 255, 0.7), rgba(255, 239, 213, 0.7));
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
}

.testimonials-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background-color: rgba(100, 149, 237, 0.2);
    color: #4169E1;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0 auto 1rem;
    text-align: center;
    width: fit-content;
    display: block;
}

.testimonials-title {
    text-align: center;
    color: #6c5ce7;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.testimonials-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #4a4a4a;
    font-size: 1.125rem;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.testimonial-quote {
    color: #4a4a4a;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
}

.author-role {
    font-size: 0.875rem;
    color: #666;
}

.wave-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' opacity='0.3'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Footer Section - Exact match to image */
.footer {
    position: relative;
    background: linear-gradient(to bottom right, #151a2c, #1a1f2e, #151a2c);
    color: #e2e8f0;
    padding: 4rem 0 0;
    overflow: hidden;
}

.container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Logo and Brand Section */
.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.logo-box {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
}

#foot_logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}



.footer-tagline {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

/* Quick Links Section */
.footer-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(to right, #3182ce, #63b3ed);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-menu-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #3182ce;
}

.footer-link {
    color: #a0aec0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Contact Section */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    color: #3182ce;
    margin-top: 0.25rem;
}

.contact-text {
    color: #a0aec0;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: color 0.3s ease;
}

a.contact-text:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    padding: 1.5rem 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

.copyright {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        flex-direction: row;
        justify-content: space-between;
    }
}

.copyright p {
    color: #a0aec0;
    font-size: 0.875rem;
}

.credits {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: #a0aec0;
    font-size: 0.875rem;
}

.heart-icon {
    color: #e53e3e;
}

.credit-link {
    color: #ed8936;
    font-weight: 600;
    transition: color 0.3s ease;
}

.credit-link:hover {
    color: #dd6b20;
}

/* Footer Border */
.footer-border {
    height: 3px;
    background: linear-gradient(to right, #ed8936, #dd6b20);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes beat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    40% { transform: scale(0.9); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes shimmer-reverse {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes gradient-x {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse-slow {
    0% { opacity: 0.2; }
    50% { opacity: 0.5; }
    100% { opacity: 0.2; }
}

/* Media Queries */
@media (min-width: 640px) {
    .logo-text {
        display: block;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



@media (min-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


/* Alternative version that keeps dots visible */
@media (max-width: 768px) {
    /* Position the slider arrows at extreme left/right and vertically centered */
    .slider-controls {
      position: absolute;
      bottom: 5rem;
      left: 50%;
      right: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 0;
      z-index: 20;
      /* border: solid yellow ;  */
    }
    
    /* Make the arrows smaller and semi-transparent */
    .slider-arrow {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.2);
      border: 1px solid rgba(255, 255, 255, 0.3);
      margin: 0;
      display: flex;
      align-items: center;
      justify-content: center;

      /* border: solid yellow ;  */
    }
    
    /* Position prev button at extreme left */
    .prev-slide {
      position: absolute;
      left: 10px;
      bottom: 9.8rem;
      transform: translateY(-50%);
    }
    
    /* Position next button at extreme right */
    .next-slide {
      position: absolute;
      right: 10px;
      bottom: 10rem;
      transform: translateY(-50%);
    }
    
    /* Make the arrow icons smaller */
    .slider-arrow svg {
      width: 18px;
      height: 18px;
    }
  }



  


  /* Mission Section Styling */
.mission-section {
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
  }
  
  .mission-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #eef1f5 100%);
    border-radius: 24px;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }
  
  /* Blue accent on the left side */
  .mission-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(to bottom, #1e88e5, #1565c0);
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
  }
  
  .mission-section .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
  }
  
  .mission-quote {
    position: relative;
    padding: 0 20px;
    margin-bottom: 30px;
  }
  
  .quote-mark {
    font-size: 80px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(173, 216, 230, 0.3);
    position: absolute;
  }
  
  .left-quote {
    left: 0;
    top: 0;
  }
  
  .right-quote {
    right: 0;
    bottom: -20px;
  }
  
  .mission-text {
    font-size: 20px;
    line-height: 1.5;
    color: #444;
    font-weight: 500;
    position: relative;
    z-index: 2;
  }
  
  .accent-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f5a623;
    z-index: 1;
  }
  
  .top-dot {
    right: 60px;
    top: 20px;
  }
  
  .bottom-dot {
    left: 60px;
    bottom: 20px;
  }
  
  .gradient-line {
    height: 4px;
    width: 180px;
    margin: 0 auto 30px;
    background: linear-gradient(to right, #1e88e5, #f5a623);
    border-radius: 2px;
  }
  
  .mission-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .btn-orange {
    background-color: #f5703b;
    color: white;
  }
  
  .btn-blue {
    background-color: #1e88e5;
    color: white;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  }
  
  /* Mobile-specific styles */
  @media (max-width: 768px) {
    .mission-card {
      padding: 30px 15px;
    }
  
    .mission-section .section-title {
      font-size: 24px;
      margin-bottom: 20px;
    }
  
    .mission-text {
      font-size: 18px;
    }
  
    .quote-mark {
      font-size: 60px;
    }
  
    .left-quote {
      left: 0;
      top: -10px;
    }
  
    .right-quote {
      right: 0;
      bottom: -30px;
    }
  
    .mission-buttons {
      flex-direction: row;
      gap: 15px;
    }
  
    .btn {
      max-width: 200px;
      max-height: 70px;
      margin: 0 auto;
      font-size: 12px;
      padding: 5px 15px;
    }

    .impact-card {
        padding: 0rem;
    }

    #Mission_container{
        width: 100%;
        /* border: solid yellow; */
        padding: 0 0rem;
    }

    .mission-card {
       
        position: relative;
        /* right: 5%; */
        width: 100%;
        /* border: solid yellow; */
    }

    .mission-section {
        padding: 40px 5px;
    }

    .slide-title {
        font-size: 2.1rem;
    }

    .section-title {
        font-size: 1.6rem;
    }
    
    .programs-title {
        font-size: 1.5rem;
    }
    
  }
  
  /* For very small screens */
  @media (max-width: 360px) {
    .mission-card {
      padding: 25px 12px;
    }
  
    .mission-text {
      font-size: 16px;
    }
  
    .quote-mark {
      font-size: 50px;
    }
  }
  

  