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

/* ============================================
   1. CSS Variables & Root
   ============================================ */
:root {
  /* Primary Colors */
  --primary-color: #1a5f7a;
  --primary-dark: #134a5f;
  --primary-light: #2980b9;
  --primary-rgb: 26, 95, 122;

  /* Secondary Colors */
  --secondary-color: #e67e22;
  --secondary-dark: #d35400;
  --secondary-light: #f39c12;

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

  /* Status Colors */
  --success-color: #27ae60;
  --error-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #3498db;

  /* Background Colors */
  --bg-light: #f5f7fa;
  --bg-dark: #1a1a2e;
  --bg-overlay: rgba(26, 26, 46, 0.85);

  /* Typography */
  --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;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-snug: 1.375;
  --lh-normal: 1.5;
  --lh-relaxed: 1.625;
  --lh-loose: 2;

  /* 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;

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

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 0.15s 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);

  /* Z-Index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;

  /* Container Width */
  --container-max: 1320px;
  --container-lg: 1140px;
  --container-md: 960px;
  --container-sm: 720px;

  /* Header Height */
  --header-height: 80px;
  --top-bar-height: 40px;
}

/* ============================================
   2. CSS Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

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

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: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--fs-5xl);
}

h2 {
  font-size: var(--fs-4xl);
}

h3 {
  font-size: var(--fs-3xl);
}

h4 {
  font-size: var(--fs-2xl);
}

h5 {
  font-size: var(--fs-xl);
}

h6 {
  font-size: var(--fs-lg);
}

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

.lead {
  font-size: var(--fs-lg);
  font-weight: var(--fw-medium);
  color: var(--gray-600);
  line-height: var(--lh-relaxed);
}

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

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

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

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

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

/* ============================================
   4. Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

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

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding: var(--spacing-xs) var(--spacing-lg);
  background: rgba(230, 126, 34, 0.1);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-bold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-md);
}

.section-description {
  font-size: var(--fs-lg);
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: var(--spacing-xl);
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* ============================================
   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 {
  width: 60px;
  height: 60px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  position: relative;
}

.loader-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid var(--gray-200);
  border-bottom-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

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

/* ============================================
   6. Header & Navigation - OPTIMIZED
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-fixed);
  transition: var(--transition-normal);
}

/* Top Bar */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  padding: var(--spacing-sm) 0;
  font-size: var(--fs-sm);
  transition: all 0.3s ease;
}

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

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

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

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

.top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.top-bar-right span {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

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

.social-links a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-xs);
  transition: var(--transition-normal);
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

/* Navbar - OPTIMIZED */
.navbar {
  background: var(--white);
  padding: 15px 0;
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar > .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo - OPTIMIZED with transition */
.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.logo img {
  height: 55px;
  width: auto;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo-name {
  font-family: var(--font-primary);
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--primary-color);
  line-height: 1.2;
}

.logo-tagline {
  font-size: var(--fs-xs);
  color: var(--gray-600);
  letter-spacing: 1px;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  padding: var(--spacing-sm) var(--spacing-md);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

.nav-cta .btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--fs-sm);
}

/* ============================================
   Mobile Navigation Toggle - ENHANCED
   ============================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: calc(var(--z-fixed) + 10);
  background: transparent;
  border: none;
  padding: 10px;
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.nav-toggle:hover {
  background: var(--gray-100);
}

.nav-toggle:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Hamburger Lines */
.hamburger {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gray-800);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hamburger::after {
  top: 7px;
}

/* Hamburger to X Animation - ENHANCED */
.nav-toggle.active .hamburger {
  background: transparent;
}

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

.nav-toggle.active .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--primary-color);
}

/* ============================================
   Header Scrolled State - OPTIMIZED
   Increased height, smooth transition
   ============================================ */
.header {
  --header-total-height: 120px;
}

.header.scrolled {
  --header-total-height: 80px;
}

.header.scrolled .navbar {
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo img {
  height: 45px;
}

/* Ensure smooth transitions for all header elements */
.top-bar {
  max-height: 50px;
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   7. Hero Section
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  margin-top: calc(var(--header-height) + var(--top-bar-height));
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s ease,
    visibility 1s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.9) 0%,
    rgba(26, 95, 122, 0.7) 100%
  );
}

.hero-slide .container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
}

.hero-subtitle {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: rgba(230, 126, 34, 0.2);
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: var(--fs-6xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: var(--spacing-lg);
}

.hero-title .highlight {
  color: var(--secondary-color);
}

.hero-description {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
  line-height: var(--lh-relaxed);
}

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

/* Slider Navigation */
.slider-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 var(--spacing-xl);
  pointer-events: none;
  z-index: 10;
}

.slider-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-lg);
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition-normal);
}

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

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-sm);
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
}

.dot.active,
.dot:hover {
  background: var(--secondary-color);
  transform: scale(1.2);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: var(--spacing-xl);
  z-index: 10;
}

.scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: var(--white);
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  position: relative;
}

.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.arrow {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(5px);
  }
  60% {
    transform: translateY(3px);
  }
}

/* ============================================
   8. Section Common Styles
   ============================================ */
.section-bg-light {
  background-color: var(--bg-light);
}

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

.section-bg-dark .section-title,
.section-bg-dark h2,
.section-bg-dark h3 {
  color: var(--white);
}

/* ============================================
   9. About Introduction
   ============================================ */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.about-intro-image {
  position: relative;
}

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

.about-intro-image .image-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-color);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-intro-image img {
  width: 100%;
  height: auto;
  transition: var(--transition-slow);
}

.about-intro-image:hover img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 140px;
  height: 140px;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(230, 126, 34, 0);
  }
}

.experience-badge .years {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  line-height: 1;
}

.experience-badge .text {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.about-intro-content .section-subtitle {
  margin-bottom: var(--spacing-sm);
}

.about-intro-content .section-title {
  margin-bottom: var(--spacing-lg);
}

.about-intro-content .lead {
  margin-bottom: var(--spacing-md);
}

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

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

.feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--fs-xl);
}

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

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

/* ============================================
   10. Statistics Section
   ============================================ */
