.hero{
    height: 50vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../images/about/about-us-photo-collage-banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.timeline {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
    padding: 20px;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(180deg, var(--accent-color), var(--light-purple), var(--primary-color));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 10px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 45%;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--light-color);
    border: 5px solid;
    border-radius: 50%;
    top: 20px;
    z-index: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.left {
    left: 0;
}

.right {
    left: 55%;
}

.left::after {
    right: -16px;
    border-color: var(--accent-color);
}

.right::after {
    left: -16px;
    border-color: var(--light-purple);
}

.timeline-content {
    padding: 25px;
    background-color: white;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.left .timeline-content {
    border-top: 5px solid var(--accent-color);
}

.right .timeline-content {
    border-top: 5px solid var(--light-purple);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.timeline-year {
    position: absolute;
    top: -15px;
    font-family: var(--heading-font);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.left .timeline-year {
    right: 20px;
}

.right .timeline-year {
    left: 20px;
}

.timeline-content h3 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-top: 10px;
    margin-bottom: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background-color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 3px solid rgba(255, 255, 255, 0.7);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-member-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member-info {
    padding: 25px;
    text-align: center;
}

.team-member:nth-child(1) {
    border-top: 5px solid var(--accent-color);
}

.team-member:nth-child(2) {
    border-top: 5px solid var(--light-purple);
}

.team-member:nth-child(3) {
    border-top: 5px solid var(--secondary-color);
}

.team-member:nth-child(4) {
    border-top: 5px solid var(--primary-color);
}

.team-member h3 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 10px;
}

.team-member .role {
    display: inline-block;
    font-family: var(--heading-font);
    background-color: var(--light-color);
    color: var(--dark-color);
    padding: 5px 15px;
    border-radius: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-social {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--light-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.team-social a:hover {
    transform: translateY(-3px);
    color: white;
}

.team-social a:nth-child(1):hover {
    background-color: var(--accent-color);
}

.team-social a:nth-child(2):hover {
    background-color: var(--light-purple);
}

.team-social a:nth-child(3):hover {
    background-color: var(--secondary-color);
}

.about-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.about-img-container {
    border-radius: 50%;
    overflow: hidden;
    width: 250px;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid white;
    position: relative;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 5px dashed var(--accent-color);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.mission-container {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 20px;
    margin: 60px 0;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.mission-icon {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(136, 201, 161, 0.5);
    border: 3px solid white;
}

.mission-statement {
    text-align: center;
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--dark-color);
    font-style: italic;
    margin-bottom: 0;
}

.mission-statement::before,
.mission-statement::after {
    content: '"';
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: middle;
}

.stats-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 60px 0;
}

.stat-item {
    background-color: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 3px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.stat-item:nth-child(1) {
    border-top: 5px solid var(--accent-color);
}

.stat-item:nth-child(2) {
    border-top: 5px solid var(--light-purple);
}

.stat-item:nth-child(3) {
    border-top: 5px solid var(--secondary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 10px;
    font-family: var(--heading-font);
}

.stat-text {
    color: var(--dark-color);
    font-size: 1.1rem;
}

.testimonial-section {
    background-color: var(--light-purple);
    padding: 80px 0;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M30,10 Q50,0 70,10 T100,30 Q110,50 100,70 T70,100 Q50,110 30,100 T0,70 Q-10,50 0,30 T30,10" stroke="%23FFFFFF" fill="none" stroke-width="2" opacity="0.2"/></svg>');
    background-size: 300px 300px;
}

.testimonial-section::before,
.testimonial-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.1;
}

.testimonial-section::before {
    background-color: var(--accent-color);
    top: -50px;
    left: -50px;
}

.testimonial-section::after {
    background-color: var(--secondary-color);
    bottom: -50px;
    right: -50px;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonial-author h4 {
    margin: 0;
    color: var(--dark-color);
    font-family: var(--heading-font);
}

.testimonial-author p {
    margin: 5px 0 0;
    color: var(--gray-color);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .about-intro {
        flex-direction: row;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 15px;
    }
    
    .left::after, .right::after {
        left: 15px;
    }
    
    .right {
        left: 0;
    }
    
    .left .timeline-year, .right .timeline-year {
        left: 20px;
    }
}