/* ==========================================
   ABOUT HERO
========================================== */

.page-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 450px;
    background:
        linear-gradient(rgba(0,0,0,.65), rgba(0,0,0,.65)),
        url("../../img/why-us.png") center/cover no-repeat;
}

.page-hero-content {
    max-width: 800px;
    color: var(--white);
}

.page-hero-content span {
    display: inline-block;
    margin-bottom: 1rem;
    padding: .45rem 1rem;
    border-radius: 50px;
    background: rgba(255,255,255,.15);
    font-weight: 600;
}

.page-hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

.page-hero-content p {
    max-width: 650px;
    color: rgba(255,255,255,.9);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ==========================================
   ABOUT STORY
========================================== */

.about-story {
    background: var(--white);
}

.about-story-image {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-story-image img {
    transition: var(--transition);
}

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

/* ==========================================
   MISSION VISION
========================================== */

.mission-section {
    background: var(--background-color);
}

.mission-card {
    text-align: center;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.mission-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.8;
}

/* ==========================================
   VALUES
========================================== */

.values-section {
    background: var(--white);
}

.value-card {
    text-align: center;
}

.value-card h4 {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 700;
}

.value-card p {
    margin: 0;
    color: #6c757d;
    line-height: 1.8;
}

/* ==========================================
   ABOUT WHY US
========================================== */

.about-why-section {
    background: var(--background-color);
}

.about-why-image {
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}

.about-why-image img {
    transition: var(--transition);
}

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

.about-check-list {
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.about-check-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 500;
}

.about-check-list i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* ==========================================
   TIMELINE
========================================== */

.timeline-section {
    background: var(--white);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.timeline-year {
    width: 150px;
    padding: .8rem 1rem;
    border-radius: 50px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    font-weight: 700;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-year {
    margin-left: auto;
    margin-right: 5rem; 
}

.timeline-item:nth-child(even) .timeline-year {
    margin-left: 5rem; 
    margin-right: auto;
}

.timeline-content {
    width: 45%;
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--background-color);
    box-shadow: var(--shadow-sm);
}

.timeline-content h4 {
    margin-bottom: .75rem;
    color: var(--text-color);
    font-weight: 700;
}

.timeline-content p {
    margin: 0;
    color: #6c757d;
    line-height: 1.8;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

@media (max-width: 991.98px) {

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding-left: 50px;
    }

    .timeline-year {
        width: auto;
        margin: 0 !important;
    }

    .timeline-content {
        width: 100%;
    }

}

/* ==========================================
   ABOUT CTA
========================================== */

.about-cta-section {
    padding: 100px 0;
    background: var(--background-color);
}

.about-cta-wrapper {
    padding: 70px;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.about-cta-wrapper h2 {
    margin: 1rem 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

.about-cta-wrapper p {
    margin: 0;
    max-width: 650px;
    color: rgba(255,255,255,.9);
    line-height: 1.8;
}

.about-cta-wrapper .section-subtitle {
    background: rgba(255,255,255,.15);
    color: var(--white);
}

.about-cta-wrapper .btn {
    color: var(--primary-color);
    font-weight: 700;
}


@media (max-width:991.98px){

    .about-cta-wrapper {
        padding: 50px 30px;
        text-align:center;
    }

    .about-cta-wrapper .btn {
        margin-top: 1.5rem;
        width:100%;
    }

}