@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Base Styles */
body { 
  font-family: 'Inter', sans-serif; 
}

/* Background Gradients */
.gradient-bg { 
  background: linear-gradient(135deg, #001a7d 0%, #0023A6 50%, #1345E6 100%); 
}

/* Card Effects */
.card-hover { 
  transition: all 0.3s ease; 
}

.card-hover:hover { 
  transform: translateY(-8px); 
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
}

/* Hero Pattern */
.hero-pattern { 
  background-image: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 217, 19, 0.3) 0%, transparent 50%); 
}

/* Glass Effects */
.glass-effect { 
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Professional Navigation Hover Effects */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #FDB913;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #0023A6;
}

/* Dropdown improvements */
.dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.dropdown-parent:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: linear-gradient(90deg, #f8fafc, #e2e8f0);
  color: #0023A6;
  padding-left: 20px;
}

/* Mobile menu styles */
#mobileMenu {
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
}

#mobileMenu.active {
  transform: translateX(0);
}

/* Logo hover effect */
.logo-container {
  transition: all 0.3s ease;
}

.logo-container:hover {
  transform: scale(1.05);
}

/* CTA Button improvements */
.cta-button {
  background: linear-gradient(135deg, #0023A6 0%, #1345E6 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 35, 166, 0.2);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 35, 166, 0.3);
  background: linear-gradient(135deg, #1345E6 0%, #0056D6 100%);
}

/* FAQ Styles */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  transition: all 0.3s ease;
}

.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #0023A6;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.active {
  max-height: 500px;
  transition: max-height 0.3s ease-in;
}

.faq-icon {
  transition: transform 0.3s ease;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

/* Search Highlight */
.search-highlight {
  background-color: #FDB913;
  padding: 2px 4px;
  border-radius: 3px;
}

/* Service Card Enhancements */
.service-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #e5e7eb;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0023A6, #1345E6, #0056D6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 35, 166, 0.15);
  border-color: #0023A6;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Service Icon Animation */
.service-card .w-16 {
  transition: all 0.3s ease;
}

/* Service List Styling */
.service-card ul li {
  position: relative;
  padding-left: 1rem;
  transition: all 0.2s ease;
}

.service-card ul li:hover {
  padding-left: 1.25rem;
  color: #374151;
}

/* Hero Section Enhancements for Services Page */
.services-hero-pattern {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(29, 78, 216, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(253, 185, 19, 0.15) 0%, transparent 50%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
}

/* Features Grid Enhancements */
.features-grid .text-center {
  transition: all 0.3s ease;
}

.features-grid .text-center:hover {
  transform: translateY(-5px);
}

.features-grid .w-16 {
  transition: all 0.3s ease;
}

.features-grid .text-center:hover .w-16 {
  transform: scale(1.15);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Service Page Specific Button Enhancements */
.services-cta-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.services-cta-button::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;
}

.services-cta-button:hover::before {
  left: 100%;
}

/* Enhanced Typography for Services */
.service-card h3 {
  color: #1f2937;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.service-card p, .service-card li {
  line-height: 1.6;
  color: #4b5563;
}

/* Loading Animation for Service Cards */
.service-card {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }
.service-card:nth-child(8) { animation-delay: 0.8s; }
.service-card:nth-child(9) { animation-delay: 0.9s; }
.service-card:nth-child(10) { animation-delay: 1.0s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Accessibility Improvements */
.service-card:focus-within {
  outline: 2px solid #0023A6;
  outline-offset: 2px;
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
  }
  
  .service-card h3 {
    font-size: 1.1rem;
  }
  
  .service-card ul li {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

/* Print Styles */
@media print {
  .service-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e5e7eb;
  }
  
  .service-card:hover {
    transform: none;
  }
}
.faq-item {
      border-bottom: 1px solid #e5e7eb;
      transition: all 0.3s ease;
    }
    
    .faq-question {
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .faq-question:hover {
      color: #0023A6;
    }
    
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    
    .faq-answer.active {
      max-height: 500px;
      transition: max-height 0.3s ease-in;
    }
    
    .faq-icon {
      transition: transform 0.3s ease;
    }
    
    .faq-icon.rotate {
      transform: rotate(180deg);
    }
    
    .search-highlight {
      background-color: #FDB913;
      padding: 2px 4px;
      border-radius: 3px;
    }
    