:root {
  /* Enhanced Color Variables */
  --bg-primary: #f8fafc;
  --bg-dark: #0f172a;
  --text-primary: #1e293b;
  --text-dark: #f1f5f9;
  --btn-bg: #3b82f6;
  --btn-hover: #2563eb;
  --btn-text: #ffffff;
  --alert-color: #f59e0b;
  --success-color: #10b981;
  --border-color: #e2e8f0;
  --border-dark: #334155;
  --shadow-light: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-large: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

  /* Font Variables */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', 'Segoe UI', 'Roboto', 'Arial', sans-serif;

  /* Font Size Variables */
  --font-page-header: 36px;
  --font-inner-header: 28px;
  --font-p: 16px;
  --font-button: 16px;

  /* Other Variables */
  --btn-padding: 16px 32px;
  --card-radius: 16px;
  --icon-size: 40px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Theme Switching */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  transition: var(--transition);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body[data-theme="dark"] {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 {
  font-size: var(--font-page-header);
}

h2 {
  font-size: var(--font-inner-header);
}

p {
  font-size: var(--font-p);
  line-height: 1.6;
}

/* Navbar Styles */
.navbar {
  background: transparent;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
  padding: 20px 0;
  transition: var(--transition);
  position: relative;
  z-index: 1000;
}

body[data-theme="dark"] .navbar {
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-light);
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

body[data-theme="dark"] .navbar-brand {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0 15px;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

body[data-theme="dark"] .nav-link {
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--btn-bg);
  background-color: rgba(59, 130, 246, 0.1);
  transform: translateY(-2px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

/* Theme Toggle Button */
#theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: var(--text-primary);
}

body[data-theme="dark"] #theme-toggle {
  color: var(--text-dark);
}

.theme-icon-light {
  display: inline-block;
}

.theme-icon-dark {
  display: none;
}

body[data-theme="dark"] .theme-icon-light {
  display: none;
}

body[data-theme="dark"] .theme-icon-dark {
  display: inline-block;
}

/* Language Toggle Button */
#lang-toggle {
  background: transparent;
  border: 1px solid var(--text-primary);
  border-radius: 20px;
  padding: 5px 15px;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
}

body[data-theme="dark"] #lang-toggle {
  border-color: var(--text-dark);
  color: var(--text-dark);
}

#lang-toggle:hover {
  background-color: var(--btn-bg);
  border-color: var(--btn-bg);
  color: var(--btn-text);
}

/* Hero Section */
.hero-section {
  padding: 140px 0 120px 0;
  background: 
              url('../1330529.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  margin-top: -80px;
  padding-top: 220px;
  animation: heroBackgroundShift 20s ease-in-out infinite;
}

.hero-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.02) 100%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
  z-index: 1;
  opacity: 0.5;
}

body[data-theme="dark"] .hero-section {
  background:
              url('../1330529.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

body[data-theme="dark"] .hero-section::before {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(51, 65, 85, 0.4) 100%);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.2s both;
}

body[data-theme="dark"] .hero-title {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: white;
  opacity: 0.95;
  line-height: 1.7;
  font-weight: 500;
  position: relative;
  z-index: 2;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeInUp 1s ease-out 0.4s both;
}

body[data-theme="dark"] .hero-subtitle {
  color: var(--text-dark);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
  align-items: center;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
  max-width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
  border-radius: 20px;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-15px) rotate(1deg); }
  50% { transform: translateY(-25px) rotate(0deg); }
  75% { transform: translateY(-15px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes heroBackgroundShift {
  0%, 100% { background-position: center top; }
  50% { background-position: center 10%; }
}

/* Button Styles */
.btn {
  padding: var(--btn-padding);
  border-radius: 12px;
  font-size: var(--font-button);
  font-weight: 600;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn::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;
}

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

.btn-primary {
  background: var(--gradient-primary);
  color: var(--btn-text);
  box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-large);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--btn-bg);
  color: var(--btn-bg);
}

.btn-outline:hover {
  background-color: var(--btn-bg);
  color: var(--btn-text);
}

/* Sections Common Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

body[data-theme="dark"] .section-title {
  color: var(--text-dark);
}

body[data-theme="dark"] .section-title::after {
  background: var(--gradient-secondary);
}

.section-subtitle {
  font-size: 20px;
  margin-bottom: 60px;
  color: var(--text-primary);
  opacity: 0.8;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

body[data-theme="dark"] .section-subtitle {
  color: var(--text-dark);
}

/* Doctors Section */
.doctors-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.doctors-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23cbd5e1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

body[data-theme="dark"] .doctors-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .doctors-section::before {
  opacity: 0.1;
}

