/* Additional custom styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e293b;
  --accent-color: #EFC300;
  --accent-hover: #f59e0b;
  --light-color: #ffffff;
  --gradient-start: #1e40af;
  --gradient-end: #1e293b;
}

body {
  font-family: 'Montserrat', sans-serif;
}

/* Custom animations */
.hover-grow {
  transition: transform 0.3s ease;
}

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

/* Custom button styles */
.button-primary, .btn-green {
  background-color: #02a87f;
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  box-shadow: none;
  text-shadow: none;
  transition: background 0.15s, color 0.15s;
}
.button-primary:hover, .button-primary:focus, .btn-green:hover, .btn-green:focus {
  background-color: #029e76;
  color: #fff;
}

.button-secondary {
  background-color: white;
  color: var(--secondary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button-accent {
  background-color: var(--accent-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.button-accent:hover {
  background-color: #d65b3e;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Hero section styles */
.hero-section {
  background-image: linear-gradient(rgba(31, 61, 92, 0.7), rgba(31, 61, 92, 0.7)), url('../images/new-homehero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px; /* Account for fixed navbar */
}

/* Social icon styles */
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-color) !important;
  color: white !important;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--accent-color) !important;
  color: black !important;
}

.social-icon i {
  color: inherit !important;
}

/* Navigation styles */
.nav-scrolled {
  background-color: rgba(30, 41, 59, 0.95);
}

.call-btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.call-btn:hover {
  background-color: var(--accent-color) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Enhanced CTA Section Styles */
.cta-section {
  position: relative;
  overflow: hidden;
  background: none !important;
}
.cta-section h2,
.cta-section .cta-desc-text,
.cta-section strong {
  color: #1F3D5C !important;
}
.cta-section h2 {
  font-weight: 700;
}
.cta-section .cta-desc-text {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
}
.cta-section strong {
  font-weight: 700;
  color: #1F3D5C !important;
}
.cta-section .button-yellow {
  background-color: #fff;
  color: #1F3D5C;
  border: 2px solid #1F3D5C;
}
.cta-section .button-yellow:hover {
  background-color: #1F3D5C;
  color: #fff;
}
.cta-section .absolute.bg-yellow-400 {
  background-color: #EFC300 !important;
  opacity: 0.8 !important;
}
.cta-section p {
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .cta-section .cta-desc-text {
    font-size: 16px;
}
  .cta-section p,
  .cta-section h2 {
    text-align: left;
}
  .cta-section .flex {
    flex-direction: column;
  }
}

/* Trusted Clients section styles - matching CTA section */
.trusted-clients-section {
  /* background: #fbbf24 !important; */
  position: relative;
  padding: 2rem 0;
  z-index: 1;
}

.trusted-clients-section::before {
  content: none !important;
  display: none !important;
  background: none !important;
}

.trusted-clients-section > .container {
  position: relative;
  z-index: 1;
}

.trusted-clients-section > .bg-yellow-400,
.guarantee-section > .bg-yellow-400,
.trusted-clients-section:hover > .bg-yellow-400,
.trusted-clients-section:focus > .bg-yellow-400,
.trusted-clients-section:active > .bg-yellow-400,
.guarantee-section:hover > .bg-yellow-400,
.guarantee-section:focus > .bg-yellow-400,
.guarantee-section:active > .bg-yellow-400 {
  background: #EFC300 !important;
  background-color: #EFC300 !important;
  opacity: 0.6 !important;
  pointer-events: none;
  transition: none !important;
}

/* Unified gradient section styles */
.unified-gradient-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #000000 50%, var(--secondary-color) 100%);
  position: relative;
  padding: 2rem 0;
}

.unified-gradient-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, var(--accent-color) 35%, var(--accent-color) 40%, transparent 45%);
  opacity: 0.1;
  pointer-events: none;
}

.unified-gradient-section > .container {
  position: relative;
  z-index: 1;
}

/* Instant estimate button styles */
.instant-estimate-btn {
  background-color: #D32323;
  color: white;
  padding: 1.5rem 3rem;
  font-size: 1.5rem;
  font-weight: 600;
  border-radius: 0.5rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.instant-estimate-btn:hover {
  background-color: #B71C1C;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Animation on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Swiper pagination styles */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d1d5db;
  opacity: 1;
  margin: 0 4px;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color);
}

/* Testimonial navigation styles */
.testimonial-prev,
.testimonial-next {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.testimonial-prev:focus,
.testimonial-next:focus {
  outline: none;
}

/* Swiper slide styles */
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text highlight styles */
.text-yellow-highlight {
  color: var(--accent-color);
}

.border-yellow-highlight {
  border-color: var(--accent-color);
}

.hover-yellow:hover {
  color: var(--accent-color);
}

/* Yellow text on dark backgrounds */
.text-yellow-on-dark {
  color: var(--accent-color);
  text-shadow: none !important;
}

/* Yellow button styles */
.button-yellow {
  background-color: var(--accent-color);
  color: black;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.button-yellow:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: black;
}

/* Background color utilities */
.bg-yellow-400 {
  background-color: var(--accent-color);
}

.bg-yellow-400:hover,
.bg-yellow-400:focus,
.bg-yellow-400:active {
  background: #EFC300 !important;
  background-color: #EFC300 !important;
}

.bg-white {
  background-color: white;
}

.bg-white:hover {
  background-color: white !important;
}

/* Font Awesome icon styles */
.fas, .fab {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

/* Social icon specific styles */
.social-icon .fas, .social-icon .fab {
  font-size: 1rem;
  color: inherit;
}

/* Group hover effects */
.group:hover .fas {
  color: var(--accent-color);
}

/* Mobile menu button styles */
#mobile-menu-button .fas {
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

#mobile-menu-button:hover .fas {
  color: var(--accent-color);
}

/* Footer icon styles */
footer .fas {
  font-size: 1.2rem;
}

footer .fab {
  font-size: 1.2rem;
}

/* Star rating styles */
.fas.fa-star {
  color: #EFC300;
  font-size: 1rem;
}

/* Check mark styles */
.fas.fa-check {
  color: #10b981;
  font-size: 1rem;
}

/* Times/X mark styles */
.fas.fa-times {
  color: #ef4444;
  font-size: 1rem;
}

/* Large icon styles */
.w-20.h-20 .fas, .w-16.h-16 .fas {
  font-size: 2rem;
  color: var(--primary-color);
}

/* Primary color icon styles */
.text-primary .fas {
  color: var(--primary-color);
}

/* Background primary icon styles */
.bg-primary .fas {
  color: white;
}

/* Yellow background icon styles */
.bg-yellow-400 .fas {
  color: black;
}

/* Navigation icon styles */
nav .fas {
  font-size: 0.875rem;
}

/* Group icon styles */
.group .fas {
  transition: color 0.3s ease;
}

/* Button and link icon styles */
button .fas, a .fas {
  margin-right: 0.5rem;
}

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

/* Testimonial navigation hover */
.testimonial-prev:hover,
.testimonial-next:hover {
  color: var(--primary-color);
}

/* Green check circle styles */
.green-check-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #10b981;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.green-check-circle .fas {
  color: white;
  font-size: 0.75rem;
}

/* Red circle styles - small */
.red-circle-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Red circle styles - medium */
.red-circle-medium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Red circle styles - large */
.red-circle-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #ef4444;
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* Red circle icon styles */
.red-circle-small .fas,
.red-circle-medium .fas,
.red-circle-large .fas {
  color: white;
}

/* Carousel improvements */
.carousel-container {
  overflow: hidden;
  position: relative;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.carousel-track {
  display: flex;
  /* animation: scroll 20s linear infinite; */
}

.carousel-item {
  flex-shrink: 0;
  margin: 0 1rem;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 60px;
    min-height: 80vh;
  }
  
  .carousel-item {
    margin: 0 0.5rem;
  }
  
  .carousel-item img {
    width: 280px;
    height: 120px;
  }
  
  .cta-section h2 {
    font-size: 1.875rem;
  }
  
  .cta-section p {
    font-size: 2.25rem;
  }
  
  .trusted-clients-section .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .trusted-clients-section .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .carousel-item img {
    width: 240px;
    height: 100px;
  }
}

/* Ensure proper z-index stacking */
.trusted-clients-section {
  position: relative;
  z-index: 1;
}

.trusted-clients-section .container {
  position: relative;
  z-index: 2;
}

/* Fix for certificate section layout */
@media (max-width: 768px) {
  .certificate-grid {
    grid-template-columns: 1fr;
  }
}

/* Ensure proper spacing between sections */
section {
  position: relative;
  padding-top: 80px;
  padding-bottom: 80px;
}

section + section {
  margin-top: 0 !important;
}

/* Fix for testimonial section */
.testimonialSwiper {
  position: relative;
  overflow: hidden;
}

.swiper-slide {
  text-align: center;
  padding: 2rem 1rem;
}

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

/* Pause animation on hover */
.carousel-track:hover {
  animation-play-state: paused;
}

/* Service Cards Section */
.service-card-link {
  display: flex;
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 400px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 1.25rem;
  height: 100%;
}
.service-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background: #1F3D5C;
  border-radius: 1.25rem;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.12);
  border: 1px solid #232a32;
  color: #fff;
  margin-bottom: 0;
  padding: 2.5rem 2rem 4.5rem 2rem;
  min-height: 440px;
  height: 100%;
  position: relative;
  transition: box-shadow 0.12s cubic-bezier(0.4,0,0.2,1), transform 0.12s cubic-bezier(0.4,0,0.2,1), border-color 0.12s cubic-bezier(0.4,0,0.2,1);
}
.service-card-img-container {
  width: 100%;
  height: 160px;
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}
.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.service-card h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #EFC300;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}
.service-card p {
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 0;
  flex: 1 1 auto;
}
.service-card-arrow {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-card-arrow svg {
  width: 48px;
  height: 48px;
  display: block;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 2px 8px 0 rgba(31,61,92,0.10);
  transition: box-shadow 0.15s, transform 0.15s;
}
@media (max-width: 1024px) {
  .our-services-section .grid {
    gap: 1.5rem;
  }
  .service-card-link {
    min-width: 260px;
    max-width: 100%;
  }
  .service-card {
    padding: 1.5rem 1rem 3.5rem 1rem;
    min-height: 380px;
  }
  .service-card-img-container {
    height: 120px;
    margin-bottom: 1.2rem;
  }
  .service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  .service-card-arrow {
    right: 1rem;
    bottom: 1rem;
  }
  .service-card-arrow svg {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 600px) {
  .our-services-section .grid {
    flex-direction: column;
    gap: 1rem;
  }
  .service-card-link {
    min-width: 0;
    width: 100%;
  }
  .service-card {
    min-height: 320px;
    padding: 1rem 0.5rem 2.5rem 0.5rem;
  }
  .service-card-img-container {
    height: 90px;
  }
  .service-card-arrow {
    right: 0.5rem;
    bottom: 0.5rem;
  }
}

.cta-blue-btn {
  background-color: #1F3D5C;
  color: #fff;
  border: none;
  box-shadow: none;
  transition: none;
}
.cta-blue-btn:hover, .cta-blue-btn:focus {
  background-color: #1F3D5C;
  color: #fff;
  box-shadow: none;
  transition: none;
}

/* Responsive Vertical Rhythm for Homepage */
h1, h2, h3, .section-title {
  margin-bottom: 30px;
}
@media (max-width: 600px) {
  h1, h2, h3, .section-title {
    margin-bottom: 20px;
  }
}

/* Grid and card gaps for homepage */
.grid,
.grid-cols-3,
.grid-cols-2 {
  gap: 30px;
}
@media (max-width: 600px) {
  .grid,
  .grid-cols-3,
  .grid-cols-2 {
    gap: 20px;
  }
}

/* Remove excessive spacing between section + section */
section + section {
  margin-top: 0 !important;
}

/* Ensure consistent spacing for service cards */
.service-card {
  margin-bottom: 0;
}

.service-arrow-btn {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-arrow-btn svg {
  display: block;
  box-shadow: 0 2px 8px 0 rgba(31,61,92,0.10);
  border-radius: 50%;
  transition: box-shadow 0.15s, transform 0.15s;
}
.service-arrow-btn:focus {
  outline: 2px solid #EFC300;
  outline-offset: 2px;
}
.service-arrow-btn:hover svg {
  box-shadow: 0 4px 16px 0 rgba(31,61,92,0.18);
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .service-arrow-btn {
    bottom: 1rem;
    right: 1rem;
  }
  .service-arrow-btn svg {
    width: 36px;
    height: 36px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body, html {
  -webkit-overflow-scrolling: touch;
}

/* Fade-in-up animation for homepage */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.fade-in-up.animated {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.7s cubic-bezier(0.4,0,0.2,1) both;
}

/* Service card entrance animation */
.service-card {
  transition: box-shadow 0.3s, transform 0.3s, opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.service-card-arrow svg,
.service-arrow-btn svg {
  box-shadow: 0 2px 8px 0 rgba(31,61,92,0.10);
  border-radius: 50%;
}

.fade-in-up,
.fade-in-up.animated {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}

/* Before/After Slider Styles */
.before-after-slider {
  /* removed */
}

.before-after-slider img {
  /* removed */
}

.before-image-container {
  /* removed */
}

.slider-handle {
  /* removed */
}

.slider-button {
  /* removed */
}

.slider-button:hover {
  /* removed */
}

.slider-button:active {
  /* removed */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .before-after-slider {
    margin: 0 -1rem;
  }
  
  .slider-button {
    width: 28px;
    height: 28px;
  }
  
  .slider-button svg {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .slider-button {
    width: 24px;
    height: 24px;
  }
  
  .slider-button svg {
    width: 12px;
    height: 12px;
  }
}

/* Restore infinite scroll for infinite carousels only */
.carousel-track.animate-scroll {
  animation: scroll 20s linear infinite;
}

/* Remove animation from the before/after carousel by not using animate-scroll class */

/* Remove text-shadow and box-shadow from all text elements */
[class*="text-"], h1, h2, h3, h4, h5, h6, p, span, strong, em {
  text-shadow: none !important;
  box-shadow: none !important;
}

/* Remove styles for the featured services section */
.bg-gray-50, .hover\:shadow-xl, .transition-shadow, .aspect-\[3\/4\] {
  all: unset !important;
}

/* Testimonial Section: Remove all hover/focus/active color changes and enforce white background */
section.testimonial-section,
.testimonial-section:hover,
.testimonial-section:focus,
.testimonial-section:active {
  background: #fff !important;
}
.testimonial-slide > div:hover, .testimonial-slide > div:focus, .testimonial-slide > div:active {
  background: white !important;
}
.testimonial-slider-controls button,
.testimonial-slider-controls button:hover,
.testimonial-slider-controls button:focus,
.testimonial-slider-controls button:active {
  background: #fff !important;
  border: 2px solid #EFC300 !important;
  color: #1F3D5C !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Ensure arrows are always outside the cards and vertically centered */
.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 0 3.5rem;
  background: #fff !important;
}
.testimonial-prev, .testimonial-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  left: 0.5rem;
  right: auto;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  background: #fff !important;
  border: 2px solid #EFC300 !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.testimonial-next {
  left: auto;
  right: 0.5rem;
}

.testimonial-prev:hover, .testimonial-next:hover {
  background: #EFC300 !important;
  color: #1F3D5C !important;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-prev:disabled, .testimonial-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .testimonial-slider {
    padding: 0 1.5rem;
  }
  .testimonial-prev {
    left: 0.5rem;
  }
  .testimonial-next {
    right: 0.5rem;
  }
}
@media (max-width: 768px) {
  .testimonial-slider {
    padding: 0;
  }
  .testimonial-prev, .testimonial-next {
    position: static;
    transform: none;
    margin: 1rem 0.5rem 0 0.5rem;
    width: 40px;
    height: 40px;
    display: inline-flex;
  }
  .testimonial-slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
  }
}

/* Center cards and arrows, show 3 testimonials at a time */
.testimonial-track {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
  gap: 1rem;
}
.testimonial-slide {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  flex: 0 0 calc(33.333% - 0.667rem);
  min-width: 0;
}

/* Responsive adjustments for testimonial slides */
@media (max-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 calc(50% - 0.5rem);
  }
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
  .testimonial-track {
    gap: 0.5rem;
  }
}

/* Standardize section paddings except py-16, hero-section, guarantee-section */
section:not(.py-16):not(.hero-section):not(.guarantee-section) {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove extra margin between sections */
section + section {
  margin-top: 0 !important;
}

.container {
  max-width: 1200px !important;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.hover\:bg-gray-50:hover, .hover\:bg-gray-100:hover, .hover\:bg-gray-200:hover, .hover\:bg-gray-300:hover, .hover\:bg-gray-400:hover, .hover\:bg-gray-500:hover {
  background-color: white !important;
}

/* Remove all section hover background color overrides to keep section backgrounds static */
/*
section:hover, section.bg-white:hover, section.bg-gray-50:hover, section.bg-yellow-400:hover, section.bg-secondary:hover {
  background-color: inherit !important;
}
*/

.service-card-link:focus .service-card,
.service-card-link:hover .service-card {
  border-color: #EFC300 !important;
  box-shadow: 0 12px 36px 0 rgba(239,195,0,0.18), 0 8px 32px 0 rgba(0,0,0,0.18);
  transform: translateY(-6px) scale(1.04);
  outline: 2px solid #EFC300;
  outline-offset: 2px;
}

/* Remove all hover rules that affect section backgrounds for trusted-clients-section and guarantee-section */
/*
.trusted-clients-section:hover,
.trusted-clients-section:focus,
.trusted-clients-section:active,
.guarantee-section:hover,
.guarantee-section:focus,
.guarantee-section:active,
section:hover,
section.bg-yellow-400:hover,
section.bg-white:hover {
  background: inherit !important;
  background-color: inherit !important;
}
*/

.badge-strip-hero {
  right: 0;
  bottom: 1rem;
  position: absolute;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 1.5rem;
  border-bottom-left-radius: 1.5rem;
  margin-right: 0 !important;
  padding-right: 0 !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.1) !important;
  gap: 2rem;
  transition: none !important;
  pointer-events: none;
}

.badge-strip-hero:hover {
  background-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateZ(0) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.1) !important;
}

.badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  transition: none !important;
}

.badge-item:hover {
  transform: none !important;
}

/* Mobile Badge Strip Styles */
.mobile-badge-strip {
  right: 0;
  bottom: 1rem;
  position: absolute;
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-top-left-radius: 1rem;
  border-bottom-left-radius: 1rem;
  margin-right: 0 !important;
  padding-right: 0 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
  gap: 1rem;
  transition: none !important;
  pointer-events: none;
}

.mobile-badge-strip:hover {
  background-color: rgba(255, 255, 255, 0.7) !important;
  transform: translateZ(0) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1) !important;
}

.mobile-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  transition: none !important;
}

.mobile-badge-item:hover {
  transform: none !important;
}

/* Remove margins from Before & After carousel items to prevent blurry edges */
#before-after-carousel-track .carousel-item {
  margin: 0;
}

/* Cleaning for Purpose Section */
.cleaning-for-purpose-section {
  position: relative;
}

.cleaning-for-purpose-logo {
  max-width: 320px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cleaning-for-purpose-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.cleaning-purpose-btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cleaning-purpose-btn:hover {
  transform: translateY(-2px);
}

.cleaning-purpose-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(78, 205, 196, 0.1), transparent);
  transition: left 0.5s;
}

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

@media (max-width: 1024px) {
  .cleaning-for-purpose-logo {
    max-width: 280px;
  }
  
  .cleaning-for-purpose-section h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .cleaning-for-purpose-logo {
    max-width: 240px;
    padding: 2rem;
  }
  
  .cleaning-for-purpose-section h2 {
    font-size: 2rem;
    text-align: center;
  }
  
  .cleaning-for-purpose-section .space-y-6 {
    text-align: center;
  }
  
  .cleaning-for-purpose-section .w-12 {
    margin: 0 auto 1.5rem auto;
  }
}