/* ============================================
   VIGHNAHARTA INDUSTRIES - MAIN STYLESHEET
   ============================================ */

/* ============================================
   TABLE OF CONTENTS
   ============================================
   1. CSS Variables & Root
   2. Reset & Base Styles
   3. Typography
   4. Utility Classes
   5. Preloader
   6. Top Bar
   7. Header & Navigation
   8. Mega Menu
   9. Hero Section
   10. Section Styles
   11. About Section
   12. Products Section
   13. Why Choose Us
   14. Clients Section
   15. Gallery Section
   16. Testimonials
   17. CTA Section
   18. Contact Info
   19. Footer
   20. Buttons
   21. Cards
   22. Forms
   23. Back to Top & WhatsApp
   24. Animations
   25. Responsive Styles
   ============================================ */

/* ============================================
   1. CSS VARIABLES & ROOT
   ============================================ */
:root {
  --primary-color: #f4a61d; /* Changed from #e63946 */
  --primary-dark: #d88e0a; /* Changed from #c1121f */
  --primary-light: #ffbe4d; /* Changed from #ff6b6b */

  /* Secondary Colors */
  --secondary-color: #2b0f4a; /* Changed from #1d3557 */
  --secondary-dark: #1a0930; /* Changed from #14213d */
  --secondary-light: #3d1a66; /* Changed from #457b9d */

  /* Accent Colors */
  --accent-color: #4caf50; /* Changed from #f4a261 */
  --accent-dark: #388e3c; /* Changed from #e76f51 */
  --accent-light: #ffd166; /* Changed from #f4d35e */

  /* Neutral Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Background Colors */
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a2e;
  --bg-gradient: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );

  /* Text Colors */
  --text-primary: #212529;
  --text-secondary: #6c757d;
  --text-light: #f8f9fa;
  --text-muted: #adb5bd;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
  --shadow-primary: 0 8px 24px rgba(244, 166, 29, 0.3);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Fonts */
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Roboto", sans-serif;

  /* Font Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  --fs-5xl: 3rem;
  --fs-6xl: 3.75rem;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Container */
  --container-max: 1320px;
  --container-padding: 1rem;

  /* Header */
  --header-height: 80px;
  --header-height-scrolled: 70px;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 500;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
  --z-mobile-menu: 1001;
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, var(--fs-6xl));
}
h2 {
  font-size: clamp(2rem, 4vw, var(--fs-5xl));
}
h3 {
  font-size: clamp(1.5rem, 3vw, var(--fs-3xl));
}
h4 {
  font-size: var(--fs-xl);
}
h5 {
  font-size: var(--fs-lg);
}
h6 {
  font-size: var(--fs-base);
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
}

.highlight {
  color: var(--primary-color);
}

/* ============================================
   4. UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--spacing-4xl) 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
}

.bg-primary {
  background: var(--bg-gradient);
}

.text-center {
  text-align: center;
}

.text-white {
  color: var(--white);
}

/* Section Header */
.section-header {
  margin-bottom: var(--spacing-3xl);
}

.section-header.center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.light .section-title,
.section-header.light .section-subtitle,
.section-header.light .section-description {
  color: var(--white);
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-left: 50px;
}

.section-subtitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

.section-header.center .section-subtitle {
  padding-left: 0;
}

.section-header.center .section-subtitle::before {
  display: none;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: var(--fs-lg);
  color: var(--text-secondary);
  max-width: 600px;
}

.section-header.center .section-description {
  margin: 0 auto;
}

.section-footer {
  text-align: center;
  margin-top: var(--spacing-3xl);
}

/* ============================================
   5. PRELOADER
   ============================================ */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

.loader-inner {
  display: flex;
  gap: 8px;
  margin-bottom: var(--spacing-md);
  justify-content: center;
}

.loader-circle {
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background: var(--primary-color);
  animation: loaderBounce 1.4s ease-in-out infinite both;
}

.loader-circle:nth-child(1) {
  animation-delay: -0.32s;
}

.loader-circle:nth-child(2) {
  animation-delay: -0.16s;
  background: var(--secondary-color);
}

.loader-circle:nth-child(3) {
  background: var(--accent-color);
}

@keyframes loaderBounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.loader-text {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--secondary-color);
  letter-spacing: 2px;
}

.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: var(--spacing-lg);
  animation: pulse 1.5s ease-in-out infinite;
}

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

/* ============================================
   6. TOP BAR
   ============================================ */
.top-bar {
  background: var(--secondary-dark);
  padding: 10px 0;
  display: none;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: var(--spacing-xl);
}

.top-bar-left span {
  color: var(--gray-300);
  font-size: var(--fs-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.top-bar-left i {
  color: var(--primary-color);
}

.top-bar-right .social-links {
  display: flex;
  gap: var(--spacing-md);
}

.top-bar-right .social-links a {
  color: var(--gray-400);
  font-size: var(--fs-sm);
  transition: var(--transition-fast);
}

.top-bar-right .social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* ============================================
   7. HEADER & NAVIGATION
   ============================================ */
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  background: var(--white);
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm); /* Add default shadow */
}

@media (min-width: 768px) {
  .header {
    top: 42px;
  }
}

/* Remove the scrolled requirement for shadow */
.header.scrolled {
  top: 0;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding: var(--spacing-sm) 0; /* Add padding */
  gap: var(--spacing-xl);
}

/* Update header height variables in :root */
:root {
  --header-height: 70px;
}

@media (min-width: 1024px) {
  :root {
    --header-height: 90px; /* Override for Desktop */
  }
}
/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  z-index: var(--z-fixed);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: var(--fs-xl);
}

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

.logo-name {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--secondary-color);
}

.logo-tagline {
  font-size: var(--fs-xs);
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Nav Menu */
.nav-menu {
  display: none;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: block;
  }
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--secondary-color);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.nav-link i {
  font-size: 10px;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(230, 57, 70, 0.08);
}

