/* ===============================
   CATEGORY STYLES
================================= */
.category-circle {
    width: 140px;
    height: 140px;
    background-color: #f11414ff;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid #eee;
    text-transform: uppercase;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.category-circle:hover {
    transform: scale(1.05);
    border-color: #000;
}

.category-item {
    text-align: center;
    margin: 10px;
    flex: 1;
    min-width: 100px;
}

.category-row {
    gap: 20px;
}


.category-img,
.red-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #eee;
}

.category-img:hover,
.red-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    border-color: #000;
}

.red-circle {
    background-color: red;
    color: white;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
}

.category-name {
    margin-top: 10px;
    font-weight: 600;
    font-size: 14px;
}

/* color code */
a[title="Category Color"]:hover {
    transform: scale(1.2);
    border-color: #000;
}

/* ===============================
   NAVBAR STYLES - UPDATED WITH THREE-COLOR COMBINATION
================================= */
.main-navbar {
      min-height: 75px; /* Increased height for main navbar */
      padding: 15px 0; /* Added padding to distribute height */
    }
    .main-navbar .navbar-brand img {
      height: auto; /* Ensure logo scales properly */
    }
    .main-navbar .navbar-nav .nav-link {
      padding: 10px 15px; /* Adjust padding for nav links to fit taller navbar */
    }
    .search-container {
      padding: 10px 0; /* Adjust search box padding */
    }
.navbar {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: 60px;
    z-index: 1000;
}

