/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  :root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #10b981;
    --light: #f9fafb;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #e2e8f0;
  }
  
  body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  p {
    margin-bottom: 1.5rem;
  }
  
  .text-gradient {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Layout */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
  }
  
  .flex {
    display: flex;
  }
  
  .flex-col {
    flex-direction: column;
  }
  
  .items-center {
    align-items: center;
  }
  
  .justify-between {
    justify-content: space-between;
  }
  
  .justify-center {
    justify-content: center;
  }
  
  .grid {
    display: grid;
  }
  
  .grid-cols-1 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gap-4 {
    gap: 1rem;
  }
  
  .gap-6 {
    gap: 1.5rem;
  }
  
  .gap-8 {
    gap: 2rem;
  }
  
  .py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  
  .py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  
  .py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .mb-2 {
    margin-bottom: 0.5rem;
  }
  
  .mb-4 {
    margin-bottom: 1rem;
  }
  
  .mb-8 {
    margin-bottom: 2rem;
  }
  
  .mt-2 {
    margin-top: 0.5rem;
  }
  
  .mt-4 {
    margin-top: 1rem;
  }
  
  /* Header Styles */
  header {
    background-color: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
  }
  
  /* Logo Entrance Animation */
  .animate-logo {
    animation: logoBounce 1s ease-out;
  }
  
  @keyframes logoBounce {
    0% {
      transform: scale(0);
      opacity: 0;
    }
    60% {
      transform: scale(1.1);
      opacity: 1;
    }
    100% {
      transform: scale(1);
    }
  }
  
  nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  
  nav a {
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
    position: relative;
  }
  
  nav a:hover {
    color: var(--primary);
  }
  
  nav a.active {
    color: var(--primary);
  }
  
  nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
  }
  
    .mobile-menu-btn {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--dark);
        transition: transform 0.3s ease;
    }

    .mobile-menu-btn:hover {
        transform: scale(1.1);
    }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(to right, rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
      url('/api/placeholder/1200/600') center/cover no-repeat;
    padding: 6rem 0;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }
  
  .hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: var(--gray);
  }
  
  /* Buttons */
  .btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: white;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
  }
  
  .btn-outline:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  /* Product Filter Section */
  .product-filter-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
  }
  
  .product-category-tabs {
    display: flex;
    flex-wrap: nowrap;               /* Prevent wrapping on smaller screens */
    gap: 0.5rem;
    overflow-x: auto;                /* Enable horizontal scrolling */
    padding: 0.5rem 0;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on mobile */
  }
  
  .category-tab {
    flex: 0 0 auto;                 /* Prevent tabs from shrinking */
    padding: 0.5rem 1rem;
    background-color: #f1f5f9;
    border: 1px solid #ddd;
    border-radius: 9999px;
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;            /* Keep text on one line */
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  /* Active tab styling */
  .category-tab.active {
    background-color: #1e293b;
    color: #fff;
    border-color: #1e293b;
  }

  .product-category-tabs::-webkit-scrollbar {
    display: none;
  }

  /* Top Bar Container */
.top-bar {
    background-color: #35ad3f;
    padding: 0.3rem 0;  /* Reduced padding for a slimmer appearance */
    font-size: 0.85rem; /* Adjust font-size as needed */
  }
  
  /* Main container for top bar content */
  .top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px; /* Adjust max-width if needed */
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  /* Social Icons styling */
  .top-bar .social-icons {
    display: flex;
    gap: 1rem;
  }
  
  /* Contact Info styling */
  .top-bar .contact-infos {
    /* display: flex; */
    gap: 1.5rem;
  }
  
  /* Ensure links inherit color and remove underline */
  .top-bar a {
    color: inherit;
    text-decoration: none;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .top-bar .container {
      flex-direction: column;
      text-align: center;
    }
    
    .top-bar .social-icons,
    .top-bar .contact-infos {
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .top-bar .contact-infos span {
      display: block;
      margin: 0.25rem 0;
    }
  }  

  /* Hover state for tabs */
  .category-tab:hover {
    background-color: #e2e8f0;
  }
  
  /* Products Grid & Cards */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .product-card {
    background-color: white;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Initial animation state */
    opacity: 0;
    transform: translateY(20px);
  }
  
  .product-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  
  .product-img-container {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .product-card:hover .product-img {
    transform: scale(1.05);
  }
  
  .product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: bold;
  }
  
  .product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  .product-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem;
  }
  
  .product-description {
    color: var(--gray);
    margin-bottom: 1rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 4.8rem;
  }
  
  .product-features {
    margin-bottom: 1.5rem;
    padding-left: 1.25rem;
  }
  
  .product-features li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: var(--gray);
  }
  
  .product-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: 1rem;
  }
  
  .product-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
  }
  
  /* Pagination */
  .pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
  }
  
  .page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
  }
  
  .page-item.active {
    background-color: var(--primary);
    color: white;
  }
  
  .page-item:hover:not(.active):not(.disabled) {
    background-color: var(--light-gray);
  }
  
  .page-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
  }
  
  /* Footer */
  footer {
    background-color: var(--dark);
    color: white;
    padding: 1rem 0;
  }
  
  .footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--light);
  }
  
  .footer-links ul {
    list-style: none;
  }
  
  .footer-links li {
    margin-bottom: 0.75rem;
  }
  
  .footer-links a {
    color: var(--light-gray);
    transition: color 0.3s;
  }
  
  .footer-links a:hover {
    color: white;
  }
  
  .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .social-icon {
    text-decoration: none;
  }
  
  .social-icon i {
    font-size: 1.5rem;
    transition: transform 0.2s;
  }
  
  .social-icon:hover i {
    transform: scale(1.1);
  }
  
  .social-icon .fab.fa-facebook-f {
    color: #1877f2;
  }
  
  .social-icon .fab.fa-twitter {
    color: #1da1f2;
  }
  
  .social-icon .fab.fa-linkedin-in {
    color: #0077b5;
  }
  
  .social-icon .fab.fa-instagram {
    color: #e1306c;
  }
  
  /* Animate on Scroll */
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .product-category-tabs {
      justify-content: flex-start;
      overflow-x: auto;
      padding-bottom: 1rem;
    }
  }
  
  @media (max-width: 768px) {
    nav ul {
      display: none;
    }
    
    nav ul.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 0%;
      left: 0;
      right: 0;
      background-color: white;
      padding: 1rem;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }

    nav ul {
        position: fixed;
        top: 150px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease;
        z-index: 99;
    }
    
    .mobile-menu-btn {
      display: block;
    }
    
    .product-actions {
      flex-direction: column;
    }
    
    .btn {
      width: 100%;
      text-align: center;
    }
  }

  .copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray);
}
  
  @media (max-width: 576px) {
    .hero h1 {
      font-size: 2rem;
    }
    
    .hero p {
      font-size: 1rem;
    }
    
    .product-img-container {
      height: 180px;
    }
  }
  /* Banner Slider Alternative Design */
.banner-slider.alternative {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    overflow: hidden;
  }
  
  .banner-slider.alternative .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .banner-slider.alternative .slide.active {
    opacity: 1;
  }
  
  /* Gradient Overlay for better text contrast */
  .banner-slider.alternative .slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
  }
  
  /* Centered Content */
  .banner-slider.alternative .content {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    max-width: 80%;
    padding: 0 1rem;
  }
  
  .banner-slider.alternative .content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
  }
  
  .banner-slider.alternative .content p {
    font-size: 1rem;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.8);
  }
  /* Modal container (hidden by default) */
.modal {
    display: none;              /* Hidden by default */
    position: fixed;            /* Stay in place */
    z-index: 9999;              /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;             /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8); /* Black w/ opacity */
  }
  
  /* Modal content (the full image) */
  .modal-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
    border: 2px solid #fff;
    box-shadow: 0 0 10px #000;
  }
  
  /* Close button (X) */
  .close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  .custom-hidden {
    display: none;
  }
  
  .custom-breadcrumbs {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .custom-separator {
    margin: 0 5px;
  }
  