.nav-item:hover .nav-link i {
  transform: rotate(180deg);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  z-index: 1002;
  position: relative;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.hamburger {
  position: relative;
  width: 22px;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition-fast);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.nav-toggle.active .hamburger {
  background: transparent;
}

.nav-toggle.active .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Mobile Menu */
@media (max-width: 1023px) {
  .nav-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: var(--z-mobile-menu);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-xs);
    padding-bottom: var(--spacing-2xl);
  }

  .nav-link {
    padding: var(--spacing-md);
    font-size: var(--fs-base);
    justify-content: space-between;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 0;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--gray-100);
  }

  /* IMPORTANT: Initial state for dropdown */
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    display: block;
    background: transparent;
    transition: max-height 0.3s ease-out;
  }

  /* Show mega menu when dropdown is active */
  .nav-item.dropdown.active .dropdown-menu {
    max-height: 2000px;
    transition: max-height 0.5s ease-in;
  }

  /* Mega menu container mobile layout */
  .mega-menu-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: var(--spacing-sm);
    background: var(--gray-100);
    margin-top: var(--spacing-sm);
  }

  /* Mega menu columns */
  .mega-menu-column {
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--gray-300);
    background: var(--white);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
  }

  .mega-menu-column:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }

  /* Column headers */
  .mega-menu-column h4 {
    font-size: var(--fs-base);
    padding-bottom: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--primary-color);
  }

  /* Column links */
  .mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .mega-menu-column ul li a {
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: var(--fs-sm);
    display: block;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    color: var(--text-secondary);
  }

  .mega-menu-column ul li a:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    padding-left: var(--spacing-lg);
  }

  /* Smooth chevron rotation */
  .nav-link i {
    transition: transform 0.3s ease;
  }

  /* Adjust nav link chevron rotation */
  .nav-item.dropdown.active .nav-link i {
    transform: rotate(180deg);
  }

  /* Better spacing for mobile nav */
  .nav-menu {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================
   8. MEGA MENU
   ============================================ */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 200px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-md) 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: var(--z-dropdown);
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  transform: translateY(10px);
  padding: var(--spacing-xl);
}

.nav-item:hover .mega-menu {
  transform: translateX(-50%) translateY(0);
}

.mega-menu-container {
  display: flex;
  gap: var(--spacing-xl);
}

.mega-menu-column {
  flex: 1;
}

.mega-menu-column h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.mega-menu-column h4 i {
  color: var(--primary-color);
}

.mega-menu-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.mega-menu-column ul li a {
  display: block;
  padding: var(--spacing-xs) 0;
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.mega-menu-column ul li a:hover {
  color: var(--primary-color);
  padding-left: var(--spacing-sm);
}

/* ============================================
   9. HERO SECTION
   ============================================ */
/* ============================================
   9. HERO SECTION
   ============================================ */
.hero {
  position: relative;
  /* --- CHANGED: Use Padding instead of Margin for Mobile to fix white gap --- */
  margin-top: 0;
  padding-top: var(--header-height);
}

/* --- DESKTOP OVERRIDE (Keep desktop as it was) --- */
@media (min-width: 768px) {
  .hero {
    margin-top: 90px;
    padding-top: 0;
  }
}

.hero-slider {
  position: relative;
}

.hero-slide {
  position: relative;
  /* --- CHANGED: Fix for Button Overlap --- */
  /* 1. height: auto lets the banner grow if text is long */
  height: auto;
  /* 2. min-height ensures it's never too small */
  min-height: 600px;
  /* 3. Padding bottom creates space for the buttons so the Stats box doesn't cover them */
  padding-bottom: 120px;

  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* --- DESKTOP OVERRIDE for Slide Height --- */
@media (min-width: 768px) {
  .hero-slide {
    /* Restore fixed height on desktop where space is plentiful */
    height: calc(100vh - 132px);
    padding-bottom: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(29, 53, 87, 0.6) 0%,
    rgba(29, 53, 87, 0.3) 50%,
    rgba(29, 53, 87, 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  /* Added padding for visual breathing room on mobile */
  padding-top: 2rem;
}

.hero-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--fs-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: var(--fs-sm);
    letter-spacing: 3px;
  }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
}

.hero-title .highlight {
  color: #f4a61d;
}

.hero-description {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
  max-width: 550px;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: var(--fs-lg);
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

/* Hero Slider Navigation */
.hero-slider .swiper-pagination {
  /* Move pagination up slightly so it doesn't hit stats */
  bottom: 40px;
}

.hero-slider .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
  background: var(--primary-color);
  width: 30px;
  border-radius: var(--radius-full);
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(5px);
  transition: var(--transition-normal);
  display: none; /* Hide on mobile */
}

@media (min-width: 768px) {
  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: flex;
    width: 50px;
    height: 50px;
  }
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: var(--primary-color);
}

.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  display: none;
}

.hero-slider .swiper-button-prev i,
.hero-slider .swiper-button-next i {
  color: var(--white);
  font-size: var(--fs-base);
}

/* Hero Stats */
.hero-stats {
  position: relative;
  /* Adjust overlap: Pulls stats box UP over the bottom padding of hero-slide */
  margin-top: -60px;
  z-index: 10;
  padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
  .hero-stats {
    margin-top: -60px;
    padding: 0;
  }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
  }
}

.stat-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.stat-item:hover {
  background: var(--gray-100);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(230, 57, 70, 0.1) 0%,
    rgba(29, 53, 87, 0.1) 100%
  );
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .stat-icon {
    width: 60px;
    height: 60px;
  }
}

.stat-icon i {
  font-size: var(--fs-lg);
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .stat-icon i {
    font-size: var(--fs-2xl);
  }
}

.stat-content {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: var(--fs-3xl);
  }
}

.stat-suffix {
  font-family: var(--font-primary);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--primary-color);
}

@media (min-width: 768px) {
  .stat-suffix {
    font-size: var(--fs-2xl);
  }
}

.stat-label {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: var(--spacing-xs);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: var(--fs-sm);
  }
}
/* Logo Image Styles */
.logo-img {
  height: 60px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  transition: var(--transition-normal);
}