.doctor-card {
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 30px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  position: relative;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out both;
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--btn-hover) 100%);
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body[data-theme="dark"] .doctor-card {
  background-color: rgba(30, 41, 59, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(15px);
}

.doctor-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.doctor-card:hover::before {
  background: linear-gradient(135deg, var(--btn-hover) 0%, #8b5cf6 100%);
  height: 6px;
}

.doctor-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.doctor-card:hover .doctor-img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.doctor-info {
  padding: 1.5rem;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.doctor-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="doctor-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="rgba(59,130,246,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23doctor-pattern)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.doctor-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

body[data-theme="dark"] .doctor-name {
  color: var(--text-dark);
}

.doctor-specialty {
  font-size: 0.95rem;
  color: var(--btn-bg);
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background: linear-gradient(135deg, var(--btn-bg) 0%, var(--btn-hover) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.doctor-rating {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

.star {
  color: #fbbf24;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

.star:hover {
  transform: scale(1.3) rotate(5deg);
  color: #f59e0b;
  filter: drop-shadow(0 4px 8px rgba(251, 191, 36, 0.5));
}

.doctor-review {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  opacity: 0.85;
  line-height: 1.5;
  font-style: italic;
}

body[data-theme="dark"] .doctor-review {
  color: var(--text-dark);
}

.doctor-experience {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doctor-experience::before {
  content: '👨‍⚕️';
  font-size: 1rem;
}

body[data-theme="dark"] .doctor-experience {
  color: var(--text-dark);
}

.doctor-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--btn-bg);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  position: relative;
  overflow: hidden;
}

.doctor-link:hover {
  color: var(--btn-hover);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);
}

body[data-theme="dark"] .doctor-link {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

body[data-theme="dark"] .doctor-link:hover {
  background-color: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.4);
}

/* Testimonials Section */
.testimonials-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.10);
  border: 1.5px solid #e2e8f0;
  overflow: hidden;
  margin-bottom: 3rem;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,0 25,7.5 25,17.5 12.5,25 0,17.5 0,7.5" fill="none" stroke="%23cbd5e1" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

body[data-theme="dark"] .testimonials-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid #334155;
}

body[data-theme="dark"] .testimonials-section::before {
  opacity: 0.1;
}

.testimonials-section > .container,
.testimonials-section * {
  position: relative;
  z-index: 1;
}

.testimonial-card {
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-large);
}

body[data-theme="dark"] .testimonial-card {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-medium);
}

body[data-theme="dark"] .testimonial-text {
  color: var(--text-dark);
}

body[data-theme="dark"] .testimonial-author .fw-bold {
  color: var(--text-dark);
}

body[data-theme="dark"] .testimonial-author .text-muted {
  color: rgba(236, 240, 241, 0.7) !important;
}

/* Certifications Section */
.certifications-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.certifications-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hexagons" width="25" height="25" patternUnits="userSpaceOnUse"><polygon points="12.5,0 25,7.5 25,17.5 12.5,25 0,17.5 0,7.5" fill="none" stroke="%23cbd5e1" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
  opacity: 0.2;
}

body[data-theme="dark"] .certifications-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .certifications-section::before {
  opacity: 0.1;
}

.certification-badge {
  text-align: center;
  padding: 40px 24px;
  background-color: #fff;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.certification-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

body[data-theme="dark"] .certification-badge {
  background-color: #1e293b;
  box-shadow: var(--shadow-medium);
  border-color: var(--border-dark);
}

.certification-badge:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
}

.certification-badge:hover::before {
  background: var(--gradient-secondary);
}

.certification-badge img {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  transition: var(--transition);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.certification-badge:hover img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.certification-badge h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

body[data-theme="dark"] .certification-badge h4 {
  color: var(--text-dark);
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
  opacity: 0.3;
}

body[data-theme="dark"] .footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-top: 1px solid var(--border-dark);
}

.footer-title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #ffffff;
  position: relative;
}

/* Footer text styling for light mode */
.footer p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Footer controls text styling for light mode */
.footer-controls span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Footer bottom links styling for light mode */
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition);
  padding: 4px 0;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-contact li:hover {
  color: #ffffff;
  transform: translateX(5px);
}

.footer-contact i {
  margin-right: 12px;
  color: var(--btn-bg);
  font-size: 18px;
  margin-top: 2px;
}

.social-icons {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-icons a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: var(--transition);
  z-index: -1;
}

.social-icons a:hover {
  color: #ffffff;
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-medium);
}

.social-icons a:hover::before {
  left: 0;
}

/* Footer Controls */
.footer-controls {
  background-color: rgba(97, 165, 194, 0.1);
  border-radius: var(--card-radius);
  padding: 15px;
}

.theme-switch-wrapper {
  display: inline-block;
}

.theme-switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 50px;
  margin: 0;
}

.theme-switch input {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5px;
}

.slider:before {
  background-color: white;
  bottom: 3px;
  content: "";
  height: 20px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 20px;
  border-radius: 50%;
  z-index: 2;
}

.slider .fa-sun {
  color: #f39c12;
  font-size: 12px;
  margin-left: auto;
}

.slider .fa-moon {
  color: #2c3e50;
  font-size: 12px;
}

input:checked + .slider {
  background-color: #2c3e50;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

.language-btn {
  background-color: var(--btn-bg);
  color: white;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 14px;
  border: none;
  transition: all 0.3s ease;
}

.language-btn:hover {
  background-color: #4a8eab;
  transform: translateY(-2px);
}

/* Footer Bottom Links */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom-links li {
  position: relative;
}

.footer-bottom-links li:not(:last-child):after {
  content: '|';
  position: absolute;
  right: -12px;
  color: rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .footer-bottom-links li:not(:last-child):after {
  color: rgba(255, 255, 255, 0.3);
}

/* Dark mode override for footer controls text */
body[data-theme="dark"] .footer-controls span {
  color: rgba(255, 255, 255, 0.9);
}



/* Toast Notifications */
.toast-container {
  z-index: 1050;
}

.toast {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-radius: var(--card-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
  overflow: hidden;
}

body[data-theme="dark"] .toast {
  background-color: var(--bg-dark);
  color: var(--text-dark);
}

.toast-success {
  border-left: 4px solid var(--success-color);
}

.toast-alert {
  border-left: 4px solid var(--alert-color);
}

/* Value Propositions in Hero Section */
.value-propositions {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 24px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
  border: 2px solid rgba(59, 130, 246, 0.1);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body[data-theme="dark"] .value-propositions {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.25);
}

.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.08);
}

.value-prop::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(147, 51, 234, 0.08) 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-prop:hover::before {
  opacity: 1;
}

.value-prop:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.2);
}

body[data-theme="dark"] .value-prop {
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.15);
}

body[data-theme="dark"] .value-prop:hover {
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.3);
}

.value-prop h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

body[data-theme="dark"] .value-prop h3 {
  color: var(--text-dark);
}

.value-prop p {
  font-size: 1.1rem;
  margin-bottom: 0;
  color: var(--text-primary);
  opacity: 0.85;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  font-weight: 400;
}

body[data-theme="dark"] .value-prop p {
  color: var(--text-dark);
  opacity: 0.9;
}

.value-icon {
  font-size: 2.5rem;
  color: var(--btn-bg);
  margin-top: 0.25rem;
  position: relative;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2.5rem;
  text-align: center;
}

.value-prop:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--btn-hover);
}

