 /* Responsive Styles */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 20px;
    }
    
    #main-nav > li {
        margin: 0 10px;
    }
    
    .search-box input {
        width: 150px;
    }
}

@media (max-width: 992px) {
    /* Navbar becomes mobile-friendly */
    .header-container {
        height: 70px;
        padding: 0 50px;
    }
    
    .logo img {
        height: 90px;
    }
    
    #main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    #main-nav.active {
        transform: translateX(0);
    }
    
    #main-nav > li {
        width: 100%;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    #main-nav > li > a {
        padding: 10px 0;
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin-top: 2px;
        margin-left: 2px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        border-left: 2px solid #fdbb2d;
    }
    
    #main-nav > li:hover .dropdown-menu {
        transform: none;
    }
    
    .dropdown-menu li {
        padding: 8px 15px;
    }
    
    .mega-menu {
        width: 100%;
        left: 0;
        transform: none;
        flex-direction: column;
        padding: 0;
    }
    
    .mega-menu > li {
        padding: 0;
    }
    
    .dropdown-image-box {
        height: 100px;
    }
    
    .nav-actions {
        margin-left: auto;
    }
    
    .mobile-menu {
        display: block;
    }
    
    /* Adjust body padding when navbar is fixed */
    body {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-links h3,
    .footer-contact h3 {
        margin-bottom: 15px;
    }
    
    footer {
        padding: 40px 0 20px;
    }
    
    .logo-image {
        height: 35px;
        max-width: 150px;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 0 10px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-actions {
        gap: 15px;
    }
    
    .search-box {
        padding: 5px 10px;
    }
    
    .search-box input {
        width: 120px;
        font-size: 0.8rem;
    }
    
    .cart-icon {
        font-size: 1.1rem;
    }
    
    .mobile-menu {
        font-size: 1.3rem;
    }
    
    .logo-image {
        height: 30px;
        max-width: 130px;
    }
}

/* Mobile dropdown toggle functionality */
.has-dropdown > a::after {
    content: '+';
    margin-left: auto;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.has-dropdown.active > a::after {
    content: '-';
}

.has-dropdown > a i {
    display: none;
}

/* JavaScript will add/remove 'active' class to dropdown parents */
 /* Navbar Styles - Responsive Modifications */
 /* Base Styles */
 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'poppins', ;
     line-height: 1.6;
     color: #333;
     overflow-x: hidden;
     padding-top: 80px;
 }

 /* Header/Navbar Styles */
 #main-header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     background: white;
     z-index: 1000;
     box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
     transition: all 0.3s ease;
 }

 .header-container {
     display: flex;
     justify-content: space-between;
     align-items: center;
     height: 80px;
     padding: 0 30px;
     max-width: 1400px;
     margin: 0 auto;
 }

 .logo img {
     height: 90px;
     /* Adjust as needed */
     vertical-align: middle;
     margin-right: 10px;
 }

 #main-nav {
     display: flex;
     list-style: none;
     margin: 0;
     padding: 0;
     align-items: center;
 }

 #main-nav>li {
     position: relative;
     margin: 0 15px;
 }

 #main-nav>li>a {
     color: #333;
     text-decoration: none;
     font-weight: 600;
     font-size: 1rem;
     padding: 10px 0;
     display: flex;
     align-items: center;
     gap: 5px;
     transition: all 0.3s ease;
     position: relative;
 }

 #main-nav>li>a:hover,
 #main-nav>li>a.active {
     color: #fdbb2d;
 }

 #main-nav>li>a.active:after {
     content: '';
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 3px;
     background: #fdbb2d;
     border-radius: 3px 3px 0 0;
 }

 #main-nav>li>a i {
     font-size: 0.7rem;
     transition: transform 0.3s ease;
 }

 #main-nav>li:hover>a i {
     transform: rotate(180deg);
 }

 /* Remove list bullets from dropdown menus */