.statistics {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: var(--spacing-4xl) 0;
}

.statistics-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 95, 122, 0.95) 0%,
    rgba(26, 26, 46, 0.95) 100%
  );
}

.statistics .container {
  position: relative;
  z-index: 1;
}

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

.stat-item {
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-10px);
}

.stat-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-color);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-2xl);
}

.stat-number {
  display: inline;
  font-family: var(--font-primary);
  font-size: var(--fs-5xl);
  font-weight: var(--fw-extrabold);
  color: var(--white);
  line-height: 1;
}

.stat-suffix {
  display: inline;
  font-family: var(--font-primary);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--secondary-color);
}

.stat-label {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.8);
  margin-top: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   11. Products Section
   ============================================ */
.products-section {
  background: var(--bg-light);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
}

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

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--gray-100);
}

.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(26, 95, 122, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
}

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

.product-overlay .btn {
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition-normal);
}

.product-card:hover .product-overlay .btn {
  transform: translateY(0);
  opacity: 1;
}

.product-badge {
  position: absolute;
  top: var(--spacing-md);
  left: var(--spacing-md);
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--secondary-color);
  color: var(--white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

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

.product-category {
  font-size: var(--fs-xs);
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-xs);
}

.product-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--gray-900);
  margin-bottom: var(--spacing-sm);
  transition: var(--transition-normal);
}

.product-card:hover .product-title {
  color: var(--primary-color);
}

.product-description {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ============================================
   12. Why Choose Us
   ============================================ */
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
}

.why-choose-content .section-subtitle {
  margin-bottom: var(--spacing-sm);
}

.why-choose-content .section-title {
  margin-bottom: var(--spacing-lg);
}

.why-choose-content .lead {
  margin-bottom: var(--spacing-xl);
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.usp-item {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.usp-item:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(10px);
}

.usp-icon {
  color: var(--success-color);
  font-size: var(--fs-xl);
  min-width: 30px;
}

.usp-content h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-xs);
}

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

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

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: var(--spacing-md);
  height: 500px;
}

.grid-img-1 {
  grid-row: span 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.grid-img-2,
.grid-img-3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.image-grid img {
  transition: var(--transition-normal);
}

.image-grid img:hover {
  transform: scale(1.05);
}

/* ============================================
   13. Industries Section
   ============================================ */
.industries {
  background: var(--bg-light);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-lg);
}

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

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

.industry-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-2xl);
  transition: var(--transition-normal);
}

.industry-card:hover .industry-icon {
  background: linear-gradient(
    135deg,
    var(--secondary-color),
    var(--secondary-light)
  );
  transform: rotateY(180deg);
}

.industry-card h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--spacing-sm);
}

.industry-card p {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

/* ============================================
   14. Certifications Section
   ============================================ */
.certifications-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  padding: var(--spacing-3xl);
  border-radius: var(--radius-xl);
  color: var(--white);
}

.certifications-content .section-subtitle {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.certifications-content .section-title {
  color: var(--white);
}

.certifications-content .section-title .highlight {
  color: var(--secondary-color);
}

.certifications-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-lg);
}

.cert-features {
  list-style: none;
}

.cert-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  font-size: var(--fs-base);
}

.cert-features li i {
  color: var(--secondary-color);
  font-size: var(--fs-lg);
}

.certifications-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.certifications-image img {
  max-width: 300px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  transition: var(--transition-normal);
}

.certifications-image img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* ============================================
   15. Testimonials Section (FIXED)
   ============================================ */

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

.testimonials-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 60px; /* SPACE FOR BUTTONS */
}

/* TRACK */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* CARD */
.testimonial-card {
  flex: 0 0 100%; /* IMPORTANT */
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

/* Rating */
.testimonial-rating {
  margin-bottom: var(--spacing-lg);
}

.testimonial-rating i {
  color: var(--secondary-color);
  font-size: var(--fs-lg);
  margin: 0 2px;
}

/* Text */
.testimonial-text {
  font-size: var(--fs-lg);
  font-style: italic;
  color: var(--gray-700);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.testimonial-text::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  color: var(--primary-color);
  opacity: 0.1;
  font-family: Georgia, serif;
}

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

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}

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

.author-info h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
}

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

/* Navigation */
.testimonial-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.testimonial-btn {
  width: 48px;
  height: 48px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: 0.3s ease;
  box-shadow: var(--shadow-md);
}

.testimonial-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* NO NEGATIVE MARGINS */
.testimonial-btn.prev {
  margin-left: 0;
}

.testimonial-btn.next {
  margin-right: 0;
}

/* ===== Testimonials Viewport FIX ===== */
.testimonial-viewport {
  width: 100%;
  overflow: hidden;
}

/* Track */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

/* Card */
.testimonial-card {
  flex: 0 0 100%;
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
/* ============================================
   Testimonials Responsive Fix
   ============================================ */

/* Large screens (default already handled) */
@media (max-width: 1200px) {
  .testimonials-slider {
    max-width: 900px;
  }
}

/* Tablets */
@media (max-width: 992px) {
  .testimonials-slider {
    max-width: 100%;
    padding: 0 40px; /* reduce arrow spacing */
  }

  .testimonial-card {
    padding: 2.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .testimonials-slider {
    padding: 0; /* full width */
  }

  /* Hide arrows on mobile (swipe enabled) */
  .testimonial-nav {
    display: none;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

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

/* Small phones */
@media (max-width: 480px) {
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonial-text::before {
    font-size: 60px;
    top: -20px;
  }

  .testimonial-author img {
    width: 50px;
    height: 50px;
  }
}

/* ============================================
   16. CTA Section
   ============================================ */
.cta-section {
  position: relative;
  background: url("images/cta-bg.jpg") center/cover no-repeat;
  padding: var(--spacing-4xl) 0;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 95, 122, 0.95) 0%,
    rgba(230, 126, 34, 0.9) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--white);
}

.cta-content h2 {
  font-size: var(--fs-4xl);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

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

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

/* ============================================
   17. Footer
   ============================================ */
.footer {
  background: #184e62;
  color: #ffffff;
}

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

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

.footer-logo {
  margin-bottom: var(--spacing-lg);
}

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

.footer-about {
  color: var(--gray-400);
  margin-bottom: var(--spacing-lg);
  line-height: var(--lh-relaxed);
}

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

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

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

.footer-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-semibold);
  color: var(--white);
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--secondary-color);
}

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

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

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(5px);
}

