/*
 * About Page Styles - V2 Design
 * HalalahSite - Halala Plus
 * Clean modern design matching Figma V2
 */

/* ============================================
   ABOUT HERO (من نحن؟) - Matching Figma
   ============================================ */
.about-v2-hero {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 20px;
    min-height: 500px;
}

.about-v2-hero .about-v2-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.about-v2-hero .about-v2-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.about-v2-hero .about-v2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 94, 252, 0.85) 0%, rgba(124, 58, 237, 0.85) 100%);
    z-index: 1;
}

.about-v2-hero .about-v2-content {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 2;
    padding: 60px;
    max-width: 65%;
}

[dir="LTR"] .about-v2-hero .about-v2-content {
    right: auto;
    left: 0;
}

.about-v2-hero .about-v2-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #FFFFFF !important;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.about-v2-hero .about-v2-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 2;
}

/* ============================================
   ABOUT CARDS SECTION (Vision, Mission, Values)
   ============================================ */
.about-cards-v2 {
    background: var(--v2-bg-section, #FAFBFF);
}
.about-feature-card {
    background: #FFFFFF;
    border: 1px solid #D1D5DB;
    border-radius: 10px;
    padding: 45px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}
.about-feature-card .about-feature-icon {
    width: 90px;
    height: 90px;
    background: transparent;
    color: var(--v2-primary, #4B5EFC);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.about-feature-card .about-feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--v2-primary, #4B5EFC);
    margin-bottom: 15px;
    transition: all 0.3s ease;
}
.about-feature-card .about-feature-text {
    font-size: 1.05rem;
    color: var(--v2-text-gray, #666666);
    line-height: 1.8;
    transition: all 0.3s ease;
}

.about-feature-card:hover {
    background: var(--v2-primary, #4B5EFC);
    border-color: var(--v2-primary, #4B5EFC);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(75, 94, 252, 0.2);
}
.about-feature-card:hover .about-feature-icon {
    color: #FFFFFF;
}
.about-feature-card:hover .about-feature-icon img {
    filter: brightness(0) invert(1);
}
.about-feature-card:hover .about-feature-title,
.about-feature-card:hover .about-feature-text {
    color: #FFFFFF;
}

/* ============================================
   ABOUT TYPOGRAPHY & UTILITIES
   ============================================ */
.about-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--v2-text-dark, #1A1A2E);
    position: relative;
}

.section-title-centered {
    display: inline-block;
}

.section-title-centered::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--v2-primary, #4B5EFC);
    border-radius: 2px;
}

.about-section-text {
    font-size: 1.05rem;
    color: var(--v2-text-gray, #666666);
    line-height: 2;
}

/* ============================================
   TEAM SECTION
   ============================================ */
.about-team-v2 {
    background: var(--v2-bg-white, #FFFFFF);
}

.team-card-v2 {
    background: var(--v2-bg-white, #FFFFFF);
    border: 1px solid var(--v2-border-light, #E8ECF4);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card-v2:hover {
    border-color: var(--v2-primary, #4B5EFC);
    box-shadow: 0 10px 30px rgba(75, 94, 252, 0.12);
    transform: translateY(-5px);
}

.team-card-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card-img img {
    max-height: 100%;
    max-width: 120px;
    object-fit: contain;
    border-radius: 50%;
}

.team-card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--v2-text-dark, #1A1A2E);
}

.team-card-role {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--v2-primary, #4B5EFC);
}

.team-card-desc {
    font-size: 0.9rem;
    color: var(--v2-text-gray, #666666);
    line-height: 1.7;
}

/* ============================================
   ACHIEVEMENTS SECTION
   ============================================ */
.about-achievements-v2 {
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.achievement-card-v2 {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #D1D5DB;
    padding: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

.achievement-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--v2-primary, #4B5EFC);
}

.achievement-img-wrap {
    width: 100%;
    min-height: 320px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.achievement-img-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.achievement-card-v2 h5 {
    color: var(--v2-text-dark, #1A1A2E);
}

.achievement-card-v2 span {
    color: var(--v2-text-gray, #666666);
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 992px) {
    .about-v2-hero .about-v2-content {
        max-width: 100%;
        padding: 30px;
    }

    .about-v2-hero .about-v2-title {
        font-size: 2rem;
    }

    .about-v2-hero .about-v2-image-wrapper {
        min-height: 400px;
    }

    .about-image-v2 {
        max-width: 250px;
        margin: 20px auto;
    }
}

@media (max-width: 768px) {
    .about-v2-hero {
        margin: 0 10px;
        min-height: 350px;
    }

    .about-v2-hero .about-v2-image-wrapper {
        min-height: 350px;
    }

    .about-v2-hero .about-v2-content {
        padding: 25px 20px;
    }

    .about-v2-hero .about-v2-title {
        font-size: 1.6rem;
    }

    .about-v2-hero .about-v2-text {
        font-size: 0.95rem;
    }

    .about-section-title {
        font-size: 1.7rem;
    }

    .about-image-v2 {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .about-v2-hero {
        margin: 0 5px;
        min-height: 300px;
    }

    .about-v2-hero .about-v2-image-wrapper {
        min-height: 300px;
    }

    .about-v2-hero .about-v2-title {
        font-size: 1.4rem;
    }

    .about-section-title {
        font-size: 1.5rem;
    }
}
