/* Professional Outreach Hero Section */
.outreach-hero {
    position: relative;
    background: linear-gradient(120deg, rgba(0,0,0,0.38) 0%, rgba(30,41,59,0.22) 100%), url('../../images/hero1.JPG') center/cover no-repeat;
    color: #fff;
    padding: 8rem 0 5rem;
    text-align: center;
    overflow: hidden;
    min-height: 420px;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    box-shadow: 0 8px 40px rgba(30,41,59,0.10);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30,41,59,0.62) 60%, rgba(0,0,0,0.38) 100%);
    z-index: 1;
    pointer-events: none;
}

.outreach-hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
    z-index: 2;
    background: rgba(255,255,255,0.06);
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(30,41,59,0.10);
    backdrop-filter: blur(2px);
    animation: fadeInUp 1.1s cubic-bezier(.23,1.02,.32,1) both;
}

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

.outreach-hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 1.3rem;
    letter-spacing: 0.5px;
    text-shadow: 0 6px 24px rgba(0,0,0,0.22);
    background: linear-gradient(90deg, #ffd700 60%, #ff9800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    animation: fadeInUp 1s cubic-bezier(.23,1.02,.32,1) both;
}

.outreach-hero p {
    font-size: 1.35rem;
    opacity: 0.97;
    margin-bottom: 2.2rem;
    line-height: 1.7;
    font-weight: 400;
    color: #f3f6fa;
    text-shadow: 0 2px 8px rgba(30,41,59,0.13);
    animation: fadeInUp 1s cubic-bezier(.23,1.02,.32,1) 0.18s both;
}

@media (max-width: 900px) {
    .outreach-hero {
        padding: 5rem 0 3rem;
        min-height: 320px;
    }
    .outreach-hero h1 {
        font-size: 2.1rem;
    }
    .outreach-hero-content {
        padding: 0 0.5rem;
    }
    .outreach-hero p {
        font-size: 1.05rem;
    }
}


/* Stats Section */
.stats-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

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

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

.stat-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Mission Stories Section */
.mission-stories {
    background-color: #f9f9f9;
    padding: 80px 20px;
    font-family: 'Poppins', sans-serif;
}

.mission-stories .section-header {
    text-align: center;
    margin-bottom: 50px;
}


.mission-stories .section-header p {
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.story-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

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

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px 12px 0 0;
    transition: transform 0.4s ease;
}

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

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
}

.story-card:hover .story-overlay {
    opacity: 1;
}

.story-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    z-index: 2;
}

.story-content h3 {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.story-content p {
    font-size: 16px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.story-card:hover .story-content p {
    opacity: 1;
    transform: translateY(0);
}

/* Impact Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

header {
    text-align: center;
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.subtitle {
    color: #666;
    font-size: 1.1rem;
}

.button-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    background-color: white;
    color: var(--primary-color);
    cursor: pointer;
    transition: all var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 5px var(--shadow-color);
}

.tab-button i {
    font-size: 1.1rem;
}

.tab-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

.tab-button.active {
    background-color: var(--secondary-color);
    color: white;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--transition-speed), transform var(--transition-speed);
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem 0;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.media-wrapper {
    position: relative;
    overflow: hidden;
}

.gallery-item img,
.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed);
}

.gallery-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    background-color: black;
}
/* Enhanced Overlay Styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: scale(1.1);
    border-radius: 8px;
}

.gallery-item:hover .overlay {
    opacity: 1;
    transform: scale(1);
}

.overlay-content {
    color: white;
    text-align: center;
    padding: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
}

.gallery-item:hover .overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-content p {
    font-size: 1rem;
    opacity: 0.85;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.view-more-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    color: white;
    background-color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.view-more-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Gallery Item Hover Effect */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px var(--shadow-color);
}
/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Video Content Styles */
.video-content {
    padding: 1.5rem;
    background-color: white;
    border-radius: 0 0 8px 8px;
}

.video-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

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

.video-meta {
    display: flex;
    gap: 1.5rem;
    color: #888;
    font-size: 0.85rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-meta i {
    color: var(--secondary-color);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item img,
    .gallery-item video {
        height: 200px;
    }

    .video-content {
        padding: 1rem;
    }

    .video-content h3 {
        font-size: 1.1rem;
    }

    .video-description {
        font-size: 0.9rem;
    }

    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .gallery-item video {
        height: 200px;
    }
} 

/* Call to Action Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(white, var(--primary-color));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern.png');
    opacity: 0.1;
}

.cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button.primary {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 1.2rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    padding: 1.2rem 3rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-button.primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .outreach-hero h1 {
        font-size: 3.5rem;
    }
    
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .outreach-hero {
        padding: 8rem 0 6rem;
    }

    .outreach-hero h1 {
        font-size: 3rem;
    }

    .outreach-hero p {
        font-size: 1.3rem;
    }

    .section-intro h2 {
        font-size: 2.5rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .outreach-hero h1 {
        font-size: 2.5rem;
    }

    .section-intro h2 {
        font-size: 2rem;
    }

    .section-intro p {
        font-size: 1.1rem;
    }

    .story-content h3 {
        font-size: 1.3rem;
    }
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .mission-stories {
        padding: 3rem 0;
    }

    .section-intro h2 {
        font-size: 2rem;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .story-image {
        height: 200px;
    }

    .story-content h3 {
        font-size: 1.5rem;
    }
    
    .story-content p {
        font-size: 1rem;
        opacity: 1;
        transform: translateY(0);
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .video-container {
        margin-bottom: 2rem;
    }

    .video-info h3 {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .section-intro h2 {
        font-size: 1.75rem;
    }

    .section-intro p {
        font-size: 1rem;
    }

    .story-content h3 {
        font-size: 1.25rem;
    }

    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
    }
}

/* Tab Button Styles */
.tab-button {
    padding: 1rem 2.5rem;
    background: #f8f9fa;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    position: relative;
    overflow: hidden;
}

.tab-button::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tab-button:hover {
    background: #e9ecef;
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-button:hover::after {
    width: 80%;
}

.tab-button.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.tab-button.active::after {
    width: 80%;
    background: var(--white);
}

/* Focus styles for accessibility */
.tab-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.3);
}

.tab-button:focus:not(:focus-visible) {
    box-shadow: none;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .gallery-content {
        min-height: 300px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .video-container {
        margin-bottom: 2rem;
    }
}

@media screen and (max-width: 480px) {
    .gallery-tabs {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
    }
}

/* YouTube Channel Section */
/* YouTube Channel Section */
.youtube-section {
    padding: 4rem 0;
    background: linear-gradient(rgba(255, 255, 255, 0), var(--primary-dark)), url('../../images/hero1.JPG');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.youtube-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.youtube-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.youtube-content p {
    font-size: 1.2rem;
    color: var(--light-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background-color: #FF0000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.2);
}

.youtube-button i {
    font-size: 1.4rem;
}

.youtube-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.3);
    background-color: #cc0000;
}

@media (max-width: 768px) {
    .youtube-section {
        padding: 3rem 0;
    }

    .youtube-content h2 {
        font-size: 2rem;
    }

    .youtube-content p {
        font-size: 1.1rem;
    }

    .youtube-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
} 