:root {
    --primary-green: #2E7D32;
    --accent-earth: #8D6E63;
    --secondary-orange: #eb7118;
}

body {
    -webkit-font-smoothing: antialiased;
}

.about-hero {
    height: 60vh;
    display: flex;
    color: white;
    position: relative;
    align-items: center;
    background:  url('../images/drivers_of_cleaner_environment.jpg') center/cover;
    background-position: center;
}

.theory-of-change{
    height: 500px;
    width: 100%;
    background-image: url('../images/Theory of Change.png'); 
    background-size: cover; 
    background-position: center;
    background-attachment: fixed;
}

.theory-of-change div{
    display: none;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-green);
}
.timeline::after {
    content: '';
    position: absolute;
    background: var(--primary-green);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}
.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    transform: translateY(20px);
    transition: all 0.5s ease;
}
.timeline-item .card:hover{
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #2E7D32;
    transform: translateY(-10px);
    & .text-title{
        color:#eb7118 !important;
    }
}
.timeline-item.left {
    left: 0;
    text-align: right;
}
.timeline-item.right {
    left: 50%;
    text-align: left;
}

.member {
    transition: transform 0.3s;
    border: none;
    overflow: hidden;
}
.hover:hover{
    transform: translateY(-10px);
    transition: transform 0.3s;
}
.member:hover {
    transform: translateY(-10px);
}

.value-card {
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.asset-container {
    position: relative;
    overflow: hidden;
    & img{
        width: 100%;
        height: 100%;
        object-fit: contain !important;
    }
}
.image-protect {
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    object-fit: contain !important;
    background: 0px 0px;
}
.social{
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--primary-green);
    cursor: pointer;
}
.social a{
    color: #ffff;
    margin: 0 10px;
    cursor: pointer;
}
.social a i{
    font-size: 20px;
    cursor: pointer;
}
.social a i:hover{
    color: black;
}
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 40px;
    }

    .timeline-item::before {
        left: 0;
    }
}