/* Adjust logo size when header is scrolled */
.header.scrolled .logo-img {
  height: 50px;
}

/* Footer Logo */
.footer-logo-img {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  /* Remove the filter line to keep original colors */
  opacity: 0.9;
  transition: var(--transition-normal);
}

.footer-logo:hover .footer-logo-img {
  opacity: 1;
}

/* Mobile Responsive Logo */
@media (max-width: 768px) {
  .logo-img {
    height: 45px;
    max-width: 150px;
  }

  .header.scrolled .logo-img {
    height: 40px;
  }

  .footer-logo-img {
    height: 60px;
    max-width: 160px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    height: 40px;
    max-width: 130px;
  }
}

/* ============================================
   10. ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

@media (min-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-images {
  position: relative;
}

.about-img-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-main img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .about-img-main img {
    height: 500px;
  }
}

.about-img-secondary {
  display: none;
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 250px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}

@media (min-width: 768px) {
  .about-img-secondary {
    display: block;
  }
}

.about-img-secondary img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  background: var(--bg-gradient);
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-primary);
  animation: pulse 2s infinite;
}

@media (min-width: 768px) {
  .experience-badge {
    width: 140px;
    height: 140px;
    top: 20px;
    left: 20px;
  }
}

.exp-number {
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: 700;
  line-height: 1;
}

.exp-text {
  font-size: var(--fs-xs);
  text-align: center;
  padding: 0 var(--spacing-sm);
}

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

.about-content .section-header {
  margin-bottom: var(--spacing-xl);
}

.about-text {
  font-size: var(--fs-base);
  line-height: 1.8;
  margin-bottom: var(--spacing-md);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

@media (max-width: 576px) {
  .about-features {
    grid-template-columns: 1fr;
  }
}

.about-feature {
  display: flex;
  gap: var(--spacing-md);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    rgba(230, 57, 70, 0.1) 0%,
    rgba(29, 53, 87, 0.1) 100%
  );
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: var(--fs-xl);
  color: var(--primary-color);
}

.feature-text h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.feature-text p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* ============================================
   11. PRODUCTS SECTION
   ============================================ */
.product-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-2xl);
}

.category-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

.category-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.category-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-xl);
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.product-card.hidden {
  display: none;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(29, 53, 87, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-link {
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: var(--fs-lg);
  transform: scale(0);
  transition: var(--transition-bounce);
}

.product-card:hover .product-link {
  transform: scale(1);
}

.product-link:hover {
  background: var(--primary-color);
  color: var(--white);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--primary-color);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  z-index: 2;
}

.product-badge.new {
  background: var(--accent-color);
}

.product-content {
  padding: var(--spacing-lg);
}

.product-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin: var(--spacing-sm) 0;
  color: var(--secondary-color);
}

.product-text {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-md);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-color);
  transition: var(--transition-fast);
}

.product-btn:hover {
  gap: var(--spacing-md);
}

/* ============================================
   12. WHY CHOOSE US SECTION
   ============================================ */
.why-us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

@media (min-width: 992px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-us-text {
  font-size: var(--fs-base);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.why-us-features {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.why-feature {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.why-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.why-feature-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-feature-icon i {
  font-size: var(--fs-2xl);
  color: var(--primary-color);
}

.why-feature-content h4 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
}

.why-feature-content p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: 0;
}

.why-us-image {
  position: relative;
}

.why-us-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
}

.floating-card i {
  font-size: var(--fs-xl);
  color: var(--primary-color);
}

.floating-card span {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--secondary-color);
}

.floating-card.card-1 {
  top: 20px;
  left: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 40px;
  right: -20px;
  animation-delay: 1.5s;
}

@media (max-width: 991px) {
  .floating-card {
    display: none;
  }
}

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

/* ============================================
   13. CLIENTS SECTION
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

@media (min-width: 576px) {
  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.client-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.client-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px);
}

.client-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(230, 57, 70, 0.1) 0%,
    rgba(29, 53, 87, 0.1) 100%
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  transition: var(--transition-normal);
}

.client-card:hover .client-icon {
  background: var(--bg-gradient);
}

.client-icon i {
  font-size: var(--fs-3xl);
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.client-card:hover .client-icon i {
  color: var(--white);
}

.client-card h4 {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: 0;
}

/* ============================================
   14. GALLERY SECTION
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 200px);
  gap: var(--spacing-md);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 220px);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(29, 53, 87, 0.9) 0%,
    transparent 60%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-lg);
  opacity: 0;
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-content {
  transform: translateY(20px);
  transition: var(--transition-normal);
}

.gallery-item:hover .gallery-content {
  transform: translateY(0);
}

.gallery-category {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-content h4 {
  font-size: var(--fs-base);
  color: var(--white);
  margin-bottom: 0;
}

.gallery-zoom {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transform: scale(0);
  transition: var(--transition-bounce);
}

.gallery-item:hover .gallery-zoom {
  transform: scale(1);
}

.gallery-zoom:hover {
  background: var(--primary-color);
  color: var(--white);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

@media (max-width: 767px) {
  .gallery-item.large,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ============================================
   15. TESTIMONIALS SECTION
   ============================================ */
.testimonials-slider {
  padding-bottom: 60px;
}

.testimonial-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-lg);
}

.testimonial-rating i {
  color: var(--accent-color);
  font-size: var(--fs-lg);
}

.testimonial-text {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--spacing-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 3px solid var(--primary-color);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  text-align: left;
}

.author-info h5 {
  font-size: var(--fs-base);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--secondary-color);
}

.author-info span {
  font-size: var(--fs-sm);
  color: var(--primary-color);
}

.testimonials-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.testimonials-slider .swiper-pagination-bullet-active {
  background: var(--white);
}

/* ============================================
   16. CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
}

.cta-bg {
  background: linear-gradient(
    135deg,
    var(--secondary-color) 0%,
    var(--primary-color) 100%
  );
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
  background-size: cover;
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.cta-text {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-xl);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md);
}

/* ============================================
   17. CONTACT INFO SECTION
   ============================================ */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: var(--spacing-lg);
}

