/* ==========================================================================
   ESG Page Styles
   ========================================================================== */

/* Hero Section */
.esg-hero {
    display: flex;
    align-items: center;
    min-height: 60vh;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ESG Sections */
.esg-section {
    padding: 5rem 0;
    position: relative;
}

.esg-section:nth-child(even) {
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c5530;
}

.section-header .icon {
    margin: 0 auto 1rem;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4a7c59, #2c5530);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 25px rgba(44, 85, 48, 0.3);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.text-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c5530;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #555;
}

.text-content ul {
    list-style: none;
    padding: 0;
}

.text-content li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.text-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #4a7c59;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Environmental Section Specific */
.environmental .section-header h2 {
    color: #2d5016;
}

.environmental .section-header .icon {
    background: linear-gradient(135deg, #4caf50, #2d5016);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.metric-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #4caf50;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.metric-card h4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d5016;
    margin-bottom: 0.5rem;
}

.metric-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* Social Section Specific */
.social .section-header h2 {
    color: #1565c0;
}

.social .section-header .icon {
    background: linear-gradient(135deg, #2196f3, #1565c0);
}

.social-initiatives {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.initiative-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2196f3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.initiative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.initiative-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 1rem;
}

.initiative-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Governance Section Specific */
.governance .section-header h2 {
    color: #7b1fa2;
}

.governance .section-header .icon {
    background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.governance-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.pillar-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid #9c27b0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pillar-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #7b1fa2;
    margin-bottom: 1rem;
}

.pillar-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .esg-hero {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1rem;
        min-height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .esg-section {
        padding: 3rem 0;
    }
    
    .metrics {
        grid-template-columns: 1fr;
    }
    
    .social-initiatives,
    .governance-pillars {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .text-content h3 {
        font-size: 1.4rem;
    }
    
    .metric-card,
    .initiative-card,
    .pillar-card {
        padding: 1.5rem;
    }
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.esg-section {
    animation: fadeInUp 0.8s ease-out;
}

/* Accessibility improvements */
.metric-card:focus,
.initiative-card:focus,
.pillar-card:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .esg-hero {
        background: none;
        color: black;
    }
    
    .metric-card,
    .initiative-card,
    .pillar-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}