.product-lines .card,
.info-cards .card {
  border-radius: 14px !important;
  overflow: hidden !important;
  transition: transform .3s ease, box-shadow .3s ease !important;
}
.product-lines .card:hover,
.info-cards .card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.16) !important;
}
.product-lines .card .card-img-top {
  filter: saturate(105%) contrast(1.02);
}
.info-list li { display: flex; align-items: center; gap: .5rem; }
.info-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.info-badges .badge {
  background: rgba(220,38,38,.08) !important;
  color: #B91C1C !important;
  border: 1px solid rgba(220,38,38,.25) !important;
  font-weight: 700 !important;
}

/* Products page enhanced styling */
.products .product-item {
  margin-bottom: 2rem !important;
}

.products .product-grid {
  margin-top: 2rem !important;
}

.products .badge.bg-light.text-dark {
  background: #f8f9fa !important;
  border: 1px solid #e5e7eb !important;
}

.products .product-card .product-tags { 
  min-height: 28px; 
  margin-bottom: .5rem; 
}

.products .product-card .card-body { 
  display: flex; 
  flex-direction: column; 
}

.products .product-card .card-body .mt-auto { 
  margin-top: auto !important; 
}

/* Enhanced filter styling */
.product-filters {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
  padding: 2rem !important;
  border-radius: 20px !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  position: sticky !important;
  top: 2rem !important;
}

.filter-title {
  color: #DC2626 !important;
  font-weight: 700 !important;
  border-bottom: 3px solid #DC2626 !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 1.5rem !important;
  font-size: 1.1rem !important;
}

.form-check-input:checked {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25) !important;
}

.form-check-label {
  font-weight: 500 !important;
  color: #495057 !important;
  cursor: pointer !important;
  transition: color 0.3s ease !important;
}

.form-check-label:hover {
  color: #DC2626 !important;
}
/* Blue Lift Custom Styles */
/* =========================== */

/* Home Page Product Carousel Button Styling */
.premium-product-card .btn-outline-primary {
  border-color: #3B82F6 !important;
  color: #3B82F6 !important;
  background-color: white !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.premium-product-card .btn-outline-primary:hover {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3) !important;
}

.premium-product-card .btn-success {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
  border-color: #10B981 !important;
  color: white !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

.premium-product-card .btn-success:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  border-color: #059669 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3) !important;
}

