﻿/* About Us Page Styles */

/* General Styles */
.section-title {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 70px;
    background: var(--gradient-lightblue);
}

section {
    padding: 5rem 0;
}

section:nth-child(odd) {
    background-color: var(--white-transparent);
}

section:nth-child(even) {
    background-color: var(--gray-transparent);
}

/* Hero Section */
.about-hero {
    background: linear-gradient(rgba(26, 62, 161, 0.8), rgba(26, 62, 161, 0.9)), url('/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 10rem 0;
    margin-bottom: 0;
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    font-family: 'Raleway', sans-serif;
}

/* Mission Section */
.about-mission {
    position: relative;
}

.about-mission .section-title {
    text-align: left;
}

.about-mission .section-title::after {
    left: 0;
    margin-left: 0;
}

.mission-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.mission-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    background: linear-gradient(to top left, var(--lightest-blue), var(--blue), var(--blue));
}

/* Vision Section */
.about-vision {
    position: relative;
}

.about-vision .section-title {
    text-align: left;
}

.about-vision .section-title::after {
    left: 0;
    margin-left: 0;
}

.vision-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.vision-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.vision-icon {
    background: linear-gradient(to top left, var(--lightest-blue), var(--blue), var(--blue));
}

/* Timeline Section */
.timeline {
    position: relative;
    padding: 2rem 0;
    margin-top: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--gradient-lightblue);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--blue);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-content {
    position: relative;
    width: 45%;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 10px;
    right: -15px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent white;
}

.timeline-item h3 {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team-member {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(26, 62, 161, 0.2);
}

.member-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    background-color: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.member-image i {
    font-size: 5rem;
}

.team-member h4 {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.member-title {
    color: var(--text-light-black);
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Customer Testimonials Section */
.about-testimonials .section-title {
    text-align: center;
}

.about-testimonials .section-title::after {
    left: 50%;
    margin-left: -35px;
}

/* Values Section */
.value-card {
    text-align: center;
    padding: 2rem;
    margin-bottom: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 3rem;
    color: var(--blue);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: var(--blue);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-values .section-title {
    text-align: center;
}

.about-values .section-title::after {
    left: 50%;
    margin-left: -35px;
}

/* Stats Section */
.about-stats {
    background: linear-gradient(rgba(26, 62, 161, 0.9), rgba(26, 62, 161, 0.9)), url('/images/stats-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-dot {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before {
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -15px;
        right: auto;
        border-width: 10px 15px 10px 0;
        border-color: transparent white transparent transparent;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .about-hero {
        padding: 6rem 0;
    }
    
    .vision-image-container, .mission-image-container {
        margin-bottom: 2rem;
    }
    
    .about-vision .row {
        flex-direction: column-reverse;
    }
}
