/* Custom Styles for Green World Design */

:root {
    --gwd-green: #2d6a4f;
    --gwd-light-green: #52b788;
    --gwd-dark-green: #1b4332;
    --gwd-accent: #74c69d;
}

/* Custom logo styling and visibility enhancements */
.navbar .logo img {
    height: auto;
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Premium Scrolled Dark Navbar styling to match Green World Design dark mode themes */
.navbar.nav-scroll {
    background: #121212 !important;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.4) !important;
    border-bottom: 2px solid var(--gwd-green) !important;
}

.navbar.nav-scroll .icon-bar {
    color: #fff !important;
}

.navbar.nav-scroll .navbar-nav .nav-link {
    color: #fff !important;
}

.navbar.nav-scroll .navbar-nav .nav-link:hover,
.navbar.nav-scroll .navbar-nav .active {
    color: var(--gwd-light-green) !important;
}

.navbar.nav-scroll .social-icon a {
    color: #fff !important;
}

.navbar.nav-scroll .social-icon {
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.navbar.nav-scroll .search {
    color: #fff !important;
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Clean logo drop shadow on dark background - no high contrast drop-shadow outlines needed */
.nav-scroll .logo img {
    filter: drop-shadow(0px 0px 2px rgba(255, 255, 255, 0.1)) !important;
}

.logo-footer img {
    height: auto;
    max-height: 60px;
    width: auto;
    /* Soft white/green glow to make dark green circle pop on black footer */
    filter: drop-shadow(0px 0px 4px rgba(255, 255, 255, 0.3)) drop-shadow(0px 0px 8px rgba(121, 192, 0, 0.15));
    transition: all 0.3s ease;
}

/* Grayscale infinite marquee for clients */
.gwd-client-marquee {
    overflow: hidden;
    padding: 30px 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.gwd-client-marquee::before,
.gwd-client-marquee::after {
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    content: "";
    z-index: 2;
}

.gwd-client-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
}

.gwd-client-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(18, 18, 18, 1) 0%, rgba(18, 18, 18, 0) 100%);
}

/* For light backgrounds (e.g. gray bg sections) override gradient side-shadows */
.bg-gray .gwd-client-marquee::before {
    background: linear-gradient(to right, rgba(247, 247, 247, 1) 0%, rgba(247, 247, 247, 0) 100%);
}

.bg-gray .gwd-client-marquee::after {
    background: linear-gradient(to left, rgba(247, 247, 247, 1) 0%, rgba(247, 247, 247, 0) 100%);
}

.gwd-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: gwd-marquee 20s linear infinite;
}

.gwd-marquee-track img {
    height: 45px !important;
    width: auto !important;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.gwd-marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes gwd-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Service Page Accordion Style */
.gwd-faq-section .card {
    background: #181818 !important;
    border: 1px solid #282828 !important;
    margin-bottom: 15px;
    border-radius: 4px !important;
    overflow: hidden;
}

.gwd-faq-section .card-header {
    background: transparent !important;
    border-bottom: none !important;
    padding: 20px 25px !important;
    cursor: pointer;
}

.gwd-faq-section .card-header h5 {
    font-size: 18px;
    color: #fff;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.gwd-faq-section .card-header h5 i {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--gwd-light-green);
}

.gwd-faq-section .card-body {
    padding: 0 25px 20px 25px !important;
    color: #b0b0b0;
    font-size: 15px;
    line-height: 1.8;
}

/* Accordion hover */
.gwd-faq-section .card:hover {
    border-color: var(--gwd-green) !important;
}

/* Project detail scope box */
.project-scope-box {
    background: #181818;
    padding: 30px;
    border-radius: 4px;
    border-left: 4px solid var(--gwd-green);
}

.project-scope-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-scope-box ul li {
    margin-bottom: 12px;
    font-size: 15px;
    color: #b0b0b0;
}

.project-scope-box ul li strong {
    color: #fff;
}

/* GWD theme adjustments for services hover */
.services .item-bx .numb {
    -webkit-text-stroke: 1px var(--gwd-green) !important;
}

.services .item-bx:hover .numb {
    -webkit-text-stroke: 1px var(--gwd-light-green) !important;
}

.services .item-bx .more {
    color: var(--gwd-green);
    transition: all 0.3s ease;
}

.services .item-bx:hover .more {
    color: var(--gwd-light-green) !important;
}

/* Force equal heights and push Read More to the bottom of the card */
.services .bord-box {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.services .item-bx {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    height: auto !important;
    /* Overrides template's height: 100% bug */
    min-height: 380px;
    /* Ensures a premium uniform size */
}

.services .item-bx p {
    flex-grow: 1;
    /* Makes paragraph fill vertical space */
    margin-bottom: 20px;
}

.services .item-bx .more {
    margin-top: auto !important;
    /* Anchors the link to the very bottom */
}

/* Media & Press infinite marquee */
.press-marquee {
    overflow: hidden;
    padding: 30px 0;
    background: transparent;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.press-marquee::before,
.press-marquee::after {
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    content: "";
    z-index: 2;
}

.press-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.press-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%) !important;
}

.press-marquee-track {
    display: inline-block;
    white-space: nowrap;
    animation: gwd-marquee 25s linear infinite;
}

.press-marquee-track img {
    height: 55px !important;
    width: auto !important;
    margin: 0 45px;
    /* Clean grayscale and fade on white page background - no invert(1) since page is white */
    filter: grayscale(100%) opacity(0.55) contrast(1);
    transition: all 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.press-marquee-track img:hover {
    filter: grayscale(0%) opacity(1) contrast(1.1);
    transform: scale(1.08);
}

/* Media & Press container section styling */
.press-section {
    background: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}