/* ========================================
   Dr. Abhijit Gangopadhyay - Medical Website
   Professional Clinical Theme
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   CSS Variables / Design Tokens
======================================== */
:root {
  /* Colors */
  --deep-navy: #1A2B48;
  --medical-teal: #008080;
  --medical-teal-light: #00a0a0;
  --medical-teal-dark: #006666;
  --white: #ffffff;
  --off-white: #f8fafc;
  --light-gray: #e2e8f0;
  --medium-gray: #94a3b8;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  /* Cosmetology Accent */
  --cosmo-rose: #c0507e;
  --cosmo-rose-light: #e06a9e;
  --cosmo-rose-bg: rgba(192, 80, 126, 0.08);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(26, 43, 72, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(26, 43, 72, 0.1), 0 2px 4px -1px rgba(26, 43, 72, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(26, 43, 72, 0.1), 0 4px 6px -2px rgba(26, 43, 72, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(26, 43, 72, 0.1), 0 10px 10px -5px rgba(26, 43, 72, 0.04);

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

/* ========================================
   Reset & Base Styles
======================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ========================================
   Utility Classes
======================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--medical-teal);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ========================================
   Header & Navigation
======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.logo-credentials {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--medical-teal);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--medical-teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-primary {
  background: var(--medical-teal);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 128, 128, 0.3);
}

.btn-primary:hover {
  background: var(--medical-teal-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 128, 128, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--deep-navy);
  border: 2px solid var(--light-gray);
}

.btn-secondary:hover {
  border-color: var(--medical-teal);
  color: var(--medical-teal);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--deep-navy);
  transition: all var(--transition-base);
}

/* ========================================
   Hero Section
======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--deep-navy) 0%, #2d4a6f 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  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='%23008080' fill-opacity='0.08'%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;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 128, 128, 0.2);
  border: 1px solid rgba(0, 128, 128, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: #7dd3d3;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--medical-teal-light);
}

.hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--medical-teal-light);
}

.hero-stat-label {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-top: 4px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.2), rgba(0, 128, 128, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  border: 2px dashed rgba(0, 128, 128, 0.3);
  border-radius: 50%;
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.hero-icon {
  width: 200px;
  height: 200px;
  color: var(--medical-teal-light);
  opacity: 0.8;
}

/* Doctor Image Styles */
.doctor-image-link {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform var(--transition-base);
}

.doctor-image-link:hover {
  transform: scale(1.02);
}

.hero-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 128, 128, 0.3);
}

.about-doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-image-main.doctor-image-link {
  display: block;
  overflow: hidden;
}

/* ========================================
   About Section
======================================== */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--medical-teal), var(--deep-navy));
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-main svg {
  width: 50%;
  height: auto;
  color: rgba(255, 255, 255, 0.2);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-badge-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medical-teal);
}

.about-badge-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.about-badge-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.8;
}

.about-qualifications {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.qualification-tag {
  background: rgba(0, 128, 128, 0.1);
  color: var(--medical-teal-dark);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================
   Services Section
======================================== */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--medical-teal), var(--medical-teal-light));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(0, 128, 128, 0.1), rgba(0, 128, 128, 0.05));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--medical-teal);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 12px;
}

.service-desc {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.9375rem;
}

/* ========================================
   Services Groups & Grid Styles
======================================== */
.services-group {
  margin-bottom: 60px;
}

.services-group:last-child {
  margin-bottom: 0;
}

.services-group-title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  display: block;
  color: var(--deep-navy);
}

.services-group-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  border-radius: var(--radius-full);
  width: 50px;
  margin: 0 auto;
}

.dental-title::after {
  background: var(--medical-teal);
}

.cosmetology-title::after {
  background: var(--cosmo-rose);
}

/* Cosmetology List styling */
.service-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-dark);
}

.service-list-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--medical-teal);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Cosmetology card accent */
.cosmetology-card::before {
  background: linear-gradient(90deg, var(--cosmo-rose), var(--cosmo-rose-light));
}

.cosmetology-icon {
  background: linear-gradient(135deg, var(--cosmo-rose-bg), rgba(192, 80, 126, 0.04)) !important;
  color: var(--cosmo-rose) !important;
}

.cosmetology-card .service-list-item::before {
  background-color: var(--cosmo-rose);
}

/* ========================================
   Chambers Section
======================================== */
.chambers {
  background: var(--off-white);
}

.chambers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.chamber-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: all var(--transition-base);
}

.chamber-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.chamber-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--medical-teal);
}

.chamber-icon svg {
  width: 24px;
  height: 24px;
}

