/* ==========================================================================
   CENTRAL CLINIC & MEDICALS — MODERN CLEAN HEALTHCARE STYLESHEET
   Clean, Professional, Static CSS3 (No Build Tools Required)
   ========================================================================== */

:root {
  --primary-teal: #07959B;
  --primary-teal-hover: #057E83;
  --deep-navy: #123B73;
  --deep-navy-hover: #0D2C56;
  --medical-blue: #1769D5;
  --call-blue: #1769D5;
  --call-blue-hover: #1258B5;
  --light-teal: #E0F5F5;
  --healthcare-bg: #E8F8F8;
  --light-navy: #F0F4FA;
  --soft-bg: #F5FBFB;
  --card-bg: #FFFFFF;
  --border-subtle: #DCECEF;
  --border-strong: #CBD5E1;
  --text-main: #123B73;
  --muted-text: #58708F;
  --whatsapp-green: #16C45A;
  --whatsapp-hover: #12A94D;
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(18, 59, 115, 0.06), 0 1px 2px rgba(18, 59, 115, 0.04);
  --shadow-md: 0 4px 12px -1px rgba(18, 59, 115, 0.08), 0 2px 6px -1px rgba(18, 59, 115, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(18, 59, 115, 0.12), 0 4px 10px -2px rgba(18, 59, 115, 0.05);
  --shadow-xl: 0 20px 40px -6px rgba(18, 59, 115, 0.16);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--soft-bg);
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--deep-navy);
  line-height: 1.25;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   BUTTONS & UI CONTROLS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: #1769D5;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(23, 105, 213, 0.25);
}

.btn-primary:hover {
  background-color: #1258B5;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(23, 105, 213, 0.35);
}

.btn-teal {
  background-color: var(--primary-teal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(7, 149, 155, 0.22);
}

.btn-teal:hover {
  background-color: var(--primary-teal-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(7, 149, 155, 0.32);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(22, 196, 90, 0.22);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(22, 196, 90, 0.32);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border-subtle);
  color: var(--deep-navy);
}

.btn-outline:hover {
  background: var(--light-teal);
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.header-nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-text);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-teal);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-teal);
  border-radius: 2px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta-btn {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.mobile-header-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.mobile-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.mobile-icon-btn.call {
  background: #1769D5;
}

.mobile-icon-btn.call:hover {
  background: #1258B5;
}

.mobile-icon-btn.whatsapp {
  background: var(--whatsapp-green);
}

.mobile-icon-btn.whatsapp:hover {
  background: var(--whatsapp-hover);
}

.mobile-toggle-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--light-teal);
  color: var(--deep-navy);
}

/* ==========================================================================
   MOBILE NAV DRAWER
   ========================================================================== */

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 115, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--white);
  z-index: 1200;
  box-shadow: var(--shadow-xl);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.mobile-drawer-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--deep-navy);
  padding: 8px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer-link:hover {
  color: var(--primary-teal);
  transform: translateX(4px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 60px 0 50px 0;
  background: linear-gradient(180deg, #E8F8F8 0%, rgba(245, 251, 251, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.section-eyebrow {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--primary-teal);
  background: var(--light-teal);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero-title span {
  color: var(--primary-teal);
}

.hero-description {
  font-size: 1.05rem;
  color: var(--muted-text);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.hero-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--light-teal);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-benefit-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--deep-navy);
}

.hero-cta-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
}

.hero-clinic-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--white);
}

/* ==========================================================================
   QUICK SERVICES STRIP
   ========================================================================== */

.quick-strip-section {
  padding: 24px 0 50px 0;
}

.quick-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.quick-strip-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.quick-strip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.quick-strip-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light-teal);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px auto;
}

.quick-strip-title {
  font-size: 0.92rem;
  margin-bottom: 2px;
}

.quick-strip-desc {
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* ==========================================================================
   SECTION HEADINGS (COMMON)
   ========================================================================== */

.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-subheading {
  font-size: 1rem;
  color: var(--muted-text);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ==========================================================================
   DOCTORS SECTION
   ========================================================================== */

.doctors-section {
  padding: 60px 0;
  background: var(--white);
}

.doctors-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.doctors-main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.doctor-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-teal);
}

