/* ====================================================
   WHAT IS BIOGAS SECTION
   ==================================================== */
.what-is-biogas-section {
    background-color: var(--color-white);
    overflow: hidden; 
    padding-top: 10px; /* Keeps it clear of the header */
    padding-bottom: 10px; 
}

/* --- Highlighted Intro Text Box --- */
.intro-text-box {
    border-left: 4px solid var(--color-primary);
    padding-left: 20px;
    background: linear-gradient(90deg, rgba(46, 204, 113, 0.05) 0%, rgba(255,255,255,0) 100%);
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 0 8px 8px 0;
}

.intro-text-box p {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark-navy);
    line-height: 1.7;
}

/* --- Image & Interactive Elements --- */
.biogas-img-wrapper {
    position: relative;
    z-index: 2;
    padding: 20px; /* CRITICAL FIX: Reduced from 80px. 80px was creating a massive invisible wall! */
    margin-top: 5px;
}

.biogas-img-wrapper img {
    position: relative;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    min-height: 100px;
    height: 600px;
    object-fit: cover;
    margin-top: 5px;
    border-radius: 12px; /* Added slight rounding to match your theme */
}

.biogas-img-wrapper:hover img {
    transform: scale(1.03); 
}

/* Decorative Green Square Behind Image */
.img-backdrop-shape {
    position: absolute;
    top: 5px; /* Adjusted to match the new 30px padding */
    left: 10px;
    width: 70%;
    height: 90%;
    background-color: var(--color-primary);
    border-radius: 15px;
    z-index: 1;
    opacity: 0.1;
    transition: all 0.5s ease;
}

.biogas-img-wrapper:hover .img-backdrop-shape {
    top: 20px;
    left: 0px;
    opacity: 0.2;
}

/* Decorative Green Square Behind Image */
.img-backdrop-shape {
    position: absolute;
    top: 9px;
    left: 0;
    width: 60%;
    height: 85%;
    background-color: var(--color-primary);
    border-radius: 15px;
    z-index: 1;
    opacity: 0.1;
    transition: all 0.5s ease;
}

.biogas-img-wrapper:hover .img-backdrop-shape {
    top: 5px;
    left: -10px;
    opacity: 0.2;
}

/* --- Floating Animated Badge --- */

.floating-badge {
    position: absolute;
    /* top: -15px; left: -15px; Adjust as needed */
    z-index: 3;
    background-color: var(--color-white);
    
    /* STRICT DIMENSIONS: Forces a perfect square container */
    width: 130px;
    height: 130px;
    min-width: 130px;
    min-height: 130px;
    max-width: 130px;
    max-height: 130px;
    
    /* Center the inner green circle */
    display: flex;
    justify-content: center;
    align-items: center;
    
    border-radius: 50%; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    animation: floatUpDown 4s ease-in-out infinite;
    
  
    padding: 0 !important; 
    margin: 0;
}

.badge-inner {
    background-color: var(--color-primary);
    
    /* STRICT DIMENSIONS: Inner circle locked */
    width: 110px;
    height: 110px;
    min-width: 110px;
    min-height: 110px;
    max-width: 110px;
    max-height: 110px;
    
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    text-align: center;
    border: 2px dashed rgba(255,255,255,0.4);
    
    padding: 0;
    margin: 0;
}

.badge-inner i {
    font-size: 24px;
    margin-bottom: 2px;
}

.badge-inner span {
    font-size: 12px; /* Slightly smaller to ensure it doesn't push the borders */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0px;
    line-height: 1.1;
    margin-top: 2px;
}
/* Floating Animation Keyframes */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}
.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
   
@media (max-width: 1199px) {
    .floating-badge { right: -10px; }
}
/* @media (min-width: 992px) {
    .ps-lg-5 {
        padding-left: 0rem !important;
    }
} */
@media (max-width: 991px) {
    .what-is-biogas-section { padding: 5px 0; }
    .biogas-img-wrapper { padding: 5px; margin-bottom: 30px; }
    .floating-badge { right: 10px; bottom: 30px; }
    .intro-text-box p { font-size: 16px; }
}

@media (max-width: 767px) {
    .biogas-img-wrapper img { min-height: 300px; }
    .badge-inner { width: 90px; height: 90px; }
    .badge-inner i { font-size: 18px; }
    .badge-inner span { font-size: 11px; }
    .floating-badge { right: 0px; bottom: 20px; }
    
    .intro-text-box {
        padding-left: 15px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* ====================================================
   BIOGAS PRODUCTION PROCESS SECTION
   ==================================================== */

.process-section {
    background-color: #f8fafc; 
    
    /* CRITICAL FIX: Reduce the top padding so it sits closer to the section above */
    padding-top: 40px !important; 
    padding-bottom: 50px;
}

/* --- Grid Layout --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 10px; 
}
/* --- Individual Process Cards --- */
.process-card {
    background-color: var(--color-white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-bottom: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Hover Effect: Card lifts up and gets a green bottom border */
.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-bottom-color: var(--color-primary);
}

/* --- Icons --- */
.process-icon-wrapper {
    width: 80px;
    height: 80px;
    background-color: rgba(46, 204, 113, 0.1); /* Faint green circle */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: all 0.5s ease;
}

.process-card:hover .process-icon-wrapper {
    background-color: var(--color-primary);
    transform: rotate(360deg); /* Spins smoothly on hover */
}

.process-icon-wrapper i {
    font-size: 32px;
    color: var(--color-dark-navy);
    transition: all 0.5s ease;
}

.process-card:hover .process-icon-wrapper i {
    color: var(--color-white); /* Icon turns white when background turns green */
}

/* --- Text Styles --- */
.process-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--color-dark-navy);
    margin-bottom: 15px;
    line-height: 1.4;
}

.process-desc {
    font-size: 14.5px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 1199px) {
    /* Slightly smaller padding for smaller desktops */
    .process-card { padding: 35px 20px; }
}

@media (max-width: 991px) {
    /* Tablet Portrait: Drops to 2 columns */
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 767px) {
    /* Mobile Phones: Stacks into 1 single column */
    .process-section { padding: 60px 0; }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .process-card {
        padding: 30px 20px;
    }
    .process-title { font-size: 18px; }
}

/* ====================================================
   ADVANTAGES OF BIOGAS SECTION
   ==================================================== */
.advantages-section {
    background-color: #ffffff; 
    padding: 80px 0;
}

/* --- Grid Layout --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    margin-top: 20px;
}

/* --- Interactive Card Styling --- */
.advantage-card {
    background-color: #f8fafc; 
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Clips the sliding background */
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    z-index: 1; 
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* --- THE NAVY BLUE SLIDE-IN (LEFT TO RIGHT) --- */
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%; /* Start empty on the left */
    height: 100%; 
    background-color: var(--color-dark-navy); /* Navy Blue Color */
    z-index: -1; 
    transition: width 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); /* Slide right */
}

