/* --- ABOUT US PAGE STYLES --- */

:root {
    --primary-blue: #007bff;
    --text-dark: #1d1d1f;
    --text-light: #6e6e73;
    --bg-offwhite: #f5f5f7;
    --border-color: #d2d2d7;
}

/* 1. Hero Section */
.about-hero {
    height: 450px;
    background: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?q=80&w=2070&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.about-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Slightly darker for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* 2. Story Section */
.story-section {
    padding: 100px 0;
    background-color: white;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sub-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
}

.story-text h2 {
    font-size: 2.5rem;
    margin: 0 0 25px 0;
    line-height: 1.2;
}

.story-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.signature-block {
    margin-top: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.signature-img {
    height: 50px;
    opacity: 0.8;
}

.story-image {
    position: relative;
}

.img-frame {
    position: relative;
    z-index: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.img-frame img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.story-image:hover .img-frame img {
    transform: scale(1.03);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--text-dark);
    color: white;
    padding: 30px;
    border-radius: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 1);
}

.experience-badge .years {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
    font-weight: 500;
}

/* 3. Stats Section */
.stats-section {
    background-color: var(--bg-offwhite);
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item i {
    color: var(--primary-blue);
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.95rem;
}

/* 4. Values Section */
.values-section {
    padding: 100px 0;
}

.section-header.center {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border-color: var(--text-dark);
}

.icon-bg {
    width: 70px;
    height: 70px;
    background-color: var(--bg-offwhite);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    transition: background-color 0.3s, color 0.3s;
}

.icon-bg i {
    width: 30px;
    height: 30px;
    color: white;
}

.value-card:hover .icon-bg {
    background-color: var(--text-dark);
    color: var(--bg-offwhite)
}

.value-card:hover .icon-bg i {
    color: white;
}

.value-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 5. Team Section */
.team-section {
    padding: 0 0 100px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s;
}

.team-img {
    position: relative;
    padding-top: 120%;
    /* Portrait Aspect Ratio */
    overflow: hidden;
    border-radius: 12px;
}

.team-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect for Image & Socials */
.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-socials {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.team-card:hover .team-socials {
    opacity: 1;
    transform: translateY(0);
}

.team-socials a {
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: color 0.2s;
}

.team-socials a:hover {
    color: var(--text-dark);
}

.team-info {
    text-align: center;
    padding-top: 20px;
}

.team-info h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
}

.team-info span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-image {
        order: -1;
        margin-bottom: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}