@media (min-width: 576px) {
  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .contact-info-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.contact-info-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  transform: translateY(-10px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(230, 57, 70, 0.1) 0%,
    rgba(29, 53, 87, 0.1) 100%
  );
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
  transition: var(--transition-normal);
}

.contact-info-card:hover .contact-icon {
  background: var(--bg-gradient);
}

.contact-icon i {
  font-size: var(--fs-2xl);
  color: var(--primary-color);
  transition: var(--transition-normal);
}

.contact-info-card:hover .contact-icon i {
  color: var(--white);
}

.contact-info-card h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.contact-info-card p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

.contact-link {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--primary-color);
}

.contact-link:hover {
  text-decoration: underline;
}

/* ============================================
   18. FOOTER
   ============================================ */
.footer {
  background: var(--secondary-dark);
  color: var(--gray-300);
}

.footer-top {
  padding: var(--spacing-4xl) 0 var(--spacing-2xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

@media (min-width: 576px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-col h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  position: relative;
  padding-bottom: var(--spacing-sm);
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--primary-color);
}

/* Footer About */
.footer-about {
  max-width: 350px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.footer-logo .logo-icon {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
}

.footer-logo .logo-name {
  color: var(--white);
}

.footer-about p {
  font-size: var(--fs-sm);
  line-height: 1.8;
  margin-bottom: var(--spacing-lg);
  color: var(--gray-400);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-links li a {
  font-size: var(--fs-sm);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  transition: var(--transition-fast);
}

.footer-links li a::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: var(--spacing-sm);
}

/* Footer Contact */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-contact li {
  display: flex;
  gap: var(--spacing-md);
  font-size: var(--fs-sm);
  color: var(--gray-400);
}

.footer-contact li i {
  color: var(--primary-color);
  font-size: var(--fs-base);
  margin-top: 2px;
}

.footer-contact li a {
  color: var(--gray-400);
}

.footer-contact li a:hover {
  color: var(--primary-color);
}

.footer-certification {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-certification img {
  width: 50px;
  height: auto;
}

.footer-certification span {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

/* Footer Bottom */
.footer-bottom {
  padding: var(--spacing-lg) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom-content p {
  font-size: var(--fs-sm);
  color: var(--gray-500);
  margin-bottom: 0;
}

.footer-bottom-content i.fa-heart {
  color: var(--primary-color);
}

/* ============================================
   19. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--fs-base);
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

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

.btn-white:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn i {
  font-size: 0.9em;
  transition: var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

/* ============================================
   20. BACK TO TOP & WHATSAPP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-lg);
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-normal);
  z-index: var(--z-sticky);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-5px);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-2xl);
  box-shadow: var(--shadow-lg);
  z-index: var(--z-sticky);
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #25d366;
  transform: scale(1.1);
}

/* ============================================
   21. ANIMATIONS
   ============================================ */
/* Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide Up */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slide Down */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Rotate In */
@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: rotate(0);
  }
}

/* Bounce */
@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Shake */
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-5px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(5px);
  }
}

/* ============================================
   22. RESPONSIVE STYLES
   ============================================ */
/* Extra Small Devices */
@media (max-width: 575px) {
  :root {
    --container-padding: 1rem;
  }

  .section {
    padding: var(--spacing-3xl) 0;
  }

  .hero-slide {
    min-height: 500px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    padding: var(--spacing-lg);
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

/* Small Devices */
@media (max-width: 767px) {
  .nav-actions .btn {
    display: none;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
    top: -15px;
    left: -15px;
  }

  .exp-number {
    font-size: var(--fs-2xl);
  }

  .gallery-grid {
    grid-template-rows: repeat(4, 180px);
  }
}

/* Medium Devices */
@media (min-width: 768px) and (max-width: 991px) {
  .about-img-secondary {
    width: 200px;
    bottom: -30px;
    right: -30px;
  }
}

/* Large Devices */
@media (min-width: 992px) and (max-width: 1199px) {
  .mega-menu {
    width: 800px;
  }
}

/* Extra Large Devices */
@media (min-width: 1400px) {
  :root {
    --container-max: 1400px;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .whatsapp-float {
    display: none !important;
  }

  .section {
    padding: 20px 0;
  }

  * {
    color: #000 !important;
    background: #fff !important;
  }
}

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

/* ============================================
   23. ADDITIONAL PAGE SPECIFIC STYLES
   ============================================ */

/* Page Banner - For inner pages */
.page-banner {
  position: relative;
  padding: 150px 0 80px;
  background: var(--bg-gradient);
  margin-top: var(--header-height);
  overflow: hidden;
}

@media (min-width: 768px) {
  .page-banner {
    margin-top: calc(var(--header-height) + 42px);
    padding: 180px 0 100px;
  }
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon fill="rgba(255,255,255,0.05)" points="0,100 100,0 100,100"/></svg>');
  background-size: cover;
}

.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumb i {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb span:last-child {
  color: var(--accent-color);
}

/* Form Styles */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-sm);
}

.form-control {
  width: 100%;
  padding: var(--spacing-md);
  font-size: var(--fs-base);
  color: var(--text-primary);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Alert Messages */
.alert {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.alert-success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* Loading Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--gray-300);
  border-top-color: var(--primary-color);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
/* Add after line 2000 - For better text visibility on dark backgrounds */
.bg-primary .section-title,
.bg-primary .section-subtitle,
.bg-primary .section-description,
.hero-content .section-subtitle::before {
  color: var(--white) !important;
}

.section-subtitle::before {
  background: var(--primary-color);
}

/* ======================================================
   MOBILE MEGA MENU FIX (PASTE AT VERY BOTTOM OF CSS)
   ====================================================== */
@media (max-width: 1023px) {
  /* 1. Force the menu to be visible when active */
  .nav-item.dropdown.active .dropdown-menu.mega-menu {
    display: block !important;
    max-height: 2000px !important; /* Allow it to grow */
    opacity: 1 !important;
    visibility: visible !important;
    margin-top: 0 !important;
    border-top: 1px solid #eee;
  }

  /* 2. Reset position so it sits inside the menu, not floating */
  .dropdown-menu.mega-menu {
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    transform: none !important;
    box-shadow: none !important;
    background: #f9f9f9 !important;
    padding: 0 !important;
    display: none; /* Hidden by default */
  }

  /* 3. Ensure the container stacks vertically */
  .mega-menu-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 15px !important;
  }

  /* 4. Style the columns */
  .mega-menu-column {
    width: 100% !important;
    flex: none !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0 !important;
    margin: 0 !important;
  }

  .mega-menu-column:last-child {
    border-bottom: none;
  }

  /* 5. Headings */
  .mega-menu-column h4 {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    padding-bottom: 5px !important;
    color: var(--secondary-color);
  }

  /* 6. Links */
  .mega-menu-column ul li a {
    font-size: 14px !important;
    padding: 8px 0 !important;
    display: block !important;
    color: #555;
  }
}

/* ============================================
   FOOTER DEVELOPER LINK
   ============================================ */
.footer-bottom-content .developer-link {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.footer-bottom-content .developer-link:hover {
  color: var(--accent-color);
}

.footer-bottom-content .developer-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-bottom-content .developer-link:hover::after {
  width: 100%;
}

/* Optional: Add icon before Sprintofy */
.footer-bottom-content .developer-link::before {
  margin-right: 5px;
  font-size: 0.9em;
}

/* ============================================
   MOBILE MENU FIX - ADD TO END OF style.css
   ============================================ */

/* Fix overlay z-index - should be BELOW menu */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999; /* LOWER than menu */
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu - needs HIGHER z-index than overlay */
@media (max-width: 1023px) {
  .nav-menu {
    display: block;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: calc(100vh - var(--header-height));
    background: var(--white);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-xl);
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    z-index: 1001; /* HIGHER than overlay (999) */
  }

  .nav-menu.active {
    right: 0;
  }

  /* Ensure nav toggle is above everything */
  .nav-toggle {
    z-index: 1002; /* HIGHEST */
    position: relative;
  }

  /* Make sure links are clickable */
  .nav-list {
    position: relative;
    z-index: 1;
  }

  .nav-link {
    cursor: pointer;
    pointer-events: auto; /* Ensure links are clickable */
  }
}

/* Header should be above overlay but below menu */
.header {
  z-index: 1000;
}

/* ============================================
   FULL WIDTH NAVIGATION & PRODUCTS - ADD AT END
   ============================================ */

/* ============================================
   FULL WIDTH CONTAINER OVERRIDE
   ============================================ */

/* Override container for full width sections */
.full-width .container,
.product-categories-section .container,
.products-category-section .container {
  max-width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .full-width .container,
  .product-categories-section .container,
  .products-category-section .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 1200px) {
  .full-width .container,
  .product-categories-section .container,
  .products-category-section .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (min-width: 1600px) {
  .full-width .container,
  .product-categories-section .container,
  .products-category-section .container {
    padding-left: 80px;
    padding-right: 80px;
  }
}

/* ============================================
   PRODUCT CATEGORIES SECTION - FULL WIDTH
   ============================================ */
.product-categories-section {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--gray-200);
  width: 100%;
}

@media (min-width: 768px) {
  .product-categories-section {
    top: 112px; /* header + top-bar */
  }
}

.header.scrolled ~ main .product-categories-section,
.header.scrolled + main .product-categories-section {
  top: 70px;
}

/* Categories Nav Wrapper */
.categories-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 0;
  width: 100%;
}

/* Main Categories Navigation */
.categories-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 45px;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

/* Category Button */
.category-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  max-width: 130px;
  padding: 12px 14px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
}

.category-nav-btn i {
  font-size: 20px;
  color: var(--secondary-color);
  margin-bottom: 5px;
  transition: all 0.3s ease;
}

.category-nav-btn span {
  font-size: 11px;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.category-nav-btn small {
  font-size: 9px;
  color: var(--text-secondary);
  margin-top: 2px;
  font-weight: 500;
}

/* Hover State */
.category-nav-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(244, 166, 29, 0.25);
}

.category-nav-btn:hover i,
.category-nav-btn:hover span,
.category-nav-btn:hover small {
  color: var(--white);
}

/* Active State */
.category-nav-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(244, 166, 29, 0.35);
}

