/* Base Styles */
.sustainability-container {
    padding: 40px 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.sustainability-section {
    display: flex;
    margin-bottom: 80px;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
}

.section-content {
    flex: 1;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-content h2 {
    color: #2c3e50;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-content h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #27ae60;
}

.section-content h3 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 30px;
}

.section-content p,
.section-content li {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

.section-content ul {
    list-style-type: none;
}

.section-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.section-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Section 1 Specific Styles */
.section-1 {
    background-color: #f9f9f9;
}

.section-1 .section-image {
    background-image: url("../../images/home/03.jpg");
}

.section-1:hover .section-image {
    transform: scale(1.05);
}

/* Section 2 Specific Styles */
.section-2 {
    flex-direction: row-reverse;
    background-color: #f0f7f3;
}

.section-2 .section-image {
    background-image: url("../../images/home/03.jpg");
}

.section-2 .section-content {
    background-color: #ffffff;
}

.section-2:hover .section-image {
    transform: skew(-2deg);
}

/* Section 3 Specific Styles */
.section-3 {
    position: relative;
    background-color: #f8f9fa;
}

.section-3 .section-image {
    background-image: url("../../images/home/03.jpg");
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
}

.section-3:hover .section-image {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-on-scroll {
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
}

.slideInLeft {
    animation-name: slideInLeft;
}
.slideInRight {
    animation-name: slideInRight;
}
.fadeIn {
    animation-name: fadeIn;
}
.fadeInUp {
    animation-name: fadeInUp;
}
.zoomIn {
    animation-name: zoomIn;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-content h2 {
        color: #fff;
    }
    .sustainability-section {
        flex-direction: column;
        height: auto;
    }

    .section-2 {
        flex-direction: column;
    }

    .section-image,
    .section-content {
        flex: none;
        height: 300px;
    }

    .section-content {
        padding: 30px;
    }
}
