/* Eco Revolution - style.css with Dropdown Hover Bridge & Transitions */
body {
    font-family: 'Montserrat', sans-serif;
}

.wrapper {
    position: relative;
    display: block;
    width: 100%; height: auto;
    overflow: hidden;
}

nav.navbar {
    box-shadow: 0px 4px 45px rgba(228, 228, 228, 0.44);
    background-color: #ffffff !important;
}

.navbar-brand img {
    max-height: 48px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #212529 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease-in-out;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #9ABA2F !important;
}

.dropdown-toggle::after {
    content: none;
}

/* Dropdown Menu & Hover Stabilization (Anti-Flicker & Anti-Dead-Zone Bridge) */
@media (min-width: 992px) {
    .nav-item.dropdown {
        position: relative;
    }

    .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        margin-top: 0;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
        transform: translateY(10px);
        pointer-events: none;
    }

    /* Pseudo-element hover bridge to eliminate gap/dead-zone */
    .nav-item.dropdown .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    .nav-item.dropdown:hover .dropdown-menu,
    .nav-item.dropdown:focus-within .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
}

.dropdown-item {
    font-weight: 500;
    padding: 9px 18px;
    font-size: 14px;
    color: #333333;
    transition: background-color 0.2s, color 0.2s;
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
    color: #004020;
    background-color: #f3f6eb;
}

.main-wrap {
    width: 100%;
    min-height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
}

.main-wrap h1 {
    color: #004020;
    font-style: normal;
    font-weight: 700;
    font-size: 80px;
    line-height: 90px;
    letter-spacing: -0.012em;
}

.main-wrap h1 span {
    color: #9ABA2F;
}

.main-wrap p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 175.3%;
    color: #8392A5;
}

a.free-audit {
    display: inline-flex;
    align-items: center;
    justify-content: space-evenly;
    width: auto;
    height: 45px;
    color: #fff !important;
    background: #9ABA2F;
    border-radius: 50px;
    padding: 0 25px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

a.free-audit:hover {
    background: #87a526;
    color: #fff;
    transform: translateY(-2px);
}

a.free-audit img {
    margin-left: 15px;
}

.partners-wrap {
    background-color: #F3F4F6;
}

#partners.owl-carousel .owl-item img,
#featured.owl-carousel .owl-item img {
    margin: 0 auto;
}

