/* Custom Styles for CleanHome Service */

* {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
}

/* Header shadow transition */
header {
  transition: box-shadow 0.3s ease-in-out;
}

/* Cookie popup animation */
#cookiePopup {
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Form focus states */
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #9333ea;
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

/* Hover effects for cards */
.hover-3c2c3\:shadow-2xl:hover {
  transform: translateY(-4px);
}

/* Smooth transitions */
a,
button {
  transition: all 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Animation for sections */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Error message styling */
.error-message-3c2c3 {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }
  to {
      opacity: 1;
  }
}

/* Mobile menu animation */
#mobileMenu {
  transition: all 0.3s ease-in-out;
}

/* Image hover effects */
img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

/* Button pulse effect on hover */
button:hover,
a.bg-yellow-400-3c2c3:hover {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0%, 100% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
}

/* Responsive iframe */
iframe {
  max-width: 100%;
}

/* Loading state for form submission */
form.loading-3c2c3 button[type="submit"] {
  opacity: 0.6;
  pointer-events: none;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header,
  footer,
  #cookiePopup {
      display: none;
  }
}

/* Added modern gradient and animation styles */

/* Service Flip Cards */
.service-card-3c2c3 {
  perspective: 1000px;
  height: 420px;
}

.service-card-inner-3c2c3 {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.service-card-inner-3c2c3.flipped-3c2c3 {
  transform: rotateY(180deg);
}

.service-card-front-3c2c3,
.service-card-back-3c2c3 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card-back-3c2c3 {
  transform: rotateY(180deg);
}

.card-arrow-btn-3c2c3 {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.card-arrow-btn-3c2c3:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Wave Dividers */
.wave-divider-3c2c3 {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -1px;
}

.wave-divider-3c2c3 svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 120px;
}

.wave-divider-flip-3c2c3 {
  transform: rotate(180deg);
}

/* Expand Cards */
.expand-card-3c2c3 {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-card-3c2c3:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expand-card-active-3c2c3 {
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.expand-card-icon-3c2c3 {
  transition: all 0.4s ease;
}

.expand-card-preview-3c2c3,
.expand-card-full-3c2c3 {
  transition: all 0.3s ease;
}

/* Team Cards */
.team-card-3c2c3 {
  transition: transform 0.3s ease;
}

.team-card-3c2c3:hover {
  transform: translateY(-8px);
}

.team-card-overlay-3c2c3 {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem 1.5rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth animations */
@keyframes slideInFromLeft {
  from {
      opacity: 0;
      transform: translateX(-50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
      opacity: 0;
      transform: translateX(50px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Gradient text */
.gradient-text-3c2c3 {
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header on scroll */
header {
  transition: all 0.3s ease;
}

header.scrolled-3c2c3 {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Button hover effects */
button,
a[class*="bg-"] {
  position: relative;
  overflow: hidden;
}

button::before,
a[class*="bg-"]::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

button:hover::before,
a[class*="bg-"]:hover::before {
  width: 300px;
  height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-card-3c2c3 {
      height: 400px;
  }
  
  .wave-divider-3c2c3 svg {
      height: 60px;
  }
}
