/*
Theme Name: Dr. Argha Saha Orthopedic Practice
Description: Professional medical practice theme matching the React version exactly with glass morphism effects, gradient backgrounds, and modern medical styling.
Author: Custom Medical Theme
Version: 2.0
Text Domain: orthopedic-practice
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Merriweather:wght@300;400;700&display=swap');

:root {
  /* Exact color palette matching React version */
  --medical-blue: hsl(213, 94%, 68%);
  --medical-navy: hsl(213, 78%, 15%);
  --accent-teal: hsl(168, 92%, 42%);
  --success-green: hsl(134, 61%, 41%);
  --premium-gold: hsl(43, 96%, 56%);
  --healing-green: hsl(142, 76%, 36%);
  --professional-purple: hsl(252, 83%, 57%);
  --warm-coral: hsl(14, 100%, 57%);
  --clean-white: hsl(0, 0%, 100%);
  --soft-gray: hsl(218, 11%, 65%);
  --charcoal: hsl(217, 19%, 27%);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: white;
  overflow-x: hidden;
}

/* Gradient background matching React version exactly */
body {
  background: linear-gradient(135deg, 
    #1e40af 0%,
    #0d9488 25%, 
    #059669 50%,
    #1e40af 75%,
    #0d9488 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  min-height: 100vh;
  position: relative;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Typography matching React version */
.font-merriweather {
  font-family: 'Merriweather', serif;
}

.font-inter {
  font-family: 'Inter', sans-serif;
}

.font-premium {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.font-body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Text shadows and effects */
.drop-shadow-xl, .drop-shadow-2xl {
  text-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.drop-shadow-lg {
  text-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.drop-shadow-md {
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.drop-shadow-sm {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Glass Morphism Effects - Exact React Version Match */
.glass-morphism {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-morphism:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.backdrop-blur-md {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Premium shadows */
.premium-shadow {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.premium-shadow:hover {
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Color utility classes */
.medical-blue { background-color: var(--medical-blue); }
.medical-navy { background-color: var(--medical-navy); }
.accent-teal { background-color: var(--accent-teal); }
.success-green { background-color: var(--success-green); }
.premium-gold { background-color: var(--premium-gold); }
.healing-green { background-color: var(--healing-green); }
.professional-purple { background-color: var(--professional-purple); }

/* Header and Navigation Styles */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.main-navigation {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-branding {
  display: flex;
  flex-direction: column;
}

.site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
}

.site-title-link {
  color: white;
  text-decoration: none;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.site-title-link:hover {
  color: var(--accent-teal);
}

.site-description {
  margin: 0;
  font-size: 0.75rem;
  color: var(--accent-teal);
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
}

.nav-btn {
  padding: 8px 16px;
  font-size: 0.875rem;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu li a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--medical-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Hero Section */
.hero-section {
  padding: 120px 0 80px;
  margin-top: 80px;
}

.hero-content {
  text-align: center;
  padding: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 50px;
  color: var(--accent-teal);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-teal);
  border-radius: 50%;
  margin-right: 8px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-teal);
  margin-bottom: 8px;
  font-weight: 500;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 32px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.3);
  border-radius: 50px;
  color: var(--accent-teal);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.section-badge svg {
  margin-right: 8px;
  color: var(--accent-teal);
}

.section-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.section-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Credentials Section */
.credentials-section {
  padding: 96px 0;
  position: relative;
}

.credentials-section::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.2) 1px, transparent 0);
  background-size: 24px 24px;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  position: relative;
}

.credential-card {
  text-align: center;
  padding: 32px;
  position: relative;
}

.credential-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  transition: transform 0.3s ease;
}

.credential-card:hover .credential-icon {
  transform: scale(1.1);
}

.credential-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.credential-description {
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* About Section */
.about-section {
  padding: 96px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-description p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.about-stats {
  display: flex;
  gap: 32px;
  margin: 32px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.about-image {
  text-align: center;
}

.image-container {
  padding: 16px;
  display: inline-block;
}

.about-doctor-image, .doctor-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  object-fit: cover;
}

/* Services Section */
.services-preview {
  padding: 96px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-bottom: 48px;
}

.service-card {
  padding: 32px;
  text-align: center;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  transition: transform 0.3s ease;
}

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

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.services-cta {
  text-align: center;
}

/* Testimonials Section */
.testimonials-section {
  padding: 64px 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  padding: 24px;
  transition: all 0.3s ease;
}

.stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 24px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  transform: scale(1.1);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.author-procedure {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
  padding: 96px 0;
}

.cta-content {
  text-align: center;
  padding: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 24px;
  text-shadow: 0 25px 25px rgba(0, 0, 0, 0.25);
}

.cta-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  line-height: 1.6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.footer-section p,
.footer-section li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-teal);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .about-content { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { justify-content: center; }
  .hero-buttons, .cta-buttons { flex-direction: column; align-items: center; }
  .credentials-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .nav-wrapper { flex-direction: column; gap: 1rem; }
  .nav-menu { gap: 1rem; }
  .hero-section { padding: 100px 0 60px; }
  .footer-content { grid-template-columns: 1fr; }
}