/* Mary Biketi Foundation Website Styles */

/* CSS Variables for Color Scheme */
:root {
    --primary-color: #800000;
    --accent-color: #003366;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Lato', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --border-radius: 10px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.main-content {
    padding-top: 80px; /* Account for fixed navbar */
}

/* Custom Bootstrap Overrides */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #218838;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-warning {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
    font-weight: 500;
}

.btn-warning:hover {
    background-color: #fbc02d;
    border-color: #f9a825;
    color: var(--dark-color);
}

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

/* Navigation Styles */
.navbar {
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color) !important;
}

.brand-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700) !important;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.98);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
    }

    .navbar-nav .nav-item {
        margin: 0.5rem 0;
        width: 100%;
    }

    .navbar-nav .nav-link {
        padding: 1rem !important;
        border-radius: 8px;
        display: block;
        width: 100%;
        font-size: 1.1rem;
        background: rgba(2, 83, 17, 0.05);
        margin-bottom: 0.5rem;
        border: 1px solid transparent;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        background: var(--primary-color);
        color: white !important;
        border-color: var(--primary-color);
        transform: translateY(-2px);
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .btn {
        margin: 1rem auto 0 auto;
        display: inline-block;
        width: auto;
        min-width: 150px;
    }

    .navbar-toggler {
        border: 2px solid rgba(255, 255, 255, 0.8);
        padding: 0.5rem 0.75rem;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.1);
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
        border-color: rgba(255, 255, 255, 1);
        outline: none;
    }

    .navbar-toggler:hover {
        background: rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 1);
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.5em;
        height: 1.5em;
    }

    /* Ensure menu items are visible */
    .navbar-collapse.show .navbar-nav .nav-item,
    .navbar-collapse.collapsing .navbar-nav .nav-item {
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .navbar-collapse.show .navbar-nav,
    .navbar-collapse.collapsing .navbar-nav {
        display: block !important;
    }

    /* Force visibility for specific menu items */
    .navbar-nav .nav-item {
        display: block !important;
    }

    @media (max-width: 991.98px) {
        .navbar-nav .nav-item {
            display: block !important;
            opacity: 1 !important;
            visibility: visible !important;
        }
    }
}

/* Enhanced Hero Section */
.hero-section {
    /*background: linear-gradient(135deg, var(--primary-color) 0%, #1a5928 50%, #025311 100%);*/
    background: linear-gradient(135deg, #fff 0%, #fff 50%, #fff 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="heroPattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(237,199,28,0.1)"/><circle cx="10" cy="30" r="1" fill="rgba(237,199,28,0.05)"/><circle cx="30" cy="10" r="1" fill="rgba(237,199,28,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23heroPattern)"/></svg>');
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(237, 199, 28, 0.1) 50%, transparent 70%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section.min-vh-50 {
    min-height: 50vh;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    color: var(--primary-color);
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(0, 0, 0, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn {
    margin-bottom: 1rem;
    margin-right: 1rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
}

.hero-buttons .btn-primary:hover {
    background: #d4b91f;
    border-color: #d4b91f;
}

.hero-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* Hero Animation Effects */
.hero-content {
    animation: heroFadeInUp 1s ease-out;
}

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

.hero-image {
    animation: heroFadeInRight 1s ease-out 0.3s both;
}

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

/* Hero Responsive Styles */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
        margin-right: 0;
    }

    .hero-section::after {
        width: 80%;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 70vh;
    }
}

/* Floating Elements Animation */
.hero-section .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-section .floating-element {
    position: absolute;
    background: rgba(237, 199, 28, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-section .floating-element:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.hero-section .floating-element:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.hero-section .floating-element:nth-child(3) {
    width: 40px;
    height: 40px;
    top: 40%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Hero Stats Enhancement */
.hero-stats {
    margin-top: 3rem;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-stats .stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.hero-stats .stat-label {
    display: block;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(67, 67, 67, 0.8);
    text-align: center;
    animation: bounce 2s infinite;
    z-index: 2;
}

.scroll-indicator i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    text-align: center;
    margin-bottom: 3rem;
}

/* Program Cards */
.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.program-card h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), #003366);
}

/* Enhanced Footer */
.footer-enhanced {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003366 50%, #003366 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(237,199,28,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    z-index: 0;
}

.footer-enhanced .container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: row;
}

.footer-enhanced .footer-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
}

.footer-enhanced .footer-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

/* Legacy Footer Support */
.footer {
    background-color: var(--dark-color) !important;
}

.footer-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Enhanced Footer Links */
.footer-enhanced .footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.25rem 0;
}