/* Logo Size and Positioning - Global */
.logo img {
  max-height: 50px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

/* Header Logo Positioning - Override all conflicting styles */
.header .logo,
header.header .logo,
.header-wrapper .logo {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  margin: 0 0 0 3rem !important;
  flex-shrink: 0 !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Ensure logo images display properly */
.header .logo img,
header.header .logo img,
.header-wrapper .logo img {
  max-height: 50px !important;
  max-width: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.header-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  padding: 0.5rem 0 !important;
  gap: 5rem !important;
  position: relative !important;
}

/* Ensure header container positioning */
.header .container {
  position: relative !important;
  z-index: 10 !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Navigation menu spacing */
.header-menu {
  gap: 2.5rem !important;
}

.header-menu .header-item {
  margin: 0 0.75rem !important;
}

/* Additional navigation spacing */
.header nav {
  margin-left: 2rem !important;
}

.header-wrapper .logo {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Transparent Header with Scroll Effect */
.header {
  z-index: 1050 !important;
  background-color: transparent !important;
  backdrop-filter: none !important;
  transition: all 0.3s ease !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding: 50px 0 !important;
  min-height: 125px !important;
  margin-bottom: 1rem !important;
}

/* Ensure navbar is transparent */
.navbar {
  background-color: transparent !important;
  backdrop-filter: none !important;
}

.navbar-brand,
.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.header.scrolled {
  background: rgba(0, 0, 0, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
  padding: 40px 0 !important;
  min-height: 115px !important;
}

/* Remove any red lines/borders from navbar */
.navbar,
.navbar-nav,
.nav-link {
  border: none !important;
  box-shadow: none !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Simple and elegant animations */
.premium-product-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.equipment-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.equipment-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Improved Button Styling */
.btn {
  transition: all 0.3s ease !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  font-family: 'Montserrat', sans-serif !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
}

.btn-primary {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4) !important;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  color: white !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: white !important;
  color: white !important;
}

/* Card entrance animation on scroll */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-product-card,
.equipment-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* 3D Hero Section */
.hero-section-3d {
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0f0f0f 60%), linear-gradient(to bottom, rgba(0,0,0,0) 70%, #ffffff 100%);
  min-height: 100vh;
  padding-top: 140px; /* Increased padding for more gap between header and hero */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Hero Background Video */
.hero-video-background {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  overflow: hidden !important;
}

.hero-bg-video {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%) !important;
  object-fit: cover !important;
  z-index: 1 !important;
  opacity: 0.6 !important;
  /* Removed blur for crisp video quality */
  /* Optimizations for smooth playback */
  will-change: transform !important;
  transform-style: preserve-3d !important;
  backface-visibility: hidden !important;
  -webkit-transform-style: preserve-3d !important;
  -webkit-backface-visibility: hidden !important;
}

.video-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: radial-gradient(ellipse at center, rgba(26, 26, 46, 0.4) 0%, rgba(15, 15, 15, 0.6) 60%) !important;
  z-index: 2 !important;
}

.hero-title-main {
  font-size: 3.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.1;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 2rem; /* Added top margin for more spacing from header */
}

.hero-title-main .text-primary {
  font-weight: 700;
}

.hero-content {
  padding: 1rem 0;
  width: 100%;
  margin-top: 0; /* Reset margin to create proper spacing */
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 1);
  line-height: 1.8;
  font-weight: 400;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.hero-badge {
  display: inline-block;
}

.badge-text {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title-3d {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
}

.hero-subtitle-3d {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.hero-actions-3d .btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.hero-badges-3d {
  margin-top: 1.5rem;
}

.badge-premium {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.badge-premium:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Badge logo styling */
.hero-badges .badge-logo {
  height: 80px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  margin: 0 15px;
}

.hero-badges .badge-logo:hover {
  transform: translateY(-3px) scale(1.05);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
}

@media (max-width: 768px) {
  .hero-badges .badge-logo {
    height: 65px;
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .hero-badges .badge-logo {
    height: 55px;
    margin: 0 8px;
  }
}

/* Contact Section Styling */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info, .contact-form {
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.contact-info:hover, .contact-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form Styling */
.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-select:focus ~ label {
  color: var(--bs-primary);
}

/* Google Maps Fix */
.maps-section {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

.maps-section iframe {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  outline: none !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

/* Footer spacing fix */
.footer {
  margin-top: 0 !important;
  padding-top: 3rem !important;
  line-height: normal !important;
  font-size: 1rem !important;
}

/* Footer container alignment */
.footer .container {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

/* Footer Logo and Content Spacing */
.footer .logo {
  margin-bottom: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.footer .logo img {
  max-height: 60px !important;
  max-width: 180px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.footer .d-flex.align-items-center.gap-4 {
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
  justify-content: flex-start !important;
}

.footer .footer-logo {
  transition: all 0.3s ease !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.footer .footer-logo:hover {
  transform: translateY(-2px) scale(1.05) !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) !important;
}

/* Footer Content Spacing */
.footer .col-lg-4 .d-flex.flex-column.gap-6 {
  gap: 1.5rem !important;
}

.footer .col-lg-4 .d-flex.flex-column.gap-6 p {
  margin-bottom: 1rem !important;
}

/* Responsive footer adjustments */
@media (max-width: 768px) {
  .footer .footer-logo {
    height: 45px !important;
    width: auto !important;
  }
  
  .footer .d-flex.align-items-center.gap-4 {
    gap: 1rem !important;
    margin-top: 1rem !important;
    margin-bottom: 0.5rem !important;
    justify-content: flex-start !important;
  }
  
  .footer .logo {
    margin-bottom: 1rem !important;
  }
  
  .footer .logo img {
    max-height: 50px !important;
    max-width: 140px !important;
  }
}

/* Additional gap fixes */
.container-fluid.px-0 {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure no gaps from page wrapper */
.page-wrapper {
  margin-bottom: 0 !important;
}

/* Remove any potential whitespace */
body {
  line-height: 1.5;
  scroll-behavior: auto !important;
}

/* Ensure page loads at top */
html {
  scroll-behavior: smooth !important;
}

/* Smooth scrolling for all elements */
* {
  scroll-behavior: smooth;
}

/* Ensure smooth scrolling on all browsers */
html, body {
  scroll-behavior: smooth !important;
}

/* Force remove any gaps */
.maps-section + .footer {
  margin-top: 0 !important;
}

.hero-coverflow-wrapper {
  padding: 2rem 0;
}

.info-3d h3 {
  font-size: 1.75rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.info-3d p {
  font-size: 1rem;
}

.coverflow-container-hero {
  position: relative;
  height: 320px;
  margin: 0.5rem 0;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.hero-carousel-section {
  margin: 0.5rem 0 1.5rem 0;
}

/* Dots: adjust slightly below */
.coverflow-container-hero .dots-container {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
}

/* Fix nav button positioning */
.coverflow-container-hero .nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10;
}

.coverflow-container-hero .nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.coverflow-container-hero .nav-button.prev {
  left: -80px;
}

.coverflow-container-hero .nav-button.next {
  right: -80px;
}

/* Responsive carousel arrow positioning */
@media (max-width: 768px) {
  .coverflow-container-hero .nav-button.prev {
    left: -40px;
  }
  
  .coverflow-container-hero .nav-button.next {
    right: -40px;
  }
  
  .coverflow-container-hero .nav-button {
    width: 50px !important;
    height: 50px !important;
    font-size: 20px !important;
  }
}

/* Remove image loading icon */
.image-loading::after {
  display: none !important;
}

/* Override 3D carousel default behavior - keep it always expanded */
.coverflow {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform-style: preserve-3d !important;
  position: relative !important;
}

/* Clean Equipment Categories */
.equipment-categories-section {
  background: #f8f9fa;
}

.category-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.category-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.8), rgba(185, 28, 28, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: all 0.3s ease;
  padding: 2rem;
}

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

.category-title {
  font-size: 1.5rem;
  font-weight: 600;
}

.category-desc {
  font-size: 1rem;
}

.category-content {
  padding: 1.5rem;
}

.category-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.spec-badge {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* Service Categories Section */
.service-categories-section {
  display: flex;
  flex-flow: column wrap;
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.service-article {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 100vh;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.service-article > * {
  grid-column: 1;
  grid-row: 1;
}

.panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18.5rem, 1fr));
  z-index: 20;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  gap: 0;
}

.panel {
  animation: scale-in-ver-center 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  opacity: 0;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  will-change: transform;
  contain: layout style;
}

.panel a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: white;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 30;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  border-radius: inherit;
  outline: none;
}

.panel a:focus {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

.panel a:focus .panel-header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
}

.panel img {
  filter: brightness(0.33);
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.8rem;
  position: relative;
  z-index: 30;
  text-align: center;
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.panel-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.3;
}

.panel:nth-of-type(1) {
  animation-delay: 0.35s;
}

.panel:nth-of-type(2) {
  animation-delay: 0.7s;
}

.panel:nth-of-type(3) {
  animation-delay: 1.05s;
}

.panel:nth-of-type(4) {
  animation-delay: 1.4s;
}

.service-categories-section .panels .panel:hover {
  box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
  transform: translateY(-1px) !important;
  z-index: 30;
}

.panel:hover .panel-header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  transform: translateY(-2px);
}

.panel:hover .panel-title {
  color: #ffffff;
  transform: scale(1.05);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.panel:hover img {
  filter: brightness(1.1) contrast(1.1);
  transform: scale(1.03);
}

.panel svg {
  width: 3rem;
  height: 3rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fill {
  fill: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Featured Projects (Featured Products) – tighten spacing & improve readability */
.featured-projects {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* Product Image Text Overlays */
.product-image-overlay {
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(20px);
}

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

.image-text {
  color: white;
}

.image-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.image-description {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
  line-height: 1.4;
}

/* Enhanced Product Cards */
.premium-product-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
  height: 280px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-product-card:hover .product-image {
  transform: scale(1.05);
}

/* Simplified Section Dividers */
.round-32 {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}

/* Enhanced Products Page Styles */
.products-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.product-filters {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-filters:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.filter-section {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
}

.filter-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.filter-title {
  color: #374151;
  font-weight: 600;
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-check-label {
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.form-check-label:hover {
  color: var(--bs-primary);
}

/* Enhanced Product Cards */
.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--bs-primary) !important;
}

.product-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-img img {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.product-overlay .btn {
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-features .badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.product-features .badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Enhanced Pagination */
.pagination {
  gap: 0.5rem;
}

.pagination .page-link {
  border: 1px solid #dee2e6;
  color: #000000;
  background-color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 500;
}

.pagination .page-link:hover {
  background-color: #000000;
  color: white;
  border-color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination .page-item.active .page-link {
  background-color: #000000;
  color: white;
  border-color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.pagination .page-item.disabled .page-link {
  color: #d1d5db;
  cursor: not-allowed;
  background-color: transparent;
}

/* Active Filters */
.active-filters {
  background: rgba(var(--bs-primary-rgb), 0.05);
  border: 1px solid rgba(var(--bs-primary-rgb), 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.active-filters .badge {
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.active-filters .badge:hover {
  background-color: var(--bs-danger) !important;
  transform: scale(1.05);
}

/* No Results */
.no-results-content {
  padding: 3rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 2px dashed rgba(0, 0, 0, 0.1);
}

.no-results-content iconify-icon {
  display: block;
  margin: 0 auto;
  color: #d1d5db;
}

/* Enhanced Form Controls */
.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
  .product-filters {
    position: static !important;
    margin-bottom: 2rem;
  }
  
  .product-img {
    height: 200px;
  }
  
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .active-filters {
    padding: 0.75rem;
  }
  
  .no-results-content {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .product-card {
    margin-bottom: 1.5rem;
  }
  
  .product-img {
    height: 180px;
  }
  
  .pagination {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .pagination .page-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

.border-line {
  border: none;
  height: 1px;
  background: var(--bs-primary);
  opacity: 0.4;
  margin: 0;
  min-width: 60px;
  flex-grow: 1;
}

/* Enhanced Services Section */
.service-categories-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.service-highlights .badge {
  font-weight: 500;
  font-size: 0.875rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
}

.service-highlights .badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: var(--bs-primary) !important;
  color: white !important;
  border-color: var(--bs-primary);
}

/* Enhanced Content Blocks Section */
.content-blocks-section {
  background: #ffffff;
  position: relative;
}

.enhanced-content-wrapper {
  position: relative;
}

.content-block {
  padding: 4rem 0;
  position: relative;
}

.content-block:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--bs-primary), transparent);
}

.content-icon .icon-wrapper {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-block:hover .content-icon .icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.content-text h3 {
  color: #111827;
  line-height: 1.2;
}

.content-text .lead {
  color: #6b7280;
  line-height: 1.7;
}

.features-grid .feature-item {
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}

.features-grid .feature-item:hover {
  background: rgba(var(--bs-primary-rgb), 0.05);
  border-color: rgba(var(--bs-primary-rgb), 0.1);
  transform: translateY(-2px);
}

.content-image-enhanced {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
}

.content-image-enhanced .image-bg-pattern {
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(var(--bs-primary-rgb), 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.content-image-enhanced img {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.content-block:hover .content-image-enhanced img {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.image-badge {
  z-index: 3;
  backdrop-filter: blur(10px);
}

.image-badge .badge {
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.featured-projects h2 {
  color: #111827 !important;
  letter-spacing: -0.2px !important;
  margin-bottom: 0.75rem !important;
}
.featured-projects p {
  color: #4b5563 !important;
}
.featured-projects .d-flex.flex-column {
  row-gap: 2rem !important;
}
.featured-projects .row.gap-7,
.featured-projects .row.gap-xl-0 {
  row-gap: 1.25rem !important;
}

/* Content Blocks – tighter vertical rhythm */
.content-blocks-section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}
.content-blocks-section h3 {
  color: #111827 !important;
  letter-spacing: -0.2px !important;
  margin-bottom: 1rem !important;
}
.content-blocks-section p.lead {
  color: #4b5563 !important;
  line-height: 1.8 !important;
}
.content-blocks-section .row.align-items-center {
  margin-bottom: 2rem !important;
  padding-bottom: 2rem !important;
}

/* Animation keyframes */
@keyframes scale-in-ver-center {
  0% {
    transform: scaleY(0);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-10rem);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-in-left {
  0% {
    transform: translateX(-100rem);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-in-right {
  0% {
    transform: translateX(100rem);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Content Blocks */
.content-blocks-section {
  background: white;
}

.content-image img {
  border-radius: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .category-image {
    height: 200px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  /* Service panels mobile optimization */
  .service-article {
    grid-template-rows: auto;
    min-height: auto;
  }
  
  .panels {
    grid-template-columns: 1fr;
    height: auto;
    gap: 1rem;
  }
  
  .panel {
    height: 300px;
  }
  
  .panel-header {
    padding: 0.8rem 0.6rem;
  }
  
  .panel-title {
    font-size: 1rem;
    margin: 0;
  }
  
  /* Enhanced services mobile */
  .service-highlights {
    justify-content: center !important;
  }
  
  .service-highlights .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem !important;
  }
  
  /* Enhanced content blocks mobile */
  .content-block {
    padding: 2rem 0;
  }
  
  .content-text {
    padding: 0 !important;
    margin-bottom: 2rem;
  }
  
  .features-grid .feature-item {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .content-icon .icon-wrapper {
    padding: 0.75rem !important;
  }
  
  .content-icon .icon-wrapper iconify-icon {
    font-size: 1.5rem !important;
  }

  /* Mobile responsive for 3D hero */
  .hero-section-3d {
    padding-top: 100px; /* Reduced padding for mobile */
  }
  
  .hero-title-main {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .hero-subtitle {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badges {
    margin-top: 2rem;
  }
  
  .coverflow-container-hero {
    height: 300px;
  }
  
  .coverflow-container-hero .nav-button.prev {
    left: -15px;
  }

  .coverflow-container-hero .nav-button.next {
    right: -15px;
  }
  
  .info-3d h3 {
    font-size: 1.5rem;
  }
}

/* Adjust header container for better logo positioning */
@media (min-width: 992px) {
  .header .container {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .header-wrapper {
    justify-content: space-between !important;
    gap: 5rem !important;
  }
  
  .header nav {
    margin-left: auto !important;
  }
}

/* Mobile responsive hero section adjustments */
@media (max-width: 768px) {
  .hero-section-3d {
    padding-top: 100px;
    min-height: 100vh;
  }
  
  .hero-title-main {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    margin-top: 1rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .coverflow-container-hero {
    height: 250px;
    margin: 0.25rem 0;
  }
  
  .hero-carousel-section {
    margin: 0.25rem 0 0.75rem 0;
  }
  
  .hero-content {
    padding: 0.5rem 0;
    margin-top: 0;
  }
  
  /* Optimize video on mobile for better text readability */
  .hero-bg-video {
    opacity: 0.4 !important;
  }
}

/* Extra small screens - optimize video further */
@media (max-width: 480px) {
  .hero-bg-video {
    opacity: 0.3 !important;
  }
}

/* Performance optimization - ensure smooth video for all users */
@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    animation: none !important;
  }
  
  /* Disable panel animations for accessibility */
  .panel {
    animation: none !important;
    opacity: 1 !important;
  }
  
  .panel-header {
    opacity: 1 !important;
  }
}

/* Mobile responsive header adjustments */
@media (max-width: 991px) {
  .header .logo img,
  header.header .logo img,
  .header-wrapper .logo img {
    max-height: 40px !important;
    max-width: 120px !important;
  }
  
  .header-wrapper {
    justify-content: space-between !important;
    gap: 3rem !important;
  }
  
  .header .logo,
  header.header .logo,
  .header-wrapper .logo {
    justify-content: flex-start !important;
    margin: 0 0 0 2rem !important;
  }
  
  .header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Products Page Specific Styles */
.product-filters {
  background: #f8f9fa !important;
  padding: 1.5rem !important;
  border-radius: 8px !important;
  border: 1px solid #e9ecef !important;
}

.product-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  width: 100% !important;
  border: none !important;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  position: relative !important;
}

.product-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #DC2626 0%, #B91C1C 100%) !important;
  z-index: 1 !important;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Make product cards wider on larger screens */
@media (min-width: 1200px) {
  .product-card {
    width: 95% !important;
  }
}

@media (min-width: 1400px) {
  .product-card {
    width: 92% !important;
  }
}

.product-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.product-img {
  height: 300px !important;
  overflow: hidden !important;
  position: relative !important;
  border-radius: 16px 16px 0 0 !important;
}

.product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

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

.product-features {
  margin-bottom: 1.5rem !important;
  min-height: 40px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.product-features .badge {
  margin-bottom: 0 !important;
  padding: 0.6rem 1rem !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  border-radius: 25px !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
  border: 1px solid #dee2e6 !important;
  color: #495057 !important;
  transition: all 0.3s ease !important;
}

.product-features .badge:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: white !important;
  transform: translateY(-2px) !important;
}

.card-title {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 1rem !important;
  color: #1a1a1a !important;
  line-height: 1.3 !important;
}

.card-text {
  color: #6c757d !important;
  line-height: 1.6 !important;
  margin-bottom: 1.5rem !important;
}

.product-card .card-body {
  padding: 1.5rem !important;
  background: white !important;
  border-radius: 0 0 16px 16px !important;
}

.product-card .btn-primary {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2) !important;
}

.product-card .btn-primary:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

.product-card .text-primary {
  color: #DC2626 !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
}

.product-card .product-info {
  padding: 1.5rem !important;
  background: white !important;
  border-radius: 0 0 0 0 !important;
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 120px !important;
}

.product-card .product-title {
  margin-bottom: 1rem !important;
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  color: #1a1a1a !important;
}

.product-card .product-description {
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
  color: #6c757d !important;
  flex-grow: 1 !important;
}

.product-card .product-actions {
  padding: 1.5rem !important;
  margin-top: auto !important;
  border-top: none !important;
  background: white !important;
}

.product-card .product-actions .btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
}

.product-card .product-actions .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.product-card .product-actions .btn-outline-primary {
  border-color: #DC2626 !important;
  color: #DC2626 !important;
  background-color: white !important;
  font-weight: 600 !important;
}

.product-card .product-actions .btn-outline-primary:hover {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3) !important;
}

.product-card .product-actions .btn-primary {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border-color: #DC2626 !important;
  color: white !important;
  font-weight: 600 !important;
}

.product-card .product-actions .btn-primary:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%) !important;
  border-color: #B91C1C !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3) !important;
}

/* Product Grid Layout Perfection */
#products-grid {
  margin: 0 !important;
  padding: 0 !important;
}

#products-grid .row {
  margin: 0 !important;
  padding: 0 !important;
}

#products-grid .col-lg-6,
#products-grid .col-md-6 {
  padding: 0 1rem !important;
  margin-bottom: 2rem !important;
}

.product-item {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: white !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transition: all 0.3s ease !important;
}

.product-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15) !important;
}

.product-img {
  height: 250px !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.3s ease !important;
}

/* Product Image Carousel */
.product-image-carousel {
  position: relative !important;
  width: 100% !important;
  height: 250px !important;
  overflow: hidden !important;
}

.product-carousel-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  opacity: 0 !important;
  transition: opacity 0.5s ease-in-out !important;
}

.product-carousel-img.active {
  opacity: 1 !important;
}

/* Hover effect to cycle through images */
.product-card:hover .product-image-carousel .product-carousel-img {
  animation: imageCycle 3s infinite !important;
}

@keyframes imageCycle {
  0%, 33% { opacity: 1; }
  34%, 66% { opacity: 0; }
  67%, 100% { opacity: 1; }
}

/* Show all images on hover for products with multiple images */
.product-card:hover .product-image-carousel .product-carousel-img:nth-child(2) {
  animation-delay: 1s !important;
}

.product-card:hover .product-image-carousel .product-carousel-img:nth-child(3) {
  animation-delay: 2s !important;
}

.product-card:hover .product-image-carousel .product-carousel-img:nth-child(4) {
  animation-delay: 3s !important;
}

.product-card:hover .product-img img {
  transform: scale(1.05) !important;
}

.product-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(185, 28, 28, 0.9) 100%) !important;
  opacity: 0 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  backdrop-filter: blur(2px) !important;
}

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

.product-overlay .btn {
  background: white !important;
  color: #DC2626 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.product-overlay .btn:hover {
  background: #DC2626 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

/* Filter Section Styling */
.filter-section {
  margin-bottom: 2rem !important;
}

.filter-title {
  color: #DC2626 !important;
  font-weight: 600 !important;
  border-bottom: 2px solid #DC2626 !important;
  padding-bottom: 0.5rem !important;
}

.form-check-input:checked {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
}

/* Banner Section */
.banner-section {
  padding-top: 120px !important;
  padding-bottom: 80px !important;
}

/* Product Count and Sort */
.results-count {
  font-size: 0.9rem !important;
  color: #6c757d !important;
}

/* Pagination - Override Bootstrap Variables */
.pagination {
  --bs-pagination-color: #000000 !important;
  --bs-pagination-hover-color: #ffffff !important;
  --bs-pagination-hover-bg: #000000 !important;
  --bs-pagination-hover-border-color: #000000 !important;
  --bs-pagination-active-color: #ffffff !important;
  --bs-pagination-active-bg: #000000 !important;
  --bs-pagination-active-border-color: #000000 !important;
}

.pagination .page-link {
  color: #000000 !important;
  border-color: #dee2e6 !important;
  background-color: white !important;
}

.pagination .page-item.active .page-link {
  background-color: #000000 !important;
  border-color: #000000 !important;
  color: white !important;
}

.pagination .page-link:hover {
  color: white !important;
  background-color: #000000 !important;
  border-color: #000000 !important;
}

/* Premium About Us Styling */
.about-content {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
}

.about-content .bg-light {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
  border: 1px solid #e9ecef !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
}

.about-content .bg-light:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.marquee {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

.marquee::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%) !important;
  animation: shimmer 2s infinite !important;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.marquee-content {
  animation: scroll 30s linear infinite !important;
}

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

/* Enhanced stats styling */
.about-content .count {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 800 !important;
}

/* Footer enhancements */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  position: relative !important;
}

.footer::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent 0%, #DC2626 50%, transparent 100%) !important;
}

.cert-badge {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%) !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  color: #DC2626 !important;
  transition: all 0.3s ease !important;
}

.cert-badge:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(185, 28, 28, 0.2) 100%) !important;
  transform: translateY(-2px) !important;
}

.social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%) !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
  border-radius: 50% !important;
  color: #DC2626 !important;
  transition: all 0.3s ease !important;
}

.social-link:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: white !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4) !important;
}

/* Text and Design Consistency */
.text-muted {
  color: #6c757d !important;
}

.badge.text-bg-dark {
  background-color: #1f2937 !important;
  color: #ffffff !important;
}

/* Improved button contrast */
.btn-outline-dark:hover {
  background-color: #1f2937 !important;
  border-color: #1f2937 !important;
}

/* Enhanced card styling */
.card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
  transition: all 0.3s ease !important;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
  transform: translateY(-2px) !important;
}

/* Remove forced black header/background and borders */
.header {
  background-color: transparent !important;
  border-top: none !important;
}

/* Fallback for browsers that don't support :has() */
.product-detail-header {
  background-color: transparent !important;
  border-top: none !important;
}

/* Ensure white logo is visible on black header - All pages */
.header .logo-white,
header.header .logo-white,
.header-wrapper .logo-white {
  display: block !important;
}

.header .logo-dark,
header.header .logo-dark,
.header-wrapper .logo-dark {
  display: none !important;
}

/* Override any conflicting logo display rules */
.header .logo .logo-white,
header.header .logo .logo-white,
.header-wrapper .logo .logo-white {
  display: block !important;
}

.header .logo .logo-dark,
header.header .logo .logo-dark,
.header-wrapper .logo .logo-dark {
  display: none !important;
}

/* Product detail page specific border overrides */
body:has(.product-detail-page) .header.border-primary,
.product-detail-page .header.border-primary,
.product-detail-header.border-primary {
  border-top: none !important;
}

body:has(.product-detail-page) .header.border-4.border-primary.border-top,
.product-detail-page .header.border-4.border-primary.border-top,
.product-detail-header.border-4.border-primary.border-top {
  border-top: none !important;
}

/* More specific override for the exact header class combination - product detail only */
body:has(.product-detail-page) header.header.border-4.border-primary.border-top,
.product-detail-page header.header.border-4.border-primary.border-top,
header.product-detail-header.border-4.border-primary.border-top {
  border-top: 4px solid #000000 !important;
  border-color: #000000 !important;
}

.border-primary {
  border-color: #000000 !important;
}

/* Hide breadcrumb section on product detail pages */
.breadcrumb-section {
  display: none !important;
}

/* Color Variables Override */
:root {
  --bs-primary: #DC2626 !important;
  --bs-blue: #DC2626 !important;
  --bs-link-color: #DC2626 !important;
  --bs-secondary-blue: #B91C1C;
}

/* Override border-primary for all headers */
.header {
  --bs-border-color: #000000 !important;
  --bs-primary: #000000 !important;
}

.header.border-primary {
  --bs-border-color: #000000 !important;
}

/* Ultimate border override with highest specificity - product detail only */
body:has(.product-detail-page) .header.border-4.border-primary.border-top.position-fixed,
.product-detail-page .header.border-4.border-primary.border-top.position-fixed {
  border: none !important;
}

/* Primary Color Classes */
.bg-primary {
  background-color: #DC2626 !important;
}

.text-primary {
  color: #DC2626 !important;
}

.btn-primary {
  background-color: #DC2626 !important;
  border-color: #DC2626 !important;
}

.btn-primary:hover {
  background-color: #B91C1C !important;
  border-color: #B91C1C !important;
}

.border-primary {
  border-color: #DC2626 !important;
}

/* Desktop Navigation Styles */
/* =========================== */

.header nav {
  gap: 0 !important;
}

.header nav .header-menu {
  gap: 2.5rem !important;
}

.header nav .header-menu .header-item .header-link {
  color: white !important;
  font-weight: 600 !important;
  padding: 0.75rem 1.25rem !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.header nav .header-menu .header-item .header-link:hover {
  background-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-2px) !important;
  color: white !important;
}

.header nav .header-menu .header-item .header-link.active {
  background-color: #DC2626 !important;
  color: white !important;
}

/* Mobile Navigation Adjustments */
/* ============================== */

@media (max-width: 991.98px) {
  .header nav {
    display: none !important;
  }
  
  .header .d-lg-none {
    display: flex !important;
  }
}

@media (min-width: 992px) {
  .header .d-lg-none {
    display: none !important;
  }
  
  .header nav {
    display: flex !important;
  }
}

/* Animation Enhancements */
/* ====================== */

.header-link .animate-spin {
  transition: all 0.3s ease;
}

.header-link:hover .animate-spin {
  transform: rotate(180deg);
}

/* Button Styles */
/* ============= */

.btn {
  border-radius: 30px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

/* Utility Classes */
/* =============== */

.text-blue-primary {
  color: #DC2626 !important;
}

.bg-blue-primary {
  background-color: #DC2626 !important;
}

.border-blue-primary {
  border-color: #DC2626 !important;
}

/* Focus States */
/* ============ */

.header nav .header-menu .header-item .header-link:focus,
.header nav .header-menu .header-item .header-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

/* Enhanced Language Dropdown */
/* =========================== */

/* Language switcher button - Desktop */
.header-item.dropdown .header-link {
  position: relative !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 2px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(15px) !important;
  min-width: 90px !important;
  justify-content: center !important;
  border-radius: 25px !important;
  padding: 0.6rem 1.2rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.header-item.dropdown .header-link:hover,
.header-item.dropdown .header-link:focus,
.header-item.dropdown .header-link[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Dropdown container positioning */
.header-item.dropdown {
  position: relative !important;
}

/* Language dropdown menu - Enhanced */
.header-item.dropdown .dropdown-menu {
  border-radius: 20px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 0.75rem !important;
  min-width: 180px !important;
  margin-top: 0.5rem !important;
  transform-origin: top center !important;
  overflow: hidden !important;
  pointer-events: auto !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  opacity: 0 !important;
  transform: translateY(-10px) scale(0.95) !important;
  position: absolute !important;
  right: 0 !important;
  left: auto !important;
}

/* Show state for dropdown */
.header-item.dropdown.show .dropdown-menu,
.header-item.dropdown .dropdown-menu.show {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* Let Bootstrap handle dropdown display states */

/* Language dropdown items - Enhanced */
.header-item.dropdown .dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.8rem !important;
  padding: 1rem 1.2rem !important;
  border-radius: 15px !important;
  margin-bottom: 0.4rem !important;
  font-weight: 600 !important;
  color: #2d3748 !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  font-size: 0.95rem !important;
  position: relative !important;
  overflow: hidden !important;
  border: 2px solid transparent !important;
}

.header-item.dropdown .dropdown-item:last-child {
  margin-bottom: 0 !important;
}

.header-item.dropdown .dropdown-item::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #DC2626, #B91C1C) !important;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: -1 !important;
}

.header-item.dropdown .dropdown-item:hover::before,
.header-item.dropdown .dropdown-item:focus::before {
  left: 0 !important;
}

.header-item.dropdown .dropdown-item:hover,
.header-item.dropdown .dropdown-item:focus {
  color: white !important;
  transform: translateX(8px) scale(1.02) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.25) !important;
}

/* Flag styling */
.header-item.dropdown .dropdown-item .flag {
  font-size: 1.4rem !important;
  line-height: 1 !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

/* Enhanced animations */
@keyframes dropdownSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-15px) scale(0.9);
    filter: blur(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* Current language indicator - Enhanced */
#current-lang {
  font-weight: 800 !important;
  font-size: 0.95rem !important;
  letter-spacing: 1px !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Dropdown arrow - Enhanced */
.header-item.dropdown .dropdown-toggle::after {
  border-top-color: rgba(255, 255, 255, 0.9) !important;
  border-width: 0.5em 0.5em 0 0.5em !important;
  margin-left: 0.8rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.header-item.dropdown .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg) scale(1.1) !important;
}

/* Mobile Responsive Enhancements */
/* =============================== */

@media (max-width: 991.98px) {
  /* Mobile hamburger menu dropdown styling */
  .btn-group .dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    border-radius: 20px !important;
    border: 2px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
    padding: 1.5rem !important;
    margin-top: 0.5rem !important;
    min-width: 280px !important;
    max-width: 90vw !important;
    animation: mobileDropdownSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* Mobile language dropdown inside hamburger menu */
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    background: rgba(220, 38, 38, 0.05) !important;
    backdrop-filter: none !important;
    border: 2px solid rgba(220, 38, 38, 0.1) !important;
    border-radius: 15px !important;
    padding: 0.5rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-item {
    background: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid rgba(220, 38, 38, 0.1) !important;
    margin-bottom: 0.5rem !important;
    border-radius: 12px !important;
    padding: 0.9rem 1.1rem !important;
    font-size: 1rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-item:hover,
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-item:focus {
    background: linear-gradient(135deg, #DC2626, #B91C1C) !important;
    border-color: transparent !important;
    color: white !important;
    transform: translateX(5px) scale(1.02) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
  }

  /* Mobile language switcher button in hamburger */
  .btn-group .dropdown-menu .header-item.dropdown .header-link {
    background: rgba(220, 38, 38, 0.1) !important;
    border: 2px solid rgba(220, 38, 38, 0.2) !important;
    border-radius: 15px !important;
    padding: 0.8rem 1.2rem !important;
    color: #DC2626 !important;
    font-weight: 700 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  .btn-group .dropdown-menu .header-item.dropdown .header-link:hover,
  .btn-group .dropdown-menu .header-item.dropdown .header-link[aria-expanded="true"] {
    background: rgba(220, 38, 38, 0.15) !important;
    border-color: rgba(220, 38, 38, 0.3) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2) !important;
  }

  /* Mobile dropdown arrow */
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-toggle::after {
    border-top-color: #DC2626 !important;
  }
}

/* Mobile animation */
@keyframes mobileDropdownSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .header-item.dropdown .dropdown-item {
    padding: 1.2rem 1.4rem !important;
    font-size: 1.1rem !important;
  }
  
  .header-item.dropdown .dropdown-menu {
    min-width: 200px !important;
    padding: 1rem !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .header-item.dropdown .dropdown-menu {
    border-width: 1px !important;
  }
  
  .header-item.dropdown .dropdown-item {
    border-width: 1px !important;
  }
}

/* General Dropdown Menu Enhancements */
/* ================================== */

.dropdown-menu {
  border-radius: 15px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  border: none !important;
}

.dropdown-item:hover {
  background-color: rgba(21, 101, 192, 0.1) !important;
  color: #DC2626 !important;
}

/* Premium Badge Styles */
/* =================== */

/* Visible tag badges */
.tag-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: .35rem !important;
  font-weight: 700 !important;
  padding: .35rem .7rem !important;
  border-radius: 999px !important;
  font-size: .72rem !important;
  letter-spacing: .2px !important;
  background: linear-gradient(135deg, rgba(220,38,38,.12), rgba(185,28,28,.12)) !important;
  color: #B91C1C !important;
  border: 1px solid rgba(220,38,38,.35) !important;
}

.tag-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #DC2626;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}

.tag-badge:hover {
  background: linear-gradient(135deg, rgba(220,38,38,.18), rgba(185,28,28,.18)) !important;
  transform: translateY(-1px);
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .65rem;
  border-radius: 10px;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: #7C3AED;
  background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(59,130,246,.12));
  border: 1px solid rgba(124,58,237,.35);
}

.badge-premium::before {
  content: '★';
  color: #7C3AED;
}

/* Homepage Featured Products alignment fixes */
.featured-projects .portfolio-img {
  height: 260px !important;
}
.featured-projects .portfolio-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.carousel-card .carousel-img {
  height: 300px !important;
  object-fit: cover !important;
}
.carousel-card {
  transition: transform .35s ease, box-shadow .35s ease !important;
}
.carousel-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 16px 36px rgba(0,0,0,.18) !important;
}

/* Wider cards on larger screens for premium feel */
.featured-projects .owl-stage { padding-left: 8px; padding-right: 8px; }
.carousel-card { width: 95%; margin: 0 auto; }
@media (min-width: 992px) {
  .carousel-card { width: 92%; }
}
@media (min-width: 1400px) {
  .carousel-card { width: 90%; }
}

/* Ensure tags and buttons align within card */
.carousel-card .product-tags { min-height: 28px; margin-bottom: .5rem; }
.carousel-card .card-bottom .btn { white-space: nowrap; }
.featured-projects .portfolio-details h3 {
  font-size: 1.05rem !important;
}
.featured-projects .portfolio-overlay {
  background: rgba(0,0,0,0.35) !important;
  transition: opacity .3s ease !important;
}
.featured-projects .portfolio:hover .portfolio-overlay { opacity: 1 !important; }

/* Product grid image consistency */
.products .product-img { 
  height: 280px !important; 
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
}

.product-img img { 
  object-fit: cover !important; 
  width: 100% !important;
  height: 100% !important;
  transition: transform 0.3s ease !important;
}

.product-img {
  height: 250px !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-card:hover .product-img img {
  transform: scale(1.05) !important;
}
/* Product grid cards responsive layout */
.products .product-card { 
  width: 100% !important; 
  height: 100% !important;
  transition: all 0.3s ease !important;
}

.products .product-item {
  margin-bottom: 2rem !important;
}

/* Ensure proper grid alignment */
.product-item {
  margin-bottom: 2rem !important;
}

.product-item .product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Ensure proper grid alignment */
.products .row {
  margin-left: -1rem !important;
  margin-right: -1rem !important;
  display: flex !important;
  flex-wrap: wrap !important;
}

.products .col-md-6,
.products .col-lg-6,
.products .col-xl-3 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  flex: 0 0 auto !important;
}

.products .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

.products .col-md-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
}

@media (max-width: 767.98px) {
  .products .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Product grid specific styling */
#products-grid {
  margin-bottom: 2rem !important;
}

#products-grid .row {
  margin-left: -1rem !important;
  margin-right: -1rem !important;
}

#products-grid .col-lg-6,
#products-grid .col-md-6 {
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  margin-bottom: 2rem !important;
}
.products .product-card .product-tags { min-height: 28px; margin-bottom: .5rem; }
.products .product-card .product-tags .badge { padding: .4rem .6rem; font-weight: 700; }
.products .product-card .card-title { margin-bottom: .5rem; font-size: 1.075rem; }
.products .product-card .card-text { margin-bottom: 1.1rem; }
.products .product-card .product-features { margin-bottom: 1rem !important; }
.products .product-card .badge { margin-right: .35rem; margin-bottom: .35rem; }
.products .product-card .card-body { 
  padding: 1.5rem !important; 
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.products .product-card .card-body .d-flex.justify-content-between { 
  margin-top: auto !important; 
  padding-top: 1rem !important;
}

.products .product-card .btn { 
  white-space: nowrap !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px !important;
}

.products .product-card {
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background: white !important;
}

.products .product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}
@media (min-width: 1200px) {
  .products .product-card .card-img-top { height: 320px !important; }
}

/* Products page hero placeholder */
.products-hero {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}
.products-hero .hero-media {
  width: 100%;
  height: 320px;
  object-fit: cover;
  filter: saturate(105%) contrast(1.02);
}
.products-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.15));
}
.products-hero .hero-content {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

/* Sticky sidebar improvements */
.product-filters.sticky-top {
  top: 96px !important; /* respect fixed header */
  z-index: 1; /* under dropdowns and overlays */
}
@media (max-width: 991.98px) {
  .product-filters.sticky-top {
    position: static !important; /* avoid overlap on mobile */
  }
}

/* Language switcher alignment and smooth behavior */
.header-item.dropdown .dropdown-menu {
  right: 0 !important;
  left: auto !important;
  transform-origin: top right !important;
}
.header-item.dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 991.98px) {
  .btn-group .dropdown-menu .header-item.dropdown .dropdown-menu {
    right: auto !important;
    left: 0 !important;
  }
}

/* Service Equipment Specific Styles */
/* ================================= */

.portfolio-details h3 {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  margin-bottom: 0.75rem !important;
}

.services-badge {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: white !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 15px !important;
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Professional Highlight Text */
/* =========================== */

.text-highlight {
  background: linear-gradient(135deg, #DC2626, #B91C1C) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-weight: 700 !important;
}

/* Stats Section Enhancement */
/* ========================= */

.count {
  font-family: 'Arial', sans-serif !important;
  font-weight: 800 !important;
  color: #DC2626 !important;
}

/* Certification Badges */
/* ==================== */

.cert-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.3rem !important;
  background: rgba(220, 38, 38, 0.1) !important;
  color: #DC2626 !important;
  padding: 0.3rem 0.7rem !important;
  border-radius: 12px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
}

/* Footer Social Media Links */
/* ========================= */

.social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 40px !important;
  height: 40px !important;
  background: rgba(220, 38, 38, 0.1) !important;
  color: #DC2626 !important;
  border-radius: 50% !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
}

.social-link:hover {
  background: #DC2626 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
}

/* Footer Enhancements */
/* =================== */

.footer .link-hover:hover {
  color: #DC2626 !important;
  transform: translateX(5px) !important;
  transition: all 0.3s ease !important;
}

.footer h5, .footer h6 {
  position: relative !important;
  padding-bottom: 0.5rem !important;
}

.footer h5::after, .footer h6::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 30px !important;
  height: 2px !important;
  background: #DC2626 !important;
}

/* Maps Section */
/* ============ */

.maps-section iframe {
  filter: grayscale(20%) !important;
  transition: filter 0.3s ease !important;
}

.maps-section iframe:hover {
  filter: grayscale(0%) !important;
}

/* ===================================================== */
/* PREMIUM SWIPER CAROUSEL & PROFESSIONAL EQUIPMENT     */
/* ===================================================== */

/* Featured Products Swiper Carousel */
/* ================================= */

.featured-products-wrapper {
  padding: 2rem 0;
}

.featured-swiper {
  overflow: visible !important;
  padding: 2rem 0 4rem 0 !important;
}

.featured-swiper .swiper-slide {
  height: auto !important;
  display: flex !important;
  transition: transform 0.3s ease !important;
  padding: 0 10px !important;
}

/* Ensure equal spacing between cards */
.featured-swiper .swiper-wrapper {
  align-items: stretch !important;
  padding-bottom: 2rem !important;
}

/* Fix carousel spacing configuration */
.featured-swiper {
  margin: 0 -10px !important;
  overflow: visible !important;
}

/* Simple center highlighting */
.featured-swiper .swiper-slide-active {
  transform: scale(1.02) !important;
}

/* Ensure consistent card heights and spacing */
.premium-product-card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto !important;
  max-width: 100% !important;
}

/* Premium Product Card */
.premium-product-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
  border-radius: 20px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12) !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  overflow: hidden !important;
  border: 1px solid rgba(220, 38, 38, 0.1) !important;
  position: relative !important;
  height: 100% !important;
}

.premium-product-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #DC2626 0%, #B91C1C 50%, #DC2626 100%) !important;
  z-index: 2 !important;
}

.premium-product-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.25) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
}

/* Product Image Container */
.product-image-container {
  height: 280px !important;
  overflow: hidden !important;
  position: relative !important;
}

.product-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  filter: saturate(1.1) contrast(1.05) !important;
}