.category-nav-btn.active i,
.category-nav-btn.active span,
.category-nav-btn.active small {
  color: var(--white);
}

.category-nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px 3px 0 0;
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
  background: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn i {
  font-size: 14px;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.scroll-btn:hover i {
  color: var(--white);
}

.scroll-btn-left {
  left: 5px;
}

.scroll-btn-right {
  right: 5px;
}

.scroll-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Hide scroll buttons on mobile */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }

  .categories-nav {
    padding: 10px 15px;
  }
}

/* ============================================
   MOBILE DROPDOWN - FULL WIDTH
   ============================================ */
.categories-dropdown-wrapper {
  display: none;
  padding: 15px;
  background: var(--gray-100);
  width: 100%;
}

.categories-dropdown {
  width: 100%;
  padding: 14px 45px 14px 18px;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 600;
  color: var(--secondary-color);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232b0f4a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.categories-dropdown:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 4px rgba(244, 166, 29, 0.15);
}

/* Show dropdown on mobile, hide nav buttons */
@media (max-width: 768px) {
  .categories-nav-wrapper {
    display: none;
  }

  .categories-dropdown-wrapper {
    display: block;
  }

  .product-categories-section {
    position: relative;
    top: auto;
  }
}

/* ============================================
   PRODUCTS SECTION - FULL WIDTH
   ============================================ */
.products-category-section {
  padding: var(--spacing-3xl) 0;
  width: 100%;
}

.products-category-section.hidden {
  display: none;
}

/* ============================================
   FULL WIDTH PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  width: 100%;
}

@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
  }
}

@media (min-width: 1400px) {
  .products-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 28px;
  }
}

@media (min-width: 1700px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
  }
}

/* ============================================
   PRODUCT ITEM CARD - ENHANCED
   ============================================ */
