/**
 * company-sustainability.css
 * Separate CSS for sustainability page - isolated from inline styles
 * Sandrian Ceylon
 */

/* Force main content visible */
main#main-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 100vh;
}

/* Sustainability Hero Section */
.sustainability-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./images/sustainability-impact.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #ffffff;
    text-align: center;
    position: relative;
}

.sustainability-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.sustainability-hero p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Sustainability Cards */
.sustainability-card {
    height: 100%;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    background: #ffffff;
    border: 2px solid transparent;
}

.sustainability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #2e7d32;
}

/* Sustainability Icon */
.sustainability-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.sustainability-card:hover .sustainability-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.sustainability-icon i {
    font-size: 2.5rem;
    color: #ffffff;
}

.sustainability-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.sustainability-card p {
    color: #616161;
    line-height: 1.8;
    margin: 0;
}

/* Stats Box */
.sustainability-stat-box {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.sustainability-stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.sustainability-stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.sustainability-stat-box p {
    color: #424242;
    font-size: 1.1rem;
    margin: 0;
}

/* Impact Section */
.impact-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border-left: 5px solid #2e7d32;
}

.impact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
}

.impact-item h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.impact-item ul {
    margin: 0;
    padding-left: 1.5rem;
}

.impact-item li {
    color: #424242;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.impact-item li:last-child {
    margin-bottom: 0;
}

/* Partner Cards */
.partner-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.16);
}

.partner-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #2e7d32;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    border-color: #66bb6a;
    transform: scale(1.05);
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1rem;
}

.partner-card p {
    color: #616161;
    line-height: 1.7;
    margin: 0;
}

/* Initiative Cards */
.initiative-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.09);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.initiative-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.initiative-card:hover::before {
    transform: scaleX(1);
}

.initiative-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 45px rgba(0, 0, 0, 0.18);
}

.initiative-icon {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(102, 187, 106, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.initiative-card:hover .initiative-icon {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    transform: scale(1.1) rotate(5deg);
}

.initiative-icon i {
    font-size: 2rem;
    color: #2e7d32;
    transition: color 0.3s ease;
}

.initiative-card:hover .initiative-icon i {
    color: #ffffff;
}

.initiative-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 1.2rem;
}

.initiative-card p {
    color: #616161;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.initiative-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.initiative-card li {
    color: #424242;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.initiative-card li:last-child {
    margin-bottom: 0;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212121;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #2e7d32, #66bb6a);
    border-radius: 2px;
}

.section-header p.lead {
    font-size: 1.2rem;
    color: #616161;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Achievement Badges */
.achievement-badge {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.05), rgba(102, 187, 106, 0.05));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-badge:hover {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.1), rgba(102, 187, 106, 0.1));
    border-color: #2e7d32;
    transform: translateX(8px);
}

.achievement-badge i {
    font-size: 2.5rem;
    color: #2e7d32;
    min-width: 50px;
}

.achievement-badge-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #212121;
    margin-bottom: 0.5rem;
}

.achievement-badge-content p {
    color: #616161;
    margin: 0;
    line-height: 1.6;
}

/* Call to Action Section */
.cta-sustainability {
    background: linear-gradient(135deg, #2e7d32, #66bb6a);
    padding: 5rem 0;
    text-align: center;
    color: #ffffff;
}

.cta-sustainability h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-sustainability p.lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-sustainability .btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

/* Commitment Cards */
.commitment-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid #2e7d32;
}

.commitment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.commitment-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 1rem;
}

.commitment-card ul {
    margin: 0;
    padding-left: 1.5rem;
}

.commitment-card li {
    color: #424242;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

/* Animations */
.animate-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .sustainability-hero {
        padding: 80px 0;
    }
    
    .sustainability-hero h1 {
        font-size: 2rem;
    }
    
    .sustainability-hero p.lead {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .sustainability-card,
    .initiative-card,
    .partner-card {
        margin-bottom: 2rem;
    }
    
    .achievement-badge {
        flex-direction: column;
        text-align: center;
    }
}