.premium-product-card:hover .product-image {
  transform: scale(1.1) !important;
}

/* Product Overlay */
.product-overlay {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.9) 0%, rgba(185, 28, 28, 0.95) 100%) !important;
  opacity: 0 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(2px) !important;
}

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

.overlay-btn {
  background: white !important;
  color: #DC2626 !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  transform: translateY(20px) !important;
  opacity: 0 !important;
}

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

.overlay-btn:hover {
  background: #DC2626 !important;
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}

/* Product Content */
.product-content {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.product-title {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  font-size: 1.3rem !important;
  line-height: 1.3 !important;
}

.product-features {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
}

.feature-tag {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%) !important;
  color: #DC2626 !important;
  padding: 0.4rem 0.8rem !important;
  border-radius: 15px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  border: 1px solid rgba(220, 38, 38, 0.2) !important;
  transition: all 0.3s ease !important;
}

.feature-tag:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  color: white !important;
  transform: translateY(-1px) !important;
}

/* Product Specs */
.product-specs {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
}

.spec-item {
  display: flex !important;
  align-items: center !important;
  font-size: 0.9rem !important;
  color: #6c757d !important;
}

/* Product Footer */
.product-footer {
  margin-top: auto !important;
}

.price-section {
  display: flex !important;
  flex-direction: column !important;
}

