/* =============================================
   PROFESSIONAL CLINIC WEBSITE STYLES
   Dr. Kumar R - Gangrene Treatment Clinic
   ============================================= */

/* CSS Variables - Professional Medical Theme */
:root {
  --primary: #0d6efd;
  --primary-dark: #0a58ca;
  --primary-light: #e7f1ff;
  --secondary: #198754;
  --secondary-dark: #146c43;
  --accent: #ffc107;
  --dark: #1a1a2e;
  --dark-light: #252540;
  --gray-900: #212529;
  --gray-800: #2c3e50;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --gray-50: #fdfbf7;
  --white: #ffffff;
  --success: #198754;
  --danger: #dc3545;
  --warning: #ffc107;
  --info: #0dcaf0;

  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
  --shadow-xl: 0 2.5rem 5rem rgba(0, 0, 0, 0.2);

  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:
    "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 0.75em;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}
h2 {
  font-size: 2.5rem;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}
h5 {
  font-size: 1.25rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.25rem !important;
}
.mb-2 {
  margin-bottom: 0.5rem !important;
}
.mb-3 {
  margin-bottom: 1rem !important;
}
.mb-4 {
  margin-bottom: 1.5rem !important;
}
.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.25rem !important;
}
.mt-2 {
  margin-top: 0.5rem !important;
}
.mt-3 {
  margin-top: 1rem !important;
}
.mt-4 {
  margin-top: 1.5rem !important;
}
.mt-5 {
  margin-top: 3rem !important;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-white {
  background-color: var(--white) !important;
}
.bg-light {
  background-color: var(--gray-50) !important;
}
.bg-primary {
  background-color: var(--primary) !important;
}
.bg-dark {
  background-color: var(--dark) !important;
}

.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--secondary) !important;
}
.text-muted {
  color: var(--gray-600) !important;
}
.text-white {
  color: var(--white) !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 0.5rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #084298 100%);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 110, 253, 0.35);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background-color: var(--gray-100);
  border-color: var(--gray-100);
  color: var(--primary-dark);
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.0625rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* Cards */
.card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.card-body {
  padding: 1.75rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray-600);
  margin-bottom: 0;
}

/* Modern Card Variants */
.card-modern {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  position: relative;
}

.card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-modern:hover::before {
  transform: scaleX(1);
}

.card-modern .card-body {
  padding: 2rem;
}

/* Card Image Overlay */
.card-image-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-image-overlay img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern:hover .card-image-overlay img {
  transform: scale(1.08);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: var(--white);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 1;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.blog-card .blog-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  flex-shrink: 0;
}

.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-card .blog-image::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.blog-card .blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card .blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.blog-card .blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.blog-card .blog-meta i {
  color: var(--primary);
  font-size: 0.75rem;
}

.blog-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  line-height: 1.4;
  color: var(--dark);
}

.blog-card h3 a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card h3 a:hover {
  color: var(--primary);
}

.blog-card p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.blog-card .blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.blog-card .blog-link:hover {
  gap: 0.75rem;
  color: var(--primary-dark);
}

/* Enhanced Treatment Card - Inline Icon Style */
.treatment-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.treatment-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.treatment-card:hover::before {
  transform: scaleX(1);
}

.treatment-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.treatment-icon i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.4s ease;
}

.treatment-card:hover .treatment-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.treatment-card:hover .treatment-icon i {
  color: var(--white);
}

.treatment-content {
  padding: 0;
}

.treatment-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: var(--dark);
  font-weight: 600;
}

.treatment-content p {
  color: var(--gray-600);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.treatment-link:hover {
  gap: 0.6rem;
  color: var(--primary-dark);
}

/* Enhanced Feature Card */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2.75rem;
  color: var(--primary);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.3);
}