/* Doctor Card Enhancements */
.doctor-img-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius) var(--card-radius) 0 0;
}

.doctor-status {
  position: absolute;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.doctor-status::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 25px;
  z-index: -1;
}

.doctor-status.available {
  color: #059669;
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.1) 0%, rgba(5, 150, 105, 0.05) 100%);
  border-color: rgba(5, 150, 105, 0.2);
}

.doctor-status.available i {
  color: #059669;
  filter: drop-shadow(0 2px 4px rgba(5, 150, 105, 0.3));
}

.doctor-status.busy {
  color: #dc2626;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.1) 0%, rgba(220, 38, 38, 0.05) 100%);
  border-color: rgba(220, 38, 38, 0.2);
}

.doctor-status.busy i {
  color: #dc2626;
  filter: drop-shadow(0 2px 4px rgba(220, 38, 38, 0.3));
}

.doctor-status.away {
  color: #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.05) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}

.doctor-status.away i {
  color: #f59e0b;
  filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
}

.doctor-status:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.doctor-status.available:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(5, 150, 105, 0.1) 100%);
  border-color: rgba(5, 150, 105, 0.3);
}

.doctor-status.busy:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-color: rgba(220, 38, 38, 0.3);
}

.doctor-status.away:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Dark theme support for doctor status */
body[data-theme="dark"] .doctor-status {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(51, 65, 85, 0.9) 100%);
  backdrop-filter: blur(15px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .doctor-status::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

body[data-theme="dark"] .doctor-status.available {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.2) 0%, rgba(5, 150, 105, 0.1) 100%);
  border-color: rgba(5, 150, 105, 0.3);
  color: #10b981;
}

body[data-theme="dark"] .doctor-status.available i {
  color: #10b981;
  filter: drop-shadow(0 2px 4px rgba(16, 185, 129, 0.4));
}

body[data-theme="dark"] .doctor-status.busy {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.2) 0%, rgba(220, 38, 38, 0.1) 100%);
  border-color: rgba(220, 38, 38, 0.3);
  color: #ef4444;
}

body[data-theme="dark"] .doctor-status.busy i {
  color: #ef4444;
  filter: drop-shadow(0 2px 4px rgba(239, 68, 68, 0.4));
}

body[data-theme="dark"] .doctor-status.away {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-color: rgba(245, 158, 11, 0.3);
  color: #fbbf24;
}

body[data-theme="dark"] .doctor-status.away i {
  color: #fbbf24;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.4));
}

body[data-theme="dark"] .doctor-status:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

body[data-theme="dark"] .doctor-status.available:hover {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.25) 0%, rgba(5, 150, 105, 0.15) 100%);
  border-color: rgba(5, 150, 105, 0.4);
}

body[data-theme="dark"] .doctor-status.busy:hover {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(220, 38, 38, 0.15) 100%);
  border-color: rgba(220, 38, 38, 0.4);
}

body[data-theme="dark"] .doctor-status.away:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-color: rgba(245, 158, 11, 0.4);
}

.doctor-metrics {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-size: 14px;
}

.doctor-metrics i {
  margin-right: 5px;
  color: var(--btn-bg);
}

.latest-review {
  background-color: rgba(97, 165, 194, 0.1);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  position: relative;
}

.latest-review i.fa-quote-left {
  position: absolute;
  top: 5px;
  left: 5px;
  font-size: 12px;
  color: var(--btn-bg);
  opacity: 0.5;
}

.doctor-review {
  font-style: italic;
  font-size: 13px;
  margin: 0;
  padding-left: 15px;
}

/* Doctor Profile Page Styles */
.doctor-profile-section {
  padding-top: 50px;
}