.price-label {
  font-size: 0.8rem !important;
  color: #6c757d !important;
  margin-bottom: 0.2rem !important;
}

.price-value {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #DC2626 !important;
}

.availability {
  display: flex !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

/* Swiper Navigation */
.featured-projects {
  position: relative;
}

.featured-swiper .swiper-button-next,
.featured-swiper .swiper-button-prev {
  background: white !important;
  border: 2px solid rgba(220, 38, 38, 0.2) !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  margin-top: -25px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  transition: all 0.3s ease !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: scale(0.9) !important;
  z-index: 10 !important;
}

.featured-projects:hover .swiper-button-next,
.featured-projects:hover .swiper-button-prev {
  opacity: 1 !important;
  visibility: visible !important;
  transform: scale(1) !important;
}

.featured-swiper .swiper-button-next::after,
.featured-swiper .swiper-button-prev::after {
  font-size: 18px !important;
  color: #DC2626 !important;
  font-weight: 700 !important;
}

.featured-swiper .swiper-button-next:hover,
.featured-swiper .swiper-button-prev:hover {
  background: #DC2626 !important;
  border-color: #DC2626 !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 25px rgba(220, 38, 38, 0.4) !important;
}

.featured-swiper .swiper-button-next:hover::after,
.featured-swiper .swiper-button-prev:hover::after {
  color: white !important;
}

/* Swiper Pagination */
.featured-swiper .swiper-pagination {
  bottom: 0 !important;
}

.featured-swiper .swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(220, 38, 38, 0.3) !important;
  border: 2px solid transparent !important;
  transition: all 0.3s ease !important;
}

