/* =============================================
   BL-MEDIC | Custom Styles
   Boje: Crvena #e30016 | Plava #003173
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --red:        #e30016;
  --red-dark:   #b80012;
  --red-light:  #fde8eb;
  --blue:       #003173;
  --blue-mid:   #00408f;
  --blue-light: #e6edf8;
  --cream:      #f7f7f9;
  --text:       #111827;
  --text-dark:  #1f2937;
  --muted:      #6b7280;
  --black:      #0a0a0a;
  --white:      #ffffff;
  --teal-mid:   #0066cc;
}

/* ---- GLOBAL ---- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
}

a {
  text-decoration: none;
}

/* ---- NAVBAR ---- */
.mc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-bottom: 0px solid rgba(0,0,0,0.06);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.mc-nav.scrolled {
  background: rgba(255, 255, 255, 1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05) !important;
}

.mc-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #C8102E, #e8294e);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mc-logo-text {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #111;
}

.logo-img {
  max-height: 40px;
  width: auto;
}

.mc-logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}

.mc-nav-links {
  display: flex;
  gap: 20px;
}

.mc-nav-links a {
  font-size: 13px;
  color: #444;
  text-decoration: none;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
}

.mc-nav-links a:hover,
.mc-nav-links a.active {
  color: #C8102E;
}

.mc-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mc-phone {
  font-size: 12px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mc-btn-primary {
  background: #C8102E;
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.1px;
}

.mc-btn-primary:hover {
  background: #a80c24;
  transform: translateY(-1px);
}

/* ---- HERO SECTION ---- */
.mc-hero {
  position: relative;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: show;
  background: linear-gradient(0deg, #fafafa 0%, #f0f4f8 50%, #e8f0fe 100%);
}

.mc-hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 65% 50%, rgba(200,16,46,0.04) 0%, transparent 100%);
}

.mc-hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 40px 60px;
  max-width: 480px;
}

.mc-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.mc-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C8102E;
}

.mc-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  color: #C8102E;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mc-hero-h1 {
  font-size: 54px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -2px;
  color: #0a0a0a;
  margin-bottom: 10px;
}

.mc-hero-h1 span {
  color: #C8102E;
}

.mc-hero-p {
  font-size: 15px;
  color: #555;
  line-height: 1.65;
  margin-bottom: 32px;
  font-weight: 400;
  max-width: 380px;
}

.mc-hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
}

.mc-btn-hero {
  background: #C8102E;
  color: #fff;
  border: none;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
  letter-spacing: -0.2px;
}

.mc-btn-hero:hover {
  background: #a80c24;
  transform: translateY(-1px);
}

.mc-btn-ghost {
  background: transparent;
  color: #111;
  border: 1.5px solid rgba(0,0,0,0.15);
  padding: 13px 24px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.mc-btn-ghost:hover {
  border-color: rgba(0,0,0,0.35);
}

.mc-hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  width: 55%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.mc-doctor-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(250,250,250,0.3) 0%, transparent 30%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- STATS BAR ---- */
.mc-stats-bar {
  position: relative;
  z-index: 5;
  margin: -30px 40px 0 40px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 34px 32px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  flex-wrap: wrap;
  gap: 20px;
}

.mc-stat {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 120px;
  padding: 5px 10px;
}

.mc-stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(200,16,46,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C8102E;
  font-size: 20px;
  flex-shrink: 0;
}

.mc-stat-num {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 600;
  color: #111;
  letter-spacing: -0.5px;
  line-height: 1.2;
  display: block;
  text-align: center;
}

.mc-stat-label {
  font-size: clamp(10px, 0.9vw, 11.5px);
  color: #777;
  font-weight: 400;
  display: block;
  max-width: 120px;
  line-height: 1.3;
  text-align: center;
}

.mc-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

/* STATS RESPONSIVE */
@media (max-width: 992px) {
  .mc-stats-bar {
    margin: -30px 20px 0 20px;
    padding: 25px 20px;
    gap: 15px;
    border-radius: 16px;
  }

  .mc-stat {
    min-width: 100px;
    flex: 1 1 40%;
  }

  .mc-stat-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .mc-stats-bar {
    margin: -20px 16px 0 16px;
    padding: 20px 16px;
    gap: 12px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .mc-stat {
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    min-width: auto;
    flex: 1 1 auto;
  }

  .mc-stat:last-child {
    border-bottom: none;
  }

  .mc-stat-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
    flex-shrink: 0;
  }

  .mc-stat-num {
    font-size: 16px;
    text-align: left;
  }

  .mc-stat-label {
    font-size: 11px;
    max-width: none;
    text-align: left;
  }

  .mc-stat-divider {
    display: none;
  }
}

@media (max-width: 480px) {
  .mc-stats-bar {
    margin: -15px 12px 0 12px;
    padding: 16px 12px;
    border-radius: 12px;
  }

  .mc-stat {
    padding: 6px 10px;
    gap: 10px;
  }

  .mc-stat-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-radius: 8px;
  }

  .mc-stat-num {
    font-size: 14px;
  }

  .mc-stat-label {
    font-size: 10px;
  }
}

