/* ========================================
   ABOUT PAGE STYLES
   ======================================== */

/* Page Header */
.page-header {
    background-image: url('../images/dhow-sunset.jpg');
    background-size: cover;
    background-position: center;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Our Story Section */
.our-story {
    padding: 100px 0;
    background: #ffffff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.text-content h2 {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.text-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.lead {
    font-size: 1.3rem;
    color: #2c5aa0;
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.story-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.05), rgba(52, 152, 219, 0.05));
    border-radius: 15px;
    border-left: 4px solid #f39c12;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.1);
}

.highlight i {
    font-size: 2rem;
    color: #f39c12;
}

.highlight span {
    font-size: 1rem;
    color: #2c5aa0;
    font-weight: 600;
}

.image-content {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
}

.image-content img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-content:hover img {
    transform: scale(1.05);
}

.image-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(44, 90, 160, 0.3), transparent);
    pointer-events: none;
}

/* Our Mission Section */
.our-mission {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.image-side {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
}

.image-side img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.image-side:hover img {
    transform: scale(1.05);
}

.text-side h2 {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.text-side h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.text-side > p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.mission-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value {
    padding: 2rem;
    background: #ffffff;
    border-radius: 15px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.08);
    transition: all 0.3s ease;
}

.value:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(44, 90, 160, 0.15);
}

.value h4 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.value h4 i {
    color: #f39c12;
    font-size: 1.5rem;
}

.value p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Our Team Section */
.our-team {
    padding: 100px 0;
    background: #ffffff;
}

.our-team h2 {
    text-align: center;
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.our-team h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.team-member {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(44, 90, 160, 0.15);
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(44, 90, 160, 0.25);
}

.team-member img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-member:hover img {
    transform: scale(1.1);
}

.member-info {
    padding: 2rem;
}

.member-info h3 {
    font-size: 1.6rem;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.role {
    font-size: 1rem;
    color: #f39c12;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-info p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.member-skills span {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.08), rgba(52, 152, 219, 0.08));
    color: #2c5aa0;
    font-size: 0.85rem;
    border-radius: 20px;
    font-weight: 500;
}

/* Why Kendwa Section */
.why-kendwa {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.why-kendwa h2 {
    text-align: center;
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.why-kendwa h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 2px;
}

.kendwa-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(44, 90, 160, 0.1);
    transition: all 0.4s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(44, 90, 160, 0.2);
    border-top-color: #f39c12;
}

.feature-card i {
    font-size: 3.5rem;
    color: #f39c12;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 80px;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .content-wrapper,
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .text-content h2,
    .text-side h2,
    .our-team h2,
    .why-kendwa h2 {
        font-size: 2.2rem;
    }

    .story-highlights {
        grid-template-columns: 1fr;
    }

    .image-content img,
    .image-side img {
        height: 350px;
    }

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

    .team-member img {
        height: 300px;
    }

    .kendwa-features {
        grid-template-columns: 1fr;
    }

    .our-story,
    .our-mission,
    .our-team,
    .why-kendwa {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .text-content h2,
    .text-side h2 {
        font-size: 1.8rem;
    }

    .image-content img,
    .image-side img {
        height: 280px;
    }
}