.featured-swiper .swiper-pagination-bullet-active {
  background: #DC2626 !important;
  border-color: white !important;
  transform: scale(1.2) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.3) !important;
}

/* ============================================ */
/* PROFESSIONAL EQUIPMENT SECTION              */
/* ============================================ */

.professional-equipment-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Animated Background */
.animated-bg {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 50%, #991B1B 100%) !important;
}

.floating-shapes {
  z-index: 1 !important;
}

.shape {
  position: absolute !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 50% !important;
  animation: floatAnimation 20s infinite linear !important;
}

.shape-1 {
  width: 100px !important;
  height: 100px !important;
  top: 20% !important;
  left: 10% !important;
  animation-delay: 0s !important;
}

.shape-2 {
  width: 150px !important;
  height: 150px !important;
  top: 60% !important;
  right: 15% !important;
  animation-delay: -10s !important;
}

.shape-3 {
  width: 80px !important;
  height: 80px !important;
  bottom: 30% !important;
  left: 70% !important;
  animation-delay: -5s !important;
}

@keyframes floatAnimation {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(15px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

/* Section Badge */
.section-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 30px !important;
  transition: all 0.3s ease !important;
}

.section-badge:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-2px) !important;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Equipment Cards */
.equipment-card {
  background: white !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(220, 38, 38, 0.1) !important;
  position: relative !important;
}

.equipment-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 4px !important;
  background: linear-gradient(90deg, #DC2626 0%, #B91C1C 50%, #DC2626 100%) !important;
  z-index: 2 !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.equipment-card:hover::before {
  opacity: 1 !important;
}

.equipment-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow: 0 25px 60px rgba(220, 38, 38, 0.2) !important;
  border-color: rgba(220, 38, 38, 0.3) !important;
}

/* Equipment Image */
.equipment-image-container {
  height: 250px !important;
  overflow: hidden !important;
  position: relative !important;
}

.equipment-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  filter: saturate(1.1) contrast(1.05) !important;
}

.equipment-card:hover .equipment-image {
  transform: scale(1.15) !important;
}

.image-overlay {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.8) 0%, rgba(185, 28, 28, 0.9) 100%) !important;
  opacity: 0 !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  backdrop-filter: blur(2px) !important;
}

.equipment-card:hover .image-overlay {
  opacity: 1 !important;
}

/* Equipment Badge */
.equipment-badge .badge {
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 20px !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

/* Equipment Content */
.equipment-content {
  padding: 2rem !important;
}

.icon-wrapper {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%) !important;
  border: 2px solid rgba(220, 38, 38, 0.2) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.equipment-card:hover .icon-wrapper {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border-color: #DC2626 !important;
  transform: scale(1.1) !important;
}

.equipment-icon {
  font-size: 1.5rem !important;
  color: #DC2626 !important;
  transition: color 0.3s ease !important;
}

.equipment-card:hover .equipment-icon {
  color: white !important;
}

.equipment-title {
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 0 !important;
}

.equipment-subtitle {
  color: #6c757d !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

/* Equipment Features */
.feature-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0.75rem !important;
}

.feature-item {
  display: flex !important;
  align-items: center !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: #4b5563 !important;
  padding: 0.5rem !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.feature-item:hover {
  background: rgba(220, 38, 38, 0.05) !important;
  transform: translateX(3px) !important;
}

/* Equipment Stats */
.equipment-stats {
  background: rgba(220, 38, 38, 0.05) !important;
  border-radius: 16px !important;
  padding: 1.5rem !important;
  border: 1px solid rgba(220, 38, 38, 0.1) !important;
}

.stat-item {
  text-align: center !important;
}

.stat-number {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #DC2626 !important;
  line-height: 1 !important;
  margin-bottom: 0.25rem !important;
}

.stat-label {
  font-size: 0.75rem !important;
  color: #6c757d !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* Premium Buttons */
.btn-premium {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border: none !important;
  color: white !important;
  padding: 0.875rem 2rem !important;
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
}

.btn-premium::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent) !important;
  transition: left 0.6s ease !important;
}

.btn-premium:hover::before {
  left: 100% !important;
}

.btn-premium:hover {
  background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.4) !important;
  color: white !important;
}

