/* About Us Page Specific Styles */

/* Hero Section */
.about-page-hero {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3d16 100%);
    overflow: hidden;
}

.about-page-hero .hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-page-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 900px;
}

.about-hero-content .hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.about-hero-content h1 .highlight {
    color: #8fd9a8;
    position: relative;
}

.about-hero-content p {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-stat::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.2);
}

.hero-stat:last-child::after {
    display: none;
}

.hero-stat .stat-value {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    font-family: 'Source Sans 3', sans-serif;
}

.hero-stat .stat-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-page-hero {
        padding: 80px 0 60px;
    }

    .hero-stats {
        gap: 30px;
    }

    .hero-stat::after {
        display: none;
    }
}

/* Mission & Vision Section */
.mission-vision-section {
    /* padding: 80px 0; */
    background: var(--light-green);
}

.mission-vision-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(13, 79, 28, 0.12);
    border-color: var(--primary-color);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--light-green);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.mv-card:hover .mv-icon {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.mv-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 16px;
}

.mv-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .mission-vision-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Leadership Section */
.leadership-section {
    padding: 60px 0;
    background: var(--white);
}

.leadership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.leadership-text p {
    color: var(--secondary-color);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.leadership-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    background: var(--light-green);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: var(--primary-color);
}

.highlight-item:hover span {
    color: var(--white);
}

.highlight-item:hover svg {
    color: var(--white);
}

.highlight-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
    transition: color 0.3s ease;
}

.highlight-item span {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 15px;
    transition: color 0.3s ease;
}

.leadership-image {
    position: relative;
}

.leadership-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.leadership-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.3;
}

@media (max-width: 900px) {
    .leadership-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .leadership-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .leadership-image::before {
        display: none;
    }
}

/* Timeline Section */
.timeline-section {
    padding: 60px 0;
    background: #f8faf8;
}

.timeline {
    margin-top: 60px;
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), #8fd9a8);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 50px;
    padding-left: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    background: var(--primary-color);
    transform: scale(1.2);
}

.timeline-item.highlight .timeline-marker {
    width: 26px;
    height: 26px;
    left: -43px;
    top: 2px;
    background: var(--primary-color);
    border-color: #8fd9a8;
}

.timeline-content {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-item:hover .timeline-content {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(13, 79, 28, 0.1);
    border-color: var(--primary-color);
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0a3d16 100%);
    color: var(--white);
}

.timeline-item.highlight .timeline-content h3,
.timeline-item.highlight .timeline-content p {
    color: var(--white);
}

.timeline-item.highlight .timeline-year {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.timeline-year {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--light-green);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--secondary-color);
    margin: 0;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 30px;
    }

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

    .timeline-item {
        padding-left: 30px;
    }

    .timeline-marker {
        left: -30px;
        width: 16px;
        height: 16px;
    }

    .timeline-item.highlight .timeline-marker {
        width: 20px;
        height: 20px;
        left: -32px;
    }

    .timeline-content {
        padding: 24px;
    }
}

/* Partner Features Section Enhancement */
.partner-features {
    /* padding-bottom: 80px; */
    margin-bottom: 0;
}

.partner-features .feature-item {
    background: var(--light-green);
    padding: 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.partner-features .feature-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(13, 79, 28, 0.1);
    transform: translateY(-5px);
}

/* Ensure base styles work */
.about-wrapper {
    /* padding: 80px 0; */
}

.about-wrapper p {
    max-width: 100%;
}

/* Section label consistency */
.content-wrap {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .about-page-hero {
        padding: 60px 0 50px;
    }

    .about-hero-content h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .mission-vision-section,
    .leadership-section,
    .timeline-section {
        padding: 60px 0;
    }

    .mv-card {
        padding: 30px 24px;
    }

    .timeline-item {
        padding-bottom: 35px;
    }
}