/*
Theme Name: Dr. Jyoti Thapar - Medical & Clinic
Theme URI: https://olive-wren-590431.hostingersite.com
Author: Antigravity AI
Author URI: https://olive-wren-590431.hostingersite.com
Description: A premium, modern, fast, and responsive WordPress theme for Dr. Jyoti Thapar (Consultant Gynecologist, Obstetrician & Infertility Specialist).
Version: 1.1.0
Text Domain: dr-jyoti-thapar
*/

:root {
  --primary: #0b4f6c;
  --primary-dark: #07384e;
  --primary-light: #1b7a9e;
  --secondary: #00a896;
  --secondary-dark: #028072;
  --accent: #e27396;
  --accent-light: #fbeaf0;
  --danger-badge: #e11d48;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-soft-blue: #f0f7fb;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-radius: 14px;
  --border-radius-lg: 22px;
  --border-radius-pill: 9999px;
  --shadow-sm: 0 2px 4px rgba(11, 79, 108, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 79, 108, 0.08);
  --shadow-lg: 0 18px 40px rgba(11, 79, 108, 0.14);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }
}

/* =========================================
   BUTTONS & BADGES
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(11, 79, 108, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 79, 108, 0.35);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.25);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary);
  border-color: #ffffff;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--border-radius-pill);
}

.badge-primary {
  background-color: var(--bg-soft-blue);
  color: var(--primary);
  border: 1px solid rgba(11, 79, 108, 0.15);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.badge-emergency {
  background-color: #ffe4e6;
  color: #e11d48;
  border: 1px solid #fecdd3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.75; }
}

/* =========================================
   TOP NOTIFICATION BAR
========================================= */
.top-bar {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-info a, .top-bar-info span {
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  background-color: var(--bg-main);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--secondary);
  box-shadow: 0 4px 10px rgba(0, 168, 150, 0.2);
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(11, 79, 108, 0.2);
}

.brand-text h1, .brand-text .brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  margin: 0;
  white-space: nowrap;
}

.brand-text span, .brand-text .brand-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

.main-navigation {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 26px;
  align-items: center;
}

.nav-menu li a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
  color: var(--primary);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--primary);
  cursor: pointer;
  padding: 4px;
}

/* =========================================
   HERO SECTION
========================================= */
.hero-section {
  background: linear-gradient(135deg, #eef7fc 0%, #f7fbfe 60%, #ffffff 100%);
  padding: 70px 0 50px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 30px;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.hero-highlight-item i {
  color: var(--secondary);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  z-index: 2;
}

.doctor-card-preview {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  position: relative;
}

.doctor-card-image-wrap {
  width: 100%;
  height: 440px;
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  background: #e2e8f0;
}

.doctor-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.5s ease;
}

.doctor-card-preview:hover .doctor-card-image-wrap img {
  transform: scale(1.03);
}

.doctor-badge-floating {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  padding: 14px 18px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.doctor-badge-floating .doc-info h4 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--primary);
}

.doctor-badge-floating .doc-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.doctor-badge-floating .rating {
  color: #f59e0b;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* =========================================
   STATS BAR
========================================= */
.stats-bar {
  background: var(--primary);
  color: #ffffff;
  padding: 36px 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item {
  padding: 10px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number span {
  color: var(--secondary);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

/* =========================================
   SECTION HEADERS
========================================= */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-header .badge {
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-muted);
}

/* =========================================
   SERVICES / TREATMENTS GRID
========================================= */
.services-section {
  background-color: var(--bg-alt);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 79, 108, 0.2);
}

.service-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--bg-soft-blue);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
  background: var(--primary);
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: var(--secondary);
}

/* =========================================
   ABOUT DOCTOR SECTION
========================================= */
.about-section {
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.about-image-card {
  background: var(--bg-soft-blue);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  border: 1px solid var(--border-color);
  position: relative;
}

.about-image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 35%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.experience-tag {
  position: absolute;
  top: 30px;
  right: 30px;
  background: var(--secondary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: var(--border-radius);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.about-content .badge {
  margin-bottom: 12px;
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.credentials-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 30px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.credential-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 4px;
}

.credential-item h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--text-main);
}

.credential-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================
   WHY CHOOSE US / TRUST PILLARS
========================================= */
.why-section {
  background: linear-gradient(135deg, #0b4f6c 0%, #07384e 100%);
  color: #ffffff;
}

.why-section .section-header h2 {
  color: #ffffff;
}

.why-section .section-header p {
  color: rgba(255, 255, 255, 0.8);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--border-radius);
  padding: 28px 20px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.why-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.why-card h4 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
}

/* =========================================
   APPOINTMENT BOOKING SECTION & FORM
========================================= */
.booking-section {
  background: var(--bg-soft-blue);
  position: relative;
}

.booking-card {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  max-width: 960px;
  margin: 0 auto;
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .booking-card {
    padding: 24px;
  }
  .booking-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--bg-alt);
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(11, 79, 108, 0.1);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  margin-top: 18px;
  text-align: center;
}

