/* About Page Styles */

.about-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(rgba(38, 70, 83, 0.9), rgba(38, 70, 83, 0.8));
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4 !important;
}

.about-hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 40px;
}

.about-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* About Sections */
.about-section {
    padding: 20px 0;
}

.about-section:nth-child(even) {
    background: #f8f9fa;
}

.section-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.center {
    text-align: center;
}

.section-title.center:after {
    left: 50%;
    transform: translateX(-50%);
}

/* Story Section */
.story-timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 30px;
}

.story-timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.story-year {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.story-year:before {
    content: '';
    position: absolute;
    left: -36px;
    top: 5px;
    width: 15px;
    height: 15px;
    background: white;
    border: 3px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
}

.year-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Mission & Values */
.value-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 2px solid transparent;
}

.value-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 157, 143, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.value-icon i {
    font-size: 2.5rem;
    color: var(--primary);
}

/* Team Section */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    margin-bottom: 30px;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.team-content {
    padding: 25px;
}

.team-role {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.team-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--primary);
    color: white;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(rgba(38, 70, 83, 0.9), rgba(38, 70, 83, 0.9)), url('https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--dark);
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 20px;
    transition: var(--transition);
    border: none;
}

.cta-btn:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .about-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        /* height: 40vh; */
        min-height: 300px;
    }
    
    .about-hero-content h1 {
        font-size: 2rem;
    }
    
    .about-hero-content p {
        font-size: 1rem;
    }
    
    .story-timeline {
        padding-left: 20px;
    }
    
    .story-year {
        padding-left: 20px;
    }
    
    .story-year:before {
        left: -26px;
    }
}

@media (max-width: 576px) {
    .about-hero {
        /* height: 30vh; */
        min-height: 250px;
        /* margin-top: 66px; */
    }
    
    .about-hero-content h1 {
        font-size: 1.8rem;
    }
    
    .about-section {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-content .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .cta-content .ms-3 {
        margin-left: 0 !important;
    }
}