.doctor-profile-card {
  background-color: #fff;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

body[data-theme="dark"] .doctor-profile-card {
  background-color: #023e68;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.doctor-image-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.doctor-info {
  padding: 20px;
}

.doctor-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.stat {
  text-align: center;
}

.stat i {
  font-size: var(--icon-size);
  color: var(--btn-bg);
  margin-bottom: 10px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

body[data-theme="dark"] .stat-value {
  color: var(--text-dark);
}

.stat-label {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.8;
}

body[data-theme="dark"] .stat-label {
  color: var(--text-dark);
}

.doctor-details {
  background-color: #fff;
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

body[data-theme="dark"] .doctor-details {
  background-color: #023e68;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.doctor-certifications, .doctor-education {
  margin-top: 15px;
}

.certification-item, .education-item {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body[data-theme="dark"] .certification-item, body[data-theme="dark"] .education-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.certification-item:last-child, .education-item:last-child {
  border-bottom: none;
}

.certification-title, .education-title {
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--text-primary);
}

body[data-theme="dark"] .certification-title, body[data-theme="dark"] .education-title {
  color: var(--text-dark);
}

.certification-year, .education-year {
  font-size: 14px;
  color: var(--btn-bg);
  margin-bottom: 5px;
}

/* Booking Section */
.booking-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

body[data-theme="dark"] .booking-section {
  background-color: #01395e;
}

.calendar-container, .time-slots-container {
  background-color: #fff;
  border-radius: var(--card-radius);
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
}

body[data-theme="dark"] .calendar-container, body[data-theme="dark"] .time-slots-container {
  background-color: #023e68;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.inner-title {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

body[data-theme="dark"] .inner-title {
  color: var(--text-dark);
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.time-slot {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

body[data-theme="dark"] .time-slot {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

.time-slot:hover {
  background-color: rgba(97, 165, 194, 0.1);
  border-color: var(--btn-bg);
}

.time-slot.selected {
  background-color: var(--btn-bg);
  color: #fff;
  border-color: var(--btn-bg);
}

.time-slot.unavailable {
  background-color: #f8f9fa;
  color: #aaa;
  cursor: not-allowed;
  border-color: #eee;
}

body[data-theme="dark"] .time-slot.unavailable {
  background-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 255, 255, 0.1);
}

/* Reviews Section */
.reviews-section {
  padding: 80px 0;
}

.review-card {
  background-color: #fff;
  border-radius: var(--card-radius);
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  position: relative;
}

body[data-theme="dark"] .review-card {
  background-color: #023e68;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.review-card::before {
  content: '\201C';
  font-size: 80px;
  position: absolute;
  top: -20px;
  left: 10px;
  color: rgba(97, 165, 194, 0.2);
  font-family: serif;
}

.review-content {
  font-style: italic;
  margin-bottom: 15px;
  color: var(--text-primary);
}

body[data-theme="dark"] .review-content {
  color: var(--text-dark);
}

.reviewer-info {
  display: flex;
  align-items: center;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.reviewer-name {
  font-weight: 600;
  margin-bottom: 0;
  color: var(--text-primary);
}

body[data-theme="dark"] .reviewer-name {
  color: var(--text-dark);
}

.review-date {
  font-size: 14px;
  color: var(--text-primary);
  opacity: 0.7;
}

body[data-theme="dark"] .review-date {
  color: var(--text-dark);
}

.review-rating {
  margin-top: 5px;
}

/* RTL Support */
[dir="rtl"] .navbar-nav {
  padding-right: 0;
}

[dir="rtl"] .footer-contact li i {
  margin-right: 0;
  margin-left: 10px;
}

[dir="rtl"] .social-icons a {
  margin-right: 0;
  margin-left: 10px;
}

[dir="rtl"] .reviewer-avatar {
  margin-right: 0;
  margin-left: 15px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .hero-section {
    padding: 100px 0 80px 0;
    text-align: center;
    min-height: 85vh;
    padding-top: 180px;
  }
  
  .hero-title {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
    margin-bottom: 1.75rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .doctor-profile-card {
    margin-bottom: 30px;
  }
  
  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .doctor-status {
    top: 12px;
    right: 12px;
    padding: 6px 10px;
    font-size: 10px;
    border-radius: 20px;
  }
  
  .doctor-status i {
    font-size: 10px;
  }
}

/* Registration Section Styles */
.registration-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.registration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="waves" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M0,25 Q12.5,15 25,25 T50,25 T75,25 T100,25" fill="none" stroke="%23cbd5e1" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23waves)"/></svg>');
    opacity: 0.3;
}

body[data-theme="dark"] .registration-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .registration-section::before {
    opacity: 0.1;
}

.benefit-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    padding: 32px 24px;
    margin-bottom: 24px;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.benefit-item:hover::before {
    background: var(--gradient-secondary);
}

.benefit-item i {
    color: var(--btn-bg);
    font-size: 48px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.benefit-item:hover i {
    transform: scale(1.1);
    color: var(--btn-hover);
}

body[data-theme="dark"] .benefit-item {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: var(--shadow-medium);
    border-color: rgba(255, 255, 255, 0.1);
}

.registration-benefits {
    margin: 2rem 0;
}

.registration-section .btn-primary {
    background-color: var(--btn-bg);
    border-color: var(--btn-bg);
    color: var(--btn-text);
    padding: var(--btn-padding);
    font-size: var(--font-button);
    transition: all 0.3s ease;
}

.registration-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(97, 165, 194, 0.4);
}

/* Registration Form Page Styles */
.registration-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 6rem 0;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
}

.registration-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="form-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="%23cbd5e1"/></pattern></defs><rect width="100" height="100" fill="url(%23form-pattern)"/></svg>');
    opacity: 0.2;
}

body[data-theme="dark"] .registration-form-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body[data-theme="dark"] .registration-form-section::before {
    opacity: 0.1;
}

.registration-form-section .card {
    border-radius: var(--card-radius);
    border: none;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-large);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.registration-form-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
}

body[data-theme="dark"] .registration-form-section .card {
    background: rgba(30, 41, 59, 0.95);
    box-shadow: var(--shadow-large);
    border-color: rgba(255, 255, 255, 0.1);
}

.registration-form-section .card-title {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

body[data-theme="dark"] .registration-form-section .card-title {
    color: var(--text-dark);
}

/* Section Headers Styling */
.registration-form-section h4 {
    color: var(--btn-bg);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--btn-bg);
    position: relative;
    display: inline-block;
}

.registration-form-section h4::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.registration-form-section h4:hover::before {
    transform: scaleX(1);
}

body[data-theme="dark"] .registration-form-section h4 {
    color: #60a5fa;
    border-bottom-color: #60a5fa;
}

body[data-theme="dark"] .registration-form-section h4::before {
    background: linear-gradient(90deg, #60a5fa 0%, #3b82f6 100%);
}

.registration-form-section .form-label {
    font-weight: 500;
}

body[data-theme="dark"] .registration-form-section .form-label {
    color: var(--text-dark);
}

.registration-form-section .form-control,
.registration-form-section .form-select {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.8);
}

body[data-theme="dark"] .registration-form-section .form-control,
body[data-theme="dark"] .registration-form-section .form-select {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-dark);
}

.registration-form-section .form-control:focus,
.registration-form-section .form-select:focus {
    border-color: var(--btn-bg);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.15);
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

body[data-theme="dark"] .registration-form-section .form-control:focus,
body[data-theme="dark"] .registration-form-section .form-select:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--btn-bg);
}

/* Checkbox and Terms Styling */
.registration-form-section .form-check {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: var(--transition);
}

.registration-form-section .form-check:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

.registration-form-section .form-check-input {
    width: 1.2em;
    height: 1.2em;
    margin-top: 0.1em;
    border: 2px solid var(--btn-bg);
    border-radius: 4px;
    transition: var(--transition);
}

.registration-form-section .form-check-input:checked {
    background-color: var(--btn-bg);
    border-color: var(--btn-bg);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.registration-form-section .form-check-input:focus {
    border-color: var(--btn-bg);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}

.registration-form-section .form-check-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-left: 0.5rem;
    line-height: 1.5;
}

.registration-form-section .form-check-label a {
    color: var(--btn-bg);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.registration-form-section .form-check-label a:hover {
    color: var(--btn-hover);
    text-decoration: underline;
}

body[data-theme="dark"] .registration-form-section .form-check {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
}

body[data-theme="dark"] .registration-form-section .form-check:hover {
    background: rgba(96, 165, 250, 0.15);
    border-color: rgba(96, 165, 250, 0.3);
}

body[data-theme="dark"] .registration-form-section .form-check-input {
    border-color: #60a5fa;
}

body[data-theme="dark"] .registration-form-section .form-check-input:checked {
    background-color: #60a5fa;
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.2rem rgba(96, 165, 250, 0.25);
}

body[data-theme="dark"] .registration-form-section .form-check-input:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 0.25rem rgba(96, 165, 250, 0.25);
}

body[data-theme="dark"] .registration-form-section .form-check-label {
    color: var(--text-dark);
}

body[data-theme="dark"] .registration-form-section .form-check-label a {
    color: #60a5fa;
}

body[data-theme="dark"] .registration-form-section .form-check-label a:hover {
    color: #93c5fd;
}

.registration-form-section .btn-primary {
    background-color: var(--btn-bg);
    border-color: var(--btn-bg);
    color: var(--btn-text);
    padding: 0.75rem 2rem;
    font-size: var(--font-button);
    transition: all 0.3s ease;
}

.registration-form-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(97, 165, 194, 0.4);
}

