/* About Page Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Add this to your index.css file */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures navbar stays on top of other content */
}

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/static/img/bg.jpg");
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    margin-bottom: 50px;
}

/* About Content */
.about-content {
    margin-bottom: 50px;
}

.about-card {
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.vision-mission {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.vision h3, .mission h3 {
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 20px;
}

.mission ul {
    padding-left: 20px;
}

    .mission ul li {
        margin-bottom: 10px;
    }

.our-story p {
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Team Section */
.team-section {
    background-color: #f8f9fa;
    padding: 70px 0;
}

.team-member {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .team-member:hover {
        transform: translateY(-10px);
    }

.team-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-position {
    color: #0d6efd;
    font-weight: 500;
    margin-bottom: 15px;
}

.team-bio {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-social a {
    color: #343a40;
    margin: 0 8px;
    font-size: 1.25rem;
    transition: color 0.3s;
}

    .team-social a:hover {
        color: #0d6efd;
    }

/* Stats Section */
.stats-section {
    padding: 70px 0;
}

.stat-item {
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

    .stat-item:hover {
        transform: translateY(-10px);
    }

.stat-icon {
    font-size: 3rem;
    color: #0d6efd;
    margin-bottom: 20px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #343a40;
}

.stat-label {
    font-size: 1.1rem;
    color: #6c757d;
}

/* Testimonial Section */
.testimonial-section {
    background-color: #f8f9fa;
    padding: 70px 0;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-content {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

    .testimonial-content::before {
        content: '"';
        font-size: 4rem;
        color: #f0f0f0;
        position: absolute;
        top: -20px;
        left: -15px;
        z-index: 0;
    }

    .testimonial-content p {
        position: relative;
        z-index: 1;
    }

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-author h5 {
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-author p {
    color: #6c757d;
    margin: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 110, 253, 0.9), rgba(13, 110, 253, 0.8)), url('/api/placeholder/1200/400?text=Join+Us');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 70px 0;
    margin-top: 50px;
    margin-bottom: 0;
}

    .cta-section h2 {
        font-weight: 700;
        margin-bottom: 20px;
    }

    .cta-section .btn {
        background-color: white;
        color: #0d6efd;
        font-weight: 600;
        padding: 10px 30px;
        border: none;
    }

        .cta-section .btn:hover {
            background-color: rgba(255, 255, 255, 0.9);
        }

/* Footer */
.footer {
    background-color: #343a40;
    color: white;
    padding: 30px 0;
}

    .footer a {
        text-decoration: none;
        transition: opacity 0.3s;
    }

        .footer a:hover {
            opacity: 0.8;
        }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-hero {
        padding: 60px 0;
    }

    .team-section,
    .stats-section,
    .testimonial-section,
    .cta-section {
        padding: 40px 0;
    }

    .stat-item {
        margin-bottom: 20px;
    }
}