/* ---- SERVICES SECTION ---- */
.mc-services {
  padding: 72px 40px 60px;
}

.mc-section-label {
  font-size: 11px;
  font-weight: 600;
  color: #C8102E;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mc-section-h2 {
  font-size: 34px;
  font-weight: 600;
  color: #0a0a0a;
  letter-spacing: -1px;
  margin-bottom: 8px;
  line-height: 1.15;
}

.mc-section-sub {
  font-size: 15px;
  color: #666;
  max-width: 480px;
  line-height: 1.6;
  margin-bottom: 48px;
}

.mc-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mc-service-card {
  background: #fafafa;
  border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  padding: 28px 24px;
  transition: all 0.25s;
  cursor: pointer;
}

.mc-service-card:hover {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.mc-svc-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,16,46,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C8102E;
  font-size: 22px;
  margin-bottom: 14px;
}

.mc-svc-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.mc-svc-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}

/* ---- TEAM SECTION ---- */
.mc-team {
  padding: 0 40px 72px;
}

.mc-doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 0;
}

.mc-doc-card {
  background: #fafafa;
  border: 0.5px solid rgba(0,0,0,0.07);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
}

.mc-doc-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.mc-doc-img {
  height: 160px;
  background: linear-gradient(135deg, #e8edf5, #d0dae8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mc-doc-initials {
  font-size: 40px;
  font-weight: 300;
  color: #8a9ab8;
  letter-spacing: -2px;
}

.mc-doc-info {
  padding: 16px 18px;
}

.mc-doc-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 2px;
  letter-spacing: -0.3px;
}

.mc-doc-spec {
  font-size: 12px;
  color: #C8102E;
  font-weight: 500;
}

.mc-doc-exp {
  font-size: 11.5px;
  color: #888;
  margin-top: 4px;
}

/* ---- FOOTER STRIP ---- */
.mc-footer-strip {
  background: #0a0a0a;
  padding: 28px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
}

.mc-footer-logo {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.3px;
}

.mc-footer-links {
  display: flex;
  gap: 24px;
}

.mc-footer-links a {
  font-size: 12px;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.mc-footer-links a:hover {
  color: #fff;
}

.mc-footer-copy {
  font-size: 11px;
  color: #444;
}

/* ---- BUTTON STYLES ---- */
.btn-outline-call {
  background: #eef2fa;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
  color: #E30016;
  transition: 0.2s;
}

.btn-outline-call i {
  margin-right: 6px;
  font-size: 12px;
}

.btn-outline-call:hover {
  background: #E30016;
  color: white;
}

/* ---- SECTION HELPERS ---- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
}

/* ---- SERVICES ---- */
.services-section {
  background: var(--white);
}

/* Service Category Headers */
.service-category-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,49,115,0.08);
  border-left: 4px solid var(--red);
}

.service-category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

.service-category-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
}

.service-category-desc {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* Service Detail Cards */
.service-detail-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  height: 100%;
  box-shadow: 0 3px 10px rgba(0,49,115,0.06);
  border: 1px solid rgba(0,49,115,0.08);
  transition: all 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,49,115,0.12);
}

.service-detail-card h5 {
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
}

.service-detail-card p {
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Service Lists */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.service-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* Doctors List */
.doctors-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doctors-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,49,115,0.08);
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.doctors-list li:last-child {
  border-bottom: none;
}

/* Specialists List */
.specialists-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specialists-list li {
  padding: 8px 0;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.specialists-list li strong {
  color: var(--blue);
}

/* Service Highlights */
.service-highlight {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--text-dark);
  font-size: 14px;
}

