/* Reset and General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f5f5f5;
}

.mobile-brand-strip {
    background-color: #ffffff;
}

.brand-text {
    color: #0a2a4a;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    font-family: sans-serif;
}

@media (max-width: 375px) {
    .brand-text {
        font-size: 13px;
    }
}



.main-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 15px;
    display: flex;
    gap: 20px;
    position: relative; /* Added for absolute positioning context */
}

/* Category Menu Styles */
.category-menu {
    width: 250px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    height: 400px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-menu::-webkit-scrollbar {
    display: none;
}

.menu-item {
    padding: 10px 15px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
    position: relative;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.menu-item.active {
    background-color: #e0e0e0;
}

.menu-item i, .menu-item img {
    width: 20px;
    margin-right: 12px;
    font-size: 18px;
    color: #333;
}

.menu-item span {
    font-size: 15px;
    color: #333;
}

/* Menu Hover Area (Submenu) - FIXED */
.menu-hover-area {
    position: absolute;
    left: 250px; /* Positioned right after the menu width */
    top: 0;
    width: 700px;
    height: 400px;
    background-color: #f0f8ff;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    padding: 20px;
    border-radius: 0 10px 10px 0;
    z-index: 99;
    display: none; /* Hidden by default */
}

/* Show the menu when active */
.menu-hover-area.active {
    display: flex;
}

.submenu-column {
    flex: 1;
    padding: 0 15px;
}

.submenu-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.submenu-items {
    list-style: none;
}

.submenu-items li {
    margin-bottom: 10px;
}

.submenu-items a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.submenu-items a:hover {
    color: #0066cc;
}

/* Hero Slider Styles */
.hero-slider {
    flex: 1;
    height: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-size: cover; /* Ensure the background image covers the full area */
    background-position: center;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-position: center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 50%;
}

.slide-title {
    font-size: 48px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.slide-subtitle {
    font-size: 24px;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    margin-bottom: 20px;
    max-width: 400px;
    font-weight: 300;
}

.slide-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s;
}

.slide-btn:hover {
    background-color: #cc0000;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
}

.slider-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: white;
}

@media (max-width: 1000px) {
    .main-container {
        flex-direction: column;
    }

    .category-menu {
        width: 100%;
        height: auto;
    }

    .menu-hover-area {
        left: 0;
        top: 100%;
        width: 100%;
        height: auto;
        border-radius: 0 0 10px 10px;
        flex-wrap: wrap;
        position: absolute;
    }

    .submenu-column {
        flex: 0 0 50%;
        margin-bottom: 20px;
    }

    .slide-content {
        max-width: 80%;
    }

    .slide-title {
        font-size: 36px;
    }

    .slide-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    .submenu-column {
        flex: 0 0 100%;
    }

    .slide-content {
        max-width: 100%;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 1000px) {
    .hero-slider {
        height: 50vw;
    }
}

@media (max-width: 600px) {
    .hero-slider {
        height: 60vw;
    }
}

/* --- FOOTER UPDATED STYLING --- */

/* Modern social icons */
.footer-social {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding:0;
  margin:12px 0;
}
.footer-social li { list-style:none; }
.footer-social a {
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #3d3d46;
  background:#1c1c22;
  color:#fff !important;
  transition:all .2s ease;
}
.footer-social i { font-size:18px; }
.footer-social a:hover {
  transform:translateY(-3px);
  border-color:#fff;
}

/* Brand Hover Colors */
.footer-social a.facebook:hover { background:#1877f2; }
.footer-social a.twitter:hover { background:#000000; } /* X style */
.footer-social a.instagram:hover { background:#d62976; }
.footer-social a.youtube:hover { background:#ff0000; }
.footer-social a.linkedin:hover { background:#0a66c2; }

/* Center copyright text */
.footer-bottom-center {
  text-align:center!important;
  width:100%!important;
  display:block!important;
}

/* ===== Footer: responsive polish + tighter desktop spacing ===== */

/* Smaller gutters & reduced spacing between Social and Contacts on desktop */
.footer-top {
  margin-left:-8px;
  margin-right:-8px;
  row-gap:16px;
}
.footer-top > [class*="col-"] {
  padding-left:8px;
  padding-right:8px;
}

/* Social alignment */
.footer-social { justify-content:flex-start; }
@media (max-width: 991.98px) {
  .footer-social { justify-content:center; }
}
@media (min-width: 992px) {
  .footer-social { margin-top:6px; margin-bottom:10px; }
}

/* Tablet & small desktop (≤ 991px): Ensure 3-up layout */
@media (max-width: 991.98px) {
  .footer-top .col-4 {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
  }
  .footer-apps,
  .footer-social,
  .footer-top .mb-4 {
    text-align:center;
  }
  .footer-top .d-flex {
    justify-content:center !important;
  }
}

/* Mobile small (≤ 575px): reduce icon sizes & font sizes */
@media (max-width: 575.98px) {
  .footer-social a { width:38px; height:38px; }
  .footer-social i { font-size:16px; }
  .footer-top h3, .footer-top h4 { font-size:13px !important; }
  .footer-top .fs-13 { font-size:12px !important; }
  footer.py-4 { padding-top:20px !important; padding-bottom:20px !important; }
  .footer-top .mb-4 { margin-bottom:14px !important; }
}

/* Ensure footer images stay responsive */
footer img { max-width:100%; height:auto; }

/* Payment methods: center + wrap */
footer .list-inline {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
footer .list-inline-item { margin-right:0 !important; }

/* --- FORCE 3-UP AT ~TABLET (e.g., 770x569) --- */
@media (max-width: 991.98px) {
  /* Make sure the footer grid can wrap cleanly */
  .footer-top { display: flex; flex-wrap: wrap; }

  /* Child order (in your markup):
     1) About/Social
     2) Quick Links
     3) Contacts
     4) My Account
     5) Seller Zone
  */

  /* Put Quick Links on its own full-width row */
  .footer-top > div:nth-child(2) {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* Make Contacts + My Account + Seller Zone 3-up on the next row */
  .footer-top > div:nth-child(3),
  .footer-top > div:nth-child(4),
  .footer-top > div:nth-child(5) {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    text-align: center; /* optional: keeps headings tidy on tablet */
  }
}

