/* SafeTrading Website Styles */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    background-color: #ffffff;
}

/* Modern Color Variables - Enhanced Brand Theme */
:root {
    /* Primary Brand Colors */
    --primary-blue: #033870;
    --primary-blue-light: #1e4a8c;
    --primary-blue-dark: #022a54;
    --secondary-blue: #007bff;
    --secondary-blue-light: #3395ff;
    --secondary-blue-dark: #0056b3;
    
    /* Accent Colors */
    --accent-orange: #ff6b35;
    --accent-orange-light: #ff8c5a;
    --accent-orange-dark: #e55a2b;
    --accent-green: #28a745;
    --accent-green-light: #34ce57;
    --accent-green-dark: #1e7e34;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --dark-grey: #343a40;
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    
    /* Background Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-orange-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--light-grey) 0%, var(--border-light) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(3, 56, 112, 0.1);
    --shadow-md: 0 4px 12px rgba(3, 56, 112, 0.15);
    --shadow-lg: 0 8px 25px rgba(3, 56, 112, 0.2);
    --shadow-hover: 0 6px 20px rgba(0, 123, 255, 0.3);
    
    /* Text Colors */
    --text-primary: var(--dark-grey);
    --text-secondary: var(--medium-grey);
    --text-light: var(--white);
    --text-accent: var(--primary-blue);
    
    /* Interactive States */
    --hover-transform: translateY(-2px);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}
/* Custom CSS for Modern Website Header */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Sticky Header Styles */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Logo Block (Stacked Vertically) */
.logo-block {
  display: block;
  text-align: center;
}

.logo-block img {
  display: block;
  margin: 0 auto 2px;
  max-height: 30px;
}

/* Header Flex Container */
.header-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Navigation Link Styles with Hover Animation */
.navbar-nav .nav-link {
  font-weight: 500;
  position: relative;
  display: inline-block;
  color: #000;
  text-decoration: none;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}
/* Optional: Remove unwanted animation class */
  #navbarNav.animate-fade-in-up {
    animation: none !important;
  }

  /* Make nav links (ul) sticky at top */
  .nav-sticky {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: white; /* optional: add background to avoid transparency overlap */
  }
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #007BFF;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #007BFF;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Navbar Toggler (Mobile) */
.navbar-toggler {
  border: none;
}

/* Animation on Collapse */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-in-out;
}

/* Fade-In Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*----catrgiores----*/

 .dropdown:hover > .dropdown-menu {
      display: block;
    }

    .dropdown-submenu {
      position: relative;
    }

    .dropdown-submenu .dropdown-menu {
      top: 0;
      left: 100%;
      display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }

    .dropdown-menu {
      border-radius: 0;
      border: 1px solid #dee2e6;
    }

    .dropdown-item:hover {
      background-color: #007bff;
      color: white;
    }

    .all-categories-btn {
      font-weight: 600;
      text-transform: uppercase;
    }

    @media (max-width: 768px) {
      .dropdown-submenu .dropdown-menu {
        left: 0;
        top: 100%;
      }
    }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
.dropdown-item:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}




/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--medium-grey);
}

a {
    text-decoration: none;
    color: var(--secondary-blue);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-blue);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-blue);
    border: 2px solid var(--secondary-blue);
}