.product-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--gray-200);
}

.product-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
  border-color: var(--primary-color);
}

/* Product Image */
.product-item .product-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.product-item .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-item:hover .product-image img {
  transform: scale(1.08);
}

/* Product Badges */
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.product-badges .badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  color: var(--white);
}

.badge-popular {
  background: linear-gradient(135deg, #e63946 0%, #f25c69 100%);
}

.badge-bestseller {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.badge-new {
  background: linear-gradient(135deg, #3498db 0%, #5dade2 100%);
}

.badge-premium {
  background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.badge-service {
  background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
}

/* Image Count Badge */
.image-count-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.image-count-badge i {
  font-size: 10px;
}

/* Product Overlay */
.product-item .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(43, 15, 74, 0.85) 0%,
    rgba(244, 166, 29, 0.7) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

.product-item:hover .product-overlay {
  opacity: 1;
  visibility: visible;
}

.btn-quick-view {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--primary-color);
  border: none;
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transform: translateY(20px);
  transition: all 0.35s ease;
}

.product-item:hover .btn-quick-view {
  transform: translateY(0);
}

.btn-quick-view:hover {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 5px 20px rgba(244, 166, 29, 0.4);
}

/* Product Info */
.product-item .product-info {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-item .product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.3;
}

/* Product Price */
.product-price {
  margin-bottom: 10px;
}

.product-price .price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
}

.product-price .price-request {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  background: var(--gray-100);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
}

.product-price .price-request i {
  color: var(--primary-color);
}

/* Product Specs Mini */
.product-specs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--gray-100);
  border-radius: 4px;
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
}

.spec-tag i {
  color: var(--primary-color);
  font-size: 9px;
}

/* Product Description */
.product-item .product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Product Features */
.product-item .product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
  flex: 1;
}

.product-item .feature-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(244, 166, 29, 0.1);
  border: 1px solid rgba(244, 166, 29, 0.2);
  border-radius: var(--radius-sm);
  font-size: 10px;
  color: var(--primary-dark);
  font-weight: 500;
}

/* Product Actions */
.product-item .product-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.product-item .product-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 10px 12px;
  font-size: 12px;
  border-radius: var(--radius-md);
}

.product-item .product-actions .btn i {
  font-size: 11px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 12px;
}

.product-item .btn-outline {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.product-item .btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* ============================================
   SECTION HEADER - FULL WIDTH ADJUSTMENT
   ============================================ */
.products-category-section .section-header {
  margin-bottom: var(--spacing-2xl);
  max-width: 800px;
}

.products-category-section .section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading-container {
  text-align: center;
  padding: 80px 20px;
}

.loading-container .spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loading-categories {
  text-align: center;
  padding: 20px;
  color: var(--text-secondary);
  font-size: 14px;
}

.loading-categories i {
  margin-right: 8px;
  color: var(--primary-color);
}

/* ============================================
   NO PRODUCTS STATE
   ============================================ */
.no-products {
  text-align: center;
  padding: 80px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  margin: 20px 0;
}

.no-products i {
  font-size: 80px;
  color: var(--gray-400);
  margin-bottom: 25px;
  display: block;
}

.no-products h3 {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.no-products p {
  color: var(--text-secondary);
  margin-bottom: 25px;
}

/* ============================================
   PRODUCT ANIMATIONS
   ============================================ */
.product-item {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-item:nth-child(1) {
  animation-delay: 0.05s;
}
.product-item:nth-child(2) {
  animation-delay: 0.1s;
}
.product-item:nth-child(3) {
  animation-delay: 0.15s;
}
.product-item:nth-child(4) {
  animation-delay: 0.2s;
}
.product-item:nth-child(5) {
  animation-delay: 0.25s;
}
.product-item:nth-child(6) {
  animation-delay: 0.3s;
}
.product-item:nth-child(7) {
  animation-delay: 0.35s;
}
.product-item:nth-child(8) {
  animation-delay: 0.4s;
}
.product-item:nth-child(9) {
  animation-delay: 0.45s;
}
.product-item:nth-child(10) {
  animation-delay: 0.5s;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 575px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .product-item .product-image {
    height: 200px;
  }

  .product-item .product-info {
    padding: 15px;
  }

  .product-item .product-name {
    font-size: 15px;
  }

  .product-item .product-actions {
    flex-direction: column;
    gap: 8px;
  }

  .product-item .product-actions .btn {
    width: 100%;
  }

  .category-nav-btn {
    min-width: 85px;
    padding: 10px 12px;
  }

  .category-nav-btn i {
    font-size: 18px;
  }

  .category-nav-btn span {
    font-size: 10px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .product-item .product-image {
    height: 180px;
  }
}

/* ============================================
   PAGE BANNER FULL WIDTH
   ============================================ */
.page-banner {
  width: 100%;
}

.page-banner .container {
  max-width: 100%;
  padding: 0 30px;
}

@media (min-width: 1200px) {
  .page-banner .container {
    padding: 0 50px;
  }
}

/* ============================================
   CTA SECTION FULL WIDTH
   ============================================ */
.cta-section {
  width: 100%;
}

.cta-bg {
  width: 100%;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   MEGA MENU ENHANCEMENT - ADD TO style.css
   ============================================ */

/* Desktop Mega Menu - Full Width Layout */
@media (min-width: 1024px) {
  /* Mega Menu Container */
  .mega-menu {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 95vw; /* Use almost full viewport width */
    max-width: 1400px; /* But cap it at a reasonable size */
    padding: var(--spacing-2xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }

  .nav-item:hover .mega-menu {
    transform: translateX(-50%) translateY(0);
  }

  /* Mega Menu Grid - Horizontal Layout */
  .mega-menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--spacing-2xl);
    justify-content: center;
  }

  /* Column Styling */
  .mega-menu-column {
    display: flex;
    flex-direction: column;
    min-width: 0; /* Prevent overflow */
  }

  /* Column Headers */
  .mega-menu-column h4 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    white-space: nowrap;
    text-align: left;
  }

  .mega-menu-column h4 i {
    font-size: var(--fs-lg);
    color: var(--primary-color);
    flex-shrink: 0;
  }

  /* Column Links */
  .mega-menu-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mega-menu-column ul li {
    margin: 0;
  }

  .mega-menu-column ul li a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--fs-sm);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    border-radius: var(--radius-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mega-menu-column ul li a:hover {
    color: var(--primary-color);
    background: rgba(244, 166, 29, 0.1);
    padding-left: var(--spacing-md);
    transform: translateX(5px);
  }

  /* View All Link Styling */
  .mega-menu-column a[href*="View All"] {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
  }

  .mega-menu-column a[href*="View All"]:hover {
    background: var(--primary-dark);
    transform: translateX(0) scale(1.05);
    box-shadow: 0 4px 12px rgba(244, 166, 29, 0.4);
  }
}

/* ============================================
   ALTERNATIVE: CENTERED COLUMN LAYOUT
   Use this if you want columns centered horizontally
   ============================================ */
@media (min-width: 1024px) {
  /* Option 2: Fixed column count with center alignment */
  .mega-menu-container.centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    max-width: 100%;
  }

  .mega-menu-container.centered .mega-menu-column {
    flex: 0 0 auto;
    min-width: 180px;
    max-width: 220px;
  }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */

/* Large Desktop - More columns */
@media (min-width: 1400px) {
  .mega-menu {
    max-width: 1600px;
  }

  .mega-menu-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-3xl);
  }
}

/* Medium Desktop - Fewer columns */
@media (min-width: 1024px) and (max-width: 1399px) {
  .mega-menu {
    width: 90vw;
    max-width: 1200px;
  }

  .mega-menu-container {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--spacing-xl);
  }
}

