/* -------------------------------------------------- */
/* PREMIUM HERO BANNER */
/* -------------------------------------------------- */
a {
    color: rgb(0 0 0);
    text-decoration: none;
}
.hero {
    width: 100%;
    height: 280px;
    background: url('assets/images/services-banner.jpg') center/cover no-repeat;
    position: relative;
    border-radius: 0 0 40px 40px;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.10));
}

.hero-text {
    position: absolute;
    bottom: 40px;
    left: 35px;
    color: #fff;
    z-index: 3;
}

.hero-text h1 {
    font-weight: 800;
    font-size: 38px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
}

/* SERVICE ICON BOX */
.service-box {
    text-align: center;
    padding: 20px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: 0.3s;
    cursor: pointer;
}
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}
.service-box i {
    font-size: 36px;
    color: #0d6efd;
    margin-bottom: 10px;
}

/* LATEST SECTION */
.card-custom {
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-custom:hover {
    transform: translateY(-5px);
}

.card-custom img {
    height: 160px;
    width: 100%;
    object-fit: cover;
}


/*============ Slider style ========================*/
.hero-slide {
    height: 350px;
    width: 100%;
    background: linear-gradient(135deg, #0d6efd00, #0b5ed700), url(https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1200) center / cover;
    border-radius: 18px;
}

/* Slide 2 Background */
.carousel-item:nth-child(2) .hero-slide {
    background: linear-gradient(135deg, #0d6efd00, #0b5ed700), 
                url('https://sustainoverse.com/wp-content/uploads/2023/11/Untitled-1002-x-562-px-1.webp') center/cover;
}

/* Slide 3 Background */
.carousel-item:nth-child(3) .hero-slide {
    background: linear-gradient(135deg, #0d6efd00, #0b5ed700),
                url('https://www.marketresearchintellect.com/images/blogs/sowing-the-future-how-innovations-in-farm-machinery-are-transforming-agriculture.webp') center/cover;
}

.hero-slide h1, 
.hero-slide p {
    text-shadow: 0 3px 8px rgba(0,0,0,0.4);
}


/*============= Products style ===================*/

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

/* ================= SIDEBAR STYLES ================= */
.sidebar-box {
    border: 1px solid #eee;
    background: #fff;
    padding: 15px;
    border-radius: 12px;
}

/* Mobile drawer */
.filter-drawer {
    background: #fff;
    height: 100vh;
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    padding: 20px;
    overflow-y: auto;
    z-index: 99999;
    box-shadow: 2px 0 10px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
}

/* Desktop sidebar */
@media(min-width: 769px){
    .filter-drawer {
        position: static;
        height: auto;
        width: auto;
        max-width: none;
        padding: 0;
        left: 0 !important;
        box-shadow: none;
    }
}

/* Overlay when filter open */
.filter-overlay {
    background: rgba(0,0,0,0.4);
    position: fixed;
    inset: 0;
    display: none;
    z-index: 99990;
}

/* Mobile filter button */
.filter-btn {
    display: none;
}
@media(max-width: 768px){
    .filter-btn {
        display: inline-block;
    }
}

/* ================= PRODUCT CARD ================= */
.product-card {
    transition: .3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.product-card .info {
    padding: 12px;
}
.product-card .price {
    font-size: 18px;
    font-weight: 700;
    color: #0d6efd;
}

/*====================== services page css ================================*/

.section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ------------ CATEGORY CARDS ------------ */
.service-card {
    transition: .3s;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.09);
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.service-card .info {
    padding: 12px;
}

/* ------------ PROFESSIONAL CARDS ------------ */
.pro-card {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: .3s;
}
.pro-card:hover {
    transform: translateY(-5px);
}
.pro-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

/* ------------ BANNER ------------ */
.banner {
    background: url('https://neskonzeita.in/wp-content/uploads/2025/01/360_F_923365880_YzBkMbyykBBaJ0AZtP7i1X892pr89Ryr.jpg') center/cover;
    padding: 60px;
    border-radius: 16px;
    color: white;
    text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/*=========== Footer style ====================*/
.footer-link {
    color: #ffffffd9;
    text-decoration: none;
    transition: .2s;
}

.footer-link:hover {
    color: #fff;
    padding-left: 5px;
}

footer i {
    transition: 0.3s;
}

footer i:hover {
    transform: scale(1.2);
}

