:root {

    --green-main: #ed9316ec;
    --white: #da3725;
    --theme-color:  linear-gradient(
        -10deg,
        var(--green-main) 0%,
        var(--white) 100%
    );
}




body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f7fa;
    color: #333;
}

header {
    background: var(--theme-color);
    padding: 7px 0;
}

.container {
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    color: #fff;
    margin: 0px;
}

nav a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
}

.logo img{
    /* height:0px; */
    width:200px;
    

}




/* -----------------Dropdown Menu CSS ------------------*/
/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Hidden by default */
.dropdown-menu {
    display: none;
    flex-direction: column;
    background: rgba(222, 214, 214, 0.756);
    margin-left: 10px;
    border-left: 2px solid #07b148;
    z-index: 1000;
}

/* Links */
.dropdown-menu a {
    padding: 12px 20px 12px 12px;
    font-size: 14px;
    color: #333;
    display: block;
    
}

.dropdown-menu a:hover {
    background: var(--white);
    color: #fff;
    
}


.dropdown-menu.show {
    display: flex;
}



/* Desktop hover */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        background: #dadee0;
        min-width: 220px;
        margin-left: 0;
        border-left: none;
    }
}



/* -------------end of Dropdown Menu CSS ------------------*/




















/* ------------------hero -slider section */
.hero-slider {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

/* Slides */
.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* Active slide */
.slide.active {
    opacity: 1;
}

/* Dark overlay */
.slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* Content */
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px;
}

.hero-content h2 {
    font-size: 42px;
    margin-bottom: 10px;    
    color: var(--green-main);
    
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

/*-Navigation buttons */
.hero-slider .nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0);
    color: #fff;
    border: none;
    font-size: 30px;
    padding: 10px 16px;
    cursor: pointer;
    /* border-radius: 50%; */
    transition: 0.3s;
    z-index: 5;
}

.hero-slider .nav:hover {
    background: rgba(255, 255, 255, 0.063);
}

.hero-slider .prev {
    left: 20px;
}

.hero-slider .next {
    right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 28px;
        color: var(--theme-color);
    }

    .hero-content p {
        font-size: 15px;
    }
}
/* --------------end of hero-slider CSS */



.btn {
    display: inline-block;
    background: var(--theme-color);
    color: #fff;
    padding: 10px 20px;
    margin-top: 15px;
    text-decoration: none;
    border-radius: 4px;
}

.about {
    padding: 40px;
    background: #fff;
    text-align: center;
}

.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

.product-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: cover;
}

/* Card lift effect */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Image zoom */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* footer {
    background: var(--theme-color);
    color: #fff;
    text-align: center;
    padding: 15px;
} */




/* Footer PAge CSS */
.footer {
    background: var(--theme-color);
    color: #ffffff;
    font-size: 14px;
}

.footer-top {
    max-width: 1300px;
    margin: auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer p {
    line-height: 1.7;
    color: #e0e0e0;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.3s;
}

.footer ul li a:hover {
    color: #07b148;
}

/* Button */
.footer-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 20px;
    border: 2px solid #fff;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.footer-btn:hover {
    background: #07b148;
    border-color: #07b148;
}

/* Social */
.social-links li a {
    display: flex;
    align-items: center;
}

/* Map link */
.map-link {
    color: #07b148;
    text-decoration: none;
    font-weight: 500;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: auto;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}




/* ===== hero product ===== */
.hero-product {
    background: #e8f3f8;
    text-align: center;
    padding: 10px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.hero-product h2 {
    font-size: 32px;
    margin: 20px 20px 5px 20px;
}


.breadcrumb {    
    font-size: 14px;
    margin: 0px 0;
    color: #666;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 6px;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}



/* ===== End hero product ===== */








/* ===== NAVBAR RESPONSIVE ===== */

.menu-btn {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* Side Nav */
nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    
}

/* Mobile View */
@media (max-width: 768px) {

    .menu-btn {
        display: block;
    }

    nav {
        position: fixed;
        top: 0;
        left: -260px;
        width: 250px;
        height: 100%;
        background: #0a4f70;
        flex-direction: column;
        padding-top: 60px;
        transition: 0.3s ease;
        z-index: 999;
    }

    nav a {
        display: block;        
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }
    .dropdown-menu {
        position: static;
        border-left: none;
        background: #0a4f70;
        margin-left: 10px;

    }

    .dropdown-menu a{
        color: #ffffff;

    }

    nav.active {
        left: 0;
    }

    .close-btn {
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        color: #fff;
        cursor: pointer;
    }
}
