/*
 * The <style> block that Index.aspx carried inline, lifted out verbatim so the home page
 * looks identical to the WebForms site.
 */

/* ============================================================
   INDEX PAGE — matched to style.min.css new theme
   Primary: #3bb77e | Dark: #1a2e3a | BG: #f4f6f8
============================================================ */

/* ── 5-COL GRID XL ── */
@media (min-width: 1200px) {
    .col-xl-20p { flex: 0 0 20%; max-width: 20%; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .col-xl-20p { flex: 0 0 25%; max-width: 25%; }
}
@media (max-width: 991px) {
    .col-xl-20p { flex: 0 0 33.33%; max-width: 33.33%; }
}
@media (max-width: 575px) {
    .col-xl-20p { flex: 0 0 50%; max-width: 50%; }
}

/* ── MAIN WRAPPER ── */
.main { margin-top: 0 !important; padding-top: 12px; }

/* ── HERO SLIDER ── */
.home-slider {
    border-radius: 16px !important;
    overflow: hidden !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 20px rgba(37,61,78,.08) !important;
}
.home-slide {
    position: relative;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
}
.home-slide::before { display: none !important; }
.home-slide-content {
    position: absolute !important;
    bottom: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    padding-left: 40px !important;
    z-index: 5;
}
.home-slide-content h3 {
    font-size: 28px !important;
    font-family: 'Nunito', sans-serif !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.home-slide-content .btn-dark {
    background: #3bb77e !important;
    border-color: #3bb77e !important;
    border-radius: 50px !important;
    padding: 10px 22px !important;
    
    font-size: 14px !important;
                    min-width: unset !important;
    letter-spacing: .5px !important;
    transition: all .2s !important;
}
.home-slide-content .btn-dark:hover {
    background: #2a9d6b !important;
    transform: translateY(-2px);
}

/* ══════════════════════════════════════════════
   OWL CAROUSEL — TRANSPARENT NAV & DOTS FIX
══════════════════════════════════════════════ */

/* Nav wrapper — sits on sides, not blocking content */
.home-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 4;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    margin: 0 !important;
}

/* Prev / Next buttons — transparent ghost style */
.home-slider .owl-nav .owl-prev,
.home-slider .owl-nav .owl-next {
    pointer-events: all;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.18) !important;  /* transparent white */
    border: 1.5px solid rgba(255,255,255,0.45) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background .2s, transform .2s !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.home-slider .owl-nav .owl-prev:hover,
.home-slider .owl-nav .owl-next:hover {
    background: rgba(255,255,255,0.35) !important;
    transform: scale(1.1);
}
.home-slider .owl-nav .owl-prev span,
.home-slider .owl-nav .owl-next span {
    line-height: 1 !important;
    font-size: 22px !important;
    color: #fff !important;
}

/* Dots — minimal transparent pills */
.home-slider .owl-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    display: flex;
    gap: 6px;
    margin: 0 !important;
}
.home-slider .owl-dots .owl-dot {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.home-slider .owl-dots .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.45) !important;
    border: 1.5px solid rgba(255,255,255,0.7) !important;
    display: block !important;
    transition: all .25s !important;
    margin: 0 !important;
}
.home-slider .owl-dots .owl-dot.active span {
    background: #fff !important;
    width: 22px !important;
    border-radius: 4px !important;
    border-color: #fff !important;
}

/* ── PROMO STRIP ── */
.promo-strip-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 0 0 28px;
}
.promo-item-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border-radius: 12px; padding: 16px 18px;
    border: 1.5px solid #e8edf0;
    box-shadow: 0 4px 16px rgba(37,61,78,.06);
    transition: transform .2s;
}
.promo-item-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(37,61,78,.10); }
.promo-icon-box {
    width: 46px; height: 46px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.promo-icon-box.g { background: #eaf7f0; color: #3bb77e; }
.promo-icon-box.o { background: #fff3e6; color: #f59758; }
.promo-icon-box.b { background: #e6f4ff; color: #67bcee; }
.promo-icon-box.r { background: #fff0f5; color: #f74b81; }
.promo-item-card strong { display: block; font-size: 13px; font-weight: 700; color: #253d4e; margin-bottom: 2px; }
.promo-item-card span { font-size: 11.5px; color: #7e8f9a; }

/* ── BANNER CARDS ── */
.banner-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 32px;
}
.banner-card-item {
    border-radius: 16px; overflow: hidden; position: relative;
    transition: transform .25s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(37,61,78,.08);
    cursor: pointer;
}
.banner-card-item:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(37,61,78,.14); }
.banner-card-item img { width: 100%; height: 160px; object-fit: cover; display: block; transition: transform .4s; }
.banner-card-item:hover img { transform: scale(1.04); }

/* ── SECTION WRAPPER ── */
.bgm {
    background: #fff !important;
    border: 1.5px solid #e8edf0 !important;
    border-radius: 18px !important;
    padding: 20px 24px 36px !important;
    margin-bottom: 28px !important;
    box-shadow: 0 4px 20px rgba(37,61,78,.07);
}

/* ── SECTION HEADER ── */
.section-hdr {
    display: flex; align-items: center;
    justify-content: space-between; margin-bottom: 22px;
}
.section-title {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Nunito', sans-serif;
    font-size: 20px; font-weight: 900;
    color: #253d4e; margin: 0; padding: 0; border: 0;
}
.section-title .title-bar {
    width: 4px; height: 22px;
    background: #3bb77e; border-radius: 4px;
    display: inline-block; flex-shrink: 0;
}
.view-all-link {
    font-size: 13px; font-weight: 600;
    color: #3bb77e; display: flex; align-items: center;
    gap: 4px; white-space: nowrap; text-decoration: none !important;
    transition: all .2s;
}
.view-all-link:hover { color: #2a9d6b !important; text-decoration: underline !important; }

/* ── PRODUCT GRID 4 ── */
.product-grid4 {
    margin-bottom: 20px !important;
    border-radius: 14px !important;
}
.product-grid4 .product-image4 img {
    height: 190px !important;
    padding: 14px !important;
}
.product-grid4 .product-content {
    padding: 12px 14px 14px !important;
}
.product-grid4 .title {
    font-size: 13px !important;
    height: 36px;
}
.product-grid4 .price {
    font-size: 16px !important;
    margin-bottom: 10px !important;
}
.product-grid4 .add-to-cart {
    padding: 8px !important;
    font-size: 12px !important;
}
.product-grid4 .product-discount-label {
    font-size: 10px !important;
    width: 38px !important; height: 38px !important;
    line-height: 38px !important;
}

/* ── SLIDE BG ── */
.home-slide { position: relative; }
.slide-bg {
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .banner-cards-grid { grid-template-columns: 1fr; }
    .promo-strip-row { grid-template-columns: repeat(2, 1fr); }
    .home-slide { height: 260px; }
    .home-slide-content { padding-left: 24px !important; }
    .home-slide-content h3 { font-size: 22px !important; }
}
@media (max-width: 575px) {
    .promo-strip-row { grid-template-columns: 1fr; }
    .home-slide { height: 200px; }
    .home-slide-content { padding-left: 16px !important; }
    .home-slide-content h3 { font-size: 16px !important; }
    .bgm { padding: 14px 12px 24px !important; }
}

.home-slide-content {
    position: absolute !important;
    left: 80% !important;
    top: 80% !important;   /* 👈 neeche */
    transform: translateY(-50%) !important;
    text-align: left;
    z-index: 5;
}

@media (max-width: 768px) {
    .home-slide-content {
        left:65%  !important;
        top: 80% !important;   /* 👈 thoda upar */
        transform: translateY(-50%) !important;
    }
}