/* CTA Section */
.cta-section {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.cta-section:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-3px) !important;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .feature-grid {
    grid-template-columns: 1fr !important;
  }
  
  .equipment-content {
    padding: 1.5rem !important;
  }
  
  .equipment-image-container {
    height: 200px !important;
  }
  
  .featured-swiper .swiper-slide-active {
    transform: scale(1.02) !important;
  }
  
  .product-image-container {
    height: 220px !important;
  }
}

@media (max-width: 767.98px) {
  .floating-shapes {
    display: none !important;
  }
  
  .equipment-stats {
    padding: 1rem !important;
  }
  
  .stat-number {
    font-size: 1.25rem !important;
  }
}

/* Animation Enhancements */
@media (prefers-reduced-motion: no-preference) {
  .equipment-category {
    animation: fadeInUp 0.8s ease-out forwards !important;
    opacity: 0 !important;
    transform: translateY(30px) !important;
  }
  
  .equipment-category:nth-child(1) { animation-delay: 0.1s !important; }
  .equipment-category:nth-child(2) { animation-delay: 0.2s !important; }
  .equipment-category:nth-child(3) { animation-delay: 0.3s !important; }
  .equipment-category:nth-child(4) { animation-delay: 0.4s !important; }
}

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

/* Loading and No Results States */
#loading-state, #no-results {
  min-height: 300px !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 10 !important;
}

#products-grid {
  transition: opacity 0.3s ease !important;
}

#products-grid.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Force hide loading and no results by default */
#loading-state {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

#no-results {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
}

/* Only show when explicitly displayed by JavaScript */
#loading-state.show {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

#no-results.show {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  left: auto !important;
  top: auto !important;
}

.loading-content, .no-results-content {
  text-align: center !important;
  padding: 2rem !important;
}

.loading-content .spinner-border {
  width: 3rem !important;
  height: 3rem !important;
}

.no-results-content iconify-icon {
  display: block !important;
  margin: 0 auto 1rem !important;
}

#reset-filters {
  margin-top: 1rem !important;
  padding: 0.75rem 2rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
}

#reset-filters:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3) !important;
}

/* Pagination Styling */
.pagination {
  display: flex !important;
  justify-content: center !important;
  margin-top: 2rem !important;
}

.pagination .page-link {
  color: #000 !important;
  border-color: #dee2e6 !important;
  background-color: #fff !important;
  padding: 0.5rem 0.75rem !important;
  margin: 0 0.25rem !important;
}

.pagination .page-link:hover {
  color: #000 !important;
  background-color: #e9ecef !important;
  border-color: #dee2e6 !important;
}

.pagination .page-item.active .page-link {
  background-color: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d !important;
  background-color: #fff !important;
  border-color: #dee2e6 !important;
}

/* Enhanced Contact Form Styling - Fixed & Improved */
/* ================================================ */

.contact-info-section {
  padding: 3rem;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 24px;
  border: 1px solid #e9ecef;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-info-section:hover::before {
  transform: scaleX(1);
}

.contact-info-section h3 {
  color: #1a1a1a !important;
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-info-section .lead {
  color: #4b5563 !important;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.contact-methods .contact-method {
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.contact-methods .contact-method:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #3B82F6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.contact-icon-wrapper {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 60px;
  min-height: 60px;
  background: transparent !important;
}

.contact-icon-wrapper iconify-icon {
  background: transparent !important;
  color: inherit !important;
}

.contact-method:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.contact-methods .contact-method h6 {
  color: #1f2937 !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-methods .contact-method p {
  color: #6b7280 !important;
  font-size: 1rem;
  margin-bottom: 0;
  font-weight: 500;
}

.business-hours {
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.business-hours:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.business-hours h6 {
  color: #1f2937 !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.business-hours p {
  color: #6b7280 !important;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Enhanced Contact Form Wrapper - BIGGER SIZE */
.contact-form-wrapper {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  padding: 3rem 3.5rem !important;
  min-height: 600px;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3B82F6, #10B981);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-form-wrapper:hover::before {
  transform: scaleX(1);
}

.contact-form-wrapper:hover {
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.contact-form-wrapper h4 {
  color: #1a1a1a !important;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

/* Enhanced Form Controls - BIGGER SIZE & Fixed Text Highlighting */
.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  border: 2px solid #e5e7eb !important;
  border-radius: 16px !important;
  transition: all 0.3s ease !important;
  font-size: 1.1rem !important;
  background: rgba(255, 255, 255, 0.95) !important;
  color: #1f2937 !important;
  font-weight: 500 !important;
  outline: none !important;
  padding: 1.25rem 1.5rem !important;
  min-height: 60px !important;
  position: relative !important;
}

.contact-form-wrapper .form-control::placeholder,
.contact-form-wrapper .form-select::placeholder {
  color: #9ca3af !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
  transform: translateY(-2px) !important;
  background: #ffffff !important;
  outline: none !important;
  color: #1f2937 !important;
}

.contact-form-wrapper .form-control:hover,
.contact-form-wrapper .form-select:hover {
  border-color: #3B82F6 !important;
  background: rgba(255, 255, 255, 1) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1) !important;
}

/* Enhanced Floating Labels - Modern UI/UX Pattern */
.contact-form-wrapper .form-floating {
  margin-bottom: 2rem;
  position: relative;
}

.contact-form-wrapper .form-floating label {
  color: #9ca3af !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  background: transparent !important;
  padding: 0 !important;
  height: auto !important;
  line-height: 1.5 !important;
  position: absolute !important;
  top: 1.25rem !important;
  left: 1.5rem !important;
  right: 1.5rem !important;
  pointer-events: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  transform-origin: left top !important;
  z-index: 10 !important;
  opacity: 1 !important;
}

/* Default state - labels are inside the input fields */
.contact-form-wrapper .form-floating .form-control:placeholder-shown ~ label,
.contact-form-wrapper .form-floating .form-select[value=""] ~ label {
  color: #9ca3af !important;
  font-weight: 500 !important;
  background: transparent !important;
  transform: scale(1) translateY(0) translateX(0) !important;
  opacity: 1 !important;
  z-index: 10 !important;
}

/* Focus state - labels move up and get highlighted */
.contact-form-wrapper .form-floating .form-control:focus ~ label,
.contact-form-wrapper .form-floating .form-control:not(:placeholder-shown) ~ label,
.contact-form-wrapper .form-floating .form-select:focus ~ label,
.contact-form-wrapper .form-floating .form-select:not([value=""]) ~ label {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  background: transparent !important;
  transform: scale(0.85) translateY(-2.5rem) translateX(0.5rem) !important;
  opacity: 1 !important;
  z-index: 20 !important;
}

/* Enhanced field spacing for better layout */
.contact-form-wrapper .form-floating {
  margin-bottom: 2.5rem;
}

/* Enhanced textarea styling */
.contact-form-wrapper .form-floating[data-field="message"] textarea {
  min-height: 120px !important;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-floating[data-field="message"] textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Focus effect for better hint visibility */
.contact-form-wrapper .form-floating:focus-within::before {
  opacity: 1 !important;
  background: rgba(59, 130, 246, 0.25) !important;
  border-color: rgba(59, 130, 246, 0.5) !important;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25) !important;
}

/* Enhanced Submit Button - BIGGER SIZE */
.contact-form-wrapper .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  font-weight: 600 !important;
  font-size: 1.2rem !important;
  transition: all 0.3s ease !important;
  color: #ffffff !important;
  padding: 1.25rem 3rem !important;
  min-height: 70px !important;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.contact-form-wrapper .btn-primary:hover::before {
  left: 100%;
}

.contact-form-wrapper .btn-primary:hover {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4) !important;
  color: #ffffff !important;
}

.contact-form-wrapper .btn-primary:active {
  transform: translateY(-1px) !important;
}

/* Enhanced Form Check - Fixed Text Highlighting */
.contact-form-wrapper .form-check {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.contact-form-wrapper .form-check-input {
  width: 1.5rem !important;
  height: 1.5rem !important;
  margin-top: 0.125rem !important;
  border: 2px solid #d1d5db !important;
  border-radius: 0.5rem !important;
  transition: all 0.3s ease !important;
}

.contact-form-wrapper .form-check-input:checked {
  background-color: #3B82F6 !important;
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.contact-form-wrapper .form-check-input:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.contact-form-wrapper .form-check-label {
  color: #4b5563 !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  cursor: pointer !important;
  transition: color 0.3s ease !important;
  background: transparent !important;
  padding-left: 0.5rem !important;
}

.contact-form-wrapper .form-check-label:hover {
  color: #1f2937 !important;
  background: transparent !important;
}

.contact-form-wrapper .form-check-label a {
  color: #3B82F6 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  background: transparent !important;
}

.contact-form-wrapper .form-check-label a:hover {
  color: #2563EB !important;
  text-decoration: underline !important;
  background: transparent !important;
}

/* Enhanced Form Validation - Fixed Text Highlighting */
.contact-form-wrapper .form-control.is-valid {
  border-color: #10B981 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310B981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e") !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
}

.contact-form-wrapper .form-control.is-invalid {
  border-color: #EF4444 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23EF4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%3e%3c/svg%3e") !important;
  background-color: #ffffff !important;
  color: #1f2937 !important;
}

/* Enhanced Responsive Design - BIGGER SIZES */
@media (max-width: 991.98px) {
  .contact-info-section,
  .contact-form-wrapper {
    margin-bottom: 2rem;
    padding: 2.5rem;
  }
  
  .contact-form-wrapper {
    min-height: 550px;
  }
  
  .contact-info-section h3 {
    font-size: 2rem;
  }
  
  .contact-form-wrapper h4 {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .contact-info-section,
  .contact-form-wrapper {
    padding: 2rem;
  }
  
  .contact-form-wrapper {
    min-height: 500px;
  }
  
  .contact-info-section h3 {
    font-size: 1.75rem;
  }
  
  .contact-form-wrapper h4 {
    font-size: 1.5rem;
  }
  
  .contact-methods .contact-method {
    padding: 1.25rem;
  }
  
  .business-hours {
    padding: 1.75rem;
  }
  
  .contact-form-wrapper .form-control,
  .contact-form-wrapper .form-select {
    padding: 1rem 1.25rem !important;
    min-height: 55px !important;
  }
  
  .contact-form-wrapper .btn-primary {
    padding: 1rem 2rem !important;
    min-height: 60px !important;
  }
}

/* Enhanced Focus States for Accessibility - Fixed */
.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus,
.contact-form-wrapper .btn-primary:focus {
  outline: none !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25) !important;
}

/* Enhanced Hover Effects - Fixed */
.contact-form-wrapper .form-control:hover,
.contact-form-wrapper .form-select:hover {
  border-color: #9ca3af !important;
  background: rgba(255, 255, 255, 1) !important;
  color: #1f2937 !important;
}

/* Enhanced Text Selection - Fixed */
.contact-form-wrapper ::selection {
  background: rgba(59, 130, 246, 0.3) !important;
  color: #1a1a1a !important;
}

.contact-form-wrapper ::-moz-selection {
  background: rgba(59, 130, 246, 0.3) !important;
  color: #1a1a1a !important;
}

/* Fix for overlapping text highlighting - COMPLETE SOLUTION */
.contact-form-wrapper * {
  background: transparent !important;
}

.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
  background: rgba(255, 255, 255, 0.95) !important;
}

.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
  background: #ffffff !important;
}

.contact-form-wrapper .form-floating label {
  background: transparent !important;
}

.contact-form-wrapper .form-check-label {
  background: transparent !important;
}

.contact-form-wrapper .form-check-label a {
  background: transparent !important;
}

/* Enhanced Form Spacing */
.contact-form-wrapper .row {
  margin-bottom: 1.5rem;
}

.contact-form-wrapper textarea {
  min-height: 120px !important;
  resize: vertical;
}

/* Enhanced "Why Choose Us" Section */
/* ================================= */

.content-block {
  margin-bottom: 4rem;
}

.content-text h3 {
  color: #1a1a1a !important;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.content-text .lead {
  color: #6b7280 !important;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.features-grid .feature-item {
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.features-grid .feature-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: #e9ecef;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.features-grid .feature-item strong {
  color: #1a1a1a !important;
  font-size: 1rem;
}

.features-grid .feature-item small {
  color: #6b7280 !important;
  font-size: 0.875rem;
}

.content-image-enhanced {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.content-image-enhanced img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.content-image-enhanced:hover img {
  transform: scale(1.02);
}

.image-badge {
  z-index: 10;
}

.image-badge .badge {
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
}

/* Enhanced Responsive Design for Why Choose Us */
@media (max-width: 991.98px) {
  .content-block .row {
    flex-direction: column;
  }
  
  .content-block .order-lg-1 {
    order: 2;
    margin-top: 2rem;
  }
  
  .content-block .order-lg-2 {
    order: 1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .features-grid .col-sm-6 {
    margin-bottom: 1rem;
  }
  
  .content-image-enhanced {
    margin: 0 auto;
    max-width: 100%;
  }
}

/* Enhanced Form Controls - Placeholder Labels Only */
.contact-form-wrapper .form-floating {
  margin-bottom: 2rem;
  position: relative;
}

.contact-form-wrapper .form-floating label {
  display: none !important;
}

/* Enhanced field spacing for better layout */
.contact-form-wrapper .form-floating {
  margin-bottom: 2.5rem;
}

/* Enhanced textarea styling */
.contact-form-wrapper .form-floating[data-field="message"] textarea {
  min-height: 120px !important;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-floating[data-field="message"] textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Enhanced Form Controls - Placeholder Labels Only */
.contact-form-wrapper .form-floating {
  margin-bottom: 2rem;
  position: relative;
}

.contact-form-wrapper .form-floating label {
  display: none !important;
}

/* Enhanced Placeholder Styling */
.contact-form-wrapper .form-control::placeholder,
.contact-form-wrapper .form-select::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: #6b7280 !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  opacity: 1 !important;
}

.contact-form-wrapper .form-control:focus::placeholder,
.contact-form-wrapper .form-select:focus::placeholder,
.contact-form-wrapper textarea:focus::placeholder {
  color: #9ca3af !important;
  opacity: 0.7 !important;
}

/* Enhanced field spacing for better layout */
.contact-form-wrapper .form-floating {
  margin-bottom: 2.5rem;
}

/* Enhanced textarea styling */
.contact-form-wrapper .form-floating[data-field="message"] textarea {
  min-height: 120px !important;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-floating[data-field="message"] textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Enhanced Contact Methods - Dual Phone Numbers */
.contact-methods .contact-method {
  transition: all 0.3s ease;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.contact-methods .contact-method:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #3B82F6;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.contact-icon-wrapper {
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 60px;
  min-height: 60px;
  background: transparent !important;
}

.contact-icon-wrapper iconify-icon {
  background: transparent !important;
  color: inherit !important;
}

.contact-method:hover .contact-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.contact-methods .contact-method h6 {
  color: #1f2937 !important;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-methods .contact-method p {
  color: #6b7280 !important;
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.contact-methods .contact-method p:last-child {
  margin-bottom: 0;
}

/* Enhanced field spacing for better layout */
.contact-form-wrapper .form-floating {
  margin-bottom: 2rem;
}

/* Enhanced textarea styling */
.contact-form-wrapper .form-floating[data-field="message"] textarea {
  min-height: 120px !important;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-form-wrapper .form-floating[data-field="message"] textarea:focus {
  border-color: #3B82F6 !important;
  box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15) !important;
  transform: translateY(-2px) !important;
}

/* Footer Social Media Links Styling */
.footer-bottom .link-hover {
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid transparent;
}

.footer-bottom .link-hover:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  text-decoration: none !important;
  color: #ffffff !important;
}

.footer-bottom .link-hover iconify-icon {
  transition: all 0.3s ease;
}

.footer-bottom .link-hover:hover iconify-icon {
  transform: scale(1.2);
}

/* WhatsApp Chat Widget Styling */
.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}



/* WhatsApp SVG Icon Styling */
.whatsapp-svg-icon {
  width: 207px;
  height: 48px;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 15px rgba(37, 211, 102, 0.3));
}

.whatsapp-svg-icon:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 6px 20px rgba(37, 211, 102, 0.5));
}

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6), 0 0 30px rgba(78, 205, 196, 0.4);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    transform: scale(1);
  }
}