@media (max-width: 767px) {
  :root {
    --font-page-header: 28px;
    --font-inner-header: 22px;
    --btn-padding: 15px 20px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding: 80px 0 60px 0;
    min-height: 75vh;
    padding-top: 160px;
  }
  
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    line-height: 1.6;
  }
  
  .hero-buttons {
    margin-top: 1.75rem;
    gap: 1rem;
  }
  
  .value-propositions {
    padding: 1.5rem;
    gap: 1rem;
    border-radius: 16px;
  }
  
  .value-prop {
    padding: 1.5rem;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .value-prop h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  .value-prop p {
    font-size: 1rem;
  }

  .value-icon {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  
  .doctor-stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .time-slots {
    grid-template-columns: 1fr;
  }
  
  .certification-badge {
    padding: 24px 16px;
  }
  
  .footer {
    padding: 60px 0 20px;
  }
  
  .doctor-status {
    top: 10px;
    right: 10px;
    padding: 5px 8px;
    font-size: 9px;
    border-radius: 18px;
  }
  
  .doctor-status i {
    font-size: 9px;
  }
}

@media (max-width: 575px) {
  :root {
    --font-page-header: 24px;
    --font-inner-header: 20px;
    --font-p: 14px;
    --font-button: 16px;
    --btn-padding: 12px 18px;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 60px 0 40px 0;
    padding-top: 140px;
  }
  
  .hero-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .value-propositions {
    padding: 1rem;
    gap: 0.75rem;
    border-radius: 12px;
  }
  
  .value-prop {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .value-prop h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
  }

  .value-prop p {
    font-size: 0.9rem;
  }
  
  .value-icon {
    font-size: 1.75rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
  }
  
  .certification-badge {
    padding: 20px 15px;
  }
  
  .certification-badge img {
    width: 60px;
    height: 60px;
  }
  
  .certification-badge h4 {
    font-size: 16px;
  }
  
  .footer {
    padding: 40px 0 20px;
  }
  
  .footer-title {
    font-size: 20px;
  }
  
  .doctor-status {
    top: 8px;
    right: 8px;
    padding: 4px 6px;
    font-size: 8px;
    border-radius: 15px;
  }
  
  .doctor-status i {
    font-size: 8px;
  }
}

/* Flatpickr Calendar Customization */
.flatpickr-calendar {
  border-radius: var(--card-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: none;
}

body[data-theme="dark"] .flatpickr-calendar {
  background-color: #023e68;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body[data-theme="dark"] .flatpickr-months,
body[data-theme="dark"] .flatpickr-weekdays,
body[data-theme="dark"] .flatpickr-days {
  background-color: #023e68;
}

body[data-theme="dark"] .flatpickr-day {
  color: var(--text-dark);
}

body[data-theme="dark"] .flatpickr-day.selected {
  background-color: var(--btn-bg);
  border-color: var(--btn-bg);
}

body[data-theme="dark"] .flatpickr-day:hover {
  background-color: rgba(97, 165, 194, 0.3);
}

body[data-theme="dark"] .flatpickr-day.flatpickr-disabled {
  color: rgba(255, 255, 255, 0.3);
}

body[data-theme="dark"] .flatpickr-current-month,
body[data-theme="dark"] .flatpickr-monthDropdown-months,
body[data-theme="dark"] .flatpickr-weekday {
  color: var(--text-dark);
}

body[data-theme="dark"] .flatpickr-months .flatpickr-prev-month svg,
body[data-theme="dark"] .flatpickr-months .flatpickr-next-month svg {
  fill: var(--text-dark);
}

/* Form Controls in Dark Mode */
body[data-theme="dark"] .form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
}

body[data-theme="dark"] .form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--btn-bg);
  color: var(--text-dark);
}

body[data-theme="dark"] .form-label {
  color: var(--text-dark);
}

/* Bootstrap class overrides for dark mode */
body[data-theme="dark"] .bg-light {
  background-color: var(--bg-dark) !important;
}

body[data-theme="dark"] .bg-white {
  background-color: rgba(15, 23, 42, 0.8) !important;
}

body[data-theme="dark"] .text-muted {
  color: rgba(241, 245, 249, 0.7) !important;
}

body[data-theme="dark"] .text-dark {
  color: var(--text-dark) !important;
}