.btn-secondary:hover {
    background-color: var(--secondary-blue);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-emergency {
    background-color: var(--error-red);
    color: var(--white);
}

.btn-emergency:hover {
    background-color: #dc2626;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--primary-blue);
    padding: 8px 0;
}

.contact-info {
    display: flex;
    justify-content: space-evenly;
    gap: 2rem;
    color: var(--white);
    font-size: 0.875rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-main {
    padding: 1px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* General reset for all anchor tags */
a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

/* Hover effect for product links */
a.product-link:hover,
a.btn:hover,
a.btn:focus {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Buttons transition and hover */
.btn,
.btn-small {
  transition: all 0.3s ease-in-out;
  border-radius: 6px;
}

/* Example hover for primary and secondary buttons */
.btn-primary:hover {
  background-color: #022d59;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #666;
  color: #fff;
}

/* Add hover animation for product cards */
.product-card,
.deal-card,
.featured {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.deal-card:hover,
.featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/*--hero---*/


/* Page Header */
.page-header {
    background-color:  #1e3a8a;;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
    font-size: 2.5rem;
    color:white;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.125rem;
    color:white;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--medium-grey);
    margin-bottom: 3rem;
}

/* Grid Layouts */
.deals-grid,
.categories-grid,
.products-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.deals-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Card Styles */

.deal-card,
.category-card,
.product-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.deal-card:hover,
.category-card:hover,
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.deal-badge,
.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: var(--accent-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.featured-badge {
    background-color: var(--success-green);
}

.product-image,
.category-icon {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-grey) 100%);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    font-size: 0.875rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-icon {
    height: 120px;
}

.product-info h3,
.category-card h3 {
    color: var(--dark-grey);
    margin: 15px 0; /* Adjusted from h3 global */
    font-size: 1.2rem; /* Adjusted from h3 global */
    margin-bottom: 0.5rem;
}

.product-category,
.product-brand {
    color: var(--medium-grey);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.product-brand {
    font-weight: 600;
    color: var(--secondary-blue);
}

.product-link,
.category-link {
    color: var(--secondary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.product-link:hover,
.category-link:hover {
    color: var(--primary-blue);
}

/* Sections */
.hot-deals,
.popular-categories,
.new-arrivals,
.featured-products,
.products-section,
.company-overview,
.brand-partnerships,
.contact-section {
    padding: 4rem 0;
}

.hot-deals {
    background-color: var(--light-grey);
}

.featured-products {
    background-color: var(--light-grey);
}
/* Base styles */
.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
}

.deals-grid {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px 0;
  scrollbar-width: none;
}
.deals-grid::-webkit-scrollbar {
  display: none;
}

.deal-card {
  min-width: calc(33.333% - 14px);
  flex: 0 0 auto;
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 3px;
  text-align: center;
}

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  overflow: hidden;
  background-color: white;
}
.product-image img {
  max-height: 100%;
  max-width: 50%;
  object-fit: contain;
}

.carousel-controls {
  text-align: center;
  margin-top: 10px;
}
.carousel-button {
  padding: 8px 12px;
  margin: 0 5px;
  background-color: #000f51;
  color: white;
  border: none;
  cursor: pointer;
}

#category-grid-section {
  /* dark base colour */
  background: #021425;

  /* ↓ light pattern overlay  */
  background-image: 
    linear-gradient(135deg,
      rgba(255,255,255,0.04) 25%,   /* faint stripes */
      transparent 25%, transparent 50%,
      rgba(255,255,255,0.04) 50%, 
      rgba(255,255,255,0.04) 75%, 
      transparent 75%, transparent);
  background-size: 60px 60px;       /* pattern scale */

  padding: 3rem 1.5rem;
  font-family: system-ui, sans-serif;
}

    #category-grid-section h2 {
      text-align: center;
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 2rem;
      color: #ffffff; /* slate-800 */
    }

    .cat-flex-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
      max-width: 1200px;
      margin: auto;
    }

    .cat-card {
      flex: 1 1 220px;
      max-width: 260px;
      background: #fff;
      border-radius: 0.75rem;
      padding: 1.25rem;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
      text-align: center;
      text-decoration: none;
      color: #1e40af;
      transition: 0.3s ease;
    }

    .cat-card:hover {
      background: #e0f2fe;
      transform: translateY(-4px);
      box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    }

    .cat-card span {
      display: block;
      font-size: 0.875rem;
      color: #475569;
      margin-top: 0.25rem;
    }
/* --- Responsive Breakpoints --- */

/* Tablets: show 2 cards per view */
@media (max-width: 992px) {
  .deal-card {
    min-width: calc(50% - 14px);
  }
}

/* Mobile: show 1 card per view */
@media (max-width: 576px) {
  .deal-card {
    min-width: calc(100% - 14px);
  }

  .product-image {
    height: 150px;
  }
}

/* Optional: hide controls on small screens */
@media (max-width: 576px) {
  .carousel-controls {
    display: none;
  }
}

.filters-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: 12px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: var(--dark-grey);
    font-size: 0.875rem;
}

.filter-group select,
.search-filter input {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 150px;
    transition: border-color 0.3s ease;
}

.filter-group select:focus,
.search-filter input:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-filter {
    flex: 1;
    min-width: 250px;
}

.search-filter input {
    width: 100%;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--medium-grey);
}

/*------------------------ About Page Styles---------------------- */
.company-overview {
    background-color: var(--light-grey);
}

.overview-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 8px var(--shadow);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--medium-grey);
    font-weight: 500;
    margin-bottom: 0;
}

/* Brand Sections */
.brand-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow);
    transition: transform 0.3s ease;
}

.brand-section:hover {
    transform: translateY(-2px);
}

.brand-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-grey);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-logo h3 {
    color: var(--primary-blue);
    font-size: 1.75rem;
    margin-bottom: 0;
}

.brand-origin {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.brand-specialty {
    color: var(--medium-grey);
    font-style: italic;
    font-size: 1.125rem;
}

.brand-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.brand-description ul {
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.brand-description li {
    margin-bottom: 0.5rem;
    color: var(--medium-grey);
}

.brand-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    padding: 1rem;
    background-color: var(--light-blue);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-blue);
}