/* Hide scroll up button when WhatsApp widget is present */
.get-template {
  display: none !important;
}



/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-widget {
    bottom: 15px;
    right: 15px;
  }
  
  .whatsapp-svg-icon {
    width: 150px;
    height: 35px;
  }
}

/* Our Values Section Styling */
.our-values {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.our-values .bg-primary.bg-opacity-10 {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.our-values .col-md-6:hover .bg-primary.bg-opacity-10 {
  background: rgba(59, 130, 246, 0.2) !important;
  border-color: #3B82F6;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.our-values h5 {
  transition: all 0.3s ease;
}

.our-values .col-md-6:hover h5 {
  color: #3B82F6 !important;
}

.our-values .col-md-6 {
  transition: all 0.3s ease;
}

.our-values .col-md-6:hover {
  transform: translateY(-5px);
}

/* Enhanced About Us Content Styling */
.about-content .bg-light {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.about-content .bg-light:hover {
  border-color: #3B82F6;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.about-content .iconify-icon {
  transition: all 0.3s ease;
}

.about-content .bg-light:hover .iconify-icon {
  transform: scale(1.1);
  color: #3B82F6 !important;
}

/* Enhanced Contact Form Styling */
.contact .form-floating {
  position: relative;
}

.contact .form-control,
.contact .form-select {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
}

.contact .form-control:focus,
.contact .form-select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  background-color: #ffffff;
  outline: none;
}

.contact .form-floating label {
  color: #6c757d;
  font-weight: 500;
  padding: 1rem 1.25rem;
}

.contact .form-floating .form-control:focus ~ label,
.contact .form-floating .form-control:not(:placeholder-shown) ~ label,
.contact .form-floating .form-select:focus ~ label,
.contact .form-floating .form-select:not([value=""]) ~ label {
  color: #3B82F6;
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
  background-color: #ffffff;
  padding: 0 0.5rem;
  margin-left: 0.75rem;
}

.contact .form-check-input:checked {
  background-color: #3B82F6;
  border-color: #3B82F6;
}

.contact .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact .btn-primary {
  background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact .btn-primary:active {
  transform: translateY(0);
}

.contact .form-floating .form-control::placeholder,
.contact .form-floating .form-select::placeholder {
  color: transparent;
}

.contact .form-floating .form-control:focus::placeholder,
.contact .form-floating .form-select:focus::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

/* Enhanced Contact Form Layout and Alignment */
.contact .form-floating {
  position: relative;
  margin-bottom: 0;
}

.contact .form-floating .form-control,
.contact .form-floating .form-select {
  height: 60px;
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
}

.contact .form-floating .form-select {
  padding-top: 1.625rem;
  padding-bottom: 0.625rem;
  background-position: right 1rem center;
  background-size: 16px 12px;
}

.contact .form-floating label {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6c757d;
  background: transparent;
  transition: all 0.2s ease;
}

.contact .form-floating .form-control:focus ~ label,
.contact .form-floating .form-control:not(:placeholder-shown) ~ label,
.contact .form-floating .form-select:focus ~ label,
.contact .form-floating .form-select:not([value=""]) ~ label {
  color: #3B82F6;
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
  background-color: #ffffff;
  padding: 0 0.5rem;
  margin-left: 0.75rem;
  font-weight: 600;
}

.contact .form-floating .form-select:not([value=""]) ~ label {
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
}

.contact .form-check {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.contact .form-check-label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #495057;
}

.contact .form-check-input {
  margin-top: 0.2rem;
}

.contact .form-check-input:checked {
  background-color: #3B82F6;
  border-color: #3B82F6;
}

.contact .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  border-color: #3B82F6;
}

/* Form row spacing improvements */
.contact .row.g-4 {
  margin-bottom: 1.5rem;
}

.contact .row.g-4:last-of-type {
  margin-bottom: 0;
}

/* Textarea specific styling */
.contact .form-floating textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.contact .form-floating textarea.form-control:focus ~ label {
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
}

/* Select dropdown arrow styling */
.contact .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

.contact .form-select:focus {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%233B82F6' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
}

/* Form validation and active states */
.contact .form-control.is-invalid,
.contact .form-select.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.contact .form-check.is-invalid {
  border: 1px solid #dc3545;
  border-radius: 8px;
  padding: 0.5rem;
  background-color: rgba(220, 53, 69, 0.05);
}

.contact .form-floating label.active {
  color: #3B82F6;
  transform: scale(0.85) translateY(-1.5rem) translateX(0.15rem);
  background-color: #ffffff;
  padding: 0 0.5rem;
  margin-left: 0.75rem;
  font-weight: 600;
}

/* Improved select field styling */
.contact .form-select {
  cursor: pointer;
}

.contact .form-select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.contact .form-select option {
  padding: 0.5rem;
  font-size: 0.9rem;
}

.contact .form-select option:first-child {
  color: #6c757d;
  font-style: italic;
}

/* Form field focus improvements */
.contact .form-control:focus,
.contact .form-select:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  background-color: #ffffff;
  outline: none;
}

/* Button hover state improvements */
.contact .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact .btn-primary:active {
  transform: translateY(0);
}

.contact .btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

/* Message field specific styling */
.contact .form-group {
  margin-bottom: 1.5rem;
}

.contact .form-label {
  font-size: 0.9rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.contact .form-group textarea.form-control {
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8f9fa;
  min-height: 120px;
  resize: vertical;
}

.contact .form-group textarea.form-control:focus {
  border-color: #3B82F6;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  background-color: #ffffff;
  outline: none;
}

.contact .form-group textarea.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Privacy Policy and Terms Pages Styling */
.policy-section,
.terms-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #3B82F6;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.policy-section:hover,
.terms-section:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.privacy-content h3,
.terms-content h3 {
  color: #3B82F6 !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.privacy-content h4,
.terms-content h4 {
  color: #1f2937 !important;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.privacy-content p,
.terms-content p {
  color: #374151 !important;
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.privacy-content .lead,
.terms-content .lead {
  font-size: 1.1rem;
  color: #4b5563 !important;
  font-weight: 500;
}

.privacy-content ul,
.terms-content ul {
  margin-bottom: 1rem;
}

.privacy-content li,
.terms-content li {
  color: #4b5563 !important;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-info {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.contact-info p {
  margin-bottom: 0.5rem;
  color: #374151 !important;
}

.contact-info a {
  text-decoration: none;
  font-weight: 500;
  color: #3B82F6 !important;
}

.contact-info a:hover {
  text-decoration: underline;
  color: #1d4ed8 !important;
}

.last-updated {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  border: 1px solid #93c5fd;
  border-radius: 8px;
}

.last-updated p {
  color: #1e40af !important;
  font-weight: 600;
  margin: 0;
}

/* Enhanced text readability */
.privacy-content,
.terms-content {
  color: #374151;
  line-height: 1.6;
}

.privacy-content strong,
.terms-content strong {
  color: #1f2937 !important;
  font-weight: 600;
}

/* List item styling with better contrast */
.privacy-content ul li,
.terms-content ul li {
  position: relative;
  padding-left: 0.5rem;
}

.privacy-content ul li iconify-icon,
.terms-content ul li iconify-icon {
  color: #3B82F6 !important;
  margin-right: 0.5rem;
}

/* Social media links styling */
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Footer logo styling */
.footer-logo {
  transition: all 0.3s ease;
}

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

/* Link hover effects */
.link-hover {
  transition: all 0.3s ease;
}

.link-hover:hover {
  color: #3B82F6 !important;
  text-decoration: none;
}

/* Header Navigation Fixes for Safari */
.header-link {
  white-space: nowrap !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  overflow: hidden !important;
}

.header-link span {
  white-space: nowrap !important;
  display: inline-block !important;
  line-height: 1 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  z-index: 2 !important;
}

.header-link img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative !important;
  z-index: 2 !important;
}

.header-item {
  white-space: nowrap !important;
  position: relative !important;
}

.header-menu {
  flex-wrap: nowrap !important;
}

/* Consistent cross-browser hover animations */
.header-link::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 1 !important;
  border-radius: 8px !important;
}

.header-link:hover::before {
  left: 0 !important;
}

.header-link:hover {
  white-space: nowrap !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

.header-link:hover span {
  white-space: nowrap !important;
  transform: translateY(-1px) !important;
  color: #ffffff !important;
}

.header-link:hover img {
  transform: scale(1.1) rotate(5deg) !important;
  filter: brightness(1.2) !important;
}

.header-link:focus {
  white-space: nowrap !important;
  outline: none !important;
}

.header-link:active {
  white-space: nowrap !important;
  transform: translateY(0) !important;
}

/* Ensure navigation stability */
.header-nav {
  flex-shrink: 0 !important;
}

.header-menu li {
  flex-shrink: 0 !important;
  white-space: nowrap !important;
}

/* Safari-specific fixes for smooth animations */
@supports (-webkit-appearance: none) {
  .header-link {
    -webkit-transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
    -webkit-perspective: 1000px !important;
  }
  
  .header-link span {
    -webkit-transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
  }
  
  .header-link img {
    -webkit-transform: translateZ(0) !important;
    -webkit-backface-visibility: hidden !important;
  }
}

/* Enhanced navigation animations for all browsers */
.header-link {
  will-change: transform, color !important;
}

.header-link span {
  will-change: transform, color !important;
}

.header-link img {
  will-change: transform, filter !important;
}

/* Smooth state transitions */
.header-link,
.header-link span,
.header-link img {
  backface-visibility: hidden !important;
  transform-style: preserve-3d !important;
}

/* Additional hover effects for better visual feedback */
.header-link:hover {
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2) !important;
}

.header-link:active {
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15) !important;
}

/* Focus states for accessibility */
.header-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8) !important;
  outline-offset: 2px !important;
  border-radius: 8px !important;
}

