/* ==========================================
   Home Page Specific Styles
   ========================================== */

/* Services Section */
.home-services-section .service-icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(135deg, #f0f9f4 0%, #dcf2e4 100%);
}

.home-services-section .service-icon {
  font-size: 4rem;
  color: #2c7a4b;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-price {
  font-weight: 600;
  color: #2c7a4b;
}

.card-link {
  color: #2c7a4b;
  font-weight: 600;
  transition: color 0.3s ease;
}

.card-link:hover {
  color: #1e4d35;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Doctor Section */
.home-doctor-section {
  background: #f8f9fa;
}

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.doctor-image-container {
  text-align: center;
}

.doctor-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-bottom: 1.5rem;
}

.doctor-image {
  width: 100%;
  height: auto;
}

.doctor-name {
  font-size: 2rem;
  color: #1a3d2b;
  margin-bottom: 0.5rem;
}

.doctor-specialization {
  color: #2c7a4b;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.doctor-qualification {
  color: #666;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.doctor-bio {
  color: #666;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.doctor-expertise-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.expertise-title {
  color: #1a3d2b;
  margin-bottom: 1rem;
}

.expertise-list {
  color: #666;
  line-height: 2;
  margin: 0;
  padding-left: 1.5rem;
}

.doctor-details-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.doctor-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.doctor-detail-item:last-child {
  margin-bottom: 0;
}

.doctor-detail-icon {
  color: #2c7a4b;
  font-size: 1.5rem;
}

.doctor-email {
  color: #2c7a4b;
}

/* Testimonials Section */
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2c7a4b, #55bb88);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.verified-badge {
  color: #999;
}

/* Why Choose Us Section */
.why-choose-section {
  background: linear-gradient(135deg, #f0f9f4 0%, #ffffff 100%);
}

.feature-card {
  text-align: center;
  padding: 2rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #2c7a4b, #55bb88);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(44, 122, 75, 0.2);
}

.feature-title {
  margin-bottom: 1rem;
  color: #1a3d2b;
}

.feature-description {
  color: #666;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #1e4d35 0%, #2c7a4b 100%);
  color: white;
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-description {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-primary {
  background: #ffd166;
  color: #1a3d2b;
}

.cta-primary:hover {
  background: #ffbe3d;
  color: #1a3d2b;
}

.cta-secondary {
  background: transparent;
  border-color: white;
  color: white;
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
  .doctor-profile-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .doctor-image-container {
    text-align: center;
  }

  .doctor-image-wrapper {
    max-width: 400px;
    margin: 0 auto 1.5rem;
  }
}

@media (max-width: 768px) {
  .doctor-name {
    font-size: 1.75rem;
  }

  .doctor-specialization {
    font-size: 1.1rem;
  }

  .cta-title {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .doctor-name {
    font-size: 1.5rem;
  }

  .doctor-specialization {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn-primary,
  .cta-buttons .btn-secondary {
    width: 100%;
  }
}

/* Card Animation on Load */
.card {
  animation: fadeInUp 0.6s ease forwards;
}

.card-grid .card:nth-child(1) { animation-delay: 0.1s; }
.card-grid .card:nth-child(2) { animation-delay: 0.2s; }
.card-grid .card:nth-child(3) { animation-delay: 0.3s; }
.card-grid .card:nth-child(4) { animation-delay: 0.4s; }
.card-grid .card:nth-child(5) { animation-delay: 0.5s; }
.card-grid .card:nth-child(6) { animation-delay: 0.6s; }

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