.form-feedback.success {
  display: block;
  background-color: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-feedback.error {
  display: block;
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* =========================================
   TESTIMONIALS SECTION
========================================= */
.testimonials-section {
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: var(--bg-alt);
  border-radius: var(--border-radius);
  padding: 28px;
  border: 1px solid var(--border-color);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.author-info h5 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-main);
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =========================================
   FAQ ACCORDION
========================================= */
.faq-section {
  background-color: var(--bg-alt);
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-dark);
  user-select: none;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}

/* =========================================
   CLINIC LOCATION & CONTACT
========================================= */
.location-section {
  background-color: #ffffff;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .location-grid {
    grid-template-columns: 1fr;
  }
}

.location-info-card {
  background: var(--bg-soft-blue);
  border-radius: var(--border-radius-lg);
  padding: 36px;
  border: 1px solid var(--border-color);
}

.location-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.location-detail-item:last-child {
  margin-bottom: 0;
}

.location-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.location-detail-text h5 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary-dark);
}

.location-detail-text p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  height: 380px;
  background: #e2e8f0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =========================================
   CLINIC GALLERY / CONSULTATION ROOM
========================================= */
.clinic-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}

.clinic-photo-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.clinic-photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.clinic-photo-card .photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(7, 56, 78, 0.9) 0%, rgba(7, 56, 78, 0) 100%);
  color: #ffffff;
  padding: 20px 16px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  background: #062b3b;
  color: rgba(255, 255, 255, 0.82);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

/* =========================================
   FLOATING WHATSAPP & QUICK CALL BUTTONS
========================================= */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.65rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  transition: var(--transition);
  text-decoration: none;
}

.floating-whatsapp {
  background-color: #25d366;
}

.floating-whatsapp:hover {
  background-color: #1eb957;
  transform: scale(1.08);
  color: #ffffff;
}

.floating-call {
  background-color: var(--primary);
  display: none;
}

@media (max-width: 768px) {
  .floating-call {
    display: flex;
  }
}

/* =========================================
   PAGE BANNER (FOR INNER PAGES)
========================================= */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-banner h1 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.page-banner p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}

/* =========================================
   MODAL POPUP
========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

/* =========================================
   MOBILE RESPONSIVENESS
========================================= */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-highlights {
    justify-content: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    padding: 80px 24px 24px;
    transition: right 0.3s ease;
    z-index: 1050;
  }
  .main-navigation.active {
    right: 0;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 18px;
  }
  .mobile-toggle {
    display: block;
    z-index: 1100;
  }
}

/* Mobile Specific Header and Form Styling */
@media (max-width: 768px) {
  .header-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 12px 40px 12px 12px;
  }

  .brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }

  .brand-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .brand-text h1, 
  .brand-text .brand-title {
    font-size: 1.25rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  .brand-text span, 
  .brand-text .brand-subtitle {
    font-size: 0.78rem !important;
    white-space: nowrap !important;
    text-align: center !important;
    line-height: 1.2 !important;
  }

  /* Hide Call CTA on mobile header */
  .header-cta a.btn {
    display: none !important;
  }

  .header-cta {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    gap: 0;
  }

  .mobile-toggle {
    font-size: 1.5rem;
    padding: 6px;
  }

  /* Fix Form Controls & Date Inputs overflowing on mobile */
  .form-control,
  input[type="date"].form-control,
  input[type="text"].form-control,
  input[type="tel"].form-control,
  input[type="email"].form-control,
  select.form-control,
  textarea.form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
  }

  input[type="date"].form-control {
    min-height: 48px;
    padding: 10px 14px;
    font-size: 0.95rem;
  }

  .booking-card {
    padding: 20px 16px;
  }

  .booking-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .brand-text h1, 
  .brand-text .brand-title {
    font-size: 1.15rem !important;
  }

  .brand-text span, 
  .brand-text .brand-subtitle {
    font-size: 0.72rem !important;
  }
}
