/* Variables */
:root {
    --primary-green: #5D8C3C;
    /* Color picked from Logo */
    --dark-green: #3e6128;
    --light-bg: #f9f9f9;
}

html {
    scroll-behavior: smooth;
    width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Lato', sans-serif;
    color: #222;
    font-size: 16px;
    font-weight: normal;
    width: 100vw;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Playfair Display', serif;
    color: #5d8c3c;
}

/* Navbar */
.navbar-brand img {
    max-height: 100px;
}

.nav-link {
    font-weight: 700;
    color: #333 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 10px 15px !important;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero-section {
    background: url('../images/slider/slider.webp') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    margin-top: 127px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.bg-light {

    background-color: antiquewhite;
}

.hero-section .container {
    z-index: 2;
}

/* Awards Section */
.awards-box {
    border-left: 5px solid var(--primary-green);
}

/* Team Card */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Products */
.portfolio-item {
    height: 300px;
    border-radius: 8px;
    cursor: pointer;
}

.portfolio-item img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(93, 140, 60, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Clients Grid - Custom Styling to match reference */
/* .client-box {
        background: white;
        height: 100px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        transition: transform 0.3s ease;
        text-align: center;
        padding: 10px;
    } */
.client-box {
    transition: transform 0.3s ease;
}

.client-box:hover {
    transform: scale(1.05);
}

/* Buttons & Text */
.text-success {
    color: var(--primary-green) !important;
}

.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover {
    background-color: var(--dark-green);
}

.ls-2 {
    letter-spacing: 2px;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2 {
    text-align: center;
}

.section-top-margin {
    margin-top: 50px;
}

.section-bottom-margin {
    margin-bottom: 50px;
}

.section-content h3 {
    margin-bottom: 20px;
}

.process-overview-card-img {
    margin-bottom: 10px;
}

.section-content p {
    text-align: justify;
}

.process-overview-card-content h2 {
    font-size: 25px;
    text-align: center;
}

.process-overview-card-content p {
    max-height: 150px;
    min-height: 150px;
    overflow-y: auto;
    text-align: center;
}

#contact a {
    color: #3e6128;
}

.section-img img {
    border: 3px solid #3e6128;
}

.process-overview-card-img img {
    border: 3px solid #3e6128;
}

footer {
    background: #51862e;
    /* background-image: linear-gradient(to right, rgba(81, 134, 46, 0.788), rgba(81, 134, 46, 0.788)), url('../images/slider/slider.webp'); */
    padding: 30px 0;
}

.f-logo {
    display: flex;
    justify-content: center;
}

.f-logo img {
    width: 200px;
    margin-bottom: 20px;
}

.f-links {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 20px;
    margin: 0;
    flex-wrap: wrap;
}

.f-bottom {
    background: #204706;
    padding: 10px 0;
    margin: 0;
}

.f-links li a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;

}

.f-links li a:hover {
    text-decoration: underline;
    text-underline-offset: 10px;
}

.about-content p {
    text-align: justify;
}

.esteemed-clients-lists ul {
    list-style: none;
}

.esteemed-clients h4 {
    margin-bottom: 10px;
}

.esteemed-clients-lists ul li {
    margin-bottom: 10px;
    position: relative;
}

.esteemed-clients-lists ul li::before {
    content: '\f192';
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    top: 0;
    left: -20px;
    color: #3e6128;

}

.product-container img {
    margin-bottom: 25px;
}

.translate-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

@media(max-width:768px) {
    .section-content p.pe-5 {

        padding-right: 0 !important;
    }

    .navbar-brand img {
        max-height: 80px;
    }

    .hero-section {
        height: calc(100vh - 106px);
        margin-top: 106px;
    }

    .section-content {
        margin-top: 20px;
    }

    .row-reverse {
        flex-direction: column-reverse;
    }

    .section-bottom-margin {
        margin-bottom: 25px;
    }

    .section-top-margin {
        margin-top: 25px;
    }
}