.drodpdown-menu, 
.dropdown-menu ul, 
.menu-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
 .dropdown-menu {
     position: absolute;
     top: 100%;
     left: 0;
     background: white;
     width: 200px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.982);
     border-radius: 20px;
     padding: 15px 0;
     opacity: 0;
     visibility: hidden;
     transform: translateY(15px);
     transition: all 0.3s ease;
     z-index: 50;
 }

 #main-nav>li:hover .dropdown-menu {
     opacity: 1;
     visibility: visible;
     transform: translateY(0);
 }

 .dropdown-menu li {
     padding: 8px 20px;
 }

 .dropdown-menu li a {
     color: #555;
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 100px;
     transition: all 0.3s ease;
 }

 .dropdown-menu li a:hover {
     color: #fdbb2d;
     padding-left: 5px;
 }

 .dropdown-menu li a i {
     width: 10px;
     text-align: center;
 }

 .mega-menu {
     width: 240px;
     left: 100%;
     transform: translateX(-50%) translateY(15px);
     display: flex;
     padding: 0px;
 }

 .mega-menu>li {
     flex: 1;
     padding: 0 25px;
 }

 .mega-menu h4 {
     color: #2745be;
     font-size: 1.5rem;
     margin-bottom: 0px;
     padding-bottom: 0px;
     border-bottom: 1px solid #eee;
 }

 .dropdown-image-box {
     position: relative;
     border-radius: 8px;
     overflow: hidden;
     height: 200px;
 }

 .dropdown-image-box img {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .dropdown-image-content {
     position: absolute;
     bottom: 0;
     left: 0;
     right: 0;
     padding: 0px;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
     color: white;
 }

 .dropdown-image-content h4 {
     color: white;
     margin-bottom: 3px;
     border: none;
 }

 .dropdown-image-content .btn {
     background: #fdbb2d;
     color: #1a2a6c;
     padding: 8px 15px;
     border-radius: 4px;
     font-size: 0.9rem;
     font-weight: 600;
 }

 .menu-list li a {
     padding: 0;
     display: block;
     overflow: hidden;
 }

 .menu-item-content {
     display: flex;
     align-items: center;
     transition: all 0.3s ease;
 }

 .menu-item-img {
     width: 40px;
     height: 40px;
     margin-right: 4px;
     overflow: hidden;
     flex-shrink: 0;
     border-radius: 4px;
 }

 .menu-item-img img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.3s ease;
 }

 .menu-item-text {
     display: flex;
     align-items: center;
     padding: 2px 2px;
 }

 .menu-item-text i {
     margin-right: 5px;
     color: #007bff;
 }

 .menu-list li:hover .menu-item-img img {
     transform: scale(1.1);
 }

 .menu-list li:hover .menu-item-content {
     background-color: #f8f9fa;
 }

 .nav-actions {
     display: flex;
     align-items: center;
     gap: 20px;
 }

 .search-box {
     display: flex;
     align-items: center;
     background: #f5f5f5;
     border-radius: 30px;
     padding: 8px 15px;
     transition: all 0.3s ease;
 }

 .search-box:hover {
     box-shadow: 0 0 0 3px rgba(253, 187, 45, 0.2);
 }

 .search-box input {
     border: none;
     background: transparent;
     outline: none;
     width: 180px;
     font-size: 0.9rem;
     padding: 5px;
 }

 .search-box button {
     background: transparent;
     border: none;
     color: #666;
     cursor: pointer;
     transition: color 0.3s ease;
 }

 .search-box button:hover {
     color: #fdbb2d;
 }

 .cart-icon {
     position: relative;
     color: #333;
     font-size: 1.3rem;
     cursor: pointer;
     transition: color 0.3s ease;
 }

 .cart-icon:hover {
     color: #fdbb2d;
 }

 .cart-count {
     position: absolute;
     top: -8px;
     right: -8px;
     background: #fdbb2d;
     color: white;
     width: 20px;
     height: 20px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.7rem;
     font-weight: 600;
 }

 .mobile-menu {
     display: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: #333;
     transition: color 0.3s ease;
 }

 .mobile-menu:hover {
     color: #fdbb2d;
 }

 /* Footer Styles */

 /* Footer Styles */
 footer {
     background: linear-gradient(135deg, #142752 0%, hsl(198, 100%, 50%) 100%);
     color: #ffffff;
     padding: 60px 0 20px;
     font-family: 'Poppins',;
     position: relative;
     overflow: hidden;
     width: 100%;
     margin-top: auto;
     /* This pushes footer to bottom */
 }

 /* Add this to your main layout container (usually the parent of footer) */
 body {
     display: flex;
     flex-direction: column;
     min-height: 100vh;
 }

 footer::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiPjxkZWZzPjxwYXR0ZXJuIGlkPSJwYXR0ZXJuIiB3aWR0aD0iNDAiIGhlaWdodD0iNDAiIHBhdHRlcm5Vbml0cz0idXNlclNwYWNlT25Vc2UiIHBhdHRlcm5UcmFuc2Zvcm09InJvdGF0ZSg0NSkiPjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjAzKSIvPjwvcGF0dGVybj48L2RlZnM+PHJlY3QgZmlsbD0idXJsKCNwYXR0ZXJuKSIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIvPjwvc3ZnPg==');
     opacity: 0.3;
 }

 .container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 15px;
     position: relative;
 }

 .footer-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 40px;
     margin-bottom: 40px;
 }

 /* Footer Logo Styles */
 .footer-logo {
     display: inline-block;
     margin-bottom: 20px;
     text-decoration: none;
     transition: transform 0.3s ease;
 }

 .logo-image {
     height: 120px;
     /* Control logo height */
     width: 250px;
     /* Maintain aspect ratio */
     max-width: 250px;
     /* Maximum width */
     vertical-align: middle;
     transition: all 0.3s ease;
 }

 /* Hover Effects */
 .footer-logo:hover {
     transform: translateY(-2px);
 }

 .footer-logo:hover .logo-image {
     opacity: 0.9;
 }

 /* Responsive Adjustments */
 @media (max-width: 768px) {
     .logo-image {
         height: 70px;
         max-width: 150px;
     }
 }

 @media (max-width: 480px) {
     .logo-image {
         height: 70px;
         max-width: 130px;
     }
 }

 .footer-about p {
     color: #b8b8b8;
     line-height: 1.6;
     margin-bottom: 20px;
 }

 .social-links {
     display: flex;
     gap: 15px;
 }

 .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 40px;
     height: 40px;
     background: rgba(255, 255, 255, 0.1);
     color: #ffffff;
     border-radius: 50%;
     transition: all 0.3s ease;
 }

 .social-links a:hover {
     background: #fdbb2d;
     transform: translateY(-3px);
 }

 .footer-links h3,
 .footer-contact h3 {
     font-size: 20px;
     font-weight: 600;
     margin-bottom: 25px;
     position: relative;
     padding-bottom: 10px;
 }

 .footer-links h3::after,
 .footer-contact h3::after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 50px;
     height: 2px;
     background: #fdbb2d;
 }

 .footer-links ul {
     list-style: none;
     padding: 0;
 }

 .footer-links li {
     margin-bottom: 12px;
 }

 .footer-links a {
     color: #b8b8b8;
     text-decoration: none;
     transition: all 0.3s ease;
     position: relative;
     padding-left: 15px;
 }

 .footer-links a::before {
     content: '→';
     position: absolute;
     left: 0;
     color: #fdbb2d;
     opacity: 0;
     transition: all 0.3s ease;
 }

 .footer-links a:hover {
     color: #ffffff;
     padding-left: 20px;
 }

 .footer-links a:hover::before {
     opacity: 1;
     left: -5px;
 }

 .contact-item {
     display: flex;
     align-items: flex-start;
     margin-bottom: 15px;
     color: #b8b8b8;
     line-height: 1.6;
 }

 .contact-item i {
     color: #fdbb2d;
     margin-right: 15px;
     margin-top: 5px;
     font-size: 18px;
 }
 

.copyright {
  text-align: center;
  padding: 20px 1rem 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #b8b8b8;
  font-size: 14px;
  line-height: 1.6;
  word-wrap: break-word;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .copyright {
    font-size: 13px;
    padding: 15px 10px 10px;
  }

  .copyright a {
    display: inline-block;
    margin-top: 4px;
  }
}


 /* Responsive adjustments */
 @media (max-width: 768px) {
     .footer-container {
         grid-template-columns: 1fr;
         gap: 30px;
     }

     .footer-links h3,
     .footer-contact h3 {
         margin-bottom: 15px;
     }

     footer {
         padding: 40px 0 20px;
     }
 }

 /* Add this for sticky footer effect */
 .main-content {
     flex: 1;
 }