.service-highlight span {
  width: 20px;
  height: 20px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

.service-highlights {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

/* Service CTA */
.service-cta {
  background: linear-gradient(145deg, var(--blue) 0%, var(--teal-mid) 100%);
  color: #fff;
  padding: 40px;
  border-radius: 15px;
  margin-top: 40px;
}

.service-cta h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 24px;
  font-weight: 600;
}

.service-cta p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.service-cta .btn-hero-primary {
  background: #fff !important;
  color: var(--blue) !important;
  border: 2px solid #fff !important;
}

.service-cta .btn-hero-primary:hover {
  background: var(--red) !important;
  color: #fff !important;
  border-color: var(--red) !important;
}

/* Main Service Cards */
.service-main-card {
  display: block;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 25px rgba(0,49,115,0.08);
  border: 2px solid rgba(0,49,115,0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--red) 0%, var(--red-dark) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-main-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,49,115,0.15);
  border-color: var(--red);
}

.service-main-card:hover::before {
  transform: scaleX(1);
}

.service-main-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: #fff;
  margin-bottom: 25px;
  box-shadow: 0 8px 20px rgba(227,0,22,0.2);
}

.service-main-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 15px;
  line-height: 1.2;
}

.service-main-card p {
  color: var(--muted);
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.service-main-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.service-main-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dark);
  background: rgba(0,49,115,0.04);
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0,49,115,0.08);
}

.service-main-features span:first-child {
  color: var(--red);
  font-weight: 600;
}

.service-main-arrow {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(227,0,22,0.3);
}

.service-main-card:hover .service-main-arrow {
  transform: translateX(5px);
  background: var(--red-dark);
}

/* Service Detail Pages */
.page-header {
  background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
  padding: 60px 0 40px;
  margin-top: 0;
}

.page-breadcrumb {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

.page-breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-breadcrumb a:hover {
  color: var(--red);
}

.page-breadcrumb span {
  color: var(--red);
  font-weight: 600;
}

.page-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 600px;
}

.page-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #fff;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(227,0,22,0.2);
}

.service-detail-section {
  background: #fff;
}

.service-overview h2 {
  color: var(--blue);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.service-overview p {
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 16px;
}

.service-highlight-card {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal-mid) 100%);
  color: #fff;
  padding: 30px;
  border-radius: 20px;
  height: 100%;
}

.service-highlight-card h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 20px;
}

.service-highlight-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-highlight-card li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.service-section {
  margin-bottom: 60px;
}

.section-title {
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-left: 20px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: var(--red);
  border-radius: 2px;
}

.team-card {
  background: #fff;
  border: 2px solid rgba(0,49,115,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,49,115,0.05);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,49,115,0.1);
  border-color: var(--red);
}

.team-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,49,115,0.08);
}

.team-icon {
  width: 60px;
  height: 60px;
  background: rgba(0,49,115,0.1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.team-header h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 5px;
}

.team-role {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

.team-doctor {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.team-doctor .doctor-photo {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  overflow: hidden;
  flex-shrink: 0;
}

.team-doctor .doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-doctor .doctor-info h5 {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-doctor .doctor-info p {
  color: var(--text-dark);
  margin-bottom: 5px;
  font-size: 14px;
}

.team-doctor .doctor-info .doctor-experience {
  color: var(--muted);
  font-style: italic;
  font-size: 13px;
}

.team-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.team-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,0,22,0.1);
  color: var(--red);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

.service-item {
  display: flex;
  gap: 20px;
  padding: 25px;
  background: #fff;
  border: 1px solid rgba(0,49,115,0.08);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-item:hover {
  border-color: var(--red);
  box-shadow: 0 5px 15px rgba(227,0,22,0.1);
}

.service-item-icon {
  width: 50px;
  height: 50px;
  background: rgba(0,49,115,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.service-item-content h4 {
  color: var(--blue);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-item-content p {
  color: var(--text-dark);
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.diagnostic-card {
  background: #fff;
  border: 2px solid rgba(0,49,115,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,49,115,0.05);
}

.diagnostic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,49,115,0.1);
  border-color: var(--red);
}

.diagnostic-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.diagnostic-card h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.diagnostic-card p {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.diagnostic-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.diagnostic-card li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-dark);
  font-size: 14px;
}

.diagnostic-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

.diagnostic-info {
  background: rgba(0,49,115,0.05);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  border: 1px solid rgba(0,49,115,0.08);
}

.diagnostic-info strong {
  color: var(--blue);
  font-weight: 600;
}

/* Analysis Cards */
.analysis-card {
  background: #fff;
  border: 2px solid rgba(0,49,115,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,49,115,0.05);
}

.analysis-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,49,115,0.1);
  border-color: var(--red);
}

.analysis-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--blue) 0%, var(--teal-mid) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.analysis-card h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.analysis-card p {
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}

.analysis-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.analysis-card li {
  padding: 5px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.analysis-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: bold;
}

/* Lab Info Cards */
.lab-info-card {
  background: #fff;
  border: 2px solid rgba(0,49,115,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,49,115,0.05);
}

.lab-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,49,115,0.1);
  border-color: var(--red);
}