/* Enhanced Testimonial Card */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: none;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 7rem;
  color: var(--primary-light);
  position: absolute;
  top: 0;
  left: 1.5rem;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
  opacity: 0;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-card:hover::after {
  opacity: 1;
  width: 80px;
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.testimonial-rating i {
  margin-right: 0.125rem;
}

.testimonial-text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.75rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.375rem;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.testimonial-info h5 {
  font-size: 1.0625rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
  font-weight: 600;
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* Enhanced Gallery Card */
.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-200);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: all 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay span {
  transform: translateY(0);
}

/* Enhanced FAQ Card */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-xl);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item.active {
  box-shadow: 0 15px 40px rgba(13, 110, 253, 0.2);
  border-color: var(--primary-light);
}

.faq-item.active::before {
  opacity: 1;
}

.faq-question {
  padding: 1.5rem 3.5rem 1.5rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.125rem;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question span {
  flex: 1;
  padding-right: 1rem;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 700;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-question::after {
  content: "−";
  font-size: 1.5rem;
  background: var(--dark);
}

.faq-question i {
  display: none;
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  color: var(--gray-600);
  line-height: 1.9;
  display: none;
  font-size: 1.05rem;
}

.faq-answer p {
  margin: 0;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.4s ease;
}

.faq-item.active .faq-answer {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
 SIDEBAR & TREATMENT DETAIL STYLES
============================================ */
.treatment-detail {
  background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.treatment-content {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.treatment-content h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
}

.treatment-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.treatment-content h4 {
  color: var(--primary);
  font-size: 1.35rem;
  margin: 2rem 0 1rem;
  font-weight: 600;
}

.treatment-content img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.treatment-content ul {
  list-style: none;
  padding: 0;
}

.treatment-content ul li {
  padding: 0.75rem 0;
  padding-left: 2rem;
  position: relative;
  color: #555;
}

.treatment-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.1rem;
}

.treatment-body {
  line-height: 1.9;
  color: #555;
  font-size: 1.05rem;
}

.sidebar-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.sidebar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.sidebar-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--primary);
  position: relative;
  padding-bottom: 1rem;
}

.sidebar-card h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.sidebar-card p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sidebar-card .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-card .contact-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #555;
}

.sidebar-card .contact-list li:last-child {
  border-bottom: none;
}

.sidebar-card .contact-list li i {
  color: var(--primary);
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.related-treatments {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.related-treatments .treatment-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.related-treatments .treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--primary);
}

.related-treatments .treatment-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.related-treatments .treatment-icon i {
  font-size: 1.5rem;
  color: #fff;
}

.related-treatments .treatment-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.related-treatments .treatment-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.related-treatments .treatment-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.related-treatments .treatment-link:hover {
  gap: 0.75rem;
}

/* Top Bar */
.top-bar {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-contact {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.top-contact span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.9;
}

.top-contact i {
  font-size: 0.875rem;
  color: var(--accent);
}

.top-social {
  display: flex;
  gap: 1rem;
}

.top-social a {
  color: var(--white);
  opacity: 0.8;
  font-size: 1rem;
  transition: var(--transition);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.top-social a:hover {
  opacity: 1;
  background: var(--primary);
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-display);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.625rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: var(--radius);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background-color: var(--primary-light);
}

.navbar-toggler {
  border: none;
  background: none;
  padding: 0.5rem;
  cursor: pointer;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    var(--primary-light) 50%,
    #e8f5e9 100%
  );
  min-height: 85vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(13, 110, 253, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(25, 135, 84, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
  letter-spacing: -0.03em;
}

.hero-title .text-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-doctor {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-doctor h3 {
  font-size: 1.375rem;
  margin-bottom: 0.25rem;
  color: var(--dark);
}

.hero-doctor .credentials {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 0;
  font-weight: 500;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: float 6s ease-in-out infinite;
  max-width: 500px;
  margin: 0 auto;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Feature Cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-light);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-light) 0%, #e3f2fd 100%);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray-600);
  margin-bottom: 0;
  font-size: 0.9375rem;
}

/* About Section */
.about-section {
  background: var(--gray-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
}

.about-image::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  right: -25px;
  bottom: -25px;
  border: 3px solid var(--primary);
  border-radius: var(--radius-xl);
  z-index: -1;
}

.about-content h2 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.about-content p {
  color: var(--gray-600);
  font-size: 1.0625rem;
  line-height: 1.8;
}

.about-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 0;
  font-size: 1rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
}

