/* Completely redesigned CSS to match reference website style */

/* Global Styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Mobile Menu Styles */
.mobile-menu-f5f70 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.mobile-menu-open-f5f70 {
  max-height: 400px;
}

/* Cookie Popup Styles */
/* Updated cookie popup with yellow theme */
.cookie-popup-f5f70 {
  position: fixed;
  bottom: -300px;
  left: 0;
  right: 0;
  background: #1f2937;
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: bottom 0.4s ease-in-out;
}

.cookie-popup-show-f5f70 {
  bottom: 0;
}

.cookie-content-f5f70 {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .cookie-content-f5f70 {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
  }
  
  .cookie-content-f5f70 p {
      margin-bottom: 0;
      flex: 1;
  }
  
  .cookie-content-f5f70 .flex-f5f70 {
      flex-shrink: 0;
  }
}

/* Hover Effects */
/* Added hover lift effect for cards */
.hover-lift-f5f70 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift-f5f70:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Service Cards */
.service-card-f5f70 {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card-f5f70:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Feature Icon Cards */
/* Added scale effect for feature icons */
.feature-icon-card-f5f70 {
  transition: transform 0.3s ease;
}

.feature-icon-card-f5f70:hover {
  transform: scale(1.05);
}

.hover-scale-f5f70 {
  transition: transform 0.3s ease;
}

.hover-scale-f5f70:hover {
  transform: scale(1.1);
}

/* Flip Cards */
/* Added 3D flip card animation */
.flip-card-f5f70 {
  perspective: 1000px;
  cursor: pointer;
  height: 400px;
}

.flip-card-inner-f5f70 {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card-f5f70.flipped-f5f70 .flip-card-inner-f5f70 {
  transform: rotateY(180deg);
}

.flip-card-front-f5f70,
.flip-card-back-f5f70 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-back-f5f70 {
  transform: rotateY(180deg);
}

/* Expandable Cards */
/* Added expandable accordion cards */
.expandable-card-f5f70 {
  transition: all 0.3s ease;
}

.expandable-content-f5f70 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.expandable-card-f5f70.expanded-f5f70 .expandable-content-f5f70 {
  max-height: 500px;
}

.expandable-card-f5f70.expanded-f5f70 .expand-icon-f5f70 {
  transform: rotate(180deg);
}

.expandable-header-f5f70 {
  cursor: pointer;
}

/* Form Styles */
/* Updated form inputs to match new design */
input:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

input[type="checkbox"]:checked {
  background-color: #facc15;
  border-color: #facc15;
}

/* Button Animations */
button,
a {
  transition: all 0.3s ease-in-out;
}

button:hover,
a:hover {
  transform: translateY(-1px);
}

/* Image Effects */
img {
  transition: transform 0.3s ease-in-out;
}

/* Loading State */
#contactForm.loading-f5f70 button[type="submit"] {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
      font-size: 2.5rem;
  }
  
  h2 {
      font-size: 2rem;
  }
  
  h3 {
      font-size: 1.5rem;
  }
  
  .flip-card-f5f70 {
      height: 350px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #facc15;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #eab308;
}

/* Animation for elements entering viewport */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.animate-on-scroll-f5f70 {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth transitions for all interactive elements */
* {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero section overlay gradient */
.hero-overlay-f5f70 {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

/* Card shadows matching reference design */
.shadow-soft-f5f70 {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-soft-f5f70:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