.footer-links a i {
  font-size: var(--fs-xs);
  color: var(--secondary-color);
}

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

.contact-item {
  display: flex;
  gap: var(--spacing-md);
}

.contact-item i {
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--secondary-color);
}

.contact-item p,
.contact-item a {
  color: var(--gray-400);
  margin-bottom: 0;
  line-height: var(--lh-relaxed);
}

.contact-item a:hover {
  color: var(--secondary-color);
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: var(--spacing-lg) 0;
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.copyright {
  color: var(--gray-500);
  margin-bottom: 0;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-xl);
}

.footer-bottom-links a {
  color: var(--gray-500);
  font-size: var(--fs-sm);
  transition: var(--transition-normal);
}

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

/* ============================================
   18. Back to Top, Call Button & WhatsApp
   ORDER: WhatsApp (bottom) → Call (middle) → Up Arrow (top)
   ============================================ */

/* ============================================
   WHATSAPP FLOAT BUTTON (Bottom - 1st Position)
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

.whatsapp-float i {
  font-size: 30px;
  color: #fff;
  pointer-events: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 14px;
  background: #1a1a2e;
  color: #fff;
  font-size: 0.85rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a1a2e;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* ============================================
   CALL FLOAT BUTTON (Middle - 2nd Position)
   ============================================ */
.call-float {
  position: fixed;
  bottom: 110px; /* 30 + 60 + 20 gap */
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  z-index: 9998;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: callPulse 2s infinite;
  cursor: pointer;
  border: none;
}

.call-float:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.5);
  color: #fff;
}

.call-float i {
  font-size: 1.6rem;
  color: #fff;
  pointer-events: none;
}

.call-float .call-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e293b;
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.call-float .call-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1e293b;
}

.call-float:hover .call-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes callPulse {
  0% {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow:
      0 4px 25px rgba(37, 99, 235, 0.6),
      0 0 0 10px rgba(37, 99, 235, 0.1);
  }
  100% {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }
}

/* ============================================
   18. FLOATING BUTTONS - SIMPLE & FIXED
   Order from bottom: WhatsApp → Call → Up Arrow
   ============================================ */

/* ============================================
   WHATSAPP - BOTTOM (Position 1)
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 25px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: all 0.3s ease;
  animation: whatsappPulse 2s infinite;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.1);
}

.whatsapp-float i {
  font-size: 28px;
  color: #fff;
}

.whatsapp-tooltip {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  padding: 8px 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 13px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes whatsappPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

/* ============================================
   CALL BUTTON - MIDDLE (Position 2)
   ============================================ */
.call-float {
  position: fixed;
  bottom: 100px; /* 30 + 55 + 15 gap */
  right: 25px;
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  z-index: 9998;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: callPulse 2s infinite;
  cursor: pointer;
  border: none;
}

.call-float:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: scale(1.1);
  color: #fff;
}

.call-float i {
  font-size: 22px;
  color: #fff;
}

.call-float .call-tooltip {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  background: #1e293b;
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.call-float:hover .call-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes callPulse {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow:
      0 4px 20px rgba(37, 99, 235, 0.6),
      0 0 0 8px rgba(37, 99, 235, 0.1);
  }
}

/* ============================================
   BACK TO TOP - TOP (Position 3)
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 170px; /* 100 + 55 + 15 gap */
  right: 25px;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a5f7a;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(26, 95, 122, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9997;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

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

.back-to-top:hover {
  background: #134a5f;
  color: #fff;
  transform: translateY(-3px);
}

.back-to-top i {
  font-size: 20px;
  color: #fff;
}

/* ============================================
   TABLET (max-width: 991px)
   ============================================ */
@media (max-width: 991.98px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 25px;
    right: 20px;
    font-size: 26px;
  }
  .whatsapp-float i {
    font-size: 26px;
  }

  .call-float {
    width: 52px;
    height: 52px;
    bottom: 92px; /* 25 + 52 + 15 */
    right: 20px;
    font-size: 20px;
  }
  .call-float i {
    font-size: 20px;
  }

  .back-to-top {
    width: 52px;
    height: 52px;
    bottom: 159px; /* 92 + 52 + 15 */
    right: 20px;
    font-size: 18px;
  }
  .back-to-top i {
    font-size: 18px;
  }
}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media (max-width: 767.98px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 15px;
    font-size: 24px;
  }
  .whatsapp-float i {
    font-size: 24px;
  }
  .whatsapp-tooltip {
    display: none;
  }

  .call-float {
    width: 50px;
    height: 50px;
    bottom: 85px; /* 20 + 50 + 15 */
    right: 15px;
    font-size: 18px;
  }
  .call-float i {
    font-size: 18px;
  }
  .call-float .call-tooltip {
    display: none;
  }

  .back-to-top {
    width: 50px;
    height: 50px;
    bottom: 150px; /* 85 + 50 + 15 */
    right: 15px;
    font-size: 16px;
  }
  .back-to-top i {
    font-size: 16px;
  }
}

/* ============================================
   SMALL MOBILE (max-width: 575px)
   ============================================ */
@media (max-width: 575.98px) {
  .whatsapp-float {
    width: 48px;
    height: 48px;
    bottom: 15px;
    right: 12px;
    font-size: 22px;
  }
  .whatsapp-float i {
    font-size: 22px;
  }

  .call-float {
    width: 48px;
    height: 48px;
    bottom: 78px; /* 15 + 48 + 15 */
    right: 12px;
    font-size: 17px;
  }
  .call-float i {
    font-size: 17px;
  }

  .back-to-top {
    width: 48px;
    height: 48px;
    bottom: 141px; /* 78 + 48 + 15 */
    right: 12px;
    font-size: 15px;
  }
  .back-to-top i {
    font-size: 15px;
  }
}