/* ============================================
   MEGA MENU ANIMATIONS
   ============================================ */
@media (min-width: 1024px) {
  /* Smooth appearance */
  .mega-menu-column {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.3s ease forwards;
  }

  .nav-item:hover .mega-menu-column:nth-child(1) {
    animation-delay: 0.05s;
  }
  .nav-item:hover .mega-menu-column:nth-child(2) {
    animation-delay: 0.1s;
  }
  .nav-item:hover .mega-menu-column:nth-child(3) {
    animation-delay: 0.15s;
  }
  .nav-item:hover .mega-menu-column:nth-child(4) {
    animation-delay: 0.2s;
  }
  .nav-item:hover .mega-menu-column:nth-child(5) {
    animation-delay: 0.25s;
  }
  .nav-item:hover .mega-menu-column:nth-child(6) {
    animation-delay: 0.3s;
  }
  .nav-item:hover .mega-menu-column:nth-child(7) {
    animation-delay: 0.35s;
  }
  .nav-item:hover .mega-menu-column:nth-child(8) {
    animation-delay: 0.4s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* ============================================
   FIX: Ensure Mega Menu Shows Properly
   ============================================ */
@media (min-width: 1024px) {
  /* Important: Make sure dropdown is visible */
  .nav-item .dropdown-menu {
    position: absolute;
    top: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Ensure mega menu container is visible */
  .mega-menu-container {
    display: grid !important;
  }
}

/* ============================================
   ICON ENHANCEMENTS
   ============================================ */
.mega-menu-column h4 i {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 166, 29, 0.1);
  border-radius: var(--radius-sm);
}

/* ============================================
   SCROLLBAR FOR MEGA MENU (if needed)
   ============================================ */
.mega-menu {
  max-height: 80vh;
  overflow-y: auto;
}

.mega-menu::-webkit-scrollbar {
  width: 8px;
}

.mega-menu::-webkit-scrollbar-track {
  background: var(--gray-100);
  border-radius: var(--radius-md);
}

.mega-menu::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: var(--radius-md);
}

.mega-menu::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ============================================
   PRODUCT CATEGORIES HORIZONTAL NAVIGATION
   ============================================ */

/* Section Container */
.product-categories-section {
  background: var(--white);
  padding: 0;
  position: sticky;
  top: var(--header-height);
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: var(--spacing-2xl);
}

/* Adjust for scrolled header */
.header.scrolled ~ main .product-categories-section,
.header.scrolled ~ .product-categories-section {
  top: var(--header-height-scrolled);
}

/* Navigation Wrapper */
.categories-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 15px 0;
}

/* Main Navigation Container */
.categories-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px;
  width: 100%;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
  display: none;
}

/* Category Button */
.category-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 12px 16px;
  background: var(--gray-100);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.category-nav-btn i {
  font-size: 24px;
  color: var(--secondary-color);
  margin-bottom: 6px;
  transition: all var(--transition-normal);
}

.category-nav-btn span {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.category-nav-btn small {
  font-size: 10px;
  color: var(--text-secondary);
  margin-top: 2px;
  font-weight: 500;
}

/* Hover State */
.category-nav-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(244, 166, 29, 0.2);
}

.category-nav-btn:hover i,
.category-nav-btn:hover span,
.category-nav-btn:hover small {
  color: var(--white);
}

/* Active State */
.category-nav-btn.active {
  background: var(--primary-color);
  border-color: var(--primary-dark);
  color: var(--white);
  box-shadow: 0 5px 15px rgba(244, 166, 29, 0.3);
}

.category-nav-btn.active i,
.category-nav-btn.active span,
.category-nav-btn.active small {
  color: var(--white);
}

.category-nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary-color);
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: var(--white);
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.scroll-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.scroll-btn i {
  font-size: 14px;
  color: var(--primary-color);
}

.scroll-btn:hover i {
  color: var(--white);
}

.scroll-btn-left {
  left: 10px;
}

.scroll-btn-right {
  right: 10px;
}

/* Hide scroll buttons on mobile */
@media (max-width: 768px) {
  .scroll-btn {
    display: none;
  }

  .categories-nav {
    padding: 10px 15px;
  }
}

/* Mobile Dropdown */
.categories-dropdown-wrapper {
  display: none;
  padding: 15px;
  background: var(--gray-100);
}

