/* Hero illustration animation */
.hero-illustration {
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Star rating boxes */
.star-box {
  width: 24px;
  height: 24px;
  background-color: #fbbf24;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 20 20'%3E%3Cpath d='M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z'/%3E%3C/svg%3E");
  background-size: 16px 16px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Dropdown animation */
#servicesDropdown {
  transition: all 0.3s ease;
  transform: translateY(-10px);
  opacity: 0;
  visibility: hidden;
}

#servicesDropdown.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .hero-illustration {
    margin-top: 2rem;
  }

  .star-box {
    width: 20px;
    height: 20px;
    background-size: 14px 14px;
  }

  /* Mobile navigation */
  .mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(30, 64, 175, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
  }

  .mobile-nav.active {
    display: block;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Button hover effects */
button,
a {
  transition: all 0.3s ease;
}

/* Services dropdown hover effects */
#servicesDropdown a:hover {
  background-color: rgba(55, 65, 81, 1);
  transform: translateX(4px);
}

/* Logo animation */
.logo-animation {
  transition: transform 0.3s ease;
}

.logo-animation:hover {
  transform: scale(1.05);
}

/* Social media icons hover effects */
.social-icon {
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive text sizing */
@media (max-width: 640px) {
  h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e40af;
}

/* Mobile Navigation Styles */
.mobile-nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-nav.active {
  max-height: 300px;
}

/* Mobile responsive improvements */
@media (max-width: 1024px) {
  .mobile-nav {
    display: block;
  }
}

/* Button active states */
.mobile-menu-btn:active {
  transform: scale(0.95);
}

#allServicesBtn:active {
  transform: scale(0.98);
}








    /* Service Dropdown Styles */
.service-dropdown {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    position: relative;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    transition: all 0.3s ease;
}

.service-header:hover {
    transform: translateX(5px);
}

.service-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-dropdown.active .service-content {
    max-height: 500px;
    padding: 16px 20px;
}

.service-dropdown.active .service-header i:last-child {
    transform: rotate(180deg);
}

.service-item-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.service-item-detail:last-child {
    border-bottom: none;
}

.service-item-detail i {
    width: 20px;
    color: #6b7280;
}

.service-item-detail span {
    flex: 1;
    margin-left: 12px;
    font-weight: 500;
}

.service-item-detail .price {
    font-weight: bold;
    color: #1f2937;
    margin-left: 0;
}

/* Arrow animation */
.service-header i:last-child {
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-header {
        padding: 12px 16px;
        clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
    }
    
    .service-content {
        padding: 0;
    }
    
    .service-dropdown.active .service-content {
        padding: 12px 16px;
    }
    
    .service-item-detail {
        padding: 6px 0;
    }
}