/* ============================================
   EXTRA SMALL MOBILE (max-width: 479px)
   ============================================ */
@media (max-width: 479.98px) {
  .whatsapp-float {
    width: 46px;
    height: 46px;
    bottom: 12px;
    right: 10px;
    font-size: 20px;
  }
  .whatsapp-float i {
    font-size: 20px;
  }

  .call-float {
    width: 46px;
    height: 46px;
    bottom: 73px; /* 12 + 46 + 15 */
    right: 10px;
    font-size: 16px;
  }
  .call-float i {
    font-size: 16px;
  }

  .back-to-top {
    width: 46px;
    height: 46px;
    bottom: 134px; /* 73 + 46 + 15 */
    right: 10px;
    font-size: 14px;
  }
  .back-to-top i {
    font-size: 14px;
  }
}

/* ============================================
   VERY SMALL (max-width: 374px)
   ============================================ */
@media (max-width: 374.98px) {
  .whatsapp-float {
    width: 44px;
    height: 44px;
    bottom: 10px;
    right: 8px;
    font-size: 18px;
  }
  .whatsapp-float i {
    font-size: 18px;
  }

  .call-float {
    width: 44px;
    height: 44px;
    bottom: 68px; /* 10 + 44 + 14 */
    right: 8px;
    font-size: 15px;
  }
  .call-float i {
    font-size: 15px;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    bottom: 126px; /* 68 + 44 + 14 */
    right: 8px;
    font-size: 13px;
  }
  .back-to-top i {
    font-size: 13px;
  }
}

/* ============================================
   FORCE VISIBILITY FOR BACK TO TOP
   ============================================ */
.back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: flex !important;
}
/* ============================================
   19. About Page
   ============================================ */
.page-header {
  position: relative;
  padding: 150px 0 80px;
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 100%
  );
  margin-top: calc(var(--header-height));
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/pattern-dots.png") repeat;
  opacity: 0.1;
}

.page-header-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.page-header h1 {
  font-size: var(--fs-5xl);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

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

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

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

.breadcrumb span {
  color: var(--secondary-color);
}

/* About Content */
.about-content-section {
  padding: var(--spacing-4xl) 0;
}

.about-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-4xl);
  align-items: start;
}

.about-text h2 {
  margin-bottom: var(--spacing-lg);
}

.about-text p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
}

/* Mission Vision Values */
.mvv-section {
  background: var(--bg-light);
}

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

.mvv-card {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
}

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

.mvv-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-2xl);
}

.mvv-card h3 {
  font-size: var(--fs-xl);
  margin-bottom: var(--spacing-md);
}

.mvv-card p {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Company Info Cards */
.company-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-top: var(--spacing-3xl);
}

.info-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.info-card h4 {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.info-card p {
  font-size: var(--fs-base);
  color: var(--gray-900);
  font-weight: var(--fw-medium);
  margin-bottom: 0;
}

/* ============================================
   20. Infrastructure Page
   ============================================ */
.infrastructure-intro {
  padding: var(--spacing-4xl) 0;
}

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

.infrastructure-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.infrastructure-image {
  height: 200px;
  overflow: hidden;
}

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

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

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

.infrastructure-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--spacing-sm);
}

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

/* Machinery Section */
.machinery-section {
  background: var(--bg-light);
}

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

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

.machinery-item:hover {
  box-shadow: var(--shadow-md);
}

.machinery-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: var(--fs-xl);
}

.machinery-info h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-xs);
}

.machinery-info p {
  font-size: var(--fs-sm);
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Quality Process */
.quality-process {
  padding: var(--spacing-4xl) 0;
}

.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gray-200);
}

.process-item {
  display: flex;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
  position: relative;
}

.process-item:nth-child(even) {
  flex-direction: row-reverse;
}

.process-number {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: var(--fw-bold);
  z-index: 1;
}

.process-content {
  width: calc(50% - 50px);
  background: var(--white);
  padding: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.process-content h4 {
  margin-bottom: var(--spacing-sm);
}

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

/* ============================================
   21. Products Page
   ============================================ */
.products-page-section {
  padding: var(--spacing-4xl) 0;
}

/* Product Filters */
.product-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-3xl);
}

.filter-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition-normal);
}

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

/* Products Full Grid */
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-xl);
}

/* Product Detail Modal */
.product-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.product-modal.active {
  display: flex;
}

.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  font-size: var(--fs-lg);
  cursor: pointer;
  transition: var(--transition-normal);
  z-index: 1;
}

.modal-close:hover {
  background: var(--primary-color);
  color: var(--white);
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-image {
  padding: var(--spacing-xl);
  background: var(--bg-light);
}

.modal-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.modal-info {
  padding: var(--spacing-xl);
}

.modal-info h2 {
  margin-bottom: var(--spacing-md);
}

.modal-info .product-category {
  margin-bottom: var(--spacing-md);
}

.modal-info p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.product-features {
  margin-bottom: var(--spacing-lg);
}

.product-features h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-md);
}

.product-features ul {
  list-style: none;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) 0;
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.product-features li i {
  color: var(--success-color);
}

/* ============================================
   22. Gallery Page - UPDATED
   ============================================ */
.gallery-section {
  padding: var(--spacing-4xl) 0;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-3xl);
}

/* Main Gallery Grid with auto-flow dense to prevent gaps */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: var(--spacing-md);
  grid-auto-flow: dense; /* Important: This prevents gaps when using span */
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
  min-height: 100%;
}

/* Special size classes for variety */
.gallery-item.wide {
  grid-column: span 2;
}

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

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  display: block; /* Prevents inline spacing issues */
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 95, 122, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-normal);
  pointer-events: none; /* Prevents overlay from blocking image hover */
}

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

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