.categories-dropdown {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary-color);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.categories-dropdown:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 166, 29, 0.1);
}

/* Mobile View */
@media (max-width: 576px) {
  .categories-nav-wrapper {
    display: none;
  }

  .categories-dropdown-wrapper {
    display: block;
  }

  .product-categories-section {
    position: relative;
    top: auto;
  }
}

/* Desktop adjustments */
@media (min-width: 1200px) {
  .category-nav-btn {
    min-width: 140px;
    padding: 15px 20px;
  }

  .category-nav-btn i {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .category-nav-btn span {
    font-size: 14px;
  }

  .category-nav-btn small {
    font-size: 11px;
    margin-top: 4px;
  }
}

/* ============================================
   DOWNLOAD BROCHURE BUTTON STYLES
   ============================================ */

.nav-actions .download-brochure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-actions .download-brochure i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-actions .download-brochure:hover i {
  transform: translateY(2px);
  animation: bounce 0.5s ease infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.nav-actions .download-brochure span {
  white-space: nowrap;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-actions .download-brochure {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .nav-actions .download-brochure span {
    display: none; /* Hide text on mobile, show only icon */
  }

  .nav-actions .download-brochure i {
    font-size: 1.2rem;
  }
}

@media (min-width: 769px) and (max-width: 992px) {
  .nav-actions .download-brochure {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

/* ============================================
   TESTIMONIALS - AVATAR INITIALS
   ============================================ */

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-initial {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  background: rgba(255, 107, 53, 0.1);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 107, 53, 0.2);
  border-radius: 50%;
}

.testimonial-date {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
}

.testimonial-product {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  margin: 15px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-product i {
  margin-right: 8px;
  color: #ffd700;
}

.testimonial-badges {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.testimonial-badges .badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.testimonial-badges .badge i {
  color: #4caf50;
  font-size: 0.8rem;
}

/* Swiper Navigation */
.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonials-slider .swiper-button-next:after,
.testimonials-slider .swiper-button-prev:after {
  font-size: 20px;
}

/* Hide mobile brochure on desktop, show only in mobile hamburger */
@media (min-width: 992px) {
  .mobile-brochure-item {
    display: none !important;
  }
}

@media (max-width: 991px) {
  /* Hide desktop brochure button */
  .nav-actions .download-brochure {
    display: none !important;
  }

  /* Show and style mobile brochure in hamburger */
  .mobile-brochure-item {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    padding-top: 20px;
  }

  .download-brochure-mobile {
    background: var(--primary-color, #ff6b35) !important;
    color: #fff !important;
    border-radius: 8px;
    margin: 0 20px !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    white-space: nowrap; /* keeps text in one line */
  }
}

/* ============================================
   UNIVERSAL SPACING FIX (REMOVES GAP ON ALL VIEWS)
   ============================================ */

/* 1. Tighten the Category Navigation Bar */
.product-categories-section {
  margin-bottom: 0 !important;
  padding-bottom: 10px !important; /* Minimal space below buttons */
  border-bottom: 1px solid #eee !important; /* Optional: keeps a subtle separator */
}

/* 2. Pull the Product Sections Up */
.products-category-section {
  padding-top: 30px !important; /* Reduced from ~100px to 30px */
}

/* 3. Remove top margins from the Section Titles */
.products-category-section .section-header {
  margin-top: 0 !important;
  margin-bottom: 30px !important; /* Space between title and products */
  padding-top: 0 !important;
}

/* 4. Ensure the container holding the sections has no gap */
#productsContainer {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* 5. Specific fix for Mobile to be even tighter */
@media (max-width: 768px) {
  .product-categories-section {
    padding-bottom: 5px !important;
  }

  .products-category-section {
    padding-top: 15px !important;
  }

  .products-category-section .section-header {
    margin-bottom: 20px !important;
  }
}

/* ============================================
   MOBILE SPACING FIX (AGGRESSIVE)
   ============================================ */

@media (max-width: 768px) {
  /* 1. Remove space below the dropdown container */
  .product-categories-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: none !important;
    min-height: auto !important;
  }

  /* 2. Tighten the dropdown wrapper itself */
  .categories-dropdown-wrapper {
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
  }

  /* 3. Remove huge top padding from product list */
  .products-category-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* 4. Reduce gap around the section title (Subtitle/H2) */
  .products-category-section .section-header {
    margin-bottom: 15px !important;
    margin-top: 10px !important;
    padding-top: 0 !important;
  }

  /* 5. Force the container to touch */
  #productsContainer {
    margin-top: -5px !important; /* Pulls it up slightly to flush it */
    padding-top: 0 !important;
  }
}

/* ============================================
   MOBILE SPACING - FINAL FIX (AGGRESSIVE)
   ============================================ */
@media (max-width: 768px) {
  /* 1. SQUASH THE DROPDOWN CONTAINER */
  /* This removes the big padding inside the sticky bar holding the dropdown */
  .product-categories-section {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    margin-bottom: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* 2. REMOVE GAP INSIDE THE DROPDOWN WRAPPER */
  .categories-dropdown-wrapper {
    padding: 0 !important;
    margin: 0 !important;
  }

  /* 3. PULL THE PRODUCT LIST UP */
  /* This removes the top padding from the section holding the products */
  .products-category-section {
    padding-top: 15px !important; /* Just enough so it doesn't touch the line */
    margin-top: 0 !important;
  }

  /* 4. TIGHTEN THE SECTION TITLE (e.g. "Outdoor Playground") */
  /* The title usually has big margins, this shrinks them */
  .products-category-section .section-header {
    margin-bottom: 15px !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Optional: Make the title text smaller on mobile to save space */
  .products-category-section .section-title {
    font-size: 20px !important;
    margin-bottom: 5px !important;
  }

  .products-category-section .section-subtitle {
    display: none !important; /* Hide subtitle on mobile to save space */
  }

  /* 5. ENSURE DESKTOP NAV IS GONE */
  .categories-nav-wrapper {
    display: none !important;
  }
}