.doctor-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  background: var(--light-navy);
  overflow: hidden;
}

.doctor-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.doctor-card:hover .doctor-img-container img {
  transform: scale(1.05);
}

.doctor-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  z-index: 2;
}

.doctor-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-name {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.doctor-qual {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-teal);
  margin-bottom: 4px;
}

.doctor-dept {
  font-size: 0.8rem;
  color: var(--muted-text);
  margin-bottom: 12px;
  line-height: 1.4;
}

.doctor-time-box {
  margin-top: auto;
  padding: 8px 10px;
  background: var(--soft-bg);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--deep-navy);
}

/* SCHEDULE CARD (SIDE PANEL) */
.schedule-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 96px;
}

.schedule-card-header {
  font-size: 1.25rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--light-teal);
  color: var(--deep-navy);
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: var(--soft-bg);
  transition: var(--transition);
}

.schedule-item-row:hover {
  background: var(--light-teal);
}

.schedule-day-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-teal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-doc-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--deep-navy);
}

.schedule-doc-time {
  font-size: 0.8rem;
  color: var(--muted-text);
}

/* DOCTOR MODAL / BOTTOM SHEET */
.doctor-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 115, 0.6);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.doctor-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.doctor-sheet-content {
  background: var(--white);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  padding: 28px;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.doctor-modal-backdrop.active .doctor-sheet-content {
  transform: scale(1);
}

.close-sheet-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--soft-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-text);
}

.close-sheet-btn:hover {
  background: var(--border-subtle);
  color: var(--deep-navy);
}

.doctor-sheet-header {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 20px;
}

.doctor-sheet-img {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  flex-shrink: 0;
}

.doctor-sheet-info h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.doctor-sheet-info .qual {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-teal);
}

.doctor-sheet-info .dept {
  font-size: 0.85rem;
  color: var(--muted-text);
}

.doctor-sheet-bio-box {
  background: var(--soft-bg);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.doctor-sheet-bio-box h4 {
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--deep-navy);
}

.doctor-sheet-bio-box p {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.6;
}

.doctor-sheet-time-box {
  background: var(--light-teal);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--deep-navy);
  font-weight: 600;
  font-size: 0.9rem;
}

.doctor-sheet-actions {
  display: flex;
  gap: 12px;
}

.doctor-sheet-actions .btn {
  flex: 1;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: 70px 0;
  background: var(--soft-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--light-teal);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.service-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.service-card-desc {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.6;
}

/* ==========================================================================
   PHARMACY SECTION
   ========================================================================== */

.pharmacy-section {
  padding: 70px 0;
  background: var(--white);
}

.pharmacy-banner {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #17488C 100%);
  border-radius: var(--radius-xl);
  padding: 50px 40px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.pharmacy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.pharmacy-content h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 14px;
}

.pharmacy-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.pharmacy-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}

.pharmacy-feature-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.pharmacy-feature-box h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.pharmacy-feature-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  margin: 0;
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */

.about-section {
  padding: 60px 0;
  background: var(--soft-bg);
}

.about-card {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   GALLERY SECTION (WITH FLUID ANIMATIONS & CAROUSEL)
   ========================================================================== */

.gallery-section {
  padding: 70px 0;
  background: var(--white);
  overflow: hidden;
}

.section-header-animated {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-section.in-view .section-header-animated {
  opacity: 1;
  transform: translateY(0);
}

.gallery-carousel-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.15s, transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.15s;
}

.gallery-section.in-view .gallery-carousel-wrapper {
  opacity: 1;
  transform: translateY(0);
}

.gallery-track-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
  touch-action: pan-y pinch-zoom;
}

.gallery-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-slide {
  flex: 0 0 33.3333%;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 1024px) {
  .gallery-slide {
    flex: 0 0 50%;
  }
}

@media (max-width: 640px) {
  .gallery-slide {
    flex: 0 0 100%;
  }
}

.gallery-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.gallery-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--light-navy);
}

.gallery-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover .gallery-img-container img {
  transform: scale(1.04);
}

.gallery-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 59, 115, 0.18);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-img-overlay {
  opacity: 1;
}

.gallery-zoom-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--deep-navy);
  border-radius: var(--radius-full);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card:hover .gallery-zoom-badge {
  transform: scale(1);
}

