/* Modern Design Enhancements */

/* Header with glassmorphism effect */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Modern navigation */
.navmenu ul li a {
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navmenu ul li a:hover::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Gradient buttons */
.cta-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

/* Hero section with modern layout */
.hero {
  background: var(--gradient-secondary);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* Modern cards */
.service-item, .stats-item {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(99, 102, 241, 0.1);
}

.service-item:hover, .stats-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(99, 102, 241, 0.2);
}

.service-item .icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-item .icon i {
  font-size: 2rem;
  color: white;
}

/* Section titles */
.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact form styling */
.php-email-form {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.php-email-form input, .php-email-form textarea {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 15px;
  transition: all 0.3s ease;
}

.php-email-form input:focus, .php-email-form textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.php-email-form button {
  background: var(--gradient-primary);
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.php-email-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Footer modern styling */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  color: #ffffff;
}

.footer h4 {
  color: #ffffff;
}

.footer p, .footer a {
  color: #e2e8f0;
}

.footer a:hover {
  color: #ffffff;
}

.footer .social-links a {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer .social-links a:hover {
  background: var(--gradient-primary);
  transform: translateY(-3px);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero {
    text-align: center;
    padding: 2rem 0;
  }
  
  .service-item, .stats-item {
    margin-bottom: 2rem;
  }
  
  .navmenu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }
  
  .mobile-nav-toggle {
    color: var(--accent-color);
    font-size: 1.5rem;
  }
}

/* Tablet optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    max-width: 95%;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

/* Desktop enhancements */
@media (min-width: 1025px) {
  .hero {
    min-height: 90vh;
  }
  
  .service-item:hover {
    transform: translateY(-15px) scale(1.02);
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .service-item, .stats-item {
    border: 2px solid var(--accent-color);
  }
}
