/* Hero Section */
.sustainability-hero {
    position: relative;
    height: 70vh;
    background: url('../assets/MAFINA/sustainability/sustainability-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
    margin-bottom: 4rem;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 6rem;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Commitment Section */
.commitment-section {
    padding: 5rem 0;
}

.commitment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.commitment-text {
    padding-right: 2rem;
}

.commitment-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.commitment-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Pillars Section */
.pillars-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pillar-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.pillar-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.pillar-description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pillar-features {
    list-style: none;
}

.pillar-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.pillar-features i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

/* Initiatives Section */
.initiatives-section {
    padding: 5rem 0;
}

.initiatives-tabs {
    margin-top: 3rem;
    border-radius: 8px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--primary-light);
}

.tab-button {
    padding: 1rem 2rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.tab-button:hover {
    color: var(--dark-color);
}

.tab-button.active {
    color: var(--primary-color);
}

.tab-button.active:after {
    width: 100%;
}

.tab-content {
    display: none;
    padding: 3rem 0;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tab-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tab-image img {
    width: 100%;
    height: auto;
    display: block;
}

.tab-text h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.tab-text p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.tab-features {
    list-style: none;
    margin: 2rem 0;
}

.tab-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.tab-features i {
    color: var(--primary-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}

.learn-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.learn-more:hover {
    color: var(--primary-dark);
    gap: 1rem;
}

/* Metrics Section */
.metrics-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.metric-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-unit {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.metric-label {
    color: var(--text-color);
    font-size: 1rem;
}

/* Partnerships Section */
.partnerships-section {
    padding: 5rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.partner-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.partner-card:hover {
    transform: scale(1.05);
}

.partner-card img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* CTA Section */
.sustainability-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button-primary {
    background: white;
    color: var(--primary-color);
}

.cta-button-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-button-secondary {
    border: 2px solid white;
    color: white;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .commitment-content,
    .tab-inner {
        grid-template-columns: 1fr;
    }
    
    .commitment-text {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .tab-buttons {
        flex-direction: column;
    }
    
    .tab-button {
        text-align: left;
        border-bottom: 1px solid var(--light-bg);
    }
    
    .tab-button:after {
        display: none;
    }
    
    .tab-button.active {
        background: var(--primary-light);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

/* Animation for counting stats */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.metric-value.animated {
    animation: countUp 1s ease-out forwards;
}