.gallery-overlay i {
  font-size: var(--fs-2xl);
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.gallery-overlay span {
  color: var(--white);
  font-size: var(--fs-sm);
  text-align: center;
  padding: 0 var(--spacing-md);
}

/* Video Gallery Grid */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.video-thumbnail {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: var(--gray-100);
  overflow: hidden;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lightbox - Updated */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: var(--white);
  font-size: var(--fs-2xl);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  background: transparent;
  z-index: 10;
}

.lightbox-close:hover {
  color: var(--secondary-color);
  transform: scale(1.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--primary-color);
}

.lightbox-prev {
  left: -80px;
}

.lightbox-next {
  right: -80px;
}

.lightbox-caption {
  text-align: center;
  color: var(--white);
  padding: var(--spacing-md) 0;
  font-size: var(--fs-base);
  margin-top: var(--spacing-md);
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: var(--fs-sm);
  background: rgba(0, 0, 0, 0.5);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-full);
}

/* No Images Message */
.no-images-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--spacing-4xl) 0;
  color: var(--gray-600);
}

/* Responsive Styles for Gallery */
@media (max-width: 1199.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}

@media (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-prev {
    left: 20px;
  }

  .lightbox-next {
    right: 20px;
  }

  /* On tablets, keep special sizes but reduce span */
  .gallery-item.wide {
    grid-column: span 2;
  }

  .gallery-item.tall {
    grid-row: span 1; /* Reduce to single row on tablet */
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1; /* Reduce to single row on tablet */
  }
}

@media (max-width: 767.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  /* On mobile, remove all special sizing to prevent overlapping */
  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: var(--fs-base);
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
  }
}

@media (max-width: 479.98px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
  }
}

/* Utility class for preventing body scroll when modal is open */
.no-scroll {
  overflow: hidden;
}

/* Animation for filter transitions */
.gallery-item {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

/* Download Section Specific to Gallery Page */
.download-section {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  color: var(--white);
  padding: var(--spacing-4xl) 0;
}

.download-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.download-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: var(--fs-3xl);
}

.download-content h2 {
  font-size: var(--fs-3xl);
  color: var(--white);
  margin-bottom: var(--spacing-md);
}

.download-content p {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
}

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

/* Play button for videos */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 95, 122, 0.9);
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: var(--fs-xl);
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
}

.play-btn:hover {
  background: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Video Modal */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: calc(var(--z-modal) + 1);
  align-items: center;
  justify-content: center;
  padding: var(--spacing-xl);
}

.video-modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.video-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--white);
  font-size: var(--fs-2xl);
  cursor: pointer;
  transition: var(--transition-normal);
}

.video-close:hover {
  color: var(--secondary-color);
}

.video-container {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* ============================================
   23. Contact Page
   ============================================ */
.contact-section {
  padding: var(--spacing-4xl) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-4xl);
}

.contact-info {
  background: var(--primary-color);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  color: var(--white);
}

.contact-info h3 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.contact-info p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.contact-details .contact-item {
  display: flex;
  gap: var(--spacing-md);
}

.contact-details .contact-item i {
  width: 50px;
  height: 50px;
  min-width: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--fs-lg);
}

.contact-details .contact-item h4 {
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-xs);
}

.contact-details .contact-item p,
.contact-details .contact-item a {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-sm);
}

.contact-social h4 {
  color: var(--white);
  font-size: var(--fs-base);
  margin-bottom: var(--spacing-md);
}

.contact-social .footer-social a {
  background: rgba(255, 255, 255, 0.1);
}

.contact-social .footer-social a:hover {
  background: var(--secondary-color);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  margin-bottom: var(--spacing-lg);
}

/* Map Section */
.map-section {
  padding: var(--spacing-4xl) 0;
  background: var(--bg-light);
}

.map-container {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   24. Forms
   ============================================ */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
}

.form-label .required {
  color: var(--error-color);
}

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

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

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

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

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.form-submit {
  margin-top: var(--spacing-lg);
}

/* Form Validation */
.form-control.error {
  border-color: var(--error-color);
}

.form-control.success {
  border-color: var(--success-color);
}

.error-message {
  color: var(--error-color);
  font-size: var(--fs-sm);
  margin-top: var(--spacing-xs);
}

/* ============================================
   25. Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--fs-xs);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ============================================
   26. Cards
   ============================================ */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

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

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

.card-body {
  padding: var(--spacing-lg);
}

.card-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--spacing-sm);
}

.card-text {
  color: var(--gray-600);
  margin-bottom: var(--spacing-md);
}

/* ============================================
   27. Animations
   ============================================ */
/* Fade In Up */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Fade In Left */
.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-left.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Fade In Right */
.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in-right.animated {
  opacity: 1;
  transform: translateX(0);
}

/* Scale In */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.scale-in.animated {
  opacity: 1;
  transform: scale(1);
}

