/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* --- Section 1: Our Story --- */
.about-section {
    margin-bottom: 80px;
}
.story-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}
.story-content {
    flex: 1;
}
.story-image {
    flex: 1;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}
.story-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.story-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}
.story-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* --- Section 2: Stats Counter --- */
.stats-section {
    background: var(--dark);
    padding: 60px 0;
    margin-bottom: 80px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}
.stat-box h2 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-weight: 700;
}
.stat-box p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 1px;
}

/* --- Section 3: Features Grid --- */
.features-area {
    margin-bottom: 80px;
}
.features-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.f-card {
    text-align: center;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: var(--transition);
}
.f-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}
.icon-box {
    width: 70px;
    height: 70px;
    background: #f9f9f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
}
.f-card h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.f-card p {
    color: #666;
    font-size: 0.9rem;
}

/* --- Section 4: Team --- */
.team-section {
    margin-bottom: 80px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.team-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}
.team-card:hover {
    transform: translateY(-5px);
}

.team-img {
    position: relative;
    overflow: hidden;
    height: 300px;
}
.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.team-card:hover .team-img img {
    transform: scale(1.1);
}

.social-overlay {
    position: absolute;
    bottom: -50px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: bottom 0.4s ease;
}
.team-card:hover .social-overlay {
    bottom: 0;
}
.social-overlay a {
    color: var(--dark);
    font-size: 1.1rem;
    transition: var(--transition);
}
.social-overlay a:hover {
    color: var(--primary);
}

.team-info {
    padding: 20px;
}
.team-info h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.team-info span {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .story-wrapper {
        flex-direction: column;
    }
    .story-image {
        order: -1;
    } /* Image on top on mobile */
    .story-content h2 {
        font-size: 1.8rem;
    }
}