.hero-section-3d ~ .header .d-lg-none {
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* 3D Carousel Clickable Items */
.coverflow-item {
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

/* Only apply hover effect to centered item (z-index: 100) */
.coverflow-item[style*="z-index: 100"]:hover {
  transform: scale(1.05) !important;
}

/* Disable hover effects for non-centered items */
.coverflow-item:not([style*="z-index: 100"]) {
  cursor: pointer !important;
}

.coverflow-item:not([style*="z-index: 100"]):hover {
  transform: none !important;
}

/* Fix mobile menu button positioning */
.toggle-menu {
  position: relative !important;
  z-index: 1031 !important;
}

/* Mobile header container fixes */
@media (max-width: 991.98px) {
  .header .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Ensure mobile menu dropdown is properly positioned */
.btn-group .dropdown-menu {
  z-index: 1032 !important;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
}

/* Product Filters Mobile Optimization */
@media (max-width: 991.98px) {
  /* Make filter sidebar full width on mobile */
  .product-filters {
    margin-bottom: 1rem !important;
  }
  
  /* Style the filter toggle button */
  #toggle-filters {
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
  }
  
  /* Improve filter collapse animation */
  #filters-collapse {
    transition: all 0.3s ease !important;
  }
  
  /* Style filter sections for mobile */
  .filter-section {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-bottom: 1rem !important;
  }
  
  .filter-section:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }
  
  /* Improve filter options spacing on mobile */
  .filter-options .form-check {
    margin-bottom: 0.75rem !important;
  }
  
  /* Make filter labels more readable on mobile */
  .filter-title {
    font-size: 1rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Style active filters display on mobile */
  .active-filters {
    background: rgba(13, 110, 253, 0.1) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-top: 1rem !important;
  }
}

/* Desktop filter improvements */
@media (min-width: 992px) {
  /* Ensure filters are always visible on desktop */
  #filters-collapse {
    display: block !important;
  }
  
  /* Hide toggle button on desktop */
  #toggle-filters {
    display: none !important;
  }
}

/* Homepage specific mobile header fixes - Target the homepage specifically */
body:has(.hero-section-3d) .header,
.hero-section-3d ~ .header,
.hero-section-3d + .header {
  z-index: 1030 !important;
}

/* Additional homepage mobile header fixes */
body:has(.hero-section-3d) .header-wrapper {
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0 !important;
  gap: 0 !important;
}

body:has(.hero-section-3d) .header .logo {
  flex-shrink: 0 !important;
  margin: 0 0 0 3rem !important; /* Match global header logo positioning */
}

body:has(.hero-section-3d) .header .d-lg-none {
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* Fallback for browsers that don't support :has() */
.hero-section-3d ~ .header .header-wrapper {
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0 !important;
  gap: 0 !important;
}

.hero-section-3d ~ .header .logo {
  flex-shrink: 0 !important;
  margin: 0 0 0 3rem !important; /* Match global header logo positioning */
}

.hero-section-3d ~ .header .d-lg-none {
  flex-shrink: 0 !important;
  margin: 0 !important;
}

/* 3D Carousel Clickable Items */
.coverflow-item {
  cursor: pointer !important;
  transition: transform 0.3s ease !important;
}

/* Only apply hover effect to centered item (z-index: 100) */
.coverflow-item[style*="z-index: 100"]:hover {
  transform: scale(1.05) !important;
}

/* Disable hover effects for non-centered items */
.coverflow-item:not([style*="z-index: 100"]) {
  cursor: pointer !important;
}

.coverflow-item:not([style*="z-index: 100"]):hover {
  transform: none !important;
}


/* Ensure landing page header logo matches other pages */
@media (min-width: 992px) {
  body:has(.hero-section-3d) .header .logo {
    margin: 0 0 0 3rem !important; /* Match global header logo positioning */
  }
}

@media (max-width: 991px) {
  body:has(.hero-section-3d) .header .logo {
    margin: 0 0 0 3rem !important; /* Match global header logo positioning */
  }
}

/* Mobile Filter Buttons Spacing Fix */
@media (max-width: 768px) {
  .product-filters .d-flex.justify-content-between {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
  }
  
  .product-filters .d-flex.gap-2 {
    width: 100%;
    justify-content: flex-end;
    margin-left: 0 !important;
  }
  
  .product-filters .filter-title {
    margin-bottom: 0.5rem !important;
  }
  
  .product-filters .btn {
    min-width: 120px;
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .product-filters .d-flex.gap-2 {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
  
  .product-filters .btn {
    width: 100%;
    justify-content: center;
  }
}