/* Main Navbar - Three Color Gradient */
.main-navbar {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: 36px;
    background: linear-gradient(135deg, #1F305E 0%, #005f69 50%, #76ABDF 100%) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.main-navbar .navbar-collapse {
    display: flex;
    justify-content: flex-end !important;
}

.main-navbar .navbar-nav {
    display: flex;
    justify-content: flex-end !important;
    flex-wrap: wrap;
    max-width: 100%;
}

.main-navbar .nav-item {
    white-space: nowrap;
}

.main-navbar .nav-link {
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 600;
    color: white !important;
    transition: all 0.3s ease;
}

.main-navbar .nav-link:hover {
    color: #E0FFFF !important;
    transform: translateY(-2px);
}

.navbar.border-bottom {
    padding-top: 2px !important;
    padding-bottom: 2px !important;
}

.custom-phone-link {
    color: #E0FFFF !important;
    font-weight: 600;
}

.custom-phone-link:hover {
    color: white !important;
}

/* Product Navbar - Two Color Gradient */
.product-navbar {
    background: linear-gradient(90deg, #76ABDF 0%, #1F305E 100%) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-navbar.border-bottom {
    border-bottom: none !important;
}

/* Product Links in Secondary Navbar */
.product-link {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 17px;
    margin-right: 25px;
    color: white !important;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #E0FFFF !important;
    transform: translateY(-2px);
}

/* Updated Dropdown Menu Styles */
.dropdown-menu {
    min-width: 220px;
    padding: 10px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1F305E 0%, #005f69 100%);
    border: none;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 12px;
    font-weight: 500;
    color: white !important;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(118, 171, 223, 0.3) !important;
    color: #E0FFFF !important;
    border-radius: 5px;
    padding-left: 15px;
}

/* Multi-level submenu */
.main-navbar .dropdown-submenu {
    position: relative;
}

.main-navbar .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    display: none;
    margin-top: -1px;
    margin-left: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.main-navbar .dropdown-submenu:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navbar .dropdown-submenu.open-left>.dropdown-menu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0.1rem;
}

/* Navbar Toggler for Mobile */
.main-navbar .navbar-toggler-icon {
    filter: invert(1); /* Makes the toggler icon white */
}

/* Cart Icon Styling */
.nav-link .fa-shopping-cart {
    color: white !important;
}

/* Search Box Styling - Updated to match new theme */
.search-button {
    position: absolute;
    right: 7px;
    top: 4px;
    width: 30px;
    height: 29px;
    border-radius: 50%;
    background: #1F305E;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button:hover {
    background: #005f69;
    transform: rotate(15deg);
}

/* Sticky Navbar Enhancements */
.sticky-half-navbar {
    position: sticky !important;
    top: 60px !important;
    z-index: 1020 !important;
    background: linear-gradient(90deg, #76ABDF 0%, #1F305E 100%) !important;
}

.main-navbar.sticky-top {
    z-index: 1030 !important;
}

/* White Icon for Cart */
.white-icon {
    color: white;
}

/* Text Colors for Nav Items */
.nav-item .nav-link.text-white {
    color: white !important;
}

.nav-item .nav-link.text-white:hover,
.nav-item .nav-link.text-white:focus {
    color: #E0FFFF !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-navbar {
        background: linear-gradient(135deg, #1F305E 0%, #005f69 100%) !important;
    }
    
    .product-navbar {
        background: linear-gradient(135deg, #76ABDF 0%, #1F305E 100%) !important;
    }
    
    .product-link {
        font-size: 14px;
        margin-right: 15px;
    }
}

@media (max-width: 576px) {
    .product-link {
        font-size: 12px;
        margin-right: 10px;
    }
    
    .main-navbar .nav-link {
        font-size: 13px;
        padding: 6px 8px;
    }
}

/* ===============================
   DROPDOWN MENU STYLES
================================= */
.dropdown-menu {
    min-width: 220px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ff4f4f;
    box-shadow: 0px 5px 15px rgba(238, 70, 70, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 8px 12px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(182, 182, 182, 0.5);
    color: #020202;
    border-radius: 5px;
    padding-left: 15px;
}

/* Multi-level submenu */
.main-navbar .dropdown-submenu {
    position: relative;
}

.main-navbar .dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    display: none;
    margin-top: -1px;
    margin-left: 0.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.main-navbar .dropdown-submenu:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navbar .dropdown-submenu.open-left>.dropdown-menu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0.1rem;
}

/* ===============================
   PRODUCT STYLES
================================= */
.product-link {
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 17px;
    margin-right: 25px;
    color: #000;
    transition: color 0.3s ease;
}

.product-link:hover {
    color: #000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.product-card {
    width: 230px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-img {
    position: relative;
    text-align: center;
}

.product-img img {
    width: 100%;
    height: auto;
    display: block;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: orange;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
}

.product-info {
    padding: 10px;
}

.title {
    font-size: 14px;
    margin: 6px 0;
}

.price {
    font-size: 14px;
    margin: 4px 0;
}

.price.sale {
    color: red;
    font-weight: bold;
}

.rating {
    font-size: 13px;
    margin: 6px 0;
    color: #f39c12;
}

.colors span {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    margin: 0 3px;
    border: 1px solid #ccc;
    cursor: pointer;
}

/* ===============================
   INTRO SECTION
================================= */
.intro-section {
    padding: 20px;
    margin-top: 15px !important;
}

.intro-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.intro-heading span {
    color: #c0392b;
}

.horizontal-line {
    width: 70px;
    height: 3px;
    background-color: #c0392b;
    margin: 8px 0 20px;
    border-radius: 2px;
}

.intro-subheading {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    font-weight: 400;
    border-left: 3px solid #c0392b;
    padding-left: 12px;
}

/* ===============================
   SEARCH BOX
================================= */

/* deepseek search box */


.search-container {
    width: 70%;
    max-width: 600px;
    margin: 0 auto;

}

.search-box {
    position: relative;
    width: 80%;
    justify-content: end;
    /* center horizontally */
    align-items: end;
}

.search-input {
    width: 100%;
    padding: 2px 49px 7px 19px;
    font-size: 18px;
    border: none;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.search-button {
    position: absolute;
    right: 7px;
    top: 4px;
    width: 30px;
    height: 29px;
    border-radius: 50%;
    background: #002147;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-button:hover {
    background: #2980b9;
    transform: rotate(15deg);
}

.search-button i {
    font-size: 18px;
}

.search-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #2c3e50;
    padding-left: 5px;
}

/* Sticky half navbar */
 .sticky-half-navbar {
      position: sticky !important;
      top: 60px !important;
      /* Matches your CSS */
      z-index: 1020 !important;
      background-color: #E0FFFF !important;
    }
    .white-icon {
    color: white;
}

    /* Ensure main navbar stays on top */
    .main-navbar.sticky-top {
      z-index: 1030 !important;
    }

    /* Prevent content hiding */
    main {
      position: relative;
      z-index: 1;
    }


@media (max-width: 768px) {
    .search-input {
        padding: 14px 45px 14px 16px;
        font-size: 16px;
    }

    .search-button {
        width: 36px;
        height: 36px;
    }
}

.nav-item .nav-link.text-white {
    /* Use !important to override Bootstrap's default or the navbar's color */
    color: white !important; 
}
.nav-item .nav-link.text-white:hover,
.nav-item .nav-link.text-white:focus {
    /* Optional: Keep the color white on hover/focus */
    color: #f8f9fa !important; 
}


/* ===============================
   Category Card
================================= */
.category-logo {
    width: 105%;
    height: 105%;
    object-fit: contain;
    display: block;
}

/* Section Heading */
.tagline {
    text-align: center;
    margin-bottom: 2.5rem;
}

.tagline h1 {
    font-weight: 700;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.tagline h1:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

/* Grid for Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 items per row */
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

/* Category Card */
.category-card {
    transition: all 0.3s ease;
    border-radius: 14px;
    overflow: hidden;
    border: none;
    padding: 25px 20px;
    background: #fff;
    height: 100%;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.18);
}

.category-card h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #2c3e50;
}

/* Category Images */
.category-card img {
    width: 100%;
    max-width: 220px;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    transition: all 0.4s ease;
}

.category-card:hover img {
    transform: scale(1.1);
}

/* Subcategory Styling */
.subcategory-grid {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px dashed #dee2e6;
}

.subcategory-title {
    position: relative;
    padding-left: 15px;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 25px;
}

.subcategory-title:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 6px;
    background: linear-gradient(to bottom, #3498db, #2ecc71);
    border-radius: 3px;
}

/* Body background */
body {
    background-color: #e3d5c1;

}


/* ===============================
   Boxes STYLES
================================= */

/* Section Wrapper */
.promo-section {
    width: 100%;
    margin: 50px auto;
    padding: 0;
}

/* 2x2 Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 0;
}

/* Common Box Styling */
.promo-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Colors & Backgrounds */
.promo-box.blue {
    background: #00a3e0;
    /* Adjust blue tone */
    color: #fff;
}

.promo-box.white {
    background: #fff;
    color: #333;
}

.promo-box.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Text Styling */
.promo-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.promo-box p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.promo-box .discount {
    color: #e74c3c;
    font-size: 1.5rem;
    margin: 10px 0;
}

.promo-box .code {
    font-weight: 700;
    color: #3498db;
    margin-bottom: 20px;
}

/* Button */
.promo-box .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    background: #3498db;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.promo-box .btn:hover {
    background: #2ecc71;
}

/* Responsive */
@media (max-width: 768px) {
    .promo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}


/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-card img {
        max-width: 180px;
        height: 160px;
    }

    .category-card h2 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-link {
        letter-spacing: 1px;
        font-size: 9px;
        margin-right: 8px;
    }

    .intro-heading {
        font-size: 1.25rem;
    }

    .horizontal-line {
        width: 40px;
    }

    .intro-subheading {
        font-size: 0.9rem;
    }

}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1200px) {
    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-link {
        letter-spacing: 3px;
        font-size: 10px;
        margin-right: 15px;
    }
}

