/* ====================================================
   MATERIALS GRID SECTION (3 Columns)
   ==================================================== */
.materials-grid-section {
    position: relative;
}

.material-box {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eaeeee;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Hover Lift Effect for the entire card */
.material-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(26, 43, 60, 0.08) !important;
}

/* --- Image Wrapping & Optimization --- */
.material-img-container {
    height: 220px; /* Increased from 160px so it looks better in a wider 3-column layout */
    width: 100%;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
}

.material-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crops the images flawlessly */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Zoom Image on Hover */
.material-box:hover .material-img-container img {
    transform: scale(1.1);
}

/* --- Label Styling below the image --- */
.material-title {
    text-align: center;
    padding: 18px 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-dark-navy);
    background-color: var(--color-white);
    transition: color 0.3s ease, background-color 0.3s ease;
    margin: 0;
    flex-grow: 1; /* Pushes the label to fill remaining space */
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 2px solid transparent;
}

/* Highlight the label with EVS Green on hover */
.material-box:hover .material-title {
    color: var(--color-white);
    background-color: var(--color-primary); /* EVS Green */
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 767px) {
    .material-img-container {
        height: 180px; /* Slightly shorter images on mobile */
    }
    .material-title {
        font-size: 15px;
        padding: 15px 5px;
    }
}

/* ====================================================
   BIOMASS PELLET PLANT SECTION
   ==================================================== */
/* --- Top Diagram Wrapper --- */
.diagram-wrapper {
    background-color: #f8fafc;
    border-color: #eaeeee !important;
    padding: 0; 
    height: 520px;
    width: 100%;
    overflow: hidden;
    position: relative; 
}

/* Image inside the wrapper */
.diagram-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
}

/* Zoom effect on hover */
/* .diagram-zoom {
    transition: transform 0.5s ease;
    cursor: zoom-in;
} */

/* .diagram-wrapper:hover .diagram-zoom {
    transform: scale(1.05); 
} */
/* --- Left Column: EPC Cards --- */
.pellet-card-stack {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pellet-step-card {
    background-color: #ffffff;
    border: 1px solid #eaeeee;
    border-left: 4px solid var(--color-primary); /* EVS Green Left Border */
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

/* Hover effect for cards */
.pellet-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(26, 43, 60, 0.08) !important;
    border-left-color: var(--color-dark-navy); /* Shifts to Navy */
}

.pellet-step-number {
    font-size: 26px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    transition: color 0.3s ease;
}

.pellet-step-card:hover .pellet-step-number {
    color: var(--color-dark-navy);
}

.pellet-step-content h4 {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-dark-navy);
    margin-bottom: 8px;
}

.pellet-step-content p {
    font-size: 14.5px;
    color: #555555;
    margin: 0;
    line-height: 1.6;
}

/* --- Right Column: Custom Green Bullets --- */
.evs-custom-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.evs-custom-bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
}

/* Designing the custom EVS Green Dot */
.evs-custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    transition: all 0.3s ease;
}

.evs-custom-bullet-list li:hover::before {
    transform: scale(1.2);
    background-color: var(--color-dark-navy);
    box-shadow: 0 0 0 3px rgba(26, 43, 60, 0.15);
}

.evs-custom-bullet-list li strong {
    color: var(--color-dark-navy);
    display: inline-block;
    margin-bottom: 3px;
}

/* ====================================================
   ANIMATIONS & RESPONSIVENESS
   ==================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

@media (max-width: 767px) {
    .pellet-step-card {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }
    .pellet-step-number {
        font-size: 22px;
    }
}

/* ====================================================
   INDUSTRIES, WHY EVS & FAQ SECTION
   ==================================================== */

/* --- Image Hover Effect --- */
.hover-zoom-img {
    transition: transform 0.5s ease;
}
.hover-zoom-img:hover {
    transform: scale(1.05);
}

/* --- Icon List (Industries) --- */
.evs-icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.evs-icon-list li {
    font-size: 15.5px;
    color: #444;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #f8fafc;
    border-radius: 6px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.evs-icon-list li:hover {
    transform: translateX(5px); /* Soft slide to the right */
    background-color: #eaf1f8; /* Slightly darker background on hover */
}

.evs-icon-list li i {
    color: var(--color-primary); /* EVS Green Icons */
    font-size: 18px;
    width: 30px; /* Aligns all text perfectly */
}

/* --- Custom Bullet List (Why Choose Us) --- */
/* (Re-using the sleek green dot list from earlier steps) */
.evs-custom-bullet-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.evs-custom-bullet-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 18px;
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
}

.evs-custom-bullet-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
    transition: all 0.3s ease;
}

.evs-custom-bullet-list li:hover::before {
    transform: scale(1.2);
    background-color: var(--color-dark-navy);
}

.evs-custom-bullet-list li strong {
    color: var(--color-dark-navy);
    display: inline-block;
    margin-bottom: 3px;
}

/* --- FAQ Cards (Right Column) --- */
.evs-faq-card {
    background-color: #ffffff;
    border: 1px solid #eaeeee;
    border-left: 4px solid var(--color-dark-navy); /* Solid Navy edge */
    border-radius: 8px;
    padding: 22px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.evs-faq-card:hover {
    transform: translateY(-3px); /* Lifts up slightly */
    box-shadow: 0 12px 20px rgba(0,0,0,0.06) !important;
    border-left-color: var(--color-primary); /* Border turns green on hover */
}

.faq-question {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--color-dark-navy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.faq-answer {
    font-size: 14.5px;
    color: #555555;
    line-height: 1.7;
    margin: 0;
}

/* ====================================================
   ANIMATION UTILITIES 
   ==================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.delay-100 {
    animation-delay: 0.2s;
}

.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
.mb-5 {
    margin-bottom: 1rem !important;
}
.logo-text{
    color: #2c8234;
}