/* ============================================================
   GURSHAKTI TRADERS — Homepage Styles
   Brand colors from logo:
   Dark Brown:    #4a2c0a
   Forest Green:  #2d6a1f
   Leaf Green:    #5a9e2f
   Gold:          #c8832a
   Cream:         #fdf6ec
============================================================ */

/* ---- HERO SLIDER FIX ---- */

#home-section.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.home-slider {
    width: 100%;
}

.home-slider .slider-item {
    width: 100%;
}

.home-slider .slider-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Remove fixed heights */
.owl-carousel .owl-stage,
.owl-carousel .owl-stage-outer,
.owl-carousel .owl-item {
    height: auto !important;
}

/* Tablet */
@media (max-width:991px) {

    .home-slider .slider-item img {
        width: 100%;
        height: auto;
    }

}

/* Mobile */
@media (max-width:767px) {

    .home-slider .slider-item img {
        width: 100%;
        height: auto;
    }

}

/* Small Mobile */
@media (max-width:480px) {

    .home-slider .slider-item img {
        width: 100%;
        height: auto;
    }

}

/* ---- STATS BAR ---- */
.stats-bar {
    background: #4a2c0a;
    color: #fdf6ec;
    padding: 10px 0;
    font-size: 13px;
}
.stats-bar .stat-item {
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.2);
    padding: 4px 0;
}
.stats-bar .stat-item:last-child { border-right: none; }
.stats-bar .stat-num {
    font-size: 22px; font-weight: 700;
    display: block; line-height: 1.1;
    color: #c8832a;
}
.stats-bar .stat-label {
    font-size: 10px; text-transform: uppercase;
    letter-spacing: .06em; opacity: .85;
}

/* ---- OFFER STRIP ---- */
.offer-strip {
    background: linear-gradient(90deg, #fff8e1, #fdf6ec);
    border-top: 2px solid #c8832a;
    border-bottom: 2px solid #c8832a;
    padding: 10px 0;
}

/* ---- SECTION HEADINGS ---- */
.section-heading { position: relative; margin-bottom: 2rem; }
.section-heading h2 {
    font-size: 24px; font-weight: 700;
    color: #4a2c0a; margin: 0;
}
.section-heading h2 span { color: #c8832a; }
.section-heading .view-all {
    font-size: 13px; color: #2d6a1f;
    font-weight: 600; text-decoration: none;
}
.section-heading .view-all:hover { color: #c8832a; }
.section-heading::after {
    content: ""; display: block; width: 50px; height: 3px;
    background: #c8832a; border-radius: 2px; margin-top: 6px;
}

/* ---- CATEGORY GRID ---- */
.cat-grid .cat-card {
    border-radius: 10px; overflow: hidden; text-align: center;
    transition: transform .2s, box-shadow .2s;
    background: #fff; border: 2px solid #e8f0e8;
    text-decoration: none; display: block;
}
.cat-grid .cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(74,44,10,.15);
    border-color: #c8832a;
}
.cat-grid .cat-card .cat-img {
    width: 100%; height: 130px;
    background: #fdf6ec;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.cat-grid .cat-card .cat-img img {
    width: 100%; height: 130px; object-fit: cover;
    transition: transform .3s;
}
.cat-grid .cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-grid .cat-card .cat-name {
    padding: 10px 6px 12px; font-size: 13px; font-weight: 700;
    color: #4a2c0a; background: #fff;
}

/* ---- CATEGORY TABS ---- */
.cat-tabs {
    border-bottom: 2px solid #ede8e0;
    margin-bottom: 1.5rem; flex-wrap: wrap;
}
.cat-tabs .nav-link {
    color: #555; font-size: 13px; font-weight: 600;
    padding: 8px 18px; border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px; border-radius: 0;
}
.cat-tabs .nav-link.active {
    color: #4a2c0a;
    border-bottom: 2px solid #c8832a;
}
.cat-tabs .nav-link:hover { color: #2d6a1f; }

/* ---- TRUST BADGES ---- */
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-badge {
    background: #fdf6ec; border: 1px solid #c8832a;
    border-radius: 20px; padding: 5px 14px;
    font-size: 12px; font-weight: 700; color: #4a2c0a;
    display: flex; align-items: center; gap: 5px;
}

/* ---- WHY US CARDS ---- */
.why-card {
    background: #fff; border-radius: 12px;
    padding: 1.8rem 1.5rem; text-align: center;
    border: 1px solid #ede8e0;
    box-shadow: 0 2px 10px rgba(74,44,10,.06);
    height: 100%;
    transition: box-shadow .2s, transform .2s;
}
.why-card:hover {
    box-shadow: 0 8px 24px rgba(74,44,10,.12);
    transform: translateY(-4px);
}
.why-card .why-icon {
    width: 64px; height: 64px;
    background: #fdf6ec; border: 2px solid #c8832a;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 26px;
}
.why-card h5 { color: #4a2c0a; font-weight: 700; font-size: 15px; }
.why-card p { color: #666; font-size: 13px; margin: 0; line-height: 1.7; }

/* ---- ABOUT STRIP ---- */
.about-stat .num { font-size: 30px; font-weight: 700; color: #2d6a1f; }
.about-stat .lbl {
    font-size: 11px; color: #666;
    text-transform: uppercase; letter-spacing: .06em;
}

/* ---- CERT STRIP ---- */
.cert-strip {
    background: #fff; border: 2px solid #ede8e0;
    border-radius: 10px; padding: 1.5rem;
    display: flex; align-items: center;
    justify-content: space-around; flex-wrap: wrap; gap: 1rem;
}
.cert-strip img {
    height: 70px; object-fit: contain;
    filter: grayscale(.3); transition: filter .2s;
}
.cert-strip img:hover { filter: grayscale(0); }

/* ---- CTA SECTION ---- */
.cta-section {
    background: linear-gradient(135deg, #2d6a1f 0%, #4a2c0a 100%);
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .stats-bar .stat-item { margin-bottom: 8px; border-right: none; }
    .cat-grid .cat-card .cat-img { height: 100px; }
    .cat-grid .cat-card .cat-img img { height: 100px; }
}