body {
    padding-top: 80px;
}

.navbar {
    transition: box-shadow 0.3s ease;
}

body.scrolled .navbar {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-eco-light {
    background-color: #3b850d;
    color: #fff;
    border: none;
    transition: background-color 0.3s;
}

.btn-eco-light:hover {
    background-color: #8CC157;
    color: #fff;
}

.clients-section img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.clients-section img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #3b850d;
    border-radius: 50%;
    padding: 15px; /* Slightly larger for better UX */
    background-size: 50% 50%;
}

.clients-section .carousel-item {
    padding: 0 60px; /* Creates a horizontal buffer for the arrows */
}

.clients-section h5 {
    display: inline-block;
    margin: 0.5rem 1rem; /* Adjusted margins for better wrapping */
    font-weight: 600;
    color: #212529;
    transition: transform 0.3s, color 0.3s;
}

.clients-section h5:hover {
    color: #1b3710;
    /* eco green on hover */
    transform: scale(1.1);
}

.clients-section h3{
    display: block;
    margin: 0 auto 1.5rem;
    font-weight: 600;
    color: #0c6314;
    transition: transform 0.3s, color 0.3s;
}

/* Hero animations */
.hero-section h1,
.hero-section p,
.hero-section .btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 1s forwards;
}

.hero-section h1 {
    animation-delay: 0.2s;
}

.hero-section p {
    animation-delay: 0.4s;
}

.hero-section .btn {
    animation-delay: 0.6s;
}

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- UNIFIED PAGE HERO STYLE --- */
.page-hero-section {
    /* Base styling for all non-home page heroes */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)) no-repeat center center;
    background-size: cover;
    min-height: 40vh;
    padding-top: 100px;
}

/* Page-specific background images */
.services-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/pages-specific images/sustainable-environmental-services-image.png');
}

.processes-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/pages-specific images/process-banner-image.png');
    background-size: cover;
}

.case-studies-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/pages-specific images/case-study-air-compressed-image.png');
    background-size: cover;

}

.team-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/pages-specific images/team-banner-image.png');
    background-size: cover; 
}

.about-hero-section {
    background: linear-gradient(rgba(27, 55, 16, 0.8), rgba(27, 55, 16, 0.9)), url('../img/pages-specific images/world-earth-day-hands-holding-green-earth-image.png') no-repeat center center;
}

/* --- END UNIFIED PAGE HERO STYLE --- */

.services-section .card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.services-section .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.15);
}

.team-section .card img {
    transition: transform 0.3s;
}

.team-section .card img:hover {
    transform: scale(1.05);
}

.clients-section h5 {
    transition: transform 0.3s, color 0.3s;
}

.clients-section h5:hover {
    transform: scale(1.1);
    color: #6CC24A;
    /* eco green */
}

/* Hero section image on mobile */
@media (max-width: 768px) {
    .hero-section .col-lg-6 {
        text-align: center !important;
    }

    .hero-section img {
        margin-top: 20px;
    }
}

/* Services cards spacing on small screens */
@media (max-width: 576px) {
    .services-section .card {
        margin-bottom: 1rem;
    }
}