/* Hover Effects */
.hover-lift {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ============================================
   28. Responsive Design - COMPLETELY REVISED
   ============================================ */

/* Large Devices (Desktops, less than 1400px) */
@media (max-width: 1399.98px) {
  :root {
    --fs-6xl: 3.5rem;
    --fs-5xl: 2.75rem;
    --fs-4xl: 2rem;
  }

  .products-grid,
  .products-full-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium Devices (Tablets, less than 1200px) */
@media (max-width: 1199.98px) {
  :root {
    --fs-6xl: 3rem;
    --fs-5xl: 2.5rem;
    --fs-4xl: 1.875rem;
  }

  .industries-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .company-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================
   Tablet & Mobile Navigation - ENHANCED
   ============================================ */
@media (max-width: 991.98px) {
  :root {
    --fs-6xl: 2.5rem;
    --fs-5xl: 2rem;
    --fs-4xl: 1.75rem;
    --fs-3xl: 1.5rem;
  }

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

  /* Show hamburger menu */
  .nav-toggle {
    display: flex;
  }

  /* Mobile Navigation Menu - LEFT ALIGNED */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    height: 100dvh; /* Dynamic viewport height for mobile */
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 0 30px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-fixed);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

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

  /* Mobile Menu Overlay */
  .nav-menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }

  .nav-menu.active::before {
    opacity: 1;
    visibility: visible;
    left: -100vw;
  }

  /* Mobile Nav Items - LEFT ALIGNED */
  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
  }

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

  .nav-link {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-800);
    text-align: left;
    width: 100%;
    transition: all 0.2s ease;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 28px;
  }

  .nav-link.active {
    border-left: 3px solid var(--primary-color);
    background: rgba(26, 95, 122, 0.05);
  }

  /* Mobile CTA Button */
  .nav-cta {
    padding: 20px 24px;
    margin-top: auto;
    border-top: 1px solid var(--gray-200);
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 14px;
  }

  /* Scrolled state adjustments for mobile */
  .header.scrolled .navbar {
    padding: 10px 0;
  }

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

  /* Hero */
  .hero {
    height: auto;
    min-height: 70vh;
  }

  .hero-slide .container {
    padding-top: var(--spacing-3xl);
    padding-bottom: var(--spacing-3xl);
  }

  .slider-nav {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  /* About Grid */
  .about-intro-grid,
  .why-choose-grid,
  .about-content-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .about-intro-image .image-wrapper::before {
    display: none;
  }

  .experience-badge {
    bottom: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
  }

  .experience-badge .years {
    font-size: var(--fs-2xl);
  }

  /* Why Choose Image Grid */
  .image-grid {
    height: 400px;
  }

  /* Products Grid */
  .products-grid,
  .products-full-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Certifications */
  .certifications-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* MVV Grid */
  .mvv-grid {
    grid-template-columns: 1fr;
  }

  /* Infrastructure Grid */
  .infrastructure-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Machinery List */
  .machinery-list {
    grid-template-columns: 1fr;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Modal */
  .modal-body {
    grid-template-columns: 1fr;
  }

  /* Lightbox Nav */
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* ============================================
   Mobile Devices (less than 768px)
   ============================================ */
@media (max-width: 767.98px) {
  :root {
    --fs-6xl: 2rem;
    --fs-5xl: 1.75rem;
    --fs-4xl: 1.5rem;
    --fs-3xl: 1.25rem;
    --fs-2xl: 1.125rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

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

  /* Top Bar Hidden on Mobile */
  .top-bar {
    display: none;
  }

  .hero {
    margin-top: var(--header-height);
  }

  /* Navbar Mobile Adjustments */
  .navbar {
    padding: 12px 0;
  }

  .logo img {
    height: 45px;
  }

  .header.scrolled .navbar {
    padding: 10px 0;
  }

  .header.scrolled .logo img {
    height: 38px;
  }

  /* Hero */
  .hero-buttons {
    flex-direction: column;
  }

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

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .stat-item {
    padding: 20px 15px;
  }

  /* About Features */
  .about-features {
    grid-template-columns: 1fr;
  }

  /* Products Grid */
  .products-grid,
  .products-full-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  /* Industries Grid */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--spacing-lg);
  }

  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
  }

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

  /* ============================================
     FOOTER - LEFT ALIGNED ON MOBILE
     ============================================ */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    text-align: left;
  }

  .footer-col {
    padding: 0;
  }

  /* Footer Logo Section */
  .footer-logo {
    margin-bottom: var(--spacing-md);
  }

  .footer-logo img {
    height: 45px;
  }

  .footer-about {
    font-size: var(--fs-sm);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
  }

  /* Footer Title with Left-Aligned Underline */
  .footer-title {
    font-size: var(--fs-base);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
  }

  .footer-title::after {
    left: 0;
    transform: none;
    width: 40px;
  }

  /* Footer Social - Left Aligned */
  .footer-social {
    justify-content: flex-start;
    gap: var(--spacing-sm);
  }

  .footer-social a {
    width: 36px;
    height: 36px;
  }

  /* Footer Links - Left Aligned */
  .footer-links {
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .footer-links a {
    font-size: var(--fs-sm);
    padding: 4px 0;
  }

  /* Footer Contact - Horizontal Layout */
  .footer-contact {
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .contact-item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: var(--spacing-md);
  }

  .contact-item i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: var(--fs-sm);
  }

  .contact-item p {
    font-size: var(--fs-sm);
    line-height: 1.5;
  }

  .contact-item a {
    font-size: var(--fs-sm);
  }

  /* Footer Bottom */
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .copyright,
  .developer {
    font-size: var(--fs-xs);
  }

  /* Form Row */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Infrastructure Grid */
  .infrastructure-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
  }

  /* Company Info Grid */
  .company-info-grid {
    grid-template-columns: 1fr;
  }

  /* Page Header */
  .page-header {
    padding: 120px 0 60px;
  }

  .page-header h1 {
    font-size: var(--fs-3xl);
  }

  /* WhatsApp & Back to Top */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    right: 15px;
    bottom: 15px;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    right: 15px;
    bottom: 80px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

/* ============================================
   Extra Small Devices (less than 576px)
   ============================================ */
@media (max-width: 575.98px) {
  .nav-menu {
    width: 100%;
    max-width: 100%;
  }

  /* Stats: Keep 2 columns but smaller text */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-item {
    padding: 15px 10px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .stat-number {
    font-size: 1.25rem;
  }

  .stat-suffix {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }

  /* --- PRODUCT GRID FIX --- */
  /* Switched to 1 column so cards don't look broken */
  .products-grid,
  .products-full-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5px;
  }

  .product-image {
    height: 200px; /* Increased height for better visibility */
  }

  .product-content {
    padding: 15px;
  }

  .product-title {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  /* Show description now that we have 1 column */
  .product-description {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
  }

  .product-category {
    font-size: 0.75rem;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .industry-card {
    padding: 15px 10px;
  }

  .industry-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  .industry-card h3 {
    font-size: 0.8rem;
    margin-bottom: 0;
  }

  .industry-card p {
    display: none;
  }
}

/* ============================================
   Extra Extra Small Devices (less than 480px)
   ============================================ */
@media (max-width: 479.98px) {
  :root {
    --fs-6xl: 1.75rem;
    --fs-5xl: 1.5rem;
    --fs-4xl: 1.25rem;
  }

  .logo-text {
    display: none;
  }

  .experience-badge {
    width: 80px;
    height: 80px;
  }

  .experience-badge .years {
    font-size: var(--fs-xl);
  }

  .experience-badge .text {
    font-size: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .image-grid {
    height: 300px;
    grid-template-columns: 1fr;
  }

  .grid-img-1 {
    grid-row: span 1;
  }
}

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

  .hero {
    margin-top: 0;
    height: auto;
    min-height: auto;
  }

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

  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   High Contrast Mode
   ============================================ */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #004d66;
    --secondary-color: #cc6600;
  }

  .btn {
    border-width: 3px;
  }
}

/* ============================================
   FILTER BUTTONS - HORIZONTAL SCROLLABLE
   ============================================ */

.product-filters-wrapper {
  position: relative;
  margin-bottom: var(--spacing-xl);
  display: flex;
  align-items: center;
}

.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-full);
  color: var(--gray-600);
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-md);
}

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