/* Arabic font support - using system fonts and Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Arabic:wght@300;400;500;600;700&display=swap');

/* Arabic font fallback */
[dir="rtl"] {
  --font-body: 'Noto Sans Arabic', 'Segoe UI', 'Arial', sans-serif;
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in-left {
  animation: fadeInLeft 0.8s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Enhanced Loading States */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Enhanced Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Enhanced Hover Effects */
.doctor-card,
.certification-badge,
.testimonial-card,
.benefit-item {
  cursor: pointer;
}

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

/* Enhanced Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .toast-container {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section,
  .doctors-section,
  .testimonials-section,
  .certifications-section {
    background: white !important;
    color: black !important;
  }
}

/* ===== MODERN ANIMATIONS ===== */

/* Animation Variables */
:root {
  --animation-duration: 0.6s;
  --animation-timing: cubic-bezier(0.4, 0, 0.2, 1);
  --animation-delay: 0.1s;
  --bounce-timing: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --elastic-timing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-200deg);
  }
  to {
    opacity: 1;
    transform: rotate(0);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }
  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8), 0 0 30px rgba(59, 130, 246, 0.6);
  }
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%, 50% {
    border-color: transparent;
  }
  51%, 100% {
    border-color: var(--btn-bg);
  }
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp var(--animation-duration) var(--animation-timing) forwards;
}

.animate-fade-in-left {
  animation: fadeInLeft var(--animation-duration) var(--animation-timing) forwards;
}

.animate-fade-in-right {
  animation: fadeInRight var(--animation-duration) var(--animation-timing) forwards;
}

.animate-scale-in {
  animation: scaleIn var(--animation-duration) var(--animation-timing) forwards;
}

.animate-slide-in-up {
  animation: slideInUp var(--animation-duration) var(--animation-timing) forwards;
}

.animate-slide-in-down {
  animation: slideInDown var(--animation-duration) var(--animation-timing) forwards;
}

.animate-rotate-in {
  animation: rotateIn var(--animation-duration) var(--animation-timing) forwards;
}

.animate-bounce-in {
  animation: bounceIn 0.8s var(--bounce-timing) forwards;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite alternate;
}

.animate-shimmer {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Staggered Animations */
.animate-stagger-1 { animation-delay: 0.1s; }
.animate-stagger-2 { animation-delay: 0.2s; }
.animate-stagger-3 { animation-delay: 0.3s; }
.animate-stagger-4 { animation-delay: 0.4s; }
.animate-stagger-5 { animation-delay: 0.5s; }

/* Enhanced Hover Animations */
.navbar-brand {
  transition: all 0.3s var(--animation-timing);
}

.navbar-brand:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.nav-link {
  position: relative;
  transition: all 0.3s var(--animation-timing);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--btn-bg);
  transition: width 0.3s var(--animation-timing);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link:hover {
  transform: translateY(-2px);
}

/* Enhanced Button Animations */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
}

.btn::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;
}

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

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn:active {
  transform: translateY(0);
}

/* Enhanced Card Animations */
.doctor-card {
  transition: all 0.4s var(--animation-timing);
  transform-style: preserve-3d;
}

.doctor-card:hover {
  transform: translateY(-10px) rotateX(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.doctor-card:hover::after {
  opacity: 1;
}

/* Value Propositions Animation */
.value-prop {
  transition: all 0.4s var(--animation-timing);
}

.value-prop:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  transition: all 0.3s var(--animation-timing);
}

.value-prop:hover .value-icon {
  transform: scale(1.2) rotate(5deg);
  color: var(--btn-bg);
}

/* Testimonial Card Animations */
.testimonial-card {
  transition: all 0.4s var(--animation-timing);
}

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

.testimonial-icon {
  transition: all 0.3s var(--animation-timing);
}

.testimonial-card:hover .testimonial-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Certification Badge Animations */
.certification-badge {
  transition: all 0.4s var(--animation-timing);
}

.certification-badge:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.certification-badge img {
  transition: all 0.3s var(--animation-timing);
}

.certification-badge:hover img {
  transform: scale(1.1) rotate(5deg);
}

/* Social Icons Animation */
.social-icons a {
  transition: all 0.3s var(--animation-timing);
}

.social-icons a:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hero Section Enhancements */
.hero-title {
  animation: fadeInUp 1s var(--animation-timing) 0.2s both;
}

.hero-subtitle {
  animation: fadeInUp 1s var(--animation-timing) 0.4s both;
}

.value-propositions {
  animation: fadeInUp 1s var(--animation-timing) 0.6s both;
}

.hero-buttons {
  animation: fadeInUp 1s var(--animation-timing) 0.8s both;
}

/* Loading Animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 1.5s infinite;
}

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Scroll-triggered Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s var(--animation-timing);
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Typing Animation */
.typing-animation {
  overflow: hidden;
  border-right: 2px solid var(--btn-bg);
  white-space: nowrap;
  animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Floating Elements */
.floating {
  animation: float 3s ease-in-out infinite;
}

.floating-delayed {
  animation: float 3s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* Pulse Animation for CTAs */
.btn-primary {
  position: relative;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: inherit;
  animation: pulse 2s infinite;
  z-index: -1;
}

/* Enhanced Form Animations */
.form-control {
  transition: all 0.3s var(--animation-timing);
}

.form-control:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Accordion Animations */
.accordion-button {
  transition: all 0.3s var(--animation-timing);
}

.accordion-button:not(.collapsed) {
  transform: scale(1.02);
}

.accordion-collapse {
  transition: all 0.3s var(--animation-timing);
}

/* Toast Animations */
.toast {
  animation: slideInUp 0.3s var(--animation-timing);
}

.toast.showing {
  animation: slideInUp 0.3s var(--animation-timing);
}

.toast.hiding {
  animation: slideInDown 0.3s var(--animation-timing) reverse;
}

/* Theme Toggle Animation */
#theme-toggle {
  transition: all 0.3s var(--animation-timing);
}

#theme-toggle:hover {
  transform: rotate(180deg) scale(1.1);
}

/* Language Toggle Animation */
#lang-toggle {
  transition: all 0.3s var(--animation-timing);
}

#lang-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Benefit Item Animations */
.benefit-item {
  transition: all 0.4s var(--animation-timing);
}

.benefit-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-item i {
  transition: all 0.3s var(--animation-timing);
}

.benefit-item:hover i {
  transform: scale(1.2) rotate(10deg);
  color: var(--btn-bg);
}

/* Footer Link Animations */
.footer-links a {
  transition: all 0.3s var(--animation-timing);
}

