/* ------------------------------
   GENERAL FIXES
--------------------------------*/
img {
    max-width: 100%;
    height: auto;
}

.auto-container {
    padding-left: 15px;
    padding-right: 15px;
}

/* ------------------------------
   BANNER SECTION
--------------------------------*/
.main-banner {
    padding: 80px 0;
}

.main-banner h3 {
    font-size: 32px;
    line-height: 1.3;
}

.main-banner h4 {
    font-size: 18px;
}

/* ------------------------------
   SERVICES SECTION
--------------------------------*/
.service-style-one {
    margin-bottom: 30px;
}

.service-style-one .inner-box {
    text-align: center;
    padding: 25px 20px;
}

/* ------------------------------
   INVENTORY TABS
--------------------------------*/
.inventory-tabs .tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.inventory-tabs .tab-buttons li {
    padding: 10px 18px;
    font-size: 14px;
    cursor: pointer;
}

/* ------------------------------
   OWL CAROUSEL IMAGE FIX
--------------------------------*/
.image-carousel-one img {
    border-radius: 8px;
}

/* ==================================================
   MOBILE (≤ 767px)
================================================== */
@media (max-width: 767px) {

    .main-banner {
        padding: 60px 0;
        text-align: center;
    }

    .main-banner h3 {
        font-size: 24px;
    }

    .main-banner h4 {
        font-size: 16px;
    }

    .sec-title h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .sec-title .desc-text {
        font-size: 14px;
    }

    .service-style-one {
        width: 100%;
    }

    .inventory-tabs .tab-buttons li {
        width: 100%;
        text-align: center;
    }
}

/* ==================================================
   TABLET (768px – 991px)
================================================== */
@media (min-width: 768px) and (max-width: 991px) {

    .main-banner h3 {
        font-size: 28px;
    }

    .service-style-one {
        width: 50%;
    }
}

/* ==================================================
   LARGE SCREENS (≥ 1200px)
================================================== */
@media (min-width: 1200px) {

    .main-banner h3 {
        font-size: 38px;
    }

    .auto-container {
        max-width: 1200px;
        margin: auto;
    }
}

/* ======================================
   FIX OWL CAROUSEL DOT OVERLAP
====================================== */

/* Give space after every carousel */
.owl-carousel {
    margin-bottom: 60px;
}

/* Force dots to stay inside section */
.owl-dots {
    position: relative;
    margin-top: 20px;
}

/* Inventory section spacing fix */
.inventory2-section2 {
    position: relative;
    padding-top: 80px;
}

/* Section title spacing */
.sec-title.centered {
    margin-top: 40px;
    margin-bottom: 40px;
    clear: both;
}

/* Clear floats from previous sections */
.products-section,
.services-outer,
.features-section {
    overflow: hidden;
}

@media (max-width: 767px) {
    .owl-dots {
        margin-top: 30px;
    }

    .inventory2-section2 {
        padding-top: 60px;
    }
}



/* ================================
   PRODUCTS / SERVICES SECTION – RESPONSIVE
================================ */

.products-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.products-section .sec-title {
    text-align: center;
    padding: 0 15px;
}

.products-section .sec-title .icon {
    position: static;
    margin-bottom: 15px;
}

.products-section .sec-title h2 {
    font-size: 32px; /* bigger for desktop */
    line-height: 1.4;
    margin-bottom: 10px;
}

.products-section .sec-title .desc-text {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Services / Products Grid */
.services-outer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Card Style */
.service-style-one {
    flex: 1 1 calc(25% - 20px); /* 4 per row on desktop */
    max-width: calc(25% - 20px);
    box-sizing: border-box;
}

.service-style-one .inner-box {
    padding: 25px 20px;
    text-align: center;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-style-one .inner-box img {
    max-width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
}

.service-style-one .inner-box:hover {
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .service-style-one {
        flex: 1 1 calc(33.333% - 20px); /* 3 per row */
        max-width: calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .service-style-one {
        flex: 1 1 calc(50% - 15px); /* 2 per row */
        max-width: calc(50% - 15px);
    }
    .products-section .sec-title h2 {
        font-size: 26px;
    }
    .products-section .sec-title .desc-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .service-style-one {
        flex: 1 1 100%; /* 1 per row */
        max-width: 100%;
    }
    .products-section .sec-title h2 {
        font-size: 22px;
    }
    .products-section .sec-title .desc-text {
        font-size: 13px;
    }
}