.gallery-card-title {
  padding: 14px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep-navy);
  text-align: center;
  background: var(--white);
}

.gallery-arrow-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  color: var(--deep-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 10;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.gallery-arrow-btn:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.gallery-arrow-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-arrow-btn.prev {
  left: 0;
}

.gallery-arrow-btn.next {
  right: 0;
}

.gallery-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: var(--border-strong);
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease;
}

.gallery-dot.active {
  width: 24px;
  background: var(--primary-teal);
}

/* LIGHTBOX MODAL */
.gallery-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 115, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.gallery-lightbox-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-lightbox-content {
  position: relative;
  max-width: 850px;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-lightbox-backdrop.active .gallery-lightbox-content {
  transform: scale(1);
}

.gallery-lightbox-img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  display: block;
}

.gallery-lightbox-caption {
  padding: 16px 20px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--deep-navy);
  text-align: center;
  background: var(--white);
}

.close-lightbox-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.close-lightbox-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   CONTACT SECTION & MAP
   ========================================================================== */

.contact-section {
  padding: 55px 0 60px 0;
  background: var(--soft-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 32px 28px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 18px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--light-teal);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 0.78rem;
  color: var(--muted-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--deep-navy);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-text a:hover {
  color: var(--primary-teal);
}

.contact-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.contact-action-btn {
  padding: 10px 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  white-space: nowrap;
}

.btn-directions {
  background: #FFFFFF;
  border: 2px solid #07959B;
  color: #07959B;
  box-shadow: var(--shadow-sm);
}

.btn-directions:hover {
  background: var(--light-teal);
  color: #07959B;
  border-color: #07959B;
  transform: translateY(-2px);
}

.map-box {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  height: 100%;
  min-height: 400px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
  display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--deep-navy);
  color: var(--white);
  padding: 60px 0 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col-about img {
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: block;
}

.footer-col-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 14px;
  max-width: 360px;
}

.footer-col-links h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-col-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   MOBILE BOTTOM QUICK BAR
   ========================================================================== */

.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  z-index: 999;
  box-shadow: 0 -4px 16px rgba(18, 59, 115, 0.08);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mobile-bottom-btn {
  padding: 10px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .doctors-main-layout {
    grid-template-columns: 1fr;
  }
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .schedule-card {
    position: static;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header-nav-desktop, .header-cta-group {
    display: none;
  }
  .mobile-header-actions {
    display: flex;
  }
  .header-container {
    height: 66px;
  }
  .hero-section {
    padding: 36px 0 30px 0;
  }
  .doctors-grid {
    grid-template-columns: 1fr;
  }
  .pharmacy-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pharmacy-banner {
    padding: 32px 20px;
  }
  .about-card {
    padding: 32px 20px;
  }
  .contact-card {
    padding: 26px 20px;
  }
  .map-box {
    min-height: 340px;
    height: 340px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .mobile-bottom-bar {
    display: block;
  }
  body {
    padding-bottom: 60px;
  }
  .gallery-carousel-wrapper {
    padding: 0;
  }
  .gallery-arrow-btn {
    display: none;
  }
}

@media (max-width: 580px) {
  .contact-actions-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-action-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 480px) {
  .header-logo img {
    height: 38px;
  }
  .mobile-icon-btn, .mobile-toggle-btn {
    width: 38px;
    height: 38px;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-benefits-grid, .pharmacy-features {
    grid-template-columns: 1fr;
  }
  .hero-cta-buttons {
    flex-direction: column;
  }
  .hero-cta-buttons .btn {
    width: 100%;
  }
  .quick-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .quick-strip-card {
    padding: 14px 10px;
  }
  .quick-strip-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
  }
  .quick-strip-title {
    font-size: 0.85rem;
  }
  .quick-strip-desc {
    font-size: 0.72rem;
  }
  .btn {
    padding: 11px 18px;
    font-size: 0.9rem;
  }
  .doctor-sheet-content {
    padding: 20px 16px;
  }
  .doctor-sheet-actions {
    flex-direction: column;
  }
  .contact-card {
    padding: 20px 16px;
  }
  .map-box {
    min-height: 280px;
    height: 280px;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero-title {
    font-size: 1.75rem;
  }
  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
  .quick-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}

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