/* Production-Ready Tailwind CSS + Premium Styles */

/* Tailwind CSS Base Styles */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Base Styles */
.icon {
  width: 28px;
  height: 28px;
  background: #0f3d2e;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Smooth scroll */
.custom-scroll {
  scroll-behavior: smooth;
}

/* Chrome */
.custom-scroll::-webkit-scrollbar {
  width: 5px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #0f3d2e;
  border-radius: 10px;
}

/* Firefox */
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: #0f3d2e transparent;
}

/* Premium High-Conversion UI Styles */

/* Section Separators */
.section-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.05) 50%, transparent 100%);
  clip-path: polygon(0 0, 100% 20%, 100% 100%, 0 80%);
}

/* Premium Background Patterns */
.premium-bg {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.premium-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(107, 142, 35, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.04) 0%, transparent 50%),
    linear-gradient(45deg, transparent 48%, rgba(59, 130, 246, 0.02) 50%, transparent 52%);
  pointer-events: none;
}

/* Trust Badges */
.trust-badge {
  background: linear-gradient(135deg, #6b8e23 0%, #8fbc8f 100%);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4);
}

/* About Section - Premium Layered Design */
.about-premium {
  background: linear-gradient(135deg, rgba(255,255,255,0.97) 0%, rgba(248,250,252,0.95) 100%);
  position: relative;
  overflow: hidden;
}

.about-premium::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 70%;
  height: 160%;
  background: url('https://images.unsplash.com/photo-1576091160590-2173dba999ef?w=1000&h=1500&fit=crop&auto=format') center/cover;
  opacity: 0.06;
  transform: rotate(12deg);
  pointer-events: none;
}

.about-premium::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 60%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(107, 142, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* Services Section - Image-First Design */
.services-premium {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  position: relative;
  overflow: hidden;
}

.services-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1583947584035-87ce5c1ff5e9?w=1920&h=800&fit=crop&auto=format&blur=80') center/cover;
  opacity: 0.15;
  pointer-events: none;
}

/* Premium Service Cards */
.service-card-premium {
  position: relative;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.service-card-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center;
  transition: all 0.4s ease;
}

.service-card-premium::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 100%);
  pointer-events: none;
}

.service-card-premium:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card-premium:hover::before {
  transform: scale(1.1);
}

.service-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: white;
  z-index: 2;
}

.service-card-title {
  position: absolute;
  top: 20px;
  left: 25px;
  right: 25px;
  color: white;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  z-index: 3;
}

/* Testimonials Section - Real Feedback Design */
.testimonials-premium {
  background: linear-gradient(135deg, #fef9e7 0%, #fef3c7 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 70%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Premium Testimonial Cards */
.testimonial-card-premium {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card-premium::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 120px;
  color: rgba(107, 142, 35, 0.1);
  font-family: Georgia, serif;
}

.testimonial-card-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.patient-avatar-premium {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6b8e23 0%, #8fbc8f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 4px 15px rgba(107, 142, 35, 0.3);
}

.star-rating {
  display: flex;
  gap: 4px;
  margin: 12px 0;
}

.star {
  color: #fbbf24;
  font-size: 18px;
}

/* Contact Section - Premium Design */
.contact-premium {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  position: relative;
  overflow: hidden;
}

.contact-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* FAQ Section - Premium Design */
.faq-premium {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  position: relative;
  overflow: hidden;
}

.faq-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.06) 0%, transparent 50%),
              radial-gradient(circle at 75% 25%, rgba(107, 142, 35, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Premium Typography */
.section-title-premium {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title-premium::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #6b8e23 0%, #8fbc8f 100%);
  border-radius: 2px;
}

/* Olive Green Accents */
.olive-accent {
  color: #6b8e23;
  font-weight: 600;
}

.olive-bg-subtle {
  background: linear-gradient(135deg, rgba(107, 142, 35, 0.1) 0%, rgba(143, 188, 143, 0.1) 100%);
  padding: 4px 12px;
  border-radius: 6px;
}

/* Premium Animations */
.fade-in-up-premium {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up-premium.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Glass Morphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Premium Button Styles */
.btn-premium {
  background: linear-gradient(135deg, #6b8e23 0%, #8fbc8f 100%);
  color: white;
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(107, 142, 35, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 142, 35, 0.4);
}

.btn-premium:hover::before {
  left: 100%;
}

/* Responsive Optimizations */
@media (max-width: 768px) {
  .section-title-premium {
    font-size: 32px;
  }
  
  .service-card-premium {
    height: 280px;
  }
  
  .section-title-premium::after {
    width: 60px;
    height: 3px;
  }
}