﻿.main-content {
    margin-top: 0;
}

/* Page Header */
.page-header {
    background-image: url('/photos/about-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 0;
    position: relative;
}

    .page-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(20, 20, 35, 0.7) 0%, rgba(188, 24, 24, 0.7) 100%);
        z-index: 1;
    }

    .page-header > div {
        position: relative;
        z-index: 2;
        padding: 0 2rem;
    }

    .page-header h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

    .page-header p {
        font-size: 1.4rem;
        opacity: 0.95;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* About Content */
.about-content {
    padding: 5rem 0;
    background: #fff;
}

.about-section {
    margin-bottom: 5rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: #141423;
        margin-bottom: 1rem;
        position: relative;
    }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(45deg, #bc1818, #141423);
            border-radius: 2px;
        }

    .section-title p {
        color: rgba(20, 20, 35, 0.7);
        font-size: 1.1rem;
        margin-top: 1rem;
    }

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

    .content-grid.reverse {
        direction: rtl;
    }

        .content-grid.reverse > * {
            direction: ltr;
        }

.content-text h2 {
    color: #141423;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

    .content-text h2::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 50px;
        height: 3px;
        background: linear-gradient(45deg, #bc1818, #141423);
        border-radius: 2px;
    }

.content-text p {
    color: rgba(20, 20, 35, 0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.content-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(20, 20, 35, 0.15);
    width: 100%;
}

    .content-image img {
        width: 100%;
        height: 350px;
        object-fit: cover;
        transition: transform 0.3s ease;
        display: block;
    }

    .content-image:hover img {
        transform: scale(1.05);
    }

/* Values Section */
.values-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.9) 100%);
    padding: 5rem 0;
    position: relative;
}

    .values-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23bc1818" opacity="0.05"/><circle cx="90" cy="50" r="1" fill="%23141423" opacity="0.05"/><circle cx="50" cy="90" r="1" fill="%23bc1818" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
        opacity: 0.3;
    }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.value-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(20, 20, 35, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(188, 24, 24, 0.1);
}

    .value-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(45deg, #bc1818, #141423);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .value-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 50px rgba(20, 20, 35, 0.2);
        border-color: rgba(188, 24, 24, 0.3);
    }

        .value-card:hover::before {
            transform: translateX(0);
        }

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #bc1818, #141423);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(188, 24, 24, 0.3);
}

.value-card h3 {
    color: #141423;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.value-card p {
    color: rgba(20, 20, 35, 0.7);
    line-height: 1.7;
    font-size: 1rem;
}

/* Certifications Section */
.certifications-section {
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.5);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certification-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(20, 20, 35, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .certification-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(188, 24, 24, 0.02), rgba(20, 20, 35, 0.02));
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .certification-card:hover {
        transform: translateY(-8px);
        border-color: #bc1818;
        box-shadow: 0 15px 40px rgba(20, 20, 35, 0.2);
    }

        .certification-card:hover::before {
            transform: translateY(0);
        }

.certification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #bc1818, #141423);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(188, 24, 24, 0.3);
    position: relative;
    z-index: 1;
}

.certification-card h4 {
    color: #141423;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.certification-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
}

    .certification-badge i {
        font-size: 0.9rem;
    }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .page-header {
        height: 50vh;
        margin-top: 0;
    }

        .page-header h1 {
            font-size: 2.5rem;
        }

        .page-header p {
            font-size: 1.2rem;
        }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

        .content-grid.reverse {
            direction: ltr;
        }

    .content-image {
        width: 100%;
        max-width: 100%;
    }

        .content-image img {
            height: 250px;
            object-fit: cover;
        }

    .section-title h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .values-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-content {
        padding: 3rem 0;
    }

    .values-section,
    .certifications-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .page-header {
        margin-top: 0;
        height: 40vh;
    }

        .page-header h1 {
            font-size: 2rem;
        }

        .page-header p {
            font-size: 1rem;
        }

    .content-image {
        border-radius: 10px;
    }

        .content-image img {
            height: 200px;
            object-fit: cover;
        }

    .content-text h2 {
        font-size: 1.5rem;
    }

    .content-text p {
        font-size: 0.95rem;
    }

    .value-card,
    .certification-card {
        padding: 2rem 1.5rem;
    }

    .certification-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
}