.chamber-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chamber-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 4px;
}

.chamber-address {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.chamber-map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--medical-teal);
  padding: 6px 12px;
  background: rgba(0, 128, 128, 0.08);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  margin-top: auto;
  align-self: flex-start;
}

.chamber-map-btn:hover {
  background: var(--medical-teal);
  color: var(--white);
}

.chamber-map-btn svg {
  width: 14px;
  height: 14px;
}

/* ========================================
   Schedule Section
======================================== */
.schedule {
  background: var(--white);
}

.schedule-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.schedule-day {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.schedule-day.available {
  background: rgba(0, 128, 128, 0.05);
  border-color: rgba(0, 128, 128, 0.2);
}

.schedule-day.closed {
  opacity: 0.5;
}

.schedule-day:hover:not(.closed) {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.schedule-day-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.schedule-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.schedule-time.extended {
  color: var(--medical-teal);
  font-weight: 600;
}

.schedule-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--medical-teal);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-closed-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--medium-gray);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.schedule-warning-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  background: var(--warning);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.schedule-note {
  text-align: center;
  margin-top: 32px;
  padding: 16px 24px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-dark);
  font-size: 0.875rem;
}

.schedule-note svg {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  color: var(--warning);
}

/* ========================================
   Testimonials Section
======================================== */
.testimonials {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #2d4a6f 100%);
  color: var(--white);
}

.testimonials .section-label {
  color: var(--medical-teal-light);
}

.testimonials .section-title {
  color: var(--white);
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-card {
  min-width: 100%;
  padding: 0 20px;
}

.testimonial-content {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 48px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.testimonial-quote {
  width: 48px;
  height: 48px;
  color: var(--medical-teal-light);
  margin: 0 auto 24px;
  opacity: 0.5;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 32px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--medical-teal), var(--medical-teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.testimonial-info {
  text-align: left;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--medical-teal-light);
  transform: scale(1.2);
}

.testimonial-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  pointer-events: none;
}

.testimonial-arrow {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
  pointer-events: auto;
}

.testimonial-arrow:hover {
  background: var(--medical-teal);
  border-color: var(--medical-teal);
}

.testimonial-arrow svg {
  width: 20px;
  height: 20px;
}

/* ========================================
   Booking Section
======================================== */
.booking {
  background: var(--off-white);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.booking-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 16px;
}

.booking-info p {
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.booking-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.booking-feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 128, 128, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medical-teal);
}

.booking-feature-icon svg {
  width: 20px;
  height: 20px;
}

.booking-feature span {
  color: var(--text-dark);
  font-weight: 500;
}

.booking-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--deep-navy);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.9375rem;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  background: var(--white);
  transition: all var(--transition-fast);
  color: var(--text-dark);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--medical-teal);
  box-shadow: 0 0 0 3px rgba(0, 128, 128, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--medium-gray);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.form-error {
  font-size: 0.8125rem;
  color: var(--error);
  margin-top: 6px;
  display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
  border-color: var(--error);
}

.form-group.error .form-error {
  display: block;
}

.booking-submit {
  width: 100%;
  margin-top: 8px;
}

/* ========================================
   Footer
======================================== */
.footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand .logo-name {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.footer-brand .logo-credentials {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--medical-teal);
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
}

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--medical-teal-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--medical-teal-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a:hover {
  color: var(--medical-teal-light);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    order: 2;
  }

  .hero-image {
    order: 1;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image-wrapper {
    width: 300px;
    height: 300px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--light-gray);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header .btn {
    display: none;
  }
}

@media (max-width: 768px) {

  .hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }

  .chambers-grid {
    grid-template-columns: 1fr;
  }

  .schedule-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .schedule-day {
    padding: 16px 8px;
  }

  .testimonial-content {
    padding: 32px 24px;
  }

  .testimonial-arrows {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .services-tabs {
    width: 100%;
    max-width: 500px;
  }

  .tab-btn {
    flex: 1;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.9375rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-image-wrapper {
    width: 220px;
    height: 220px;
  }

  .hero-icon {
    width: 100px;
    height: 100px;
  }

  .service-card {
    padding: 32px 24px;
  }

  .schedule-grid {
    grid-template-columns: 1fr;
  }

  .booking-form-card {
    padding: 24px;
  }

  .services-tabs {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 8px;
    width: 100%;
    max-width: 100%;
    gap: 8px;
  }

  .tab-btn {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 0.875rem;
  }
}

/* ========================================
   Animations
======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-indicator-icon {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator-icon::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateX(-50%) translateY(12px);
    opacity: 0.5;
  }
}