.flex-box {
    padding: 25px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-box img {
    width: auto;
    height: auto;
    max-width: 120px;
}

.globe-wrap {
    padding: 60px 0;
    background: #F3F4F6;
}

.globe-wrap h2 {
    font-style: normal;
    font-weight: 700;
    font-size: 54px;
    line-height: 66px;
    letter-spacing: -0.015em;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.globe-wrap p {
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 29px;
    letter-spacing: -0.02em;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.globe-wrap span {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 32px;
    color: #212529;
    opacity: 0.64;
    margin-top: 20px;
}

.featured-logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.what-say-wrap {
    padding-top: 60px;
    padding-bottom: 120px;
}

.what-say-wrap h3 {
    position: relative;
    font-style: normal;
    font-weight: 700;
    font-size: 45px;
    line-height: 55px;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 40px;
}

.what-say-wrap h3:before {
    content: '';
    position: absolute;
    width: 72px;
    height: 6px;
    bottom: -8px; left: 0; right: 0;
    display: inline-block;
    background: #9ABA2F;
    border-radius: 8px;
    margin: 0 auto;
}

.what-say-wrap .headings p {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 175.3%;
    text-align: center;
    color: #868E96;
}

.owl-carousel .owl-stage {
    padding: 50px 0;
}

.owl-carousel .owl-item img {
    width: auto;
}

.owl-carousel .owl-item .d-flex img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    margin-right: 10px;
}

.owl-carousel .owl-item .d-flex {
    padding-top: 10px;
}

.owl-carousel .owl-item .d-flex span {
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 172.3%;
    letter-spacing: -0.015em;
    color: #212529;
}

.owl-carousel .owl-item .d-flex span.designation {
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 142.3%;
    letter-spacing: -0.015em;
    color: #8392A5;
}

.s-why-footer {
    border-top: 1px solid #E9ECEF;
    margin-top: 20px;
    padding-top: 10px;
}

.s-why {
    position: relative;
    padding: 60px 24px 24px;
    background: #F8F9FA;
    border-radius: 20px;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    border: 1px solid rgba(0,0,0,0.06);
}

.s-why img.quote {
    position: absolute;
    top: 18px;
    left: 24px;
    max-width: 36px;
    height: auto;
    display: block;
}

.s-why p {
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 160%;
    letter-spacing: -0.015em;
    color: #2D3748;
    word-break: break-word;
    overflow-wrap: break-word;
}

.carbon-wrap {
    padding: 60px 0;
    background: #F3F4F6;
    margin-bottom: 40px;
}

.carbon-wrap h3 {
    font-style: normal;
    font-weight: 700;
    font-size: 34px;
    line-height: 143.3%;
    letter-spacing: -0.015em;
    color: #001737;
}

.carbon-wrap img {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.web-power-wrap {
    padding: 100px 0 80px;
}

.web-power-wrap strong,
.web-power-wrap h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 54px;
    text-align: center;
    letter-spacing: -0.015em;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.web-power-wrap h4 {
    position: relative;
    font-weight: 500;
    margin-bottom: 40px;
}

.web-power-wrap h4:before {
    content: '';
    position: absolute;
    width: 72px;
    height: 6px;
    display: inline-block;
    background: #9ABA2F;
    border-radius: 8px;
    bottom: -8px;
    margin: 0 auto;
    left: 0; right: 0;
}

.web-power-wrap .col-md-12 p {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 175.3%;
    text-align: center;
    color: #868E96;
}

.s-measure img {
    margin-bottom: 40px;
}

.s-measure span {
    font-style: normal;
    font-weight: 500;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.02em;
    color: #1B512D;
    margin-bottom: 10px;
}

.s-measure p {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #212529;
    opacity: 0.7;
}

.my-impact-wrap {
    padding: 80px 0;
    background: #F8F9FA;
}

.my-impact-wrap h5 {
    position: relative;
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 56px;
    text-align: center;
    letter-spacing: -0.015em;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 60px;
}

.my-impact-wrap h5:before {
    content: '';
    position: absolute;
    width: 72px;
    height: 6px;
    display: inline-block;
    background: #9ABA2F;
    border-radius: 8px;
    bottom: -8px; left: 0; right: 0;
    margin: 0 auto;
}

.emission-audit-wrap {
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
}

p.audit-title {
    font-style: normal;
    font-weight: 500;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.015em;
    color: #212529;
}

p.website-url {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.015em;
    color: #CDA56A;
}

.emission-audit-wrap span.d-block {
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.015em;
    color: #868E96;
    margin-bottom: 10px;
}

.emission-audit-wrap ul {
    list-style: none;
    padding: 0;
}

.emission-audit-wrap ul li {
    position: relative;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: -0.015em;
    color: #212529;
    padding-left: 20px;
    margin-bottom: 8px;
}

.emission-audit-wrap ul li:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: 0; top: 50%;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    background: #FF0000;
    border-radius: 30px;
}

.emission-audit-wrap ul li:last-child:before {
    background-color: #669748;
}

.page-wrap {
    padding: 16px;
    background: #F8F9FA;
    border-radius: 16px;
}

.page-wrap ul.list-unstyled li {
    padding-left: 0;
}

.page-wrap ul.list-unstyled li:not(:last-child) {
    margin-bottom: 21px;
}

.page-wrap ul.list-unstyled li:before {
    content: none;
}

.page-wrap ul li span.g-page {
    font-weight: 700;
    display: inline-block;
    width: 175px;
}

.page-wrap ul li span.grams {
    font-weight: 700;
    position: relative;
    padding-left: 25px;
}

.page-wrap ul li:nth-of-type(3n) span.grams:before {
    background: #FF0000;
}

.page-wrap ul li span.grams:before {
    content: '';
    position: absolute;
    display: inline-block;
    left: 0; top: 50%;
    margin-top: -3px;
    width: 6px;
    height: 6px;
    background: #669748;
    border-radius: 30px;
}

.free-audit-wrap h6 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: inherit;
    color: #001737;
    margin-bottom: 17px;
}

.free-audit-wrap p {
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 32px;
    color: #868E96;
}

.already-completed {
    padding: 80px 0 0;
}

.already-completed p {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    color: #9ABA2F;
}

.already-completed p a {
    color: #9ABA2F;
}

.stand-out-wrap {
    padding: 60px 0;
}

.stand-out-wrap h3,
.stand-out-wrap p {
    font-style: normal;
    font-weight: 700;
    font-size: 42px;
    line-height: 60px;
    letter-spacing: -0.015em;
    background: linear-gradient(117.58deg, #001408 -5.12%, #005C2F 97.3%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stand-out-wrap p {
    position: relative;
    font-weight: 400;
    font-size: 32px;
}

.stand-out-wrap p:before {
    content: '';
    position: absolute;
    width: 72px;
    height: 6px;
    display: inline-block;
    background: #9ABA2F;
    border-radius: 8px;
    bottom: -8px;
}

.trusted-wrap {
    padding: 80px 0;
    background: #F6FCF5;
}

.trusted-wrap h4 {
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    text-align: center;
    letter-spacing: -0.015em;
    color: #001737;
    margin-bottom: 50px;
}

.s-trust img {
    margin-bottom: 38px;
}

.s-trust span {
    font-style: normal;
    font-weight: 600;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.02em;
    color: #1B512D;
    margin-bottom: 15px;
}

.s-trust span a {
    color: #1B512D;
    text-decoration: none;
}

.s-trust p {
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    color: #212529;
    opacity: 0.7;
}

.impact-wrap {
    position: relative;
    padding: 80px 0;
}

.impact-wrap .container {
    padding: 70px 160px 70px 110px;
    background: #F8F9FA;
    border-radius: 50px;
}

.impact-wrap h5 {
    position: relative;
    font-style: normal;
    font-weight: 700;
    font-size: 62px;
    line-height: 75px;
    display: flex;
    align-items: center;
    letter-spacing: -0.015em;
    color: #033827;
    margin-bottom: 30px;
}

.impact-wrap h5:before {
    content: '';
    position: absolute;
    width: 72px; height: 6px;
    display: inline-block;
    background: #9ABA2F;
    border-radius: 8px;
    bottom: 0;
}

.impact-wrap p {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 23px;
    color: #495057;
    opacity: 0.7;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background-color: #f8f9fa;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

/* Footer */
footer.footer {
    padding: 80px 0 20px;
    color: #fff;
    background: #000;
}

footer.footer p,
footer.footer a {
    color: #7E9A96;
    font-size: 15px;
}

footer.footer h5 {
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

footer.footer li {
    margin-bottom: 8px;
}

.social-icons li a {
    display: inline-block;
    width: 24px;
    height: 24px;
    color: #7E9A96;
    text-decoration: none;
    line-height: 24px;
    text-align: center;
}

.social-icons li a:hover {
    color: #9ABA2F;
}

.mc4wp-form-fields {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.mc4wp-form-fields input[type="email"] {
    color: #fff;
    background: transparent;
    border: 1px solid #7E9A96;
    box-shadow: none;
    padding: 12px 18px;
    border-radius: 5px;
    height: 50px;
    width: 100%;
}

.mc4wp-form-fields input[type="submit"] {
    display: inline-flex;
    background: url('/assets/images/arrow.webp') no-repeat center;
    background-color: #8FBC2A;
    border: none;
    border-radius: 5px;
    width: 50px; height: 50px;
    margin-left: 15px;
    cursor: pointer;
}

.efwa-label span {
    display: flex;
    align-items: flex-start;
    padding: 10px;
    background: #9ABA2F;
    border-radius: 6px;
    font-size: 14px;
}

.efwa-label p {
    font-size: 14px;
    color: #7E9A96;
}

.efwa-label p img {
    margin-right: 4px;
}

footer.footer .footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #2D2D2D;
}

.con-logo-i {
	width: 85%;
	margin-top: 25px;
}

/* Subpage inner page styling */
.page-header-wrap {
    background: #F3F4F6;
    padding: 60px 0;
    text-align: center;
}

.page-header-wrap h1 {
    color: #004020;
    font-weight: 700;
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header-wrap p {
    color: #8392A5;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.page-content-wrap {
    padding: 60px 0 100px;
}

.page-content-wrap h2 {
    color: #004020;
    font-weight: 700;
    margin-bottom: 25px;
}

.page-content-wrap p {
    color: #495057;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 20px;
}

.page-card {
    background: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

.page-card h3 {
    color: #004020;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* X-Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .navbar-light .navbar-toggler,
    .navbar-light .navbar-brand {
        position: relative;
        z-index: 9;
    }

    #main-menu {
        position: relative;
        display: block;
        width: 100%;
    }

    .main-wrap {
        padding-top: 60px;
    }

    .main-wrap h1 {
        font-size: 42px;
        line-height: 1.2;
        text-align: center;
    }

    .main-wrap p {
        text-align: center;
    }

    .globe-wrap h2 {
        text-align: center;
        font-size: 34px;
        line-height: inherit;
    }

    .globe-wrap p {
        text-align: center;
        font-size: 16px;
        line-height: inherit;
    }

    .carbon-wrap h3 {
        text-align: center;
        font-size: 24px;
        margin-bottom: 30px;
    }

    a.free-audit {
        display: flex;
        margin: 0 auto;
    }

    .globe-wrap span {
        text-align: center;
        margin-bottom: 30px;
    }

    .what-say-wrap h3 {
        font-size: 34px;
        line-height: inherit;
    }

    .s-why {
        display: block;
        height: auto;
        min-height: inherit;
    }

    .owl-theme .owl-nav [class*=owl-]:hover {
        background: transparent;
    }

    .left, .right {
        display: inline-block;
        width: 40px; height: 40px;
    }

    .owl-nav {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .owl-nav button {
        margin: 0 8px;
    }

    .carbon-wrap img {
        position: relative;
        top: 0;
        transform: none;
        margin-top: 20px;
    }

    .web-power-wrap strong, 
    .web-power-wrap h4 {
        font-size: 24px;
        line-height: inherit;
    }

    .my-impact-wrap h5 {
        font-size: 32px;
        line-height: inherit;
    }

    .page-wrap ul li span.g-page {
        display: block;
        margin-bottom: 6px;
    }

    .free-audit-wrap h6 {
        font-size: 26px;
        text-align: center;
        line-height: inherit;
    }

    .free-audit-wrap p {
        font-size: 16px;
        text-align: center;
        line-height: inherit;
    }

    .already-completed {
        padding: 40px 15px 0;
    }

    .already-completed p {
        font-size: 18px;
    }

    .stand-out-wrap h3, 
    .stand-out-wrap p {
        font-size: 30px;
        text-align: center;
        line-height: inherit;
    }

    .stand-out-wrap p:before {
        margin: 0 auto;
        left: 0; right: 0;
    }

    .impact-wrap {
        margin: 0;
    }

    .impact-wrap .container {
        padding: 40px 20px;
    }

    .impact-wrap h5 {
        font-size: 32px;
        line-height: 1.3;
    }

    .impact-wrap p {
        font-size: 15px;
        line-height: inherit;
        margin-bottom: 15px;
    }

    footer.footer {
        text-align: center;
    }

    form#mc4wp-form-1 {
        justify-content: center;
        margin-top: 15px;
    }
}

/* Global High Contrast & Visibility Enhancements */
p, li, label, .card p {
    color: #334155;
}

.text-muted {
    color: #475569 !important;
}

.bg-dark .text-muted,
.bg-success .text-muted,
.bg-gradient .text-muted,
.text-white .text-muted,
[style*="background"] .text-muted {
    color: #e2e8f0 !important;
}

/* Fix Bootstrap .bg-gradient overriding custom background-image */
.bg-gradient {
    background-image: none !important;
}

/* High Contrast Section Backgrounds */
.hero-dark-bg, 
section[style*="#003822"],
section[style*="#005C2F"],
section[style*="#0b2e1d"] {
    background-color: #003822 !important;
    color: #ffffff !important;
}

/* Timeline alignment & zero-overlap fix */
.timeline-dot {
    left: -13px !important;
    top: 2px !important;
}

/* Badge Contrast Overrides */
.badge.bg-success {
    background-color: #005C2F !important;
    color: #ffffff !important;
}

.badge.bg-danger {
    background-color: #dc3545 !important;
    color: #ffffff !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
    color: #1a1a1a !important;
}

.badge.bg-primary {
    background-color: #0d6efd !important;
    color: #ffffff !important;
}

.badge.bg-info {
    background-color: #0dcaf0 !important;
    color: #000000 !important;
}

/* Interactive Filter Pills Styling */
.filter-btn {
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid #005C2F;
    color: #005C2F;
    background-color: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #005C2F !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 92, 47, 0.2);
}

/* Circle Icon Container Utility */
.icon-circle-lg {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* Footer Helper Classes */
.hover-text-white {
    transition: color 0.2s ease;
}
.hover-text-white:hover {
    color: #ffffff !important;
}
.extra-small {
    font-size: 13px;
}
footer.bg-black {
    background-color: #060907 !important;
}