.footer-enhanced .footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-enhanced .contact-info .contact-item {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.75rem;
}

.footer-enhanced .contact-info .contact-item i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-enhanced .newsletter-signup {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-enhanced .newsletter-signup .form-control {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--dark-color);
}

.footer-enhanced .newsletter-signup .form-control:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(237, 199, 28, 0.25);
}

.footer-enhanced .newsletter-signup .btn-primary {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.footer-enhanced .newsletter-signup .btn-primary:hover {
    background: #d4b91f;
    border-color: #d4b91f;
}

.footer-enhanced hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0 1.5rem 0;
}

.footer-enhanced .copyright {
    color: rgba(255, 255, 255, 0.8);
}

.footer-enhanced .footer-links-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.footer-enhanced .footer-links-inline a:hover {
    color: var(--secondary-color);
}

/* Social Media Links */
.footer-social-links {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(237, 199, 28, 0.3), transparent);
    transition: left 0.5s ease;
}

.footer-social-link:hover::before {
    left: 100%;
}

.footer-social-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(237, 199, 28, 0.3);
}

.footer-social-link i {
    font-size: 1.2rem;
    z-index: 1;
    position: relative;
}

/* Clean Contact Page Social Links */
.contact-social-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.social-links-clean {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link-clean {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-link-clean:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
}

.social-link-clean i {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    width: 30px;
    text-align: center;
}

.social-link-clean span {
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link-clean:hover span {
    transform: translateX(2px);
}

/* Platform-specific colors */
.social-link-clean.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-link-clean.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.social-link-clean.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.social-link-clean.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link-clean.youtube:hover {
    background: #ff0000;
    border-color: #ff0000;
}

.social-link-clean.whatsapp:hover {
    background: #25d366;
    border-color: #25d366;
}

.social-summary {
    border: 1px solid #e9ecef;
}

.social-stat strong {
    font-size: 1.25rem;
    display: block;
}

.social-stat small {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .social-links-clean {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .contact-social-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .social-link-clean {
        padding: 0.75rem;
    }

    .social-link-clean i {
        font-size: 1.25rem;
        margin-right: 0.5rem;
    }
}

@media (max-width: 576px) {
    .social-summary .col-4 {
        margin-bottom: 1rem;
    }

    .social-summary .row {
        text-align: center;
    }
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--gray-800);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.contact-item {
    color: var(--gray-400);
}

.contact-item i {
    color: var(--primary-color);
}

.newsletter-form .form-control {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.footer-links-inline a {
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Enhanced Footer Social Media */
.footer-social-section {
    margin-top: 1.5rem;
}

.social-section-title {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.social-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--accent-color);
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social-link {
    position: relative;
    display: flex;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon-bg {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: 1;
}

.social-icon-bg i {
    position: relative;
    z-index: 2;
}

.footer-social-link:hover .social-icon-bg {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-social-link.facebook:hover .social-icon-bg::before {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.footer-social-link.twitter:hover .social-icon-bg::before {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.footer-social-link.instagram:hover .social-icon-bg::before {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link.linkedin:hover .social-icon-bg::before {
    background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.footer-social-link.youtube:hover .social-icon-bg::before {
    background: linear-gradient(135deg, #ff0000, #ff5722);
}

.footer-social-link.whatsapp:hover .social-icon-bg::before {
    background: linear-gradient(135deg, #25d366, #4caf50);
}

.social-tooltip {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.social-tooltip::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, 0.8);
}

.footer-social-link:hover .social-tooltip {
    opacity: 1;
    visibility: visible;
    bottom: -30px;
}

.social-follow-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin-bottom: 0;
    font-style: italic;
}

.social-follow-text i {
    margin-right: 0.5rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes socialGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.6);
    }
}

/* Social media hover effects */
.social-link:hover .social-icon-wrapper i {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* Staggered animation for social links */
.social-links-grid .social-link:nth-child(1) {
    animation-delay: 0.1s;
}

.social-links-grid .social-link:nth-child(2) {
    animation-delay: 0.2s;
}

.social-links-grid .social-link:nth-child(3) {
    animation-delay: 0.3s;
}

.social-links-grid .social-link:nth-child(4) {
    animation-delay: 0.4s;
}

.social-links-grid .social-link:nth-child(5) {
    animation-delay: 0.5s;
}

.social-links-grid .social-link:nth-child(6) {
    animation-delay: 0.6s;
}

/* Footer social links staggered animation */
.footer-social-links .footer-social-link:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.1s both;
}

.footer-social-links .footer-social-link:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.2s both;
}

.footer-social-links .footer-social-link:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.3s both;
}

.footer-social-links .footer-social-link:nth-child(4) {
    animation: fadeInUp 0.6s ease 0.4s both;
}

.footer-social-links .footer-social-link:nth-child(5) {
    animation: fadeInUp 0.6s ease 0.5s both;
}

.footer-social-links .footer-social-link:nth-child(6) {
    animation: fadeInUp 0.6s ease 0.6s both;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .program-card {
        margin-bottom: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .main-content {
        padding-top: 70px;
    }
}

/* About Us Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-item a {
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--white) !important;
}

/* Organization Story */
.organization-story {
    position: relative;
}

.story-content .section-title::after {
    left: 0;
    transform: none;
}

.story-image {
    position: relative;
}

.story-stats {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--box-shadow);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.stat-card {
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
    font-weight: 500;
}

/* Vision & Mission Cards */
.vision-card,
.mission-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.vision-card:hover,
.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.card-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-description {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.vision-points ul li {
    padding: 0.5rem 0;
    font-weight: 500;
}

.mission-focus {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.focus-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.focus-item i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Core Values */
.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.value-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.value-description {
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Founder Bio Section */
.founder-image {
    position: relative;
}

.founder-quote {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-top: -30px;
    position: relative;
    z-index: 2;
    border-left: 4px solid var(--primary-color);
}

.founder-quote .blockquote {
    margin-bottom: 0;
}

.founder-quote p {
    font-style: italic;
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
}

.founder-content {
    padding-left: 2rem;
}

.founder-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.founder-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-achievements,
.founder-education {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.founder-achievements h5,
.founder-education h5 {
    color: var(--dark-color);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.achievement-list,
.education-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.achievement-list li,
.education-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-300);
    font-weight: 500;
    color: var(--gray-700);
}

.achievement-list li:last-child,
.education-list li:last-child {
    border-bottom: none;
}

/* About CTA Section */
.about-cta {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    z-index: 1;
}

.about-cta .container {
    position: relative;
    z-index: 2;
}

.cta-buttons .btn {
    min-width: 150px;
}

/* Responsive Design for About Page */
@media (max-width: 992px) {
    .founder-content {
        padding-left: 0;
        margin-top: 2rem;
    }

    .mission-focus {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .story-stats {
        margin-top: 2rem;
    }

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

    .founder-name {
        font-size: 1.8rem;
    }

    .card-icon,
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .vision-card,
    .mission-card,
    .value-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .focus-item {
        font-size: 0.8rem;
    }

    .founder-quote {
        margin-top: 1rem;
        padding: 1rem;
    }
}

/* Programs Page Specific Styles */

/* Program Statistics */
.stat-box {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
    margin-bottom: 0;
}

/* Program Category Headers */
.program-category-header {
    margin-bottom: 3rem;
}

.category-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2.5rem;
}

.category-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Program Cards */
.program-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.program-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(40, 167, 69, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.program-overlay .btn {
    transform: translateY(20px);
    transition: var(--transition);
}

.program-card:hover .program-overlay .btn {
    transform: translateY(0);
}

.program-content {
    padding: 2rem;
}

.program-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.program-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.program-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}

.stat-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    font-size: 1rem;
}

/* Program Sections */
.program-section {
    position: relative;
}

.program-section:nth-child(even) {
    background-color: var(--gray-100);
}

/* Programs CTA */
.programs-cta {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.programs-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="programs-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23programs-pattern)"/></svg>');
    z-index: 1;
}

.programs-cta .container {
    position: relative;
    z-index: 2;
}

/* Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    color: var(--white);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 2rem;
}

.modal-body .lead {
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.modal-body h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.modal-body ul li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-size: 0.95rem;
}

/* Responsive Design for Programs Page */
@media (max-width: 992px) {
    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .category-title {
        font-size: 1.8rem;
    }

    .program-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .stat-number {
        font-size: 2rem;
    }

    .program-content {
        padding: 1.5rem;
    }

    .program-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .stat-box {
        padding: 1.5rem 1rem;
    }

    .program-image {
        height: 180px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

/* Gallery Page Specific Styles */

/* Gallery Filters */
.gallery-filters {
    background-color: var(--gray-100);
}

.filter-buttons h5 {
    color: var(--dark-color);
    font-weight: 600;
}

.gallery-filter {
    margin: 0.25rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.gallery-filter.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-filter:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Gallery Cards */
.gallery-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(52, 206, 87, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-overlay a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    transform: translateY(20px);
    margin-bottom: 1rem;
}

.gallery-card:hover .gallery-overlay a {
    transform: translateY(0);
    background: var(--white);
    color: var(--primary-color);
}

.gallery-info {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.gallery-card:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    font-size: 0.9rem;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Gallery Meta */
.gallery-meta {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
}

.category-tag.events {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-tag.trainings {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.category-tag.outreach {
    background-color: #e8f5e8;
    color: #388e3c;
}

.category-tag.facilities {
    background-color: #fff3e0;
    color: #f57c00;
}

.category-tag.community {
    background-color: #fce4ec;
    color: #c2185b;
}

.category-tag.achievements {
    background-color: #fff8e1;
    color: #fbc02d;
}

.date-tag {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Gallery CTA */
.gallery-cta {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.gallery-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
    z-index: 1;
}

.gallery-cta .container {
    position: relative;
    z-index: 2;
}

/* Load More Button */
#loadMoreBtn {
    min-width: 200px;
    border-radius: 25px;
}

/* Fade In Animation */
.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

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

/* Responsive Design for Gallery Page */
@media (max-width: 992px) {
    .gallery-image {
        height: 250px;
    }

    .gallery-overlay a {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .filter-buttons .btn-group {
        justify-content: center;
    }
}

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

    .gallery-info h6 {
        font-size: 1rem;
    }

    .gallery-info p {
        font-size: 0.8rem;
    }

    .gallery-meta {
        padding: 0.75rem;
    }

    .category-tag,
    .date-tag {
        font-size: 0.75rem;
    }

    .filter-buttons h5 {
        font-size: 1.1rem;
    }

    .gallery-filter {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

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

    .gallery-overlay a {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .gallery-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .filter-buttons .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .gallery-filter {
        width: 100%;
        margin: 0.1rem 0;
    }
}

/* Lightbox Customization */
.lb-data .lb-caption {
    font-size: 1rem;
    font-weight: 500;
    color: var(--white);
}

.lb-data .lb-number {
    color: var(--gray-300);
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    background: rgba(40, 167, 69, 0.8);
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background: var(--primary-color);
}

/* Gallery Item Hover Effects */
.gallery-item {
    transition: var(--transition);
}

.gallery-item:hover {
    z-index: 10;
}

/* Category-specific hover colors */
.gallery-item.events:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(25, 118, 210, 0.9), rgba(33, 150, 243, 0.9));
}

.gallery-item.trainings:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(123, 31, 162, 0.9), rgba(156, 39, 176, 0.9));
}

.gallery-item.outreach:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(56, 142, 60, 0.9), rgba(76, 175, 80, 0.9));
}

.gallery-item.facilities:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(245, 124, 0, 0.9), rgba(255, 152, 0, 0.9));
}

.gallery-item.community:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(194, 24, 91, 0.9), rgba(233, 30, 99, 0.9));
}

.gallery-item.achievements:hover .gallery-overlay {
    background: linear-gradient(135deg, rgba(251, 192, 45, 0.9), rgba(255, 235, 59, 0.9));
}

/* News Page Specific Styles */

/* News Filters */
.news-filters {
    background-color: var(--gray-100);
}

.news-filter {
    margin: 0.25rem;
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

.news-filter.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.news-filter:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* News Cards */
.news-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    z-index: 2;
}

.news-category.news {
    background-color: #2196f3;
    color: var(--white);
}

.news-category.events {
    background-color: #ff9800;
    color: var(--white);
}

.news-category.success_stories {
    background-color: #4caf50;
    color: var(--white);
}

.news-category.announcements {
    background-color: #9c27b0;
    color: var(--white);
}

.news-content {
    padding: 2rem;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

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

.news-meta i {
    color: var(--primary-color);
}

.news-title {
    margin-bottom: 1rem;
}

.news-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.news-stats span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.news-stats i {
    color: var(--primary-color);
}

/* Newsletter Signup */
.newsletter-signup {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="newsletter-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23newsletter-pattern)"/></svg>');
    z-index: 1;
}

.newsletter-signup .container {
    position: relative;
    z-index: 2;
}

.newsletter-form .form-control {
    border-radius: 25px;
    border: none;
    padding: 0.75rem 1.5rem;
}

.newsletter-form .btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border-color: var(--gray-300);
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    border-radius: 8px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* News Detail Page Styles */

/* Article Header */
.article-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.article-category {
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    font-size: 1rem;
    color: var(--gray-600);
}

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

.meta-item i {
    color: var(--primary-color);
}

/* Article Image */
.article-image {
    text-align: center;
}

.article-image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

/* Article Body */
.article-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.article-body h2,
.article-body h3,
.article-body h4 {
    color: var(--dark-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body blockquote {
    background: var(--gray-100);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}

.article-body ul,
.article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.5rem;
}

/* Social Sharing */
.social-sharing h6 {
    color: var(--dark-color);
    font-weight: 600;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
}

.social-btn.facebook {
    background-color: #1877f2;
    color: var(--white);
}

.social-btn.facebook:hover {
    background-color: #166fe5;
    color: var(--white);
}

.social-btn.twitter {
    background-color: #1da1f2;
    color: var(--white);
}

.social-btn.twitter:hover {
    background-color: #1a91da;
    color: var(--white);
}

.social-btn.linkedin {
    background-color: #0077b5;
    color: var(--white);
}

.social-btn.linkedin:hover {
    background-color: #006ba1;
    color: var(--white);
}

.social-btn.whatsapp {
    background-color: #25d366;
    color: var(--white);
}

.social-btn.whatsapp:hover {
    background-color: #22c55e;
    color: var(--white);
}

/* News CTA */
.news-cta {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.news-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="news-cta-pattern" width="35" height="35" patternUnits="userSpaceOnUse"><circle cx="17.5" cy="17.5" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23news-cta-pattern)"/></svg>');
    z-index: 1;
}

.news-cta .container {
    position: relative;
    z-index: 2;
}

/* Responsive Design for News Pages */
@media (max-width: 992px) {
    .news-image {
        height: 220px;
    }

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

    .article-meta {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .news-image {
        height: 200px;
    }

    .news-content {
        padding: 1.5rem;
    }

    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

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

    .social-buttons {
        justify-content: center;
    }

    .newsletter-form {
        text-align: center;
    }

    .newsletter-form .col-md-6,
    .newsletter-form .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .news-filter {
        display: block;
        width: 100%;
        margin: 0.1rem 0;
    }

    .social-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .article-body {
        font-size: 1rem;
    }
}

/* Get Involved Page Specific Styles */

/* Involvement Cards */
.involvement-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.involvement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.involvement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.involvement-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.involvement-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.involvement-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.involvement-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.involvement-benefits li {
    padding: 0.5rem 0;
    color: var(--gray-700);
    font-weight: 500;
}

/* Why Support Section */
.support-reasons {
    margin-top: 2rem;
}

.reason-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.reason-content h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reason-content p {
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Support Image */
.support-image {
    position: relative;
}

.impact-highlights {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 2;
}

.highlight-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    min-width: 100px;
}

.highlight-card h4 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Volunteer Form */
.volunteer-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-200);
}

.form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.form-section-title {
    color: var(--dark-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-check {
    background: var(--gray-100);
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.form-check:hover {
    background: var(--gray-200);
}

.form-check-input:checked + .form-check-label {
    color: var(--primary-color);
    font-weight: 500;
}

/* Partnership Section */
.partnership-types {
    margin-top: 2rem;
}

.partnership-type {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}

.partnership-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.partnership-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.8rem;
}

.partnership-type h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.partnership-type p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Donation Section */
.donation-section {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.donation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="donation-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23donation-pattern)"/></svg>');
    z-index: 1;
}

.donation-section .container {
    position: relative;
    z-index: 2;
}

.donation-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.donation-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.donation-option.featured {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.donation-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.donation-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.donation-option p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.payment-logo {
    height: 40px;
    opacity: 0.8;
    transition: var(--transition);
}

.payment-logo:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Volunteer Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    color: var(--gray-700);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 0;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-color);
    position: absolute;
    top: -10px;
    left: -20px;
    font-family: serif;
}

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

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.author-info h6 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.author-info small {
    color: var(--gray-600);
    font-weight: 500;
}

/* Responsive Design for Get Involved Page */
@media (max-width: 992px) {
    .involvement-card {
        padding: 2rem;
    }

    .volunteer-form-card {
        padding: 2rem;
    }

    .reason-item {
        flex-direction: column;
        text-align: center;
    }

    .reason-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .impact-highlights {
        position: static;
        transform: none;
        justify-content: center;
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .involvement-icon,
    .reason-icon,
    .partnership-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

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

    .donation-amount {
        font-size: 2rem;
    }

    .highlight-card {
        padding: 1rem;
        min-width: 80px;
    }

    .highlight-card h4 {
        font-size: 1.5rem;
    }

    .payment-methods {
        gap: 1rem;
    }

    .payment-logo {
        height: 30px;
    }

    /* Social media responsive fixes */
    .social-link {
        padding: 1.5rem;
        min-height: 80px;
    }

    .social-icon-wrapper {
        margin-right: 1.5rem;
    }

    .social-link i {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .social-info h5 {
        font-size: 1.1rem;
    }

    .social-info p {
        font-size: 0.9rem;
    }

    .social-stats {
        font-size: 0.8rem;
        padding: 3px 10px;
    }
}

@media (max-width: 576px) {
    .volunteer-form-card {
        padding: 1.5rem;
    }

    .form-section-title {
        font-size: 1.1rem;
    }

    .donation-option {
        padding: 1.5rem;
    }

    .donation-amount {
        font-size: 1.8rem;
    }

    .impact-highlights {
        flex-direction: column;
        gap: 0.5rem;
    }

    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }
}

/* Contact Page Specific Styles */

/* Contact Cards */
.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.contact-title {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-details {
    text-align: left;
    margin-bottom: 2rem;
}

.contact-address,
.contact-phone,
.contact-email {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.contact-phone a,
.contact-email a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-phone a:hover,
.contact-email a:hover {
    text-decoration: underline;
}

.contact-hours {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Contact Form */
.contact-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-200);
}

.form-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.form-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-note {
    text-align: center;
}

.char-counter {
    text-align: right;
}

/* Map Section */
.map-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid var(--gray-200);
}

.map-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.quick-contact {
    margin-top: 2rem;
}

.quick-contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-100);
    border-radius: 8px;
}

.quick-contact-item i {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.quick-contact-item strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 0.25rem;
}

.quick-contact-item p {
    color: var(--gray-600);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Enhanced Social Media Section */
.social-media-section {
    background: linear-gradient(135deg, var(--white) 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.social-media-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1877f2, #1da1f2, #e4405f, #0077b5, #ff0000, #25d366);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.social-icon-header {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.social-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-subtitle {
    color: var(--gray-600);
    margin-bottom: 0;
    line-height: 1.6;
}

.social-links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 1.8rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    min-height: 90px;
}

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

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.social-icon-wrapper {
    position: relative;
    margin-right: 2rem;
    flex-shrink: 0;
}

.social-link i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--white);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.social-ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
}

.social-link:hover .social-ripple {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    100% {
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

.social-link.facebook i {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.social-link.facebook .social-ripple {
    background: #1877f2;
}

.social-link.twitter i {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.social-link.twitter .social-ripple {
    background: #1da1f2;
}

.social-link.instagram i {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.instagram .social-ripple {
    background: linear-gradient(45deg, #f09433, #e6683c);
}

.social-link.linkedin i {
    background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.social-link.linkedin .social-ripple {
    background: #0077b5;
}

.social-link.youtube i {
    background: linear-gradient(135deg, #ff0000, #ff5722);
}

.social-link.youtube .social-ripple {
    background: #ff0000;
}

.social-link.whatsapp i {
    background: linear-gradient(135deg, #25d366, #4caf50);
}

.social-link.whatsapp .social-ripple {
    background: #25d366;
}

.social-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 60px;
}

.social-info h5 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.2;
}

.social-info p {
    color: var(--gray-600);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.social-stats {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    transition: all 0.3s ease;
}

.social-link:hover .social-stats {
    background: rgba(40, 167, 69, 0.2);
    transform: scale(1.05);
    border-color: rgba(40, 167, 69, 0.3);
}

.social-arrow {
    color: var(--gray-400);
    font-size: 1rem;
    transition: all 0.3s ease;
    align-self: center;
    margin-left: 1rem;
    flex-shrink: 0;
}

.social-link:hover .social-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

.social-cta {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1), rgba(253, 216, 53, 0.1));
    border-radius: 12px;
    border: 1px solid rgba(40, 167, 69, 0.2);
    text-align: center;
}

.social-cta-text {
    color: var(--dark-color);
    font-weight: 500;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.social-cta-text i {
    color: var(--accent-color);
    margin-right: 0.5rem;
    animation: bell-ring 2s infinite;
}

@keyframes bell-ring {
    0%, 50%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(10deg);
    }
    20% {
        transform: rotate(-10deg);
    }
}

.social-stats-summary {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(40, 167, 69, 0.2);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

.faq-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-subtitle {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius) !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--white);
    color: var(--dark-color);
    font-weight: 500;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    background-color: var(--gray-50);
    color: var(--gray-700);
    line-height: 1.6;
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.accordion-body a:hover {
    text-decoration: underline;
}

/* Emergency Contact */
.emergency-contact {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.emergency-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="emergency-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23emergency-pattern)"/></svg>');
    z-index: 1;
}

.emergency-contact .container {
    position: relative;
    z-index: 2;
}

.emergency-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.emergency-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.emergency-number i {
    margin-right: 1rem;
    animation: pulse 2s infinite;
}

.emergency-number a {
    color: var(--white);
    text-decoration: none;
}

.emergency-number a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.emergency-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-form-card,
    .map-section {
        padding: 2rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .contact-form-card,
    .map-section {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .social-link {
        padding: 1rem;
    }

    .social-link i {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }

    .quick-contact-item {
        flex-direction: column;
        text-align: center;
    }

    .quick-contact-item i {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .emergency-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-details {
        text-align: center;
    }

    .form-title,
    .map-title,
    .social-title,
    .faq-title {
        font-size: 1.5rem;
    }

    .emergency-info {
        padding: 1.5rem;
    }

    .emergency-number {
        font-size: 1.3rem;
    }

    .social-links-grid {
        gap: 1rem;
    }

    .social-link {
        padding: 1.2rem;
        min-height: 70px;
        flex-direction: row;
        align-items: center;
    }

    .social-icon-wrapper {
        margin-right: 1rem;
    }

    .social-link i {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .social-info h5 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .social-info p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
    }

    .social-stats {
        font-size: 0.75rem;
        padding: 2px 8px;
    }

    .social-arrow {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }

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

    .accordion-body {
        padding: 1rem;
    }

    /* Footer social media responsive */
    .footer-social-links {
        justify-content: center;
        gap: 0.75rem;
    }

    .social-icon-bg {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .social-tooltip {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .social-media-section {
        padding: 2rem;
    }

    .social-icon-header {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}

/* Enhanced Homepage Sections */

/* Mission and Vision Section */
.mission-vision {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mission-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1.5" fill="rgba(2,83,17,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23mission-pattern)"/></svg>');
    z-index: 1;
}

.mission-vision .container {
    position: relative;
    z-index: 2;
}

.mission-vision-content {
    padding: 2rem;
}

.mission-section,
.vision-section {
    position: relative;
    padding-left: 4rem;
}

.section-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(2, 83, 17, 0.3);
}

.mission-section .section-title,
.vision-section .section-title {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-text {
    color: var(--gray-700);
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Visual Stats */
.mission-vision-visual {
    padding: 2rem;
}

.visual-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-circle {
    text-align: center;
    position: relative;
}

.stat-circle .stat-number {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(2, 83, 17, 0.3);
    position: relative;
    overflow: hidden;
}

.stat-circle .stat-number::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.stat-circle .stat-label {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Core Values */
.core-values h4 {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 2rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.value-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.value-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.value-item span {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
}

/* Why Work With Us Section */
.why-work-with-us {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.why-work-with-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="why-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,15 15,25 5,15" fill="rgba(2,83,17,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23why-pattern)"/></svg>');
    z-index: 1;
}

.why-work-with-us .container {
    position: relative;
    z-index: 2;
}

.why-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.why-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.why-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.why-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: iconShimmer 4s infinite;
}

@keyframes iconShimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.why-title {
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.why-description {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.why-stats {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.mini-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(2, 83, 17, 0.05);
    border-radius: 12px;
    flex: 1;
    border: 1px solid rgba(2, 83, 17, 0.1);
    transition: all 0.3s ease;
}

.mini-stat:hover {
    background: rgba(2, 83, 17, 0.1);
    transform: scale(1.05);
}

.mini-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.mini-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Impact Stories Section */
.impact-stories {
    background: var(--white);
    position: relative;
}

/* Impact Statistics Carousel */
.impact-stats-carousel {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(2, 83, 17, 0.3);
}

.impact-stats-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stats-pattern" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stats-pattern)"/></svg>');
    z-index: 1;
}

.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.stat-item {
    display: none;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.stat-item.active {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 1;
    transform: translateY(0);
}

.stat-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.stat-content {
    text-align: left;
}

.stat-content .stat-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-content .stat-label {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-content .stat-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    max-width: 300px;
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-dots {
    display: flex;
    gap: 1rem;
}

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

.dot.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Story Cards */
.story-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.story-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.story-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.story-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.story-category {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-content {
    padding: 2rem;
}

.story-title {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.story-excerpt {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.story-author {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.story-author strong {
    color: var(--dark-color);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.story-author span {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.story-impact {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.impact-metric {
    text-align: center;
    padding: 1rem;
    background: rgba(2, 83, 17, 0.05);
    border-radius: 12px;
    flex: 1;
    border: 1px solid rgba(2, 83, 17, 0.1);
}

.metric-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.metric-label {
    font-size: 0.8rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Stories CTA */
.stories-cta {
    background: linear-gradient(135deg, rgba(2, 83, 17, 0.05), rgba(237, 199, 28, 0.05));
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(2, 83, 17, 0.1);
}

.stories-cta h4 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.stories-cta p {
    color: var(--gray-600);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Enhanced Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, var(--primary-color), #003366);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="testimonial-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23testimonial-pattern)"/></svg>');
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.testimonial-quote {
    margin-bottom: 2rem;
}

.testimonial-quote i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.testimonial-quote p {
    font-size: 1.3rem;
    line-height: 1.7;
    color: var(--white);
    font-style: italic;
    margin-bottom: 0;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.author-info {
    text-align: left;
}

.author-info h5 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.author-info span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.author-rating {
    display: flex;
    gap: 0.25rem;
}

.author-rating i {
    color: #e3af28;
    font-size: 0.9rem;
}

/* Testimonial Navigation */
.testimonial-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-nav .nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.testimonial-nav .nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.nav-indicators {
    display: flex;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
}

/* Responsive Styles for Enhanced Homepage */
@media (max-width: 992px) {
    /* Mission and Vision */
    .mission-section,
    .vision-section {
        padding-left: 0;
        text-align: center;
        margin-bottom: 3rem;
    }

    .section-icon {
        position: static;
        margin: 0 auto 1rem;
    }

    .visual-stats {
        justify-content: center;
        gap: 1.5rem;
    }

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

    /* Why Work With Us */
    .why-card {
        padding: 2rem;
        text-align: center;
    }

    .why-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Impact Stories */
    .stat-item.active {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .stat-content {
        text-align: center;
    }

    .stat-content .stat-number {
        font-size: 3rem;
    }

    .stat-content .stat-label {
        font-size: 1.3rem;
    }

    .story-impact {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Testimonials */
    .testimonial-content {
        padding: 2rem;
    }

    .testimonial-author {
        flex-direction: column;
        gap: 1rem;
    }

    .author-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    /* Mission and Vision */
    .stat-circle .stat-number {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .mission-section .section-title,
    .vision-section .section-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 1rem;
    }

    /* Why Work With Us */
    .why-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .why-title {
        font-size: 1.2rem;
    }

    /* Impact Stories */
    .impact-stats-carousel {
        padding: 2rem;
    }

    .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

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

    .stat-content .stat-label {
        font-size: 1.2rem;
    }

    .story-title {
        font-size: 1.1rem;
    }

    .story-content {
        padding: 1.5rem;
    }

    /* Testimonials */
    .testimonial-quote p {
        font-size: 1.1rem;
    }

    .author-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    /* Mission and Vision */
    .mission-vision-content {
        padding: 1rem;
    }

    .visual-stats {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .stat-circle .stat-number {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
    }

    /* Why Work With Us */
    .why-card {
        padding: 1.5rem;
    }

    .mini-stat {
        padding: 0.75rem;
    }

    .mini-number {
        font-size: 1rem;
    }

    /* Impact Stories */
    .impact-stats-carousel {
        padding: 1.5rem;
    }

    .stat-item.active {
        gap: 1rem;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-content .stat-number {
        font-size: 2rem;
    }

    .stat-content .stat-label {
        font-size: 1rem;
    }

    .stat-content .stat-description {
        font-size: 0.9rem;
    }

    .carousel-nav {
        gap: 1rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .story-content {
        padding: 1.25rem;
    }

    .stories-cta {
        padding: 2rem;
    }

    .stories-cta h4 {
        font-size: 1.5rem;
    }

    /* Testimonials */
    .testimonial-content {
        padding: 1.5rem;
    }

    .testimonial-quote i {
        font-size: 2rem;
    }

    .testimonial-quote p {
        font-size: 1rem;
    }

    .testimonial-nav {
        gap: 1rem;
    }

    .testimonial-nav .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}
