/* =========================================
   ESTO - SUSTAINABILITY & QUALITY CSS
   ========================================= */

/* --- GLOBALS & VARIABLES --- */
:root {
    --navy: #0f172a;
    --blue: #005b96;
    --teal: #0ea5e9;    /* Clean water blue */
    --green: #10b981;   /* Eco Green */
    --white: #ffffff;
    --light-bg: #f0f9ff; /* Very light blue tint */
    --text-color: #334155;
    --section-pad: 120px; /* Spacious */
}

.section-spacer { padding: var(--section-pad) 0; position: relative; }
.bg-white { background: var(--white); }
.bg-light { background: var(--light-bg); }
.bg-navy { background: var(--navy); color: white; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-green { color: var(--green); }
.text-white { color: white; }
.text-white-80 { color: rgba(255,255,255,0.8); }

/* --- 1. HERO SECTION (Bio-Tech) --- */
.sus-hero {
    height: 70vh;
    background: var(--navy);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bio-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #0f172a 80%);
    z-index: 1;
}

/* Floating "Particles" Animation */
.bio-overlay::before {
    content: '';
    position: absolute;
    width: 100%; height: 100%;
    background-image: radial-gradient(var(--green) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.1;
    animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat { 0% { transform: translateY(0); } 100% { transform: translateY(-60px); } }

.relative-z { position: relative; z-index: 5; }

.hero-label {
    font-family: 'Rajdhani', sans-serif;
    color: var(--green);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 4rem;
    color: white;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-desc {
    font-family: 'Barlow', sans-serif;
    color: #cbd5e1;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.wave-shape {
    position: absolute;
    bottom: -10px; left: 0; width: 100%;
    z-index: 2;
    line-height: 0;
}


/* --- 2. GREEN CHEMISTRY GRID --- */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    color: var(--navy);
    margin-bottom: 15px;
}
.bg-navy .section-title { color: white; }

.green-dash {
    width: 80px; height: 4px;
    background: var(--green);
    margin-bottom: 30px;
}

.green-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.green-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

/* Green top border on hover */
.green-card::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transition: 0.3s;
    transform-origin: left;
}
.green-card:hover::before { transform: scaleX(1); }
.green-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(16, 185, 129, 0.1); }

.icon-circle {
    width: 70px; height: 70px;
    background: #ecfdf5; /* Light green bg */
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--green);
}

.green-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--navy);
}


/* --- 3. OPTIMIZING ETP (Technical Split) --- */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.align-center { align-items: center; }
.col-6 { width: 50%; padding: 0 15px; }
.pr-50 { padding-right: 50px; }

.blue-tag-outline {
    border: 1px solid var(--blue);
    color: var(--blue);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.tech-list { margin-top: 40px; }

.tech-item {
    background: white;
    padding: 25px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid var(--blue);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.tech-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.tech-badge {
    background: var(--navy);
    color: white;
    padding: 4px 10px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 4px;
}

.tech-item h4 { margin: 0; font-size: 1.2rem; color: var(--navy); }
.tech-item p { margin: 0; font-size: 0.95rem; color: #64748b; }

/* Water Graphic */
.water-graphic {
    position: relative;
    height: 450px;
    background: radial-gradient(circle, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%; /* Blob shape */
    animation: blobMorph 10s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes blobMorph {
    0%, 100% { border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%; }
    50% { border-radius: 60% 40% 50% 50% / 40% 50% 60% 60%; }
}

.process-card {
    position: absolute;
    background: white;
    padding: 15px 25px;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 250px;
}

.process-card i { font-size: 1.5rem; color: var(--teal); }
.process-card span { display: block; font-weight: 700; color: var(--navy); }
.process-card small { display: block; font-size: 0.75rem; color: #64748b; }

.top-card { top: 20%; right: -20px; animation: floatCard 4s infinite ease-in-out; }
.bottom-card { bottom: 20%; left: -20px; animation: floatCard 4s infinite ease-in-out 2s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}


/* --- 4. IMPACT GRID (Dark) --- */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.impact-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    transition: 0.3s;
}

.impact-box:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--teal);
}

.big-num {
    display: block;
    font-size: 3rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 10px;
}

.impact-box h4 {
    color: var(--teal);
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
}

.impact-box p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.5;
}


/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .green-grid { grid-template-columns: 1fr; }
    .col-6 { width: 100%; margin-bottom: 50px; }
    .pr-50 { padding-right: 0; }
    .water-graphic { height: 350px; width: 80%; margin: 0 auto; }
    .impact-grid { grid-template-columns: 1fr 1fr; } /* 2x2 grid on tablet */
}

@media (max-width: 576px) {
    .impact-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.8rem; }
    .process-card { position: relative; top: auto; right: auto; left: auto; bottom: auto; margin-bottom: 15px; }
    .water-graphic { background: transparent; height: auto; display: block; }
}