/* Card Hover State */
.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(26, 43, 60, 0.2); 
}

.advantage-card:hover::before {
    width: 100%; /* Fills card from left to right */
}

/* --- Icon & Text Styles --- */
.adv-icon {
    font-size: 45px;
    color: var(--color-primary); /* Keeps icon green initially */
    margin-bottom: 25px;
    transition: all 0.4s ease; 
}

.adv-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-dark-navy);
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.4s ease; 
}

.adv-desc {
    font-size: 14.5px;
    color: #6c757d;
    line-height: 1.7;
    margin: 0;
    transition: color 0.4s ease; 
}

/* --- HOVER COLOR CHANGES --- */
/* Text turns white against Navy, Icon stays Green for contrast */
.advantage-card:hover .adv-icon {
    transform: scale(1.15); 
}

.advantage-card:hover .adv-title {
    color: var(--color-white);
}

.advantage-card:hover .adv-desc {
    color: rgba(255, 255, 255, 0.85); 
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 1199px) {
    .advantage-card { padding: 35px 20px; }
}

@media (max-width: 991px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .advantages-section { padding: 60px 0; }
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .advantage-card {
        padding: 30px 20px;
    }
    .adv-icon { font-size: 35px; margin-bottom: 15px; }
    .adv-title { font-size: 17px; }
}

/* ====================================================
   INNER PAGE HERO & BREADCRUMBS
   ==================================================== */
.inner-page-hero {
    position: relative;
    /* 180px top padding ensures it completely clears your sticky navbar */
    padding: 180px 0 60px;  
    background-color: var(--color-dark-navy);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background Image & Gradient Overlay */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a cool parallax effect when scrolling */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Rich Navy to Green gradient overlay */
    background: linear-gradient(135deg, rgba(26, 43, 60, 0.92) 0%, rgba(26, 43, 60, 0.85) 50%, rgba(46, 204, 113, 0.4) 100%);
    z-index: 2;
}

/* Floating Decorative Shapes */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(46, 204, 113, 0.15);
    filter: blur(40px);
    z-index: 2;
    animation: floatUpDown 6s infinite ease-in-out;
}
.hero-shape-1 { width: 300px; height: 300px; top: -100px; left: -100px; }
.hero-shape-2 { width: 250px; height: 250px; bottom: -50px; right: -50px; animation-delay: 2s; }

/* Title Styling */
.inner-page-title {
    font-size: 52px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 0;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin-top: 15px;
}

/* --- Frosted Glass Breadcrumb --- */
.custom-breadcrumb {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px); /* Creates the frosted glass look */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.custom-breadcrumb li {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.custom-breadcrumb a {
    color: var(--color-white);
    transition: color 0.3s ease;
}

.custom-breadcrumb a:hover {
    color: var(--color-primary); /* Turns EVS green on hover */
}

.custom-breadcrumb .separator {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
}

.custom-breadcrumb .current {
    color: var(--color-primary); /* The current page is highlighted in Green */
}

/* ====================================================
   RESPONSIVE ADJUSTMENTS
   ==================================================== */
@media (max-width: 991px) {
    .inner-page-hero {
        padding: 180px 0 80px;
    }
    .inner-page-title {
        font-size: 42px;
    }
    .custom-breadcrumb {
        padding: 10px 20px;
    }
    .custom-breadcrumb li {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .inner-page-hero {
        padding: 150px 0 60px; /* Clears mobile navbar */
    }
    .inner-page-title {
        font-size: 32px;
        margin-top: 50px;
    }
    .custom-breadcrumb {
        padding: 10px 15px;
        flex-wrap: wrap; /* Allows breadcrumbs to wrap if they get too long on tiny phones */
        justify-content: center;
        gap: 5px;
        border-radius: 12px; /* Less pill-like, more box-like on phones to save space */
    }
    .custom-breadcrumb .separator {
        margin: 0 5px;
    }
}


.py-5 {
    padding-top: 0rem !important;
    padding-bottom: 0rem !important;
}
.mb-5 {
    margin-bottom: 1rem !important;
}
/* Target the link ('a') inside the list item, not the list item ('li') itself */
.footer-links a:hover {
    color: var(--color-primary) !important; /* Forces it to turn green */
    padding-left: 5px; /* Keeps that nice little slide-to-the-right effect */
}
.logo-text{
    color: #2c8234;
}