/* --- Global Styles --- */
:root {
    --primary-green: #3a7d34;
    --dark-green: #2e6229;
    --light-green-bg: #e9f5e9;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-dark);
    line-height: 1.6;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    color: var(--primary-green);
    font-weight: 700;
}

.section {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid #eee;
}

.bg-light-green {
    background-color: var(--light-green-bg);
    border-bottom: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-green);
    margin: 15px auto 0;
}

.responsive-title {
    font-size: 3rem;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .section-title, .responsive-title {
        font-size: 2rem !important;
        margin-bottom: 30px !important;
    }
}

.text-center { text-align: center; }

.btn {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.btn:hover {
    background-color: var(--dark-green);
    transform: translateY(-2px);
}

/* --- Header & Navigation --- */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--primary-green);
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 1.4rem;
    line-height: 1;
    margin-bottom: 0;
}

.logo-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-green);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-green);
}

/* Mobile Nav Styles */
@media (max-width: 768px) {
    .logo-text h1 { font-size: 1.1rem; }
    .logo img { height: 40px; }
    
    .hamburger { display: block; }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }

    .nav.active { max-height: 400px; }

    .nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        text-align: center;
    }

    .nav li { margin: 10px 0; }
}

/* --- Hero Section --- */
.hero {
    background: url('images/bio3.png') no-repeat center center/cover;
    height: 70vh; 
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.1)); 
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    text-align: left;
    color: var(--white);
    padding-left: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: var(--white);
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    color: #e9f5e9;
}

@media (max-width: 768px) {
    .hero { justify-content: center; text-align: center; min-height: 400px; }
    .hero-content { text-align: center; padding-left: 0; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1.1rem; }
}

/* --- About Section --- */
.about-section { padding: 80px 0; background-color: #ffffff; }

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #123315;
    margin-bottom: 30px;
    line-height: 1.1;
}

.lead-text {
    font-size: 1.6rem;
    color: #2e7d32;
    margin-bottom: 25px;
    line-height: 1.4;
    font-weight: 500;
    text-align: justify !important;
}

.body-text {
    font-size: 1.35rem;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.6;
    text-align: justify !important;
}