.footer-links a:hover {
  transform: translateX(5px);
  color: var(--btn-bg);
}

/* Responsive Animation Adjustments */
@media (max-width: 768px) {
  .animate-float {
    animation: none;
  }
  
  .parallax {
    background-attachment: scroll;
  }
  
  .doctor-card {
    margin-bottom: 20px;
    border-radius: 16px;
  }
  
  .doctor-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  
  .doctor-img {
    height: 250px;
  }
  
  .doctor-info {
    padding: 1.25rem;
  }
  
  .doctor-name {
    font-size: 1.25rem;
  }
  
  .doctor-specialty {
    font-size: 0.85rem;
  }
  
  .doctor-link {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .animate-float,
  .animate-pulse,
  .animate-glow {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .toast-container {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .hero-section,
  .doctors-section,
  .testimonials-section,
  .registration-section,
  .certifications-section {
    break-inside: avoid;
  }
}

/* Ripple Effect for Buttons */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
}

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Enhanced Button States */
.btn:active {
  transform: translateY(1px);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Loading State for Buttons */
.btn.loading {
  position: relative;
  color: transparent;
}

.btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Enhanced Card Interactions */
.doctor-card,
.testimonial-card,
.certification-badge,
.benefit-item {
  cursor: pointer;
  transition: all 0.4s var(--animation-timing);
}

.doctor-card:hover,
.testimonial-card:hover,
.certification-badge:hover,
.benefit-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Form Interactions */
.form-control:focus {
  border-color: var(--btn-bg);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
  transform: translateY(-2px);
}

/* Enhanced Navigation Interactions */
.nav-link {
  position: relative;
  transition: all 0.3s var(--animation-timing);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--btn-bg);
  transition: all 0.3s var(--animation-timing);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Enhanced Social Icons */
.social-icons a {
  position: relative;
  overflow: hidden;
}

.social-icons a::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;
}

.social-icons a:hover::before {
  left: 100%;
}

/* Enhanced Theme Toggle */
#theme-toggle {
  position: relative;
  overflow: hidden;
}

#theme-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

#theme-toggle:hover::before {
  width: 40px;
  height: 40px;
}

/* Enhanced Language Toggle */
#lang-toggle {
  position: relative;
  overflow: hidden;
}

#lang-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

#lang-toggle:hover::before {
  left: 100%;
}

/* Enhanced Toast Animations */
.toast {
  animation: slideInUp 0.3s var(--animation-timing);
  transform-origin: bottom right;
}

.toast.showing {
  animation: slideInUp 0.3s var(--animation-timing);
}

.toast.hiding {
  animation: slideInDown 0.3s var(--animation-timing) reverse;
}

/* Enhanced Accordion Animations */
.accordion-button {
  transition: all 0.3s var(--animation-timing);
  position: relative;
  overflow: hidden;
}

.accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.accordion-button:hover::before {
  left: 100%;
}

.accordion-button:not(.collapsed) {
  transform: scale(1.02);
  background-color: rgba(59, 130, 246, 0.1);
}

/* Enhanced Footer Links */
.footer-links a {
  position: relative;
  transition: all 0.3s var(--animation-timing);
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--btn-bg);
  transition: width 0.3s var(--animation-timing);
}

.footer-links a:hover::before {
  width: 100%;
}

/* Enhanced Value Propositions */
.value-prop {
  position: relative;
  overflow: hidden;
}

.value-prop::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.value-prop:hover::before {
  left: 100%;
}

/* Enhanced Doctor Status Indicators */
.doctor-status {
  position: relative;
  overflow: hidden;
}

.doctor-status::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;
}

.doctor-status:hover::before {
  left: 100%;
}

/* Enhanced Star Ratings */
.star {
  transition: all 0.3s var(--animation-timing);
  cursor: pointer;
}

.star:hover {
  transform: scale(1.2) rotate(5deg);
  color: #fbbf24;
}

/* Enhanced Doctor Metrics */
.doctor-metrics span {
  transition: all 0.3s var(--animation-timing);
}

.doctor-metrics span:hover {
  transform: translateY(-2px);
  color: var(--btn-bg);
}

/* Enhanced Latest Review */
.latest-review {
  position: relative;
  overflow: hidden;
}

.latest-review::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.latest-review:hover::before {
  left: 100%;
}

/* Enhanced Doctor Link */
.doctor-link {
  position: relative;
  overflow: hidden;
}

.doctor-link::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;
}

.doctor-link:hover::before {
  left: 100%;
}

/* Enhanced Registration Benefits */
.registration-benefits .benefit-item {
  position: relative;
  overflow: hidden;
}

.registration-benefits .benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.registration-benefits .benefit-item:hover::before {
  left: 100%;
}

/* Enhanced Certification Badges */
.certification-badge {
  position: relative;
  overflow: hidden;
}

.certification-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.certification-badge:hover::before {
  left: 100%;
}

/* Enhanced Testimonial Cards */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.testimonial-card:hover::before {
  left: 100%;
}

/* Enhanced Hero Buttons */
.hero-buttons .btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 1rem 2rem;
  border-radius: 50px;
}

.hero-buttons .btn::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;
}

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

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

/* Enhanced Form Controls */
.form-control {
  position: relative;
  transition: all 0.3s var(--animation-timing);
}

.form-control:focus {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Enhanced Time Slots */
.time-slot {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
}

.time-slot::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.time-slot:hover::before {
  left: 100%;
}

.time-slot:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

/* Enhanced Review Cards */
.review-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--animation-timing);
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.review-card:hover::before {
  left: 100%;
}

.review-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Enhanced Doctor Profile Card */
.doctor-profile-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--animation-timing);
}

.doctor-profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.05), transparent);
  transition: left 0.5s;
}

.doctor-profile-card:hover::before {
  left: 100%;
}

.doctor-profile-card:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Enhanced Stats */
.stat {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
}

.stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.stat:hover::before {
  left: 100%;
}

