/* =========================
   index.css - Updated: Transparent Top Categories + Hover Gradient
   Replace your current index.css with this file
   ========================= */

/* ---------- Root colors & vars ---------- */
:root {
    --accent1: #ff8c00;
    --accent2: #ff3c00;
    --muted: #6b6b6b;
    --bg: #ffffff;
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --glass-bg: rgba(255, 255, 255, 0.88);
    --overlay-dark: rgba(0, 0, 0, 0.45);
    --white-90: rgba(255, 255, 255, 0.9);
    --text-light: rgba(255, 255, 255, 0.95);
}

/* ---------- Reset / base ---------- */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
  }
html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #222;
    background: #fafafa;
    -webkit-text-size-adjust: 100%;
}

/* ---------- Container padding utility ---------- */
.container,
.container-fluid {
    padding-left: 12px;
    padding-right: 12px;
}

/* ---------- Logo ---------- */
.logo {
    display: inline-block;
    max-width: 220px;
    width: 100%;
    height: auto;
}

/* ---------- Nav / Search / Call ---------- */
.custom-nav {
    background: transparent;
}

.search-box {
    position: relative;
    width: 100%;
    margin: 6px 0;
}

.custom-search-input {
    height: 50px;
    border-radius: 28px;
    padding-left: 18px;
    padding-right: 140px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow .18s ease, transform .12s ease;
    width: 100%;
}

.custom-search-input:focus {
    outline: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.12);
}

/* search button inside input */
.custom-search-button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    height: 40px;
    min-width: 40px;
    border-radius: 20px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.custom-search-button i {
    font-size: 1.1rem;
}

/* call button */
.call-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    color: #fff;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 28px;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.call-btn i {
    font-size: 1rem;
}

.call-btn:hover {
    transform: translateY(-2px);
}

/* ---------- Hero Banner ---------- */
.hero-banner {
    position: relative;
    width: 100%;
    display: block;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 750px;    
}

.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-dark);
    z-index: 1;
}

.hero-banner .position-relative {
    z-index: 2;
}

.hero-banner .text-start {
    margin-top: 80px;
}

.shadow-text {
    color: var(--text-light);
    text-shadow: 2px 6px 20px rgba(0, 0, 0, 0.75);
    line-height: 1.03;
    padding: 10px 0 0 0;
    margin-left: 15%;
}

.hero-banner .btn.btn-light {
    border-radius: 10px;
    padding: 10px 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

/* ---------- Banner info cards ---------- */
.banner-info {
    margin-top: 20%;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;

}

.banner-info .info-card {
    padding: 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all .24s ease;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-info .info-card i {
    font-size: 1.6rem;
    color: #ffb76b;
    margin-bottom: 8px;
}

.banner-info .info-card h5 {
    margin: 6px 0;
    color: var(--text-light);
    font-weight: 600;
}

.banner-info .info-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: .95rem;
}

.banner-info .info-card:hover {
    background: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%);
    transform: translateY(-8px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
}

.banner-info .info-card:hover i {
    color: #fff;
}

/* ---------- Top Categories inside banner (transparent style) ---------- */
/* Card wrapper on banner uses glass background */
.hero-banner .card,
.card.overlay-card {
    background: rgba(255, 255, 255, 0.06);
    /* very light glass */
    backdrop-filter: blur(6px);
    border-radius: 12px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
    border: 0;
}

/* header - keep white for contrast */
.hero-banner .card-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* list-group items inside overlay card - transparent look */
.hero-banner .list-group .list-group-item,
.card .list-group .list-group-item {
    background: transparent;
    border: 0;
    padding: 0.4rem 0.75rem;
    color: #ddd;
    transition: background .16s ease, color .16s ease, transform .12s ease;
    border-radius: 8px;
}

/* category anchor default: transparent, subtle border */
.card .list-group .custom-cat,
.list-group .custom-cat {
    display: block;
    color: #ddd !important;
    background: rgba(255, 255, 255, 0.2);
    /* faint */
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.06);
    /* subtle ring */
}

/* Hover: apply vivid gradient and white text */
.card .list-group .custom-cat:hover,
.list-group .custom-cat:hover {
    background-image: linear-gradient(90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 60, 0, 1) 100%) !important;
    color: #fff !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    text-decoration: none;
}

/* keep link contents inheriting color */
.card .list-group .custom-cat>* {
    color: inherit !important;
}

/* Show All button inside banner card - subtle glass by default */
.hero-banner .btn-outline-dark,
.card .btn-outline-dark {
    width: 100%;
    border-color: rgba(0, 0, 0, 0.08);
    color: #ddd;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all .18s ease;
}

/* Hover for button: keep gradient but smooth */
.hero-banner .btn-outline-dark:hover,
.card .btn-outline-dark:hover,
.card .btn-outline-dark:focus {
    color: #fff !important;
    background-image: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%) !important;
    border-color: transparent !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.18);
    transform: translateY(-3px);
}

/* ---------- Product cards ---------- */
.product-cards {
    margin-top: 8px;
    margin-bottom: 8px;
}

.custom-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.custom-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.custom-card-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

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

.custom-card-body {
    padding: 10px;
    text-align: center;
    flex: 0 0 auto;
}

