/* ============================================
   Sustainability Page Styles
   ============================================ */

/* Hero Section */
.sustainability-hero {
    position: relative;
    background: url('/assets/sustainability/sustainability-hero-bg.jpg') center center / cover no-repeat;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.sustainability-hero .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.sustainability-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.sustainability-hero .container {
    position: relative;
    z-index: 3;
}

.sustainability-hero h1 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.sustainability-intro {
    padding: 4rem 0;
    background: #fff;
    text-align: center;
}

.sustainability-intro .container {
    max-width: 800px;
}

.sustainability-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.sustainability-intro p:last-child {
    margin-bottom: 0;
}

.sustainability-intro strong {
    color: #2e7d32;
}

/* Carbon Neutral Section */
.carbon-neutral-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.carbon-neutral-section h2 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.carbon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}

.carbon-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.25rem;
}

.carbon-content a {
    color: #00838f;
    text-decoration: none;
    font-weight: 500;
}

.carbon-content a:hover {
    text-decoration: underline;
}

.carbon-content strong {
    color: #1a1a1a;
}

/* Certificate Card */
.certificate-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.certificate-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.billion-air-logo {
    width: 60px;
    height: auto;
}

.certificate-title {
    display: flex;
    flex-direction: column;
}

.carbon-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00838f;
    line-height: 1.1;
}

.air-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #4dd0e1;
}

.certificate-label {
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.certificate-body {
    text-align: center;
    padding: 1rem 0;
}

.certificate-body .presented {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.certificate-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.certificate-body .offset-amount {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.certificate-body .co2-amount {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00838f;
    margin-bottom: 0.5rem;
}

.certificate-body .since-text {
    font-size: 0.9rem;
    color: #2e7d32;
    font-weight: 500;
}

.certificate-footer {
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.sdg-icons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sdg-icon {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
}

.sdg-1 {
    background: #e5243b;
}

.sdg-2 {
    background: #dda63a;
}

.sdg-3 {
    background: #4c9f38;
}

.sdg-4 {
    background: #c5192d;
}

.sdg-5 {
    background: #ff3a21;
}

.sdg-6 {
    background: #26bde2;
}

.sdg-7 {
    background: #fcc30b;
}

.sdg-8 {
    background: #a21942;
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.standard-logo {
    height: 40px;
    width: auto;
}

.founder-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

.founder-title {
    font-size: 0.75rem;
    color: #888;
}

.valid-label {
    font-size: 0.75rem;
    color: #888;
}

.valid-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
}

/* Eco Products Section */
.eco-products-section {
    padding: 4rem 0;
    background: #fff;
}

.eco-products-section h2 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.eco-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.eco-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.eco-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.eco-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eco-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.eco-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

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

/* Pressure Section */
.pressure-section {
    padding: 4rem 0;
    text-align: center;
}

.pressure-section h2 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

.pressure-content {
    max-width: 700px;
    margin: 0 auto;
}

.pressure-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #555;
}

.pressure-content strong {
    color: #00838f;
}

/* Contact Form Section */
.sustainability-contact {
    padding: 4rem 0;
    background: #f8f9fa;
}

.sustainability-contact h2 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.span-2 {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.btn-submit {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .sustainability-hero {
        min-height: 250px;
    }

    .carbon-grid {
        grid-template-columns: 1fr;
    }

    .certificate-card {
        max-width: 400px;
        margin: 0 auto;
    }

    .certificate-details {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .sustainability-intro,
    .carbon-neutral-section,
    .eco-products-section,
    .pressure-section,
    .sustainability-contact {
        padding: 3rem 0;
    }

    .eco-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .sustainability-hero h1 {
        font-size: 1.25rem;
        padding: 0 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.span-2 {
        grid-column: auto;
    }

    .sdg-icons {
        gap: 0.25rem;
    }

    .sdg-icon {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }
}