@media (max-width: 768px) {
    .intro-heading {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .horizontal-line {
        width: 50px;
    }

    .intro-subheading {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-link {
        letter-spacing: 1px;
        font-size: 9px;
        margin-right: 8px;
    }

    .intro-heading {
        font-size: 1.25rem;
    }

    .horizontal-line {
        width: 40px;
    }

    .intro-subheading {
        font-size: 0.9rem;
    }
}
/* 
***********************************************************
Min width Image 
************************************************************ */


@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
        flex-wrap: nowrap;
    }
}

/* 
***********************************************************
Banner
************************************************************ */

.fixed-slider-img {
    height: 600px;
    /* fixed height */
    object-fit: cover;
    /* crop to fill */
   
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


/* ===============================
   BRAND STYLES
================================= */
.brand-row {
    overflow: hidden;
    position: relative;
    margin: 20px 0;
}

.brand-track {
    display: flex;
    gap: 30px;
    animation: scrollLeft 30s linear infinite;
}

/* ✅ Pause scrolling when hovered */
.brand-row:hover .brand-track {
    animation-play-state: paused;
}

.brand-card {
    flex: 0 0 auto;
    width: 150px;
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.brand-card:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.brand-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.brand-headline {
    text-align: left;                  /* Align left */
    font-size: 2rem;                   /* Bigger headline */
    color: #0b4fbc;                       /* Elegant dark tone */
    position: relative;                /* For decorative line */
    display: inline-block;             /* For underline effect */
    letter-spacing: 1px;               /* Slight spacing */
}

/* ✨ Add a nice accent line under it */
.brand-headline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 80px;                       /* Line width */
    height: 4px;                       /* Line thickness */
    background: linear-gradient(90deg, #ff7b00, #ffb700);
    border-radius: 2px;
    animation: slideAccent 2s infinite alternate ease-in-out;
}

/* Small animation for the underline */
@keyframes slideAccent {
    from { width: 50px; opacity: 0.8; }
    to { width: 100px; opacity: 1; }
}


/* 🔄 Keyframes for continuous left scroll */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* will scroll half of duplicated track */
}
/* 🔧 Category Page Compact Override */
.col-md-9 > .row {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 10px !important;
}

.product-card {
  width: 100% !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1) !important;
  border-radius: 8px !important;
}

.product-main-image {
  width: 100% !important;
  aspect-ratio: 1/1 !important;
  object-fit: cover !important;
}

@media (max-width: 575.98px) {
  .col-md-9 > .row {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }
}


html {
    scroll-behavior: smooth;
}