.about-features li:last-child {
  border-bottom: none;
}

.about-features li i {
  width: 32px;
  height: 32px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.875rem;
  flex-shrink: 0;
}

/* Treatment Cards */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.treatment-image {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.treatment-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.05) 0%,
    rgba(25, 135, 84, 0.05) 100%
  );
}

.treatment-content {
  padding: 1.75rem;
}

.treatment-content h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.treatment-content p {
  color: var(--gray-600);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.treatment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9375rem;
}

.treatment-link:hover {
  gap: 0.75rem;
}

/* Testimonials */
.testimonial-section {
  background: linear-gradient(
    135deg,
    var(--gray-50) 0%,
    #e3f2fd 50%,
    var(--gray-50) 100%
  );
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--primary-light);
  position: absolute;
  top: 0;
  left: 1rem;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-rating {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.testimonial-info h5 {
  font-size: 1rem;
  margin-bottom: 0.125rem;
  color: var(--dark);
}

.testimonial-info span {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 4rem 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta-text p {
  opacity: 0.9;
  margin-bottom: 0;
  font-size: 1.125rem;
}

/* FAQ Section */
.faq-section {
  background: var(--gray-50);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-size: 1.0625rem;
}

.faq-question i {
  transition: var(--transition);
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-600);
  line-height: 1.7;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gray-200);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Contact Section */
.contact-section {
  background: var(--gray-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.contact-details li:last-child {
  border-bottom: none;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-text h5 {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-text p {
  margin-bottom: 0;
  color: var(--dark);
  font-weight: 500;
  font-size: 1rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 0.9375rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  border: 2px solid var(--gray-300);
  border-radius: var(--radius);
  transition: var(--transition);
  background-color: var(--white);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.form-control::placeholder {
  color: var(--gray-500);
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: var(--gray-400);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand .brand-logo {
  width: 44px;
  height: 44px;
  font-size: 1.125rem;
}

.footer-brand .brand-text {
  color: var(--white);
}

.footer-about p {
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-title {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-500);
  transition: var(--transition);
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.125rem;
  margin-bottom: 0;
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
}

.page-header p {
  opacity: 0.9;
  font-size: 1.125rem;
  margin-bottom: 0;
  position: relative;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  position: relative;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
  color: var(--white);
}

/* Doctor Profile */
.doctor-section {
  background: var(--gray-50);
}

.doctor-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: start;
}

.doctor-image {
  position: relative;
}

.doctor-image img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.doctor-image::after {
  content: "";
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.2;
}

.doctor-info h2 {
  margin-bottom: 0.5rem;
}

.doctor-title {
  color: var(--primary);
  font-size: 1.125rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.doctor-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.qualification-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.doctor-bio {
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.doctor-stats {
  display: flex;
  gap: 2.5rem;
  padding: 1.75rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.doctor-stat {
  text-align: center;
}

.doctor-stat .number {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
}

.doctor-stat .label {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* Success/Error Messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: none;
  font-size: 0.9375rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
}

.alert-info {
  background-color: var(--primary-light);
  color: var(--primary-dark);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1.125rem;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 2.75rem;
  }
  h2 {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid,
  .treatment-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .contact-grid,
  .doctor-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }

  .hero-section {
    min-height: auto;
    padding: 4rem 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .hero-doctor {
    text-align: left;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .feature-grid,
  .treatment-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .cta-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link {
    padding: 0.75rem 1rem;
  }

  .doctor-grid {
    grid-template-columns: 1fr;
  }

  .doctor-stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .btn-lg {
    padding: 0.875rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .feature-card,
  .treatment-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