.highlight-item h5 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.highlight-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Contact Page Styles */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form-container,
.contact-info-container {
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px var(--shadow);
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
}

.error-message {
    color: var(--error-red);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.success-message {
    padding: 1.5rem;
    background-color: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 8px;
    color: #065f46;
    text-align: center;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-details p {
    margin-bottom: 0.25rem;
    font-size: 0.875rem;
}

.quick-contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.quick-contact-card {
    padding: 1.5rem;
    background-color: var(--light-blue);
    border-radius: 8px;
    text-align: center;
}

.quick-contact-card h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.quick-contact-card p {
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Map Section */
.map-section {
    background-color: var(--light-grey);
    padding: 3rem 0;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    height: 400px;
    background-color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px var(--shadow);
}

.map-content {
    text-align: center;
    padding: 2rem;
}

.map-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 3rem 0;
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-text h2 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.newsletter-form-large {
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.newsletter-input-group input {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 6px;
    min-width: 300px;
    font-size: 1rem;
}

.newsletter-disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 0;
    background-color: var(--light-grey);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 4px var(--shadow);
}

.faq-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #d1d5db;
    font-size: 0.875rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    color: #d1d5db;
    padding: 0.5rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid #4b5563;
    border-radius: 4px;
    background-color: #374151;
    color: var(--white);
    font-size: 0.875rem;
}

.newsletter-form input::placeholder {
    color: #9ca3af;
}

.footer-bottom {
    border-top: 1px solid #4b5563;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Animation Classes */
[data-aos="fade-up"] {
    animation: fadeInUp 0.8s ease;
}

[data-aos="fade-right"] {
    animation: slideInLeft 0.8s ease;
}

[data-aos="fade-left"] {
    animation: slideInRight 0.8s ease;
}

[data-aos="zoom-in"] {
    animation: fadeInUp 0.6s ease;
}

[data-aos="slide-up"] {
    animation: fadeInUp 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-main {
        flex-direction: row; /* Keep elements in a row */
        justify-content: space-between; /* Space out logo, search, and hamburger */
        align-items: center;
        gap: 0; /* Remove gap as items are explicitly spaced */
    }

    .navigation {
        display: none; /* Hide navigation by default on small screens */
        flex-direction: column;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 10px var(--shadow);
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        padding: 1rem 0;
    }

    .navigation.active {
        display: flex; /* Show navigation when active class is added by JS */
    }
    
    .navigation ul {
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
        width: 100%;
    }

    .navigation ul li {
        width: 100%;
    }

    .navigation a {
        padding: 0.75rem 20px; /* Adjust padding for better touch targets */
        width: 100%;
        text-align: left;
    }

    .navigation .dropdown-menu {
        position: static; /* Make dropdowns stack vertically */
        box-shadow: none;
        padding: 0 0 0 20px; /* Indent dropdown items */
        min-width: unset;
        width: 100%;
    }

    .navigation .dropdown-menu a {
        padding: 8px 20px; /* Adjust padding for nested dropdown items */
    }

    .hamburger-menu {
        display: block; /* Show hamburger icon on smaller screens */
    }
    
    .search-container {
        min-width: unset; /* Allow search to shrink */
        width: auto;
        flex-grow: 1; /* Allow search to take available space */
        margin-left: 1rem; /* Space between logo and search */
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .deals-grid,
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group,
    .search-filter {
        min-width: 100%;
    }
    
    .overview-content {
        grid-template-columns: 1fr;
    }
    
    .overview-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .brand-content {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-input-group {
        flex-direction: column;
    }
    
    .newsletter-input-group input {
        min-width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .map-actions {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero,
    .newsletter-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow: rgba(0, 0, 0, 0.3);
        --shadow-hover: rgba(0, 0, 0, 0.5);
    }
    
    .btn-primary {
        border: 2px solid var(--primary-blue);
    }
    
    .product-card,
    .deal-card,
    .category-card {
        border: 1px solid #d1d5db;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Product Detail Page Styles */

/* Breadcrumb */
.breadcrumb {
    background-color: var(--light-grey);
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    color: var(--medium-grey);
}

.breadcrumb-nav a {
    color: var(--secondary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-blue);
}

.breadcrumb-nav span {
    color: var(--dark-grey);
    font-weight: 500;
}

/* Product Details */
.product-details {
    padding: 3rem 0;
}

.product-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.product-images {
    position: sticky;
    top: 100px;
}

.main-image {
    margin-bottom: 1rem;
}

.product-image-large {
    width: 80%;
    height: 400px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-grey) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--medium-grey);
    font-size: 1rem;
    box-shadow: 0 4px 12px var(--shadow);
}
.product-image-large img{
    width: 100%;
}
.image-thumbnails {
    display: flex;
    gap: 0.5rem;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--light-grey) 100%);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.thumbnail img{
    width: 100%;
}
.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary-blue);
    transform: scale(1.05);
}

.product-header {
    margin-bottom: 2rem;
}

.product-header h1 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.product-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-brand,
.product-category,
.product-sku {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.product-brand {
    background-color: var(--secondary-blue);
    color: var(--white);
}

.product-category {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

.product-sku {
    background-color: var(--light-grey);
    color: var(--medium-grey);
}

.product-description {
    margin-bottom: 2rem;
}

.product-description h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-description h4 {
    color: var(--dark-grey);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-description ul {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.product-description li {
    margin-bottom: 0.5rem;
    color: var(--medium-grey);
}

.specifications {
    background-color: var(--light-grey);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: var(--dark-grey);
    min-width: 120px;
}

.spec-value {
    color: var(--medium-grey);
    text-align: right;
    flex: 1;
}

.product-actions {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.contact-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-share span {
    font-weight: 500;
    color: var(--dark-grey);
}

.share-link {
    color: var(--secondary-blue);
    font-size: 0.875rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.share-link:hover {
    background-color: var(--light-blue);
    color: var(--primary-blue);
}

/* Product Applications */
.product-applications {
    background-color: var(--light-grey);
    padding: 3rem 0;
}

.product-applications h2 {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.application-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.application-item:hover {
    transform: translateY(-3px);
}

.application-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.application-item p {
    font-size: 0.875rem;
    margin-bottom: 0;
}



/* Responsive Design for Product Pages */
@media (max-width: 768px) {
    .product-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .product-images {
        position: static;
    }
    
    .product-header h1 {
        font-size: 2rem;
    }
    
    .product-meta {
        justify-content: center;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        text-align: center;
    }
    
    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .spec-value {
        text-align: left;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .image-thumbnails {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Lockout Tags Related CSS */
.card {
    border: none;
    transition: transform 0.2s ease-in-out;
}
.card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.card img {
    object-fit: cover;
    height: 200px;
}
.card-title {
    font-size: 1rem;
    font-weight: 600;
}

/* ===== SMOOTH ANIMATIONS & HOVER EFFECTS ===== */

/* Scroll-based Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* Animation Classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-slide-in-down {
    animation: slideInDown 0.6s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Staggered Animation Delays */
.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }
.animate-delay-500 { animation-delay: 0.5s; }

/* Enhanced Button Animations */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-smooth);
}

.btn-animated:hover::before {
    left: 100%;
}

.btn-animated:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.btn-animated:active {
    transform: translateY(-1px) scale(0.98);
}

/* Card Hover Effects */
.card-hover {
    transition: var(--transition-smooth);
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.card-hover:hover img {
    transform: scale(1.1);
}

.card-hover img {
    transition: var(--transition-smooth);
}

/* Loading Animations */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-light);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Shimmer Effect for Loading States */
.shimmer {
    background: linear-gradient(90deg, var(--light-grey) 25%, var(--border-light) 50%, var(--light-grey) 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
}

/* Enhanced Link Animations */
.link-animated {
    position: relative;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.link-animated::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.link-animated:hover::after {
    width: 100%;
}

.link-animated:hover {
    color: var(--primary-blue);
    transform: translateY(-1px);
}

/* Icon Hover Effects */
.icon-hover {
    transition: var(--transition-smooth);
    cursor: pointer;
}

.icon-hover:hover {
    transform: scale(1.2) rotate(5deg);
    color: var(--accent-orange);
}

/* Floating Animation */
.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Bounce Animation */
.bounce-in {
    animation: bounceIn 0.8s ease-out forwards;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary-blue); }
}

/* Parallax Effect */
.parallax {
    transform-style: preserve-3d;
    transition: var(--transition-smooth);
}

.parallax:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* Glow Effect */
.glow {
    transition: var(--transition-smooth);
}

.glow:hover {
    box-shadow: 0 0 20px var(--secondary-blue-light), 0 0 40px var(--secondary-blue-light);
}

/* Morphing Shapes */
.morph {
    transition: var(--transition-smooth);
    border-radius: 20px;
}

.morph:hover {
    border-radius: 50%;
    transform: rotate(180deg);
}

/* Text Reveal Animation */
.text-reveal {
    position: relative;
    overflow: hidden;
}

.text-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: reveal 2s ease-in-out forwards;
}

@keyframes reveal {
    0% {
        left: -100%;
    }
    50% {
        left: 0;
    }
    100% {
        left: 100%;
    }
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced Focus States */
*:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
    transition: var(--transition-fast);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Performance Optimizations */
.will-change-transform {
    will-change: transform;
}

.will-change-opacity {
    will-change: opacity;
}

.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

