/* About Hero Section */
.about-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/about-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    margin-top: 76px; /* Account for fixed navbar */
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero .lead {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

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

/* Counter Section */
.counter {
    padding: 2rem;
    text-align: center;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.counter:hover {
    transform: translateY(-10px);
}

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

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

.counter p {
    color: #666;
    margin: 0;
}

/* Mission Cards */
.mission-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.mission-card:hover {
    transform: translateY(-10px);
}

.mission-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.mission-card p {
    color: #666;
    margin: 0;
}

/* Team Cards */
.team-card {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-bottom: 30px;
}

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

.team-image-container {
    width: 280px;
    height: 350px; /* Taller height for elliptical shape */
    margin: 0 auto 25px;
    border-radius: 140px / 175px; /* Creates elliptical shape */
    overflow: hidden;
    border: 5px solid #f8f9fa;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Slightly adjusted to show more of the face */
    transition: transform 0.3s ease;
}

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

.team-card h4 {
    color: #333;
    margin: 15px 0 5px;
    font-size: 1.25rem;
}

.team-card p {
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-top: 66px;
    }

    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-hero .lead {
        font-size: 1.2rem;
    }

    .counter {
        margin-bottom: 1rem;
    }

    .mission-card {
        margin-bottom: 1rem;
    }

    .team-image-container {
        width: 240px;
        height: 300px;
        border-radius: 120px / 150px;
    }
}

@media (max-width: 576px) {
    .team-image-container {
        width: 200px;
        height: 250px;
        border-radius: 100px / 125px;
    }
}

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

.mission-card, .team-card, .counter {
    animation: fadeInUp 0.6s ease-out;
}

.mission-card:nth-child(2), .team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.mission-card:nth-child(3), .team-card:nth-child(3) {
    animation-delay: 0.4s;
} 