.scroll-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.scroll-btn.scroll-left {
  left: 0;
}

.scroll-btn.scroll-right {
  right: 0;
}

.product-filters {
  display: flex;
  gap: var(--spacing-sm);
  overflow-x: auto;
  padding: var(--spacing-sm) 50px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1;
}

.product-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  background: var(--white);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-full);
  font-family: var(--font-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  cursor: pointer;
  transition: var(--transition-normal);
  white-space: nowrap;
  flex-shrink: 0;
}

.filter-btn i {
  font-size: var(--fs-xs);
  color: var(--gray-500);
}

.filter-btn .filter-name {
  display: inline;
}

.filter-btn .filter-count {
  font-size: var(--fs-xs);
  opacity: 0.7;
}

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

.filter-btn:hover i {
  color: var(--primary-color);
}

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

.filter-btn.active i {
  color: var(--white);
}

/* Active Filters Display */
.active-filters {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: rgba(26, 95, 122, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 95, 122, 0.1);
}

.active-filters-label {
  font-size: var(--fs-sm);
  color: var(--gray-600);
}

.active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-md);
  background: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.remove-filter {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: var(--radius-full);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition-normal);
  font-size: var(--fs-xs);
}

.remove-filter:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .scroll-btn {
    display: none;
  }

  .product-filters {
    padding: var(--spacing-sm);
  }
}

@media (max-width: 575.98px) {
  .filter-btn {
    padding: var(--spacing-xs) var(--spacing-md);
    font-size: var(--fs-xs);
  }

  .filter-btn .filter-count {
    display: none;
  }
}

/* Add to your CSS file */

.product-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.product-price-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
}

.image-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  overflow-x: auto;
}

.image-thumbs img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.image-thumbs img:hover {
  border-color: var(--primary-color);
}

.modal-video-container {
  margin-top: 10px;
}

/* ============================================
   MEGA DROPDOWN NAVIGATION STYLES
   Add this to your style.css file
   ============================================ */

/* Dropdown Container Setup */
.nav-item.has-dropdown {
  position: static;
}

@media (min-width: 992px) {
  .navbar > .container {
    position: relative;
  }
}

/* Dropdown Toggle */
.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.3s ease;
  margin-left: 2px;
}

.nav-item.has-dropdown:hover .dropdown-arrow,
.nav-item.has-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

/* ============================================
   MEGA DROPDOWN - DESKTOP
   ============================================ */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-top: 3px solid var(--secondary-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

/* Show dropdown on hover - Desktop only */
@media (min-width: 992px) {
  .nav-item.has-dropdown:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.mega-dropdown-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Dropdown Inner Grid */
.mega-dropdown-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  padding: 30px 0;
}

/* Dropdown Columns */
.dropdown-column {
  min-width: 0;
}

.dropdown-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  position: relative;
}

.dropdown-heading::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--secondary-color);
}

.dropdown-heading i {
  font-size: 14px;
  color: var(--secondary-color);
  width: 20px;
  text-align: center;
}

.dropdown-heading-mt {
  margin-top: 20px;
}

/* Dropdown Links */
.dropdown-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-links li {
  margin: 0;
}

.dropdown-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
}

.dropdown-links a i {
  font-size: 10px;
  color: var(--gray-400);
  transition: all 0.2s ease;
  opacity: 0;
  transform: translateX(-5px);
}

.dropdown-links a:hover {
  color: var(--primary-color);
  background: rgba(26, 95, 122, 0.06);
  padding-left: 16px;
}

.dropdown-links a:hover i {
  opacity: 1;
  transform: translateX(0);
  color: var(--secondary-color);
}

/* Dropdown Footer */
.dropdown-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 12px;
  margin: 0 0 25px 0;
}

.dropdown-footer-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--white);
  color: var(--primary-color);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.view-all-btn:hover {
  background: var(--secondary-color);
  color: var(--white);
  transform: translateX(5px);
}

.view-all-btn i:last-child {
  transition: transform 0.3s ease;
}

.view-all-btn:hover i:last-child {
  transform: translateX(5px);
}

.new-items-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.new-items-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: var(--white);
}

.dropdown-footer-right {
  display: flex;
  align-items: center;
}

.dropdown-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.dropdown-contact > i {
  font-size: 24px;
  color: var(--secondary-color);
}

.dropdown-contact-text {
  display: flex;
  flex-direction: column;
}