.highlight-text {
    background-color: #2e7d32;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.about-collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 200px;
    gap: 15px;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.item-1 { grid-column: 1 / 2; grid-row: 1 / 2; }
.item-2 { grid-column: 2 / 3; grid-row: 1 / 2; }
.item-3 { grid-column: 1 / 3; grid-row: 2 / 3; }

@media (max-width: 992px) {
    .about-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .about-title { font-size: 2.5rem; text-align: center; }
    .lead-text, .body-text { text-align: center; font-size: 1.1rem; }
    .about-collage { grid-template-rows: 180px 180px; }
}

/* --- Benefits Section --- */
.benefits-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.benefits-col {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.benefit-item h3 {
    color: #1a3c18;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.benefit-item p {
    font-size: 1.15rem;
    color: #333;
    line-height: 1.5;
    font-weight: 500;
}

.text-right-desktop { text-align: right; }
.text-left-desktop { text-align: left; }

.benefits-center {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hexagon-container {
    width: 350px;
    height: 350px;
    position: relative;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.2));
}

.hexagon-container img, .hexagon-overlay {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.hexagon-overlay {
    position: absolute;
    top: 0; left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    background: rgba(0, 0, 0, 0.3);
}

.brand-name {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border: 3px solid rgba(255,255,255,0.8);
    padding: 10px 20px;
    background: rgba(0,0,0,0.4);
}

@media (max-width: 992px) {
    .benefits-layout { flex-direction: column; gap: 30px; }
    .benefits-center { order: -1; flex: 0 0 auto; }
    .text-right-desktop, .text-left-desktop { text-align: center; }
    .hexagon-container { width: 250px; height: 250px; }
    .brand-name { font-size: 1.3rem; padding: 5px 10px; }
}

/* --- Facility Section --- */
.facility-section { background-color: #123315; color: #ffffff; padding: 80px 0; }

.facility-title {
    text-align: left;
    color: #ffffff;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 60px;
    font-weight: 700;
}
.facility-title::after { display: none; }

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.facility-col { display: flex; flex-direction: column; gap: 50px; }

.facility-item { display: flex; align-items: center; gap: 25px; }

.f-icon {
    flex-shrink: 0;
    width: 70px;
    font-size: 3.5rem;
    color: #7cba28;
    text-align: center;
}

.f-text p {
    font-size: 1.3rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

@media (max-width: 900px) {
    .facility-grid { grid-template-columns: 1fr; gap: 40px; }
    .facility-title { font-size: 2.2rem; text-align: center; }
    .facility-item { flex-direction: column; text-align: center; }
    .f-icon { font-size: 2.5rem; width: auto; }
    .f-text p { font-size: 1.1rem; }
}

/* --- Process Section --- */
.process-section { background-color: #ffffff; padding: 80px 0; }

.process-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    row-gap: 50px;
}

.process-item { display: flex; flex-direction: column; }

.process-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.process-label {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 2px solid #eee;
}

.step-number {
    background-color: #009a49;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
}

.step-text {
    padding: 10px 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
    display: flex;
    align-items: center;
    line-height: 1.3;
}

/* --- Biomass Section --- */
.biomass-section { padding: 80px 0; background-color: #ffffff; }

.biomass-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.biomass-image-container {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.green-backdrop {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background-color: #1a3c18;
    z-index: 1;
    border-radius: 4px;
}

.biomass-image-container img {
    position: relative;
    z-index: 2;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.biomass-text { flex: 1; max-width: 600px; }

.biomass-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #1a3c18;
    margin-bottom: 25px;
}

.biomass-text p {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 900px) {
    .biomass-wrapper { flex-direction: column; text-align: center; gap: 50px; }
    .biomass-text h2 { font-size: 2.5rem; }
    .biomass-text p { font-size: 1.2rem; }
    .green-backdrop { top: 15px; left: 15px; }
}

/* =========================================
   TECHNICAL SPECIFICATION TABLE STYLES
   ========================================= */

/* --- 1. Global / Desktop Specs Layout --- */
.spec-section { padding: 0; overflow: hidden; background-color: #ffffff; }

.full-width-wrapper {
    display: flex;
    width: 100%;
    align-items: stretch; 
    min-height: 600px;
}

.spec-image-col {
    flex: 0 0 45%;
    background-color: #123315;
    padding: 30px 0 30px 30px; 
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 100%);
}

.spec-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spec-content-col {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    padding-left: 20px; 
}

.bg-light-gray { background-color: #f9f9f9; }

.spec-title {
    font-size: 3rem;
    font-weight: 800;
    color: #123315;
    margin-bottom: 5px;
    line-height: 1.1;
}

.spec-subtitle {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 4px solid #7cba28; 
    display: inline-block;
}

/* --- 2. DESKTOP / LAPTOP TABLE (Standard) --- */
.tech-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 1rem;
    border: 2px solid #123315; 
}

.tech-table th, 
.tech-table td {
    padding: 12px 15px;
    border: 1px solid #123315;
    text-align: center;
    vertical-align: middle;
}

.tech-table th {
    background-color: #123315;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.1rem;
}

.tech-table tbody tr:nth-child(even) { background-color: #f1f8f1; }
.tech-table td:nth-child(2) { text-align: left; font-weight: 600; }

/* --- 3. MOBILE TABLE (Card Layout) & Responsive Specs --- */
@media screen and (max-width: 992px) {
    .full-width-wrapper { flex-direction: column; height: auto; }
    .spec-image-col {
        width: 100%;
        height: 300px;
        padding: 15px;
        clip-path: none; 
    }
    .spec-content-col { padding: 30px 15px; }
    .spec-title { font-size: 2rem; }
    .spec-subtitle { font-size: 1.5rem; }
}

@media screen and (max-width: 768px) {
    /* Hide standard header */
    .tech-table thead { display: none; }

    /* Block display for card effect */
    .tech-table, .tech-table tbody, .tech-table tr, .tech-table td {
        display: block;
        width: 100%;
    }

    /* Row becomes a Card */
    .tech-table tr {
        margin-bottom: 25px;
        background-color: #ffffff;
        border: 2px solid #123315;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        overflow: hidden;
    }

    /* Cell Styles */
    .tech-table td {
        text-align: right;
        padding: 15px;
        padding-left: 50%;
        position: relative;
        border: none;
        border-bottom: 1px solid #e0e0e0;
        font-size: 1rem;
    }

    .tech-table td:last-child { border-bottom: none; }

    /* Inject Labels */
    .tech-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        top: 15px;
        width: 45%;
        text-align: left;
        font-weight: 700;
        color: #123315;
        font-size: 0.9rem;
        text-transform: uppercase;
    }

    /* Reset desktop alignments */
    .tech-table td:nth-child(2) { text-align: right; }
    .tech-table td:nth-child(even) { background-color: #f8fcf8; }
}


/* --- Footer --- */
.site-footer {
    background-color: #123315;
    color: #ffffff;
    padding-top: 70px;
    font-size: 1rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 90px;
    width: auto;
    background: white;
    padding: 5px;
    border-radius: 4px;
}

.brand-text { font-size: 1.5rem; font-weight: 800; line-height: 1; }

.footer-desc { color: #cccccc; line-height: 1.6; max-width: 350px; }

.footer-heading {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #7cba28;
}

.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #cccccc; transition: color 0.3s; }
.footer-links a:hover { color: #7cba28; padding-left: 5px; }

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: #cccccc;
}

.contact-list i {
    color: #7cba28;
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
    color: #888888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-heading::after { left: 50%; transform: translateX(-50%); }
    .footer-col { text-align: center; }
    .footer-logo { justify-content: center; }
    .footer-desc { margin: 0 auto; text-align: center; }
    .contact-list li { justify-content: center; }
}