.lab-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
}

.lab-info-card h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.lab-timing {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.timing-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: rgba(0,49,115,0.04);
  border-radius: 10px;
  border: 1px solid rgba(0,49,115,0.06);
}

.timing-type {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
}

.timing-value {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

.lab-info-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lab-info-card li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.5;
}

.lab-info-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: bold;
}

/* Pricing Cards */
.pricing-card {
  background: #fff;
  border: 2px solid rgba(0,49,115,0.08);
  border-radius: 20px;
  padding: 30px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,49,115,0.05);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,49,115,0.1);
  border-color: var(--red);
}

.pricing-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0,49,115,0.08);
}

.pricing-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(145deg, var(--blue) 0%, var(--teal-mid) 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}

.pricing-header h4 {
  color: var(--blue);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.price-examples {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(0,49,115,0.04);
  border-radius: 10px;
  border: 1px solid rgba(0,49,115,0.06);
}

.price-name {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
}

.price-value {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
}

.price-note {
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  margin-top: 15px;
}

.payment-info {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,49,115,0.08);
}

.payment-info h5 {
  color: var(--blue);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.payment-info p {
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.service-card {
  background: #fff;
  border: 1px solid rgba(0,49,115,0.1);
  border-radius: 16px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,49,115,0.1);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-icon {
  width: 50px;
  height: 50px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.service-card h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ---- ABOUT ---- */
.about-section {
  background: #fff;
}

.about-visual {
  position: relative;
  padding-bottom: 40px;
  padding-right: 28px;
}

.about-img-box {
  background: linear-gradient(145deg, var(--red) 0%, #8c0010 60%, rgba(0,49,115,0.4) 100%);
  border-radius: 20px;
  aspect-ratio: 8/4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}

.about-img-box span {
  font-size: 48px;
  opacity: 0.2;
}

.about-img-box p {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.about-card-float {
  position: absolute;
  right: 0;
  bottom: 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  width: 165px;
  box-shadow: 0 14px 36px rgba(0,49,115,0.35);
}

.about-card-float .num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.about-card-float .lbl {
  font-size: 12px;
  opacity: 0.85;
  line-height: 1.4;
  margin-top: 4px;
}

.about-cert-float {
  position: absolute;
  left: -12px;
  top: 32px;
  background: #fff;
  border: 1px solid rgba(0,49,115,0.12);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 24px rgba(0,49,115,0.08);
}

.cert-icon {
  width: 34px;
  height: 34px;
  background: var(--blue-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cert-text p {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin: 0;
  line-height: 1.3;
}

.cert-text span {
  font-size: 11px;
  color: var(--muted);
}

.feature-item {
  display: flex;
  gap: 12px;
}

.feature-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.feature-item h6 {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* ---- DOCTORS ---- */
.doctors-section {
  background: var(--white);
}

.doctor-card {
  background: #fff;
  border: 1px solid rgba(0,49,115,0.1);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s;
}

.doctor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0,49,115,0.1);
}

.doctor-photo {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.9;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.doctor-photo1 {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--red) 0%, var(--red-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  opacity: 0.9;
  overflow: hidden;
}

.doctor-photo1 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
}

.doctor-photo.v2 {
  background: linear-gradient(145deg, var(--red) 0%, #7a000e 100%);
}

.doctor-photo.v3 {
  background: linear-gradient(145deg, var(--red) 0%, var(--blue) 100%);
}

.doctor-photo.v4 {
  background: linear-gradient(145deg, var(--red-dark) 0%, #001a5c 100%);
}

.doctor-info {
  padding: 18px 20px;
}

.doctor-specialty {
  font-size: 11px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.doctor-info h5 {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.doctor-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: #1a1428;
}

.testimonials-section .section-label {
  color: #7aaaf5;
}

.testimonials-section .section-title {
  color: #fff;
}

.testimonials-section .section-subtitle {
  color: rgba(255,255,255,0.55);
}

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  height: 100%;
}

.stars {
  color: #ffd700;
  letter-spacing: 2px;
  font-size: 15px;
}

.testimonial-card blockquote {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  font-weight: 300;
  line-height: 1.75;
}

.author-avatar {
  width: 40px;
  height: 40px;
  background: rgba(0,49,115,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #7aaaf5;
  flex-shrink: 0;
}

.author-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
}

.author-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ---- APPOINTMENT ---- */
.appt-section {
  background: #fff;
  position: relative;
  overflow: hidden;
}

.appt-section::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0,49,115,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.appt-section .section-label {
  color: var(--muted);
}

.appt-section .section-title {
  color: var(--blue);
}

.appt-section .section-subtitle {
  color: var(--muted);
}

.contact-item-icon {
  width: 40px;
  height: 40px;
  background: rgba(0,49,115,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
  color: var(--blue);
}

.appt-form-box {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
}

.appt-form-box h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
}

.form-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 5px;
}

.form-control,
.form-select {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(0,49,115,0.15);
  background: var(--cream);
  color: var(--text);
  padding: 10px 14px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0,49,115,0.08);
}

.btn-submit {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  width: 100%;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--red-dark);
}

/* ---- MAP ---- */
.map-section {
  background: var(--cream);
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,49,115,0.1);
}

/* ---- FOOTER ---- */
footer {
  background: var(--cream);
  border-top: 1px solid rgba(0,49,115,0.1);
}

footer .logo-img {
  width: 12px;
  height: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-logo-sub {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'DM Sans', sans-serif;
}

.footer-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-link {
  font-size: 14px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--blue);
}

.footer-contact-item {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.footer-contact-item span {
  color: var(--blue);
  font-size: 15px;
}

.footer-divider {
  border-color: rgba(0,49,115,0.1);
}

.footer-copy {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  width: 100%;
}

.footer-bottom-link {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.2s;
}

.footer-bottom-link:hover {
  color: var(--blue);
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(0,49,115,0.1);
  border: 1px solid rgba(0,49,115,0.2);
  border-radius: 50%;
  color: var(--blue);
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-social-icon:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,49,115,0.2);
}

.footer-social-icon svg {
  transition: transform 0.3s ease;
}

.footer-social-icon:hover svg {
  transform: scale(1.1);
}

/* ---- PRICE TABLE ---- */
.price-specialty {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  background: rgba(227,0,22,0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
}

.about-center-image {
  text-align: center;
  margin: 2rem 0;
}

.about-center-image img {
  max-width: 100%;
  height: auto;
  border: 4px solid var(--blue-light);
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,49,115,0.15);
  transition: all 0.3s ease;
}

.about-center-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 35px rgba(0,49,115,0.2);
}

.price-table-container {
  overflow-x: auto;
  margin: 0 auto;
  max-width: 800px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.price-table th {
  background: var(--red);
  color: white;
  padding: 16px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

.price-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e9ecef;
  font-size: 1rem;
}

.price-table tr:last-child td {
  border-bottom: none;
}

.price-table tr:nth-child(even) {
  background: #f8f9fa;
}

.price-table tr:hover {
  background: rgba(227,0,22,0.05);
  transition: background 0.3s ease;
}

.price-table td:last-child {
  font-weight: 600;
  color: var(--blue);
  text-align: right;
}

/* ---- POPUP STYLES ---- */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.popup-overlay.active {
  display: flex;
}

.popup-box {
  background: #fff;
  border-radius: 28px;
  max-width: 480px;
  width: 92%;
  padding: 36px 32px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  position: relative;
  text-align: center;
  animation: slideUp 0.4s ease;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 18px;
  font-size: 28px;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}

.popup-close:hover {
  color: #C8102E;
}

.popup-badge {
  display: inline-block;
  background: #C8102E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 40px;
  margin-bottom: 14px;
}

.popup-box h3 {
  font-size: 26px;
  font-weight: 700;
  color: #0a0a0a;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.popup-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 24px;
}

.popup-btn {
  background: #C8102E;
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.popup-btn:hover {
  background: #a80c24;
}

.popup-small {
  font-size: 12px;
  color: #999;
  margin-top: 16px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* ---- HERO RESPONSIVE STYLES ---- */
.mc-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0 60px;
  background: #ffffff;
}

.mc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #ffffff;
}

.mc-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  mask-image: linear-gradient(to top, transparent 0%, #fff 40%);
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #fff 40%);
}

.mc-hero-content {
  position: relative;
  z-index: 2;
  padding: 20px 40px;
  max-width: 560px;
  width: 100%;
}

.mc-cards-right {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

.mc-glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 220px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border: 0.5px solid rgba(255,255,255,0.3);
}

.mc-card-icon {
  width: 36px;
  height: 36px;
  background: rgba(200,16,46,0.08);
  border: 0.5px solid rgba(255,255,255,0.9);
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #C8102E;
  font-size: 18px;
}

.mc-card-text h4 {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin-bottom: 3px;
  letter-spacing: -0.2px;
}

.mc-card-text p {
  font-size: 11.5px;
  color: #666;
  line-height: 1.5;
  font-weight: 400;
}

.rating-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.stars {
  color: #e30016;
  font-weight: 600;
}

.stats-small {
  font-size: 0.9rem;
  color: #E30016;
}

/* ---- RESPONSIVE TWEAKS ---- */
@media (max-width: 991px) {
  .about-cert-float {
    left: 10px;
  }

  .about-card-float {
    right: 10px;
  }

  .navbar-collapse {
    background: #fff;
    border: 1px solid rgba(227,0,22,0.1);
    border-radius: 10px;
    margin-top: 10px;
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  .service-main-card {
    padding: 30px 25px;
  }

  .service-main-icon {
    width: 70px;
    height: 70px;
    font-size: 30px;
    margin-bottom: 20px;
  }

  .service-main-card h3 {
    font-size: 22px;
  }

  .service-main-features {
    gap: 10px;
  }

  .service-main-features span {
    font-size: 13px;
    padding: 6px 10px;
  }

  /* Hero responsive styles */
  .mc-cards-right {
    right: 20px;
    gap: 15px;
  }

  .mc-glass-card {
    width: 190px;
    padding: 16px 18px;
  }
}

@media (max-width: 1024px) {
  .mc-hero {
    padding: 120px 0 40px;
    flex-direction: column;
    align-items: center;
  }

  .mc-hero-content {
    max-width: 100%;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
  }

  .mc-hero-p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .mc-hero-btns {
    justify-content: center;
  }

  .rating-stats {
    justify-content: center;
    align-items: center;
  }

  .mc-cards-right {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 20px 0;
    gap: 12px;
    z-index: 1;
    margin-top: 0;
    width: 100%;
  }

  .mc-glass-card {
    width: calc(50% - 12px);
    max-width: 280px;
    padding: 14px 16px;
  }

  .mc-hero-bg {
    position: relative;
    height: 300px;
    width: 100%;
    order: -1;
  }

  .mc-hero-bg img {
    mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #fff 0%, transparent 100%);
    object-position: center 30%;
  }
}

@media (max-width: 600px) {
  .mc-hero {
    padding: 80px 0 30px;
  }

  .mc-hero-h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .mc-hero-content {
    padding: 0 16px;
  }

  .mc-btn-hero,
  .mc-btn-ghost {
    padding: 10px 18px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }

  .mc-hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .mc-hero-btns a {
    width: 100%;
    justify-content: center;
  }

  .mc-hero-bg {
    height: 200px;
  }

  .mc-cards-right {
    flex-direction: column;
    align-items: center;
    padding: 20px 16px 0;
    gap: 10px;
  }

  .mc-glass-card {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
  }

  .popup-box {
    padding: 28px 20px;
  }

  .popup-box h3 {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: auto;
  }

  .hero-section h1 {
    font-size: 36px;
  }

  .about-visual {
    display: none;
  }

  .appt-form-box {
    padding: 24px 18px;
  }
}

@media (max-width: 575px) {
  .appt-form-box {
    padding: 20px 14px;
  }

  .hero-stat-number {
    font-size: 30px;
  }

  .service-main-card {
    padding: 25px 20px;
  }

  .service-main-icon {
    width: 60px;
    height: 60px;
    font-size: 26px;
    margin-bottom: 15px;
  }

  .service-main-card h3 {
    font-size: 20px;
  }

  .service-main-card p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .service-main-features {
    gap: 8px;
  }

  .service-main-features span {
    font-size: 12px;
    padding: 5px 8px;
  }

  .service-main-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}