.custom-card-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    color: #222;
}

/* ------------------ Product Sections ------------------ */
.products-wrapper {
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
}

/* ------------------ Why Choose Us ------------------ */
.why-choose-back {
    background: url('assets/images/back_02.jpg') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 500px;
  }
  
.why-choose {
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.why-choose h3 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    color: white;
}

.why-card {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card i {
    font-size: 2rem;
    color: #ff4500;
    margin-bottom: 15px;
}

/* ------------------ Testimonials ------------------ */
.testimonials {
    background: #fff;
    padding: 60px 20px;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

.testimonial-box {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.testimonial-box p {
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-box h6 {
    font-weight: 600;
    margin-bottom: 0;
}

/* ------------------ Bulk Orders CTA ------------------ */
.bulk-cta {
    background: linear-gradient(90deg, rgba(255, 140, 0, 1) 0%, rgba(255, 60, 0, 1) 100%);
    color: white;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
}

.bulk-cta h3 {
    font-weight: 600;
    margin-bottom: 20px;
}

.bulk-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

/* ---------- Footer ---------- */
footer {
    background: #111;
    color: #ddd;
    padding: 40px 18px;
}

footer a {
    color: #cfcfcf;
}

footer a:hover {
    color: #fff;
}

/* ---------- Accessibility / touch targets ---------- */
.list-group-item,
.info-card,
.custom-cat,
.call-btn,
.custom-search-button {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.06);
    touch-action: manipulation;
}

/* ---------- Minor fixes ---------- */
/* Ensure items inside hero overlay card have dark text by default */
.hero-banner .list-group .list-group-item {
    color: #ddd !important;
}

/* Remove borders that cause black lines inside overlay */
.hero-banner .list-group .list-group-item {
    border: none;
}

/* Keep images responsive */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---------- Responsive tuning ---------- */

/* large desktop */
@media (min-width: 1400px) {
    .hero-banner {
        min-height: 820px;
    }

    .hero-banner .text-start {
        margin-top: 110px;
    }

    .banner-info .info-card {
        min-height: 140px;
        padding: 22px;
    }

    .logo {
        max-width: 240px;
    }
}

/* desktop / laptop */
@media (min-width: 992px) and (max-width: 1399px) {
    .hero-banner {
        min-height: 760px;
    }

    .hero-banner .text-start {
        margin-top: 90px;
    }

    .logo {
        max-width: 220px;
    }
}

/* tablet */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-banner {
        min-height: 620px;
    }

    .hero-banner .text-start {
        margin-top: 60px;
    }

    .banner-info {
        margin-bottom: 40px;
    }

    .custom-search-input {
        padding-right: 110px;
    }

    .call-btn {
        padding: 10px 14px;
        font-size: .95rem;
    }

    .logo {
        max-width: 180px;
    }

    .banner-info {
        margin-top: 12%;
    }
}

/* mobile */
@media (max-width: 767.98px) {
    .hero-banner {
        min-height: 520px;
        background-position: center top;
    }

    .hero-banner .text-start {
        margin-top: 28px;
        padding-right: 12px;
        padding-left: 12px;
    }

    .banner-info {
        margin-bottom: 22px;
        gap: 10px;
        flex-direction: column;
    }

    .banner-info .info-card {
        min-height: 100px;
        padding: 12px;
        border-radius: 10px;
    }

    .hero-banner .card {
        margin: 0 12px;
        width: 100%;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
    }

    .custom-search-button {
        right: 8px;
        height: 36px;
        min-width: 36px;
        padding: 0 10px;
        border-radius: 18px;
    }

    .custom-search-input {
        height: 44px;
        padding-right: 100px;
        border-radius: 22px;
    }

    .call-btn {
        display: none !important;
    }

    .logo {
        max-width: 160px;
    }

    .custom-card-title {
        font-size: .95rem;
    }

    .hero-banner .text-start h2 {
        font-size: 1.6rem;
    }

    .banner-info {
        margin-top: 10%;
        margin-bottom: 28px;
    }
}

/* extra small */
@media (max-width: 420px) {
    .hero-banner {
        min-height: 480px;
    }

    .banner-info .info-card {
        min-height: 88px;
        padding: 10px;
    }

    .custom-search-input {
        padding-right: 90px;
    }
}

/* small specificity tweaks to avoid library overrides */
.card .list-group .custom-cat:hover {
    outline: none;
}

.card .list-group .custom-cat:focus {
    outline: none;
}

/* polish: neutralize bootstrap outline-dark active black color */
.card .btn-outline-dark:active {
    background-image: linear-gradient(90deg, var(--accent1) 0%, var(--accent2) 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* ensure hero text sits above everything */
.hero-banner .position-relative,
.hero-banner .banner-info,
.hero-banner .card {
    z-index: 2;
    position: relative;
}
/* Move carousel controls outside product area */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;              /* chhoti width rakhna */
    top: 50%;               /* vertically center */
    transform: translateY(-50%);
}

.carousel-control-prev {
    left: -50px;            /* products se bahar */
}

.carousel-control-next {
    right: -50px;           /* products se bahar */
}

/* Buttons ko thoda style bhi de do */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    padding: 20px;
    background-size: 60% 60%;
}