.dropdown-contact-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.dropdown-contact-text a {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dropdown-contact-text a:hover {
  color: var(--secondary-color);
}

/* ============================================
   DROPDOWN ANIMATIONS - DESKTOP
   ============================================ */
@media (min-width: 992px) {
  @keyframes dropdownFadeIn {
    from {
      opacity: 0;
      transform: translateY(15px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-item.has-dropdown:hover .mega-dropdown {
    animation: dropdownFadeIn 0.3s ease forwards;
  }

  /* Staggered animation for columns */
  .nav-item.has-dropdown:hover .dropdown-column:nth-child(1) {
    animation: dropdownFadeIn 0.3s ease 0.05s both;
  }
  .nav-item.has-dropdown:hover .dropdown-column:nth-child(2) {
    animation: dropdownFadeIn 0.3s ease 0.1s both;
  }
  .nav-item.has-dropdown:hover .dropdown-column:nth-child(3) {
    animation: dropdownFadeIn 0.3s ease 0.15s both;
  }
  .nav-item.has-dropdown:hover .dropdown-column:nth-child(4) {
    animation: dropdownFadeIn 0.3s ease 0.2s both;
  }
  .nav-item.has-dropdown:hover .dropdown-column:nth-child(5) {
    animation: dropdownFadeIn 0.3s ease 0.25s both;
  }
  .nav-item.has-dropdown:hover .dropdown-footer {
    animation: dropdownFadeIn 0.3s ease 0.3s both;
  }
}

/* ============================================
   DROPDOWN RESPONSIVE - TABLET (992px - 1199px)
   ============================================ */
@media (max-width: 1199.98px) and (min-width: 992px) {
  .mega-dropdown-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .dropdown-column:nth-child(4),
  .dropdown-column:nth-child(5) {
    display: none;
  }

  .dropdown-footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .dropdown-footer-left {
    flex-direction: column;
  }
}

/* ============================================
   DROPDOWN RESPONSIVE - MOBILE (< 992px) - FIXED
   ============================================ */
@media (max-width: 991.98px) {
  /* Mobile dropdown toggle */
  .nav-item.has-dropdown {
    flex-direction: column !important;
    width: 100% !important;
  }

  .nav-item.has-dropdown > .nav-link {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .dropdown-arrow {
    font-size: 12px !important;
    padding: 8px !important;
    margin-right: -8px !important;
  }

  /* Mobile mega dropdown - THIS IS THE KEY FIX */
  .mega-dropdown {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: none !important;
    border-radius: 0 !important;
    background: rgba(26, 95, 122, 0.03) !important;
    border-left: 3px solid var(--secondary-color) !important;
    transition: max-height 0.4s ease !important;
  }

  .nav-item.has-dropdown.active .mega-dropdown {
    max-height: 3000px !important;
    overflow-y: auto !important;
  }

  .mega-dropdown-container {
    padding: 0 !important;
  }

  .mega-dropdown-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    padding: 10px 0 !important;
    grid-template-columns: unset !important;
  }

  /* Dropdown Columns */
  .dropdown-column {
    padding: 0 !important;
    border-bottom: 1px solid rgba(26, 95, 122, 0.1) !important;
    min-width: unset !important;
  }

  .dropdown-column:last-of-type {
    border-bottom: none !important;
  }

  /* Category Headings */
  .dropdown-heading {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 14px 20px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 14px !important;
    border-bottom: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    color: var(--primary-dark) !important;
    cursor: pointer !important;
    user-select: none !important;
    background: rgba(26, 95, 122, 0.05) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    position: relative !important;
  }

  .dropdown-heading::after {
    display: none !important;
  }

  .dropdown-heading i:first-child {
    font-size: 12px !important;
    width: 18px !important;
    color: var(--secondary-color) !important;
  }

  /* Arrow for expand/collapse */
  .dropdown-heading::before {
    content: "\f054" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
    font-size: 10px !important;
    position: absolute !important;
    right: 20px !important;
    color: var(--gray-500) !important;
    transition: transform 0.3s ease !important;
  }

  .dropdown-column.expanded .dropdown-heading::before {
    transform: rotate(90deg) !important;
    color: var(--secondary-color) !important;
  }

  .dropdown-column.expanded .dropdown-heading {
    background: rgba(26, 95, 122, 0.1) !important;
    color: var(--primary-color) !important;
  }

  .dropdown-heading-mt {
    margin-top: 0 !important;
    border-top: 1px solid rgba(26, 95, 122, 0.1) !important;
  }

  /* Product Links - THE CRITICAL FIX */
  .dropdown-column .dropdown-links {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.35s ease !important;
    background: rgba(255, 255, 255, 0.5) !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  /* Show links when expanded */
  .dropdown-column.expanded .dropdown-links {
    max-height: 800px !important;
  }

  .dropdown-links li {
    margin: 0 !important;
    display: block !important;
  }

  .dropdown-links a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 12px 20px 12px 50px !important;
    font-size: 13px !important;
    color: var(--gray-600) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
  }

  .dropdown-links li:last-child a {
    border-bottom: none !important;
  }

  .dropdown-links a i {
    opacity: 1 !important;
    transform: translateX(0) !important;
    font-size: 8px !important;
    color: var(--secondary-color) !important;
  }

  .dropdown-links a:hover,
  .dropdown-links a:active {
    background: rgba(26, 95, 122, 0.08) !important;
    color: var(--primary-color) !important;
    padding-left: 55px !important;
  }

  /* Dropdown Footer */
  .dropdown-footer {
    margin: 15px !important;
    padding: 15px !important;
    flex-direction: column !important;
    gap: 12px !important;
    border-radius: 10px !important;
  }

  .dropdown-footer-left {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .view-all-btn,
  .new-items-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 20px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }

  .dropdown-footer-right {
    width: 100% !important;
    justify-content: center !important;
    padding-top: 10px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
  }

  .dropdown-contact {
    justify-content: center !important;
  }

  .dropdown-contact > i {
    font-size: 22px !important;
  }

  .dropdown-contact-text {
    align-items: center !important;
  }

  .dropdown-contact-text span {
    font-size: 11px !important;
  }

  .dropdown-contact-text a {
    font-size: 15px !important;
  }

  /* Touch improvements */
  .dropdown-heading,
  .dropdown-links a {
    min-height: 44px !important;
  }

  .dropdown-toggle,
  .dropdown-heading {
    -webkit-tap-highlight-color: transparent !important;
    user-select: none !important;
  }
}

/* ============================================
   EXTRA SMALL MOBILE (< 576px) - FIXED
   ============================================ */
@media (max-width: 575.98px) {
  .dropdown-heading {
    padding: 12px 16px !important;
    font-size: 11px !important;
  }

  .dropdown-heading i:first-child {
    font-size: 11px !important;
    width: 16px !important;
  }

  .dropdown-heading::before {
    right: 16px !important;
  }

  .dropdown-links a {
    padding: 10px 16px 10px 44px !important;
    font-size: 12px !important;
  }

  .dropdown-links a:hover,
  .dropdown-links a:active {
    padding-left: 48px !important;
  }

  .dropdown-footer {
    margin: 10px !important;
    padding: 12px !important;
  }

  .view-all-btn,
  .new-items-btn {
    padding: 12px 16px !important;
    font-size: 12px !important;
  }
}
