 * {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
   font-family: Arial, sans-serif;
   scroll-behavior: smooth;
 }

 body {
   background-color: #f9f9f9;
   color: #0b2b60;
 }

 header {
   background-color: #052b61;
   padding: 20px;
   color: white;
 }

 header nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
 }

 nav {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   padding: 10px 20px;
   gap: 10px;
 }

 /* Navbar base styling */
 /* ====== Navbar Base ====== */
 .navbar {
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 15px 30px;
   background-color: #002147;
   color: white;
   flex-wrap: wrap;
 }


 /* Logo container animation */
 .logo {
   font-size: 24px;
   font-weight: bold;
   display: flex;
   align-items: center;
   gap: 10px;
   animation: slideIn 0.8s ease-out forwards;
   opacity: 0;
 }

 .logo-text span {
   display: inline;
   margin: 0;
   padding: 0;
 }



 .logo-text {
   display: flex;
   flex-direction: column;
   line-height: 1;
 }

 .dot-store {
   margin-top: 8px;
   font-size: 25px;
   font-weight: 100;
   margin-left: 2px;
   /* color: #ddd; */
   font-family: 'Brush Script MT', cursive;

 }

 .brand-title {
   font-size: 1.3em;
   font-weight: bold;
   color: white;
   margin: 0;
   padding: 0;
   display: flex;
   gap: 0;
 }

 .brand-title span {
   margin: 0;
   padding: 0;
   display: inline-block;
   letter-spacing: 0;
 }

 .orange-letter {
   color: orange;
 }

 .green-letter {
   color: green;
 }

 .white-letter {
   color: white;
 }

 .tagline {
   font-size: 0.6em;
   color: #f1f1f1;
   margin-top: 2px;
   margin-left: 2px;
 }

 /* Logo image styling */
 .logo-img {
   height: 50px;
   width: 50px;
   border-radius: 50%;
   background: transparent;
 }

 .logo h3 {
   opacity: 0;
   animation: fadeText 0.5s ease forwards;
   animation-delay: 0.5s;
 }

 @keyframes fadeText {
   to {
     opacity: 1;
   }
 }

 /* Slide-in keyframes */
 @keyframes slideIn {
   0% {
     transform: translateX(-50px);
     opacity: 0;
   }

   100% {
     transform: translateX(0);
     opacity: 1;
   }
 }

 /* Search bar */
 .search-container {
   position: relative;
   width: 90%;
   max-width: 500px;
 }

 .search-container input {
   width: 100%;
   padding: 12px 40px 12px 40px;
   border-radius: 30px;
   border: 1px solid #ccc;
   outline: none;
   font-size: 16px;
 }

 .search-container::placeholder {
   letter-spacing: 1px;
   padding-left: 9px;
 }

 #search-input::placeholder {
   transition: all 0.3s ease-in-out;
   color: #888;
 }


 .search-container .search-icon,
 .search-container .mic-icon {
   position: absolute;
   top: 50%;
   transform: translateY(-50%);
   color: #555;
 }

 .search-container .search-icon {
   left: 12px;
   top: 24px;
 }

 .search-container .mic-icon {
   right: 12px;
   cursor: pointer;
 }

 .mic-icon,
 .cross-icon {
   /* margin-left: 270px; */
   top: 15px;
   right: 15px;
   color: #555;
   position: absolute;
   cursor: pointer;
   font-size: 1.1rem;
 }


 /* Nav links */
 .nav-links {
   display: flex;
   gap: 20px;
 }

 .menu-toggle {
   display: none;
   font-size: 24px;
   cursor: pointer;
 }

 @media (max-width: 768px) {
   .nav-links {
     display: none;
     flex-direction: column;
   }

   .nav-links.active {
     display: flex;
   }

   .menu-toggle {
     display: block;
   }

   .search-container {
     flex: 1;
     margin: 10px;
   }

   .search-icon,
   .mic-icon {
     margin: 0 5px;
   }
 }

 .menu-toggle {
   display: none;
   font-size: 24px;
   color: white;
   cursor: pointer;
 }

 .suggestions {
   list-style: none;
   margin: 0;
   padding: 0;
   background-color: #f1f1f1;
   /* border: 1px solid #ccc; */
   color: black;
   font-family: Arial, Helvetica, sans-serif;
   max-height: 150px;
   overflow-y: auto;
   position: absolute;
   width: 100%;
   z-index: 1000;
 }

 .suggestion-item {
   padding: 8px 12px;
   cursor: pointer;
 }

 /* .suggestion-item:hover {
   background-color: #f0f0f0;
 } */

 .search-container {
   position: relative;
 }

 .suggestions li {
   padding: 10px;
   cursor: pointer;
 }

 .suggestions li:hover {
   background-color: #f3be10a6;
 }


 .subcategories {
   display: none;
 }

 .subcategories.show {
   display: block;
 }

 .fade-in {
   animation: fadeIn 0.5s ease-in;
 }

 .fade-out {
   animation: fadeOut 0.3s ease-out;
 }

 @keyframes fadeIn {
   from {
     opacity: 0.3;
   }

   to {
     opacity: 1;
   }
 }

 @keyframes fadeOut {
   from {
     opacity: 1;
   }

   to {
     opacity: 0.3;
   }
 }

 /* ====== Mobile Responsive ====== */
 @media (max-width: 768px) {
   .navbar {
     flex-direction: column;
     align-items: center;
     gap: 10px;
   }

   .logo {
     justify-content: center;
     text-align: center;
     width: 100%;
   }

   .logo-img {
     margin-left: -22px;
     height: 40px;
     width: 40px;
   }

   .tagline {
     margin-left: -49px;
   }

   .logo-brand {
     flex-direction: row;
     align-items: flex-start;
     margin-bottom: 10px;
   }

   /* .logo h3 {
    font-size: 1rem;
  } */

   @media (max-width: 400px) {
     .search-bar input {
       padding: 10px 35px 10px 15px;
     }
   }

   .menu-toggle {
     display: block;
     order: 3;
     margin-top: 5px;
   }

   .nav-links {
     display: none;
     flex-direction: column;
     gap: 10px;
     width: 100%;
     background-color: #002147;
     padding: 10px 0;
   }

   .nav-links.active {
     display: flex;
   }

 }


 .logo {
   font-weight: bold;
   font-size: 1.8em;
 }


 .nav-links a {
   color: white;
   margin: 0 10px;
   text-decoration: none;
 }



 .hero-slider {
   width: 100%;
   overflow: hidden;
   position: relative;
 }

 .slider-wrapper {
   width: 100%;
   position: relative;
 }

 .slides {
   display: flex;
   transition: transform 0.5s ease-in-out;
   width: 100%;
 }

 .slides img {
   width: 100%;
   max-height: 510px;
   /* Controls large screen height */
   flex: 0 0 100%;
   object-fit: cover;
 }

 /* Optional: Media query for mobile to reduce height */
 @media (max-width: 768px) {
   .slides img {
     max-height: 250px;
   }
 }


 h2 {
   margin-top: 20px;
 }

 .grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   gap: 20px;
   margin: 50px;
 }

 .card {
   background: white;
   border-radius: 8px;
   box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
   text-align: center;
   border: 1px solid gray;
   width: 160px;
   padding: 14px;
   position: relative;
   transition: all 0.3s ease;
   box-sizing: border-box;
 }

 .price {
   color: green;
   font-weight: bold;
   margin: 10px 0;
 }

 .add-btn {
   background: orange;
   color: white;
   border: none;
   padding: 8px 12px;
   cursor: pointer;
   border-radius: 4px;
 }

 .grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
   gap: 15px;
   padding: 20px;
 }


 @media (max-width: 435px) {
   .grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
     gap: 15px;
     padding: 20px;
   }
 }

 section {
  width: 100%;
  padding: 5px;
  margin: 0 auto;
}

 section h2 {
   margin-left: 20px;
 }

 .card:hover {
   background-color: #e1e1e1;
 }

 /* .subcategories {
   margin-top: 10px;
   display: none;
   flex-direction: column;
   gap: 5px;
   font-size: 14px;
 } */

 .subcategories {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s ease;
   flex-direction: column;
   /* 👈 This will make subcategories vertical */
   gap: 8px;
   /* optional spacing between items */
 }

 .category-with-sub:hover .subcategories {
   display: flex;
   flex-direction: column;
   /* 👈 Must add this again */
   max-height: 2200px;
 }

 .subcategories a {
   text-decoration: none;
   color: #052b61;
 }

 .container-category-img {
   width: 30px;
   height: 30px;
   position: relative;
   top: 10px;
 }

 .card.category-with-sub:hover .subcategories {
   display: flex;
 }

 .subcategory {
   background-color: #fff;
   border-radius: 5px;
   padding: 13px;
   box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 }


 .category-box {
   background-color: #f5f5f5;
   padding: 12px 16px;
   border-radius: 10px;
   text-align: center;
   font-weight: bold;
   color: #001f4d;
   box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
 }

 .category-container {
   max-width: 1200px;
   margin: auto;
   display: grid;
   gap: 10px;
   padding: 10px;
   grid-template-columns: repeat(2, 1fr);
   align-items: start;
   /* 👈 This is important! */
 }

 /* Tablet view */
 @media (min-width: 600px) {
   .category-container {
     grid-template-columns: repeat(3, 1fr);
   }
 }

 /* Desktop view */
 @media (min-width: 992px) {
   .category-container {
     grid-template-columns: repeat(4, 1fr);
   }
 }

 /* Responsive fallback: show subcategories on click using details tag */
 @media (max-width: 768px) {
   .card.category-with-sub {
     cursor: pointer;
   }

   .card.category-with-sub:hover .subcategories {
     display: none;
   }

   .card.category-with-sub::after {
     content: " ▼";
     font-size: 12px;
   }

   .card.category-with-sub.active .subcategories {
     display: flex;
   }
 }

 .subcategories {
   display: none;
   transition: all 0.3s ease;
 }

 .card.active .subcategories {
   display: block;
 }

 .brands-hading h2 {
   margin-left: 20px;
 }

 /* All Brands Slider */

 .logo-slider {
   overflow: hidden;
   background-color: #fff;
   padding: 20px 0;
 }

 .logo-track {
   display: flex;
   width: calc(250px * 20);
   /* 250px * total logos you expect initially */
   animation: scroll 30s linear infinite;
 }

 .logo-track a {
   flex: 0 0 auto;
   width: 200px;
   margin: 0 25px;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: transform 0.3s ease;
 }

 .logo-track a:hover {
   transform: scale(1.1);
 }

 .logo-track img {
   max-width: 100%;
   max-height: 80px;
   object-fit: contain;
   filter: grayscale(100%);
   transition: filter 0.3s ease;
 }

 .logo-track a:hover img {
   filter: grayscale(0%);
 }

 @keyframes scroll {
   0% {
     transform: translateX(0);
   }

   100% {
     transform: translateX(-50%);
   }
 }

 /* Duplicate logos for seamless looping */
 .logo-track {
   animation: scroll 30s linear infinite;
 }

 @media (max-width: 768px) {
   .logo-track a {
     width: 150px;
     margin: 0 15px;
   }

   .logo-track img {
     max-height: 60px;
   }
 }

 footer {
   background-color: #012352e8;
   /* background-color: #f8f9fa; */
   padding: 40px 20px;
   color: #333;
   font-family: Arial, sans-serif;
   border-top: 2px solid #ddd;
 }

 .footer-container {
   max-width: 900px;
   margin: auto;
 }

 .footer-container a {
   display: inline-block;
   margin-bottom: 15px;
   color: white;
   text-decoration: none;
   font-weight: bold;
   font-size: 18px;
 }

 .footer-container a:hover {
   text-decoration: underline;
 }

 .footer-container p {
   margin: 10px 0;
   line-height: 1.6;
   color: white;
 }

 blockquote {
   margin: 15px 0;
   padding: 15px;
   background: #e9ecef;
   border-left: 5px solid #007bff;
   font-style: italic;
 }

 ul.mission-list {
   padding-left: 0;
   margin-top: 15px;
   color: white;
   text-align: center;
   justify-content: center;
 }

 ul.mission-list li {
   list-style: none;
   margin-bottom: 10px;
   /* display: flex; */
   align-items: start;
   /* gap: 10px; */
   line-height: 1.4;
 }

 ul.mission-list li::before {
   content: "✔️";
   margin-right: 8px;
 }

 @media (max-width: 600px) {
   footer {
     text-align: center;
   }

   ul.mission-list li {
     justify-content: center;
     text-align: left;
   }
 }

 .social-icons {
   margin-top: 20px;
 }

 .social-icons a {
   margin-right: 15px;
   color: #fff;
   /* Adjust to match your footer color */
   font-size: 28px;
   transition: color 0.3s ease;
 }

 .social-icons a:hover {
   color: #f44336;
   /* Example: red for YouTube, you can use #e4405f for Instagram */
 }