.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Enhanced Calendar */
.flatpickr-day {
  transition: all 0.3s var(--animation-timing);
}

.flatpickr-day:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.flatpickr-day.selected {
  animation: bounceIn 0.6s var(--bounce-timing);
}

/* Enhanced Footer Controls */
.footer-controls .theme-switch,
.footer-controls .language-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
}

.footer-controls .theme-switch::before,
.footer-controls .language-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.footer-controls .theme-switch:hover::before,
.footer-controls .language-btn:hover::before {
  left: 100%;
}

/* Enhanced Accordion Body */
.accordion-body {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 0 0 12px 12px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-top: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--animation-timing);
}

.accordion-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.02), transparent);
  transition: left 0.5s;
}

.accordion-body:hover::before {
  left: 100%;
}

/* Dark theme accordion body */
body[data-theme="dark"] .accordion-body {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(59, 130, 246, 0.2);
  color: var(--text-dark);
}

/* Enhanced Accreditation List */
.accreditation-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.accreditation-list li {
  position: relative;
  overflow: hidden;
  transition: all 0.3s var(--animation-timing);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--btn-bg);
  font-weight: 500;
  color: var(--text-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.accreditation-list li::before {
  content: '✓';
  color: var(--btn-bg);
  font-weight: bold;
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

.accreditation-list li::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.accreditation-list li:hover::after {
  left: 100%;
}

.accreditation-list li:hover {
  transform: translateX(5px);
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

/* Dark theme accreditation list */
body[data-theme="dark"] .accreditation-list li {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-dark);
  border-left-color: var(--btn-bg);
}

body[data-theme="dark"] .accreditation-list li:hover {
  background: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

/* Accordion body content styling */
.accordion-body p {
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--btn-bg);
  font-size: 1.1rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.accordion-body p::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--btn-bg);
  border-radius: 1px;
}

body[data-theme="dark"] .accordion-body p {
  color: var(--btn-bg);
}

/* Enhanced accordion button styling */
.accordion-button {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px 12px 0 0;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--text-color);
  transition: all 0.3s var(--animation-timing);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s;
}

.accordion-button:hover::before {
  left: 100%;
}

.accordion-button:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.15) 100%);
  color: var(--btn-bg);
  border-bottom-color: transparent;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

/* Dark theme accordion button */
body[data-theme="dark"] .accordion-button {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.2) 100%);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

body[data-theme="dark"] .accordion-button:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35) 0%, rgba(59, 130, 246, 0.3) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

body[data-theme="dark"] .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.4) 0%, rgba(59, 130, 246, 0.35) 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

/* Accordion collapse animation */
.accordion-collapse {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-collapse.show {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .accordion-body {
    padding: 1rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  .accreditation-list li {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .accordion-body p {
    font-size: 1rem;
  }
}

/* --- Doctors Page Modern Glassy Background --- */
.doctors-bg {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 0;
  background: url('../1330529.png') center center/cover no-repeat, linear-gradient(120deg, rgba(102,126,234,0.7) 0%, rgba(118,75,162,0.7) 100%);
  background-blend-mode: overlay;
  filter: blur(2.5px) brightness(0.95);
  opacity: 0.98;
  pointer-events: none;
  transition: var(--transition);
}
body[data-theme="dark"] .doctors-bg {
  background: url('../1330529.png') center center/cover no-repeat, linear-gradient(120deg, rgba(2,62,104,0.85) 0%, rgba(118,75,162,0.7) 100%);
  filter: blur(3px) brightness(0.7);
}

.doctor-profile-section, .booking-section, .reviews-section {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.75);
  border-radius: 24px;
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  margin-bottom: 40px;
}
body[data-theme="dark"] .doctor-profile-section,
body[data-theme="dark"] .booking-section,
body[data-theme="dark"] .reviews-section {
  background: rgba(2,62,104,0.82);
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.32);
}
@media (max-width: 991px) {
  .doctor-profile-section, .booking-section, .reviews-section {
    border-radius: 16px;
    margin-bottom: 24px;
    padding-left: 0; padding-right: 0;
  }
}
.doctor-profile-section, .booking-section, .reviews-section {
  padding: 40px 32px;
}
@media (max-width: 767px) {
  .doctor-profile-section, .booking-section, .reviews-section {
    padding: 24px 8px;
  }
}

.certification-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 991px) {
  .certification-badges {
    gap: 1.2rem;
  }
}

.certification-badge {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  padding: 32px 16px 24px 16px;
  text-align: center;
  transition: box-shadow 0.3s, transform 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.certification-badge:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,0.15);
  transform: translateY(-6px) scale(1.03);
  border-color: #3b82f6;
}

.certification-badge img {
  width: 80px;
  height: 80px;
  margin-bottom: 18px;
  object-fit: contain;
}

.certification-badge h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .certification-badge {
    padding: 20px 8px 16px 8px;
  }
  .certification-badge img {
    width: 60px;
    height: 60px;
  }
}

.contact-form-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 24px;
  box-shadow: 0 4px 24px 0 rgba(31, 38, 135, 0.08);
  border: 1.5px solid #e2e8f0;
  margin-bottom: 3rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

body[data-theme="dark"] .contact-form-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1.5px solid #334155;
}

.contact-form-section .section-title,
.contact-form-section .section-subtitle {
  position: relative;
  z-index: 1;
}

.contact-form-section form {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(59,130,246,0.06);
}

body[data-theme="dark"] .contact-form-section form {
  background: rgba(30,41,59,0.95);
}

.contact-form-section .form-label {
  font-weight: 500;
  color: #1e293b;
}

body[data-theme="dark"] .contact-form-section .form-label {
  color: #f1f5f9;
}

.contact-form-section .form-control {
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  box-shadow: none;
  transition: border-color 0.2s;
}

.contact-form-section .form-control:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.10);
}

.contact-form-section .btn-primary {
  padding: 12px 0;
  font-size: 1.1rem;
  border-radius: 8px;
}

@media (max-width: 767px) {
  .contact-form-section form {
    padding: 20px 8px;
  }
}