/* Team section on small screens */
@media (max-width: 768px) {
    .team-section .card {
        margin-bottom: 1.5rem;
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.leaf-icon {
    color: #61c155;
    font-size: 1rem;
    margin-right: 8px;
    transition: .3s ease-in-out;
}

li:hover .leaf-icon {
    color: #198754;
    /* darker green */
    transform: scale(1.2);
}

ul {
    list-style: none;
    padding-left: 0;
}

ul li svg {
    margin-right: 8px;
    color: #4CAF50;
    /* light green */
    transition: color .3s ease;
}

ul li:hover svg {
    color: #2E7D32;
    /* darker green on hover */
}

.service-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all .8s ease-out;
}

.service-section.show {
    opacity: 1;
    transform: translateY(0px);
}

.contact-section {
    padding: 60px 20px;
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.contact-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    height: 100%;
}

.form-container {
    margin-top: 60px;
}

.btn-center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.btn-submit {
    width: 100px;
    text-align: center;
}

/* --- PROCESSES PAGE STYLES --- */

.processes-hero-section h1 {
    font-size: 3.5rem;
}

.process-card {
    border-left: 5px solid #3b850d;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
    height: 100%;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.process-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background-color: #3b850d;
    border-radius: 50%;
    flex-shrink: 0;
}

.process-icon {
    font-size: 1.8rem;
    color: #3b850d;
    flex-shrink: 0;
}

.process-item-final .process-card {
    border-left: none;
    background-color: #e6ffe6;
}

.process-number-final {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    background-color: #1b3710;
    border-radius: 50%;
    flex-shrink: 0;
}

.process-icon-final {
    font-size: 2.5rem;
    color: #1b3710;
    flex-shrink: 0;
}

/*CASE STUDIES PAGE*/

/* Hero Section */
.case-studies-hero-section h1 {
    font-size: 3.5rem;
}

/* Card Styling */
.case-study-card {
    border: none;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

.case-study-card img {
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.case-study-card:hover img {
    transform: scale(1.05);
}

.case-study-card .card-footer {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

/* Read More Button Styling */
.read-more-btn {
    transition: background-color 0.3s, color 0.3s;
}

.read-more-btn:hover {
    background-color: #3b850d !important;
    color: #fff !important;
    border-color: #3b850d !important;
}

/* Badge for Category */
.badge.bg-success {
    background-color: #3b850d !important;
}

.quote-box {
    background-color: #3b850d;
    /* Eco Green */
    border-left: 5px solid #1b3710;
    /* Darker green line */
    font-size: 1.1rem;
}

.quote-box .blockquote-footer {
    opacity: 0.9;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 10px;
    margin-top: 15px;
}

.result-box {
    border: 1px solid #e9ecef !important;
    transition: all 0.3s;
}

.result-box:hover {
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
}

@media (min-width: 992px) {
    .sidebar-sticky {
        position: sticky;
        top: 100px;
    }
}

.list-group-item-action:hover {
    background-color: #f0fff0 !important;
}

/* --- TEAM PAGE STYLES --- */

/* Removed duplicate min-height and padding-top from here */
.case-studies-hero-section h1 {
    font-size: 3.5rem;
}

.team-section .team-member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center top; 
    margin: 0 auto 15px; 
    display: block;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.team-section .card {
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.team-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15) !important;
}

.team-section .card-title {
    color: #1b3710;
    /* Darker Green */
    font-weight: 700;
}

.team-section .card-subtitle {
    color: #3b850d;
    /* Eco Green */
    font-weight: 500;
    margin-bottom: 10px;
}

/* Social Icons */
.team-section .social-links a {
    color: #6c757d;
    /* Muted color */
    transition: color 0.3s;
}

.team-section .social-links a:hover {
    color: #3b850d;
    /* Eco Green on hover */
}

/* --- NEW STYLES FOR ABOUT.HTML --- */

/* New Custom Light Green Color for section backgrounds */
.bg-light-green {
    background-color: #f0fff0 !important;
    /* Very soft light green */
}

/* Specific Hero Section Style for About Page */
.about-hero-section .lead-xl {
    font-size: 1.75rem;
    opacity: 0.9;
}

/* Mission Section Highlight Box */
.mission-section .highlight-box {
    border: 1px solid #e0e0e0;
    border-left: 5px solid #3b850d;
    /* Eco Green Accent */
    background-color: #fcfcfc;
    text-align: left;
}

/* Expertise Section */
.expertise-section {
    /* Using the new light green background */
}

.expertise-section .sector-tag {
    /* Styling for the industry boxes */
    border: 1px solid #e9ecef;
    font-weight: 500;
    transition: all 0.3s;
}

.expertise-section .sector-tag:hover {
    box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #3b850d;
}

.vision-cta-section {
    /* Using dark background for strong contrast */
    background-color: #1b3710 !important;
    /* Dark Green */
}