/* PREMIUM MEDICAL CARDIAC THEME - PROFESSIONAL EDITION */
:root {
  --primary: #00c8ff; /* Cyan */
  --primary-gradient: linear-gradient(135deg, #00c8ff 0%, #0066cc 100%);
  --secondary: rgba(0, 200, 255, 0.1); 
  --accent: #f4a261; /* Gold */
  --bg-light: #050d1a;
  --text-dark: #ffffff;
  --text-muted: #a0aec0;
  --glass: rgba(10, 22, 40, 0.85);
  --glass-border: rgba(0, 200, 255, 0.2);
  --card-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  --nav-height: 80px;
  --navy: #050d1a;
  --dark: #070f20;
  --modal-bg: rgba(5, 13, 26, 0.98);
}

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

@media (pointer: fine) {
  * {
    cursor: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* CUSTOM CURSOR */
.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  position: fixed;
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  transition: transform 0.1s ease;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary);
  position: fixed;
  border-radius: 50%;
  z-index: 9998;
  pointer-events: none;
  background: rgba(13, 148, 136, 0.1);
  box-shadow: 0 0 15px rgba(13, 148, 136, 0.2);
}

/* BACK TO TOP BUTTON */
.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 85px; /* Above the Special Offer label if fixed */
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 200, 255, 0.4);
  border: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 100px;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 200, 255, 0.5);
}

/* OFFER MODAL STYLES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 26, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(12px);
}

.modal-box {
  max-width: 700px;
  width: 100%;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: white;
  border-radius: 40px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #0D9488;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  z-index: 10;
  transition: all 0.3s;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
}

.modal-close:hover {
  background: #059669;
  transform: rotate(90deg) scale(1.1);
}

.modal-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.modal-content {
  padding: 40px;
  text-align: center;
}

.offer-dates {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: 'DM Sans';
}

.package-box {
  background: linear-gradient(135deg, #E0F2F1, #F0FFFE);
  padding: 28px;
  border-radius: 20px;
  margin-bottom: 24px;
  border-left: 4px solid #0D9488;
}

.package-list {
  text-align: left;
  font-size: 15px;
  color: #1E293B;
  font-weight: 500;
}

.package-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.package-item:last-child {
  margin-bottom: 0;
}

.check-icon {
  color: #0D9488;
  font-size: 20px;
}


/* BOUNCE ANIMATION */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

@keyframes flowIn {
  0% {
    transform: scale(1.1);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes imageFlow {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes modalPop {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.animate-modal {
  animation: modalPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* NAVIGATION */
nav {
  height: var(--nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(5, 13, 26, 0.92);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0 8%;
  border-bottom: 1px solid rgba(0, 200, 255, 0.12);
}

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

.logo-text h1 {
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.5px;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
}

.logo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
  font-family: 'DM Sans', sans-serif;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary-gradient);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.4);
}

/* HERO SECTION */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  position: relative;
  overflow: hidden;
  background: #050d1a;
  margin-top: 0;
  padding-top: calc(var(--nav-height) + 40px);
}

.hero-bg { position: absolute; inset: 0; background: url('hospital_hero_bg.png') center/cover no-repeat; opacity: .18; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,13,26,0.97) 40%, rgba(0,102,204,0.15)); }
.hero-particles { position: absolute; inset: 0; overflow: hidden; z-index: 1; }
.particle { position: absolute; border-radius: 50%; animation: float linear infinite; opacity: .6; }
@keyframes float { 0% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-20px) rotate(180deg); } 100% { transform: translateY(0) rotate(360deg); } }

.hero-content {
  max-width: 1000px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.3);
  color: #00c8ff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
}

.hero-hospital-name {
  color: #ffffff;
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 15px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.8px;
}

.hero-title {
  font-size: clamp(40px, 8vw, 75px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 25px;
  font-family: 'Playfair Display', serif;
  letter-spacing: -1px;
}

.hero-title .accent {
  color: #00c8ff;
  background: linear-gradient(135deg, #00c8ff, #0066cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
  margin: 25px auto 40px;
  font-size: 18px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 35px;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #00c8ff;
  font-family: 'Poppins', sans-serif;
}

.stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
}

/* CARDS & GLASSMORPHISM */
.glass-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* SECTION HEADERS */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  background: var(--secondary);
  color: var(--primary);
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-family: 'Poppins', sans-serif;
}

.section-title {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 800;
  color: var(--text-dark);
  font-family: 'Playfair Display', serif;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--text-muted);
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

/* GRID LAYOUTS */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grid for Services & Expertise */
.grid-10 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

/* DOCTOR SECTION */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: stretch;
  justify-items: center;
}

.doctor-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 500px;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.doctor-head {
  background: linear-gradient(to bottom, rgba(0, 200, 255, 0.1), transparent);
  padding: 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.doctor-head h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.doctor-head p {
  font-family: 'DM Sans', sans-serif;
}

/* IMAGE RESPONSIVENESS */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.doctor-photo-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  margin: 0 auto 20px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.doctor-photo-circle:hover {
  transform: scale(1.05);
}

.doctor-body {
  padding: 0 40px 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.doctor-body h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

.doctor-body p, .doctor-body li {
  font-family: 'DM Sans', sans-serif;
}

.aim-box {
  background: linear-gradient(135deg, rgba(0, 200, 255, 0.05), rgba(0, 200, 255, 0.1));
  padding: 24px;
  border-radius: 16px;
  margin: 25px 0;
  position: relative;
  border-left: 4px solid var(--primary);
}

.aim-box h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* PATIENT CARDS - ANIMATED FLOW */
.patient-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.patient-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(13, 148, 136, 0.25) !important;
}

.patient-card:hover .patient-img {
  animation: imageFlow 0.8s ease;
}

.patient-card:hover .flow-overlay {
  opacity: 1 !important;
}

/* REDESIGNED APPOINTMENT */
.appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

/* FORM ROW - Two columns on desktop, single on mobile */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  min-width: 0; /* Prevent grid items from overflowing */
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--glass);
  border-radius: 16px;
  margin-bottom: 20px;
  transition: all 0.3s;
  border-left: 3px solid transparent;
}

.info-chip:hover {
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.info-chip h4, .info-chip p {
  font-family: 'DM Sans', sans-serif;
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--dark) 100%);
  color: white;
  padding: 80px 0 40px;
}

footer h3, footer h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

footer p, footer a {
  font-family: 'DM Sans', sans-serif;
}

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

/* ===================================
   MOBILE RESPONSIVENESS - COMPLETE
   =================================== */

/* TABLET (max 968px) */
@media (max-width: 968px) {
  .doctors-grid, .appointment-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  nav { padding: 0 16px; }

  .logo { display: flex; align-items: center; gap: 12px; }
  .logo-text h1 { font-size: 16px; }
  .nav-links { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 14px; }

  .hero-title { font-size: clamp(28px, 6vw, 48px); }
  .hero-stats { flex-wrap: wrap; gap: 30px; }
  .section-title { font-size: clamp(24px, 5vw, 36px); }

  .grid-10 { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

  .doctor-card { border-radius: 20px; }
  .doctor-head { padding: 30px 20px; }
  .doctor-body { padding: 0 20px 30px; }

  .info-side h3 { font-size: 24px; }
  .appointment-grid { gap: 30px; }
  .form-side { padding: 24px !important; }

  .info-chip { padding: 16px; gap: 16px; }

  .info-side > div:last-child {
    display: flex !important;
    flex-direction: column;
    gap: 12px;
  }

  /* Fix appointment buttons overlapping - stack them */
  .info-side > div:last-child button {
    width: 100%;
  }

  /* FORM ROWS - collapse to single column at tablet/mobile */
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
  }
  .form-field {
    width: 100%;
    margin-bottom: 16px;
  }
  .form-field input,
  .form-field select {
    width: 100%;
    box-sizing: border-box;
  }

  input, select, textarea { font-size: 16px; }
  .hero-sub { font-size: 16px; }
  .glass-card { border-radius: 16px; }

  /* About grid stack */
  .about-grid { grid-template-columns: 1fr !important; gap: 30px !important; }

  /* Floating buttons - reposition to avoid blocking center content */
  /* Extreme corner positioning to avoid any obstruction */
  .offer-btn-right {
    left: 8px; /* Extreme left */
    bottom: 8px; /* Extreme bottom */
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
  .back-to-top { 
    right: 8px; /* Extreme right */
    bottom: 8px; /* Extreme bottom */
    width: 42px;
    height: 42px;
  }
  .back-to-top.show { bottom: 8px; }
}

/* MOBILE (max 640px) */
@media (max-width: 640px) {
  nav { height: 70px; padding: 0 12px; }
  .logo-text h1 { font-size: 14px; }
  .logo-text span { font-size: 9px; }

  .hero-title { font-size: clamp(24px, 5vw, 40px); }
  .hero-badge { font-size: 11px; padding: 6px 12px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons button { width: 100%; }
  .section-title { font-size: clamp(20px, 5vw, 30px); }

  .grid-10 { gap: 16px; grid-template-columns: 1fr; }
  .doctor-head { padding: 20px 16px; }
  .doctor-photo-circle { width: 140px; height: 140px; }

  /* Appointment form - single column fields */
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .appointment-grid { gap: 20px; }
  .form-side { padding: 20px !important; }

  /* Info side appointment buttons - stack & full width */
  .info-side > div:last-child {
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .info-side > div:last-child button {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }

  input::placeholder { font-size: 14px; }

  .hero-stats { gap: 20px; flex-wrap: wrap; justify-content: center; }
  .stat { text-align: center; }
  .stat-num { font-size: 24px; }
  .stat-label { font-size: 12px; }

  footer { padding: 50px 0 30px; }
  .footer-grid { gap: 24px; }

  .modal-overlay { padding: 12px; }
  .modal-box { max-width: 100% !important; max-height: 90vh; overflow-y: auto; }
}

/* FORM STYLING */
input, select, textarea {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  width: 100%;
  border: 1px solid rgba(0, 200, 255, 0.15);
  border-radius: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 200, 255, 0.12);
  background: var(--dark);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

form > div {
  margin-bottom: 20px;
}

form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
}

/* HEADING TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
}

/* MODAL IMPROVEMENTS */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(55, 65, 81, 0.95);
  backdrop-filter: blur(12px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex !important;
}

.modal-box {
  background: white;
  border-radius: 40px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0D9488;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: white;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: #059669;
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(13, 148, 136, 0.5);
}

/* COMPREHENSIVE MOBILE OPTIMIZATION */

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .container { padding: 0 20px; }
  nav { padding: 0 16px; }
  .section-title { font-size: clamp(22px, 5vw, 32px); }
  .grid-10 { grid-template-columns: repeat(2, 1fr); }
  
  .offer-ribbon {
    bottom: 24px;
    left: 24px;
    padding: 14px 20px;
    gap: 12px;
    background: linear-gradient(135deg, #0D9488, #059669);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.35);
  }
  .offer-ribbon:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 148, 136, 0.45);
  }
}

/* TABLET TO MOBILE (max-width 767px) */
@media (max-width: 767px) {
  :root { --nav-height: 70px; }
  
  nav {
    height: 70px;
    padding: 0 12px;
  }
  
  .logo-text h1 { font-size: 14px; }
  .logo-text span { font-size: 9px !important; }
  .logo-icon { width: 36px; height: 36px; font-size: 20px; }
  .nav-links { display: none; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  
  #hero {
    padding: calc(var(--nav-height) + 40px) 16px 20px;
    height: auto;
    min-height: 80vh;
  }
  
  .hero-badge { font-size: 11px; margin-bottom: 16px; }
  .hero-title { font-size: clamp(22px, 6vw, 36px); margin-bottom: 16px; }
  .hero-hospital-name { font-size: clamp(16px, 4vw, 28px); margin-bottom: 12px; }
  .hero-sub { font-size: 14px; margin: 16px auto 24px; line-height: 1.5; }
  
  .hero-buttons { flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .hero-buttons button { width: 100%; padding: 12px 20px; font-size: 14px; }
  
  .hero-stats { flex-wrap: wrap; gap: 16px; margin-top: 30px; }
  .stat { flex: 0 1 calc(50% - 8px); }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 11px; }
  
  .section-header { margin-bottom: 40px; }
  .section-tag { font-size: 10px; padding: 4px 12px; }
  .section-title { font-size: clamp(20px, 5vw, 28px); margin-bottom: 8px; }
  .section-sub { font-size: 13px; }
  
  .container { padding: 0 16px; }
  
  .about-grid { gap: 30px !important; grid-template-columns: 1fr !important; }
  .grid-10 { grid-template-columns: 1fr; gap: 16px; }
  .glass-card { border-radius: 16px; }
  .glass-card img { height: 140px; }
  .glass-card > div { padding: 16px !important; }
  .glass-card h3 { font-size: 16px; }
  .glass-card p { font-size: 12px !important; }
  
  .doctors-grid { gap: 20px; grid-template-columns: 1fr; }
  .doctor-card { border-radius: 18px; max-width: 100%; }
  .doctor-head { padding: 24px 16px; }
  .doctor-head h3 { font-size: 18px; }
  .doctor-head p { font-size: 12px; }
  .doctor-photo-circle { width: 160px; height: 160px; }
  .floating-badge { padding: 6px 12px; font-size: 10px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
  .badge-right { right: -65px; top: -5px; }
  .badge-left { left: -65px; bottom: 5px; }
  .doctor-body { padding: 0 16px 24px; }
  .doctor-body h4 { font-size: 13px; margin-bottom: 8px; }
  .doctor-body p, .doctor-body li { font-size: 12px; }
  .doctor-body ul { padding-left: 12px; }
  .aim-box { padding: 16px; margin: 16px 0; }
  .aim-box h4 { font-size: 12px; }
  .aim-box p { font-size: 11px; }
  
  .info-chip { padding: 12px; gap: 12px; }
  .info-chip h4 { font-size: 13px; }
  .info-chip p { font-size: 12px; }
  
  .appointment-grid { gap: 24px; }
  .info-side h3 { font-size: 20px; }
  .info-side p { font-size: 13px; }
  .form-side { padding: 20px !important; }
  .form-side h3 { font-size: 16px; }
  .form-side > p { font-size: 12px; }
  
  form label { font-size: 12px; margin-bottom: 6px; }
  form > div { margin-bottom: 16px; }
  /* Collapse form rows to single column on 767px */
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  input, select, textarea { font-size: 16px; padding: 12px; border-radius: 8px; margin-bottom: 12px; }
  button[type="submit"] { font-size: 14px; padding: 14px 16px !important; }
  /* Floating buttons - reposition to avoid blocking center content */
  /* Extreme corner positioning for small mobile */
  .back-to-top { right: 15px; bottom: 85px; width: 45px; height: 45px; }
  .back-to-top.show { bottom: 85px; }
  
  footer { padding: 40px 0 20px; }
  footer h3, footer h4 { font-size: 14px; margin-bottom: 12px; }
  footer p, footer a { font-size: 12px; }
  .footer-grid ul { line-height: 2 !important; }
  
  .offer-ribbon { bottom: 16px; left: 16px; padding: 10px 14px; gap: 8px; }
  .offer-ribbon > div:first-child { font-size: 24px; }
  .offer-ribbon > div:last-child { font-size: 12px; }
  
  .modal-overlay { padding: 12px; background: rgba(55, 65, 81, 0.95); }
  .modal-box { max-width: 100%; border-radius: 32px; }
  .modal-box img { max-height: 300px; }
  .modal-box > div:last-child { padding: 24px 16px !important; }
  .modal-close { width: 44px; height: 44px; font-size: 20px; top: 12px; right: 12px; }
  .modal-box h2 { font-size: 20px; }
  .modal-box p { font-size: 12px; }
}

/* SMALL MOBILE (max-width 480px) */
@media (max-width: 480px) {
  :root { --nav-height: 65px; }
  
  nav { height: 65px; padding: 0 8px; }
  .logo { gap: 8px; }
  .logo-text h1 { font-size: 12px; }
  .logo-text span { font-size: 8px !important; }
  .logo-icon { width: 32px; height: 32px; font-size: 18px; }
  .nav-cta { padding: 6px 12px; font-size: 12px; }
  
  #hero { padding: calc(var(--nav-height) + 40px) 12px 12px; min-height: 75vh; }
  .hero-badge { font-size: 10px; padding: 5px 10px; margin-bottom: 12px; }
  .hero-title { font-size: clamp(18px, 5vw, 28px); margin-bottom: 12px; }
  .hero-hospital-name { font-size: clamp(14px, 3vw, 20px); margin-bottom: 8px; }
  .hero-sub { font-size: 13px; margin: 12px auto 16px; }
  .hero-buttons { gap: 10px; margin-bottom: 20px; }
  .hero-buttons button { padding: 10px 16px; font-size: 13px; }
  .hero-stats { gap: 12px; margin-top: 24px; }
  .stat { flex: 1; }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 10px; }
  
  .container { padding: 0 12px; }
  .section-header { margin-bottom: 32px; }
  .section-tag { font-size: 9px; padding: 4px 10px; }
  .section-title { font-size: clamp(18px, 4vw, 24px); margin-bottom: 6px; }
  .section-sub { font-size: 12px; }
  
  .grid-10 { gap: 12px; }
  .glass-card { border-radius: 14px; }
  .glass-card > div { padding: 12px !important; }
  .glass-card h3 { font-size: 14px; }
  .glass-card p { font-size: 11px !important; }
  
  .doctor-head { padding: 20px 12px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .doctor-card { max-width: 100%; }
  .doctor-head h3 { font-size: 16px; }
  .doctor-head p { font-size: 11px; }
  .doctor-photo-circle { width: 140px; height: 140px; }
  .floating-badge { padding: 4px 8px; font-size: 9px; }
  .badge-right { right: -55px; top: -5px; }
  .badge-left { left: -55px; bottom: 5px; }
  .doctor-body { padding: 0 12px 16px; }
  .doctor-body h4 { font-size: 12px; }
  .doctor-body p, .doctor-body li { font-size: 11px; }
  .aim-box { padding: 12px; }
  .aim-box h4 { font-size: 11px; }
  .aim-box p { font-size: 10px; }
  
  .info-side h3 { font-size: 18px; }
  .info-side p { font-size: 12px; }
  .form-side { padding: 16px !important; }
  .form-side h3 { font-size: 14px; }
  form label { font-size: 11px; }
  input, select, textarea { font-size: 16px; padding: 10px; }
  
  footer { padding: 30px 0 16px; }
  footer h3, footer h4 { font-size: 13px; }
  footer p, footer a { font-size: 11px; }
  
  .offer-ribbon { bottom: 12px; left: 12px; padding: 8px 12px; }
  .offer-ribbon > div:first-child { font-size: 20px; }
  .offer-ribbon > div:last-child { font-size: 11px; }
}

/* Special Offer Floating Button - Right Side (PREMIUM) */
.offer-btn-right {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 1000;
  background: var(--primary-gradient);
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  display: flex !important;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  box-shadow: 0 10px 30px rgba(13, 148, 136, 0.4);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
}

.offer-btn-right:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(13, 148, 136, 0.5);
  border-color: rgba(255, 255, 255, 0.5);
}

.offer-btn-right i {
  font-size: 24px;
  animation: bounce 2s infinite;
}

@media (max-width: 768px) {
  .offer-btn-right {
    right: 15px !important;
    bottom: 15px !important;
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    justify-content: center !important;
    left: auto !important;
  }
}

/* Reviews White Background Styles */
#reviews.white-bg {
  background: #FFFFFF !important;
}

#reviews.white-bg .section-title {
  color: #1E293B !important;
}

#reviews.white-bg .section-sub {
  color: #64748B !important;
}

#reviews.white-bg .glass-card {
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
}

#reviews.white-bg .fa-video {
  color: var(--primary) !important;
}

#reviews.white-bg h3 {
  color: #1E293B !important;
}

/* Expertise Card Border */
.expertise-card {
  border: 2px solid var(--primary) !important;
}

.expertise-card h3 {
  color: var(--primary) !important;
}

/* ============================================
   FOUNDERS TOP SECTION (After Hero)
   ============================================ */
.founders-top-section {
  position: relative;
  padding: 80px 0 60px;
  background: linear-gradient(180deg, #050d1a 0%, #0a192f 50%, #050d1a 100%);
  overflow: hidden;
}

.founders-top-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(0,200,255,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 50%, rgba(244,162,97,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.founders-top-header {
  text-align: center;
  margin-bottom: 50px;
}

.founders-divider-line {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244,162,97,0.6), transparent);
  margin: 0 auto 16px;
}

.founders-top-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}

.founders-top-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #94A3B8;
  font-weight: 500;
  margin-bottom: 16px;
}

.founders-top-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Emblem Card */
.founder-emblem-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px 30px;
  max-width: 380px;
  width: 100%;
  background: rgba(10, 22, 40, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  backdrop-filter: blur(16px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.founder-emblem-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255,255,255,0.15);
}

/* Emblem Glow */
.emblem-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
  animation: emblemGlowPulse 4s ease-in-out infinite;
}

.emblem-glow-blue { background: #00c8ff; }
.emblem-glow-gold { background: #f4a261; }

@keyframes emblemGlowPulse {
  0%, 100% { opacity: 0.2; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.45; transform: translateX(-50%) scale(1.15); }
}

/* Emblem Rings */
.emblem-ring-outer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.1);
  animation: emblemRingSpin 25s linear infinite;
  pointer-events: none;
}

.emblem-ring-inner {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: emblemRingSpin 18s linear infinite reverse;
  pointer-events: none;
}

.ring-blue { border-color: rgba(0,200,255,0.15); }
.ring-gold { border-color: rgba(244,162,97,0.15); }

@keyframes emblemRingSpin {
  from { transform: translateX(-50%) rotate(0deg); }
  to { transform: translateX(-50%) rotate(360deg); }
}

/* Emblem Image */
.emblem-image-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5),
              inset 0 0 40px rgba(0,0,0,0.3);
  z-index: 5;
  margin-bottom: 20px;
  animation: emblemFloat 5s ease-in-out infinite;
  transition: all 0.4s ease;
}

.founder-emblem-card:hover .emblem-image-wrapper {
  box-shadow: 0 20px 50px rgba(0,0,0,0.6),
              0 0 30px rgba(0,200,255,0.15);
  border-color: rgba(255,255,255,0.25);
}

#grandpaEmblemTop:hover .emblem-image-wrapper {
  box-shadow: 0 20px 50px rgba(0,0,0,0.6),
              0 0 30px rgba(0,200,255,0.2);
}

#grandmaEmblemTop:hover .emblem-image-wrapper {
  box-shadow: 0 20px 50px rgba(0,0,0,0.6),
              0 0 30px rgba(244,162,97,0.2);
}

@keyframes emblemFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.emblem-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  filter: contrast(1.1) brightness(1.05);
}

.founder-emblem-card:hover .emblem-photo {
  transform: scale(1.08);
}

/* Emblem Info */
.emblem-info {
  position: relative;
  z-index: 5;
}

.emblem-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
}

.badge-hospital {
  background: rgba(0,200,255,0.1);
  color: #00c8ff;
  border: 1px solid rgba(0,200,255,0.25);
}

.badge-welfare {
  background: rgba(244,162,97,0.1);
  color: #f4a261;
  border: 1px solid rgba(244,162,97,0.25);
}

.emblem-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.emblem-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #94A3B8;
  font-weight: 600;
  margin-bottom: 10px;
}

.emblem-motto {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  line-height: 1.5;
}

.emblem-motto i {
  font-size: 10px;
  color: rgba(244,162,97,0.5);
  margin: 0 4px;
}

/* Sparkles Container */
.emblem-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* Center Ornament */
.founders-center-ornament {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
}

.ornament-line {
  width: 2px;
  height: 50px;
  background: linear-gradient(180deg, transparent, rgba(244,162,97,0.4), transparent);
}

.ornament-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(244,162,97,0.1);
  border: 1px solid rgba(244,162,97,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #f4a261;
  animation: ornamentSpin 12s linear infinite;
}

@keyframes ornamentSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   FOUNDERS BOTTOM SECTION (Below Appointment)
   ============================================ */
.founders-bottom-section {
  position: relative;
  width: 100%;
  min-height: 700px;
  background: linear-gradient(180deg, var(--dark) 0%, #0a192f 50%, var(--dark) 100%);
  overflow: hidden;
  padding: 100px 20px;
}

.founders-bottom-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 80%, rgba(0,200,255,0.04) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 20%, rgba(244,162,97,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.founders-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.founder-particle {
  position: absolute;
  border-radius: 50%;
  animation: founderParticleFloat linear infinite;
  opacity: 0.4;
}

@keyframes founderParticleFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  25% { transform: translateY(-30px) rotate(90deg) scale(1.2); }
  50% { transform: translateY(-10px) rotate(180deg) scale(0.8); }
  75% { transform: translateY(-40px) rotate(270deg) scale(1.1); }
  100% { transform: translateY(0) rotate(360deg) scale(1); }
}

.founders-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Legacy Card */
.founder-legacy-card {
  position: relative;
  background: rgba(10, 22, 40, 0.8);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 28px;
  padding: 50px 35px 40px;
  backdrop-filter: blur(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.founder-legacy-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
}

/* Legacy Card Glow */
.legacy-card-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  pointer-events: none;
}

.legacy-glow-blue { background: #00c8ff; }
.legacy-glow-gold { background: #f4a261; }

/* Legacy Emblem Container */
.legacy-emblem-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 30px;
}

/* Ring Pulses */
.legacy-ring-pulse {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  border: 2px solid transparent;
  animation: legacyRingPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.ring-pulse-blue { border-color: rgba(0,200,255,0.2); }
.ring-pulse-gold { border-color: rgba(244,162,97,0.2); }

.delay-1 { animation-delay: -1.5s; }

@keyframes legacyRingPulse {
  0% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.15); opacity: 0; }
  100% { transform: scale(1); opacity: 0.5; }
}

/* Emblem Frame */
.legacy-emblem-frame {
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5),
              inset 0 0 30px rgba(0,0,0,0.2);
  transition: all 0.5s ease;
}

.frame-blue { border: 3px solid rgba(0,200,255,0.3); }
.frame-gold { border: 3px solid rgba(244,162,97,0.3); }

.founder-legacy-card:hover .legacy-emblem-frame {
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

#grandpaLegacy:hover .legacy-emblem-frame {
  border-color: rgba(0,200,255,0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(0,200,255,0.2);
}

#grandmaLegacy:hover .legacy-emblem-frame {
  border-color: rgba(244,162,97,0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 20px rgba(244,162,97,0.2);
}

.legacy-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: contrast(1.1) brightness(1.05);
}

.founder-legacy-card:hover .legacy-emblem-img {
  transform: scale(1.1);
}

/* Text Orbit */
.legacy-text-orbit {
  position: absolute;
  inset: -25px;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  border: 1px dashed rgba(255,255,255,0.08);
}

.orbit-blue { animation: spinText 22s linear infinite; }
.orbit-gold { animation: spinText 22s linear infinite reverse; }

/* Legacy Content */
.legacy-content {
  position: relative;
  z-index: 5;
  width: 100%;
}

.legacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid;
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
}

.legacy-name {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.legacy-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.legacy-divider {
  width: 60px;
  height: 3px;
  border-radius: 10px;
  margin: 0 auto 16px;
}

.divider-blue { background: linear-gradient(90deg, #00c8ff, #0066cc); }
.divider-gold { background: linear-gradient(90deg, #f4a261, #e76f51); }

.legacy-description {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

.legacy-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.legacy-feature {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.3s;
}

.legacy-feature:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: #ffffff;
}

.legacy-feature i {
  font-size: 12px;
  color: var(--primary);
}

/* Wave animations (shared) */
.founder-wave {
  filter: drop-shadow(0 -10px 20px rgba(0,0,0,0.15));
  animation: waveFloat 10s ease-in-out infinite alternate;
}

.wave-back {
  animation-delay: -5s;
}

@keyframes waveFloat {
  0% { transform: translateY(0%) scaleY(1); }
  100% { transform: translateY(10px) scaleY(1.1); }
}

@keyframes spinText {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseCircle {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

/* ============================================
   FOUNDERS RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .founders-top-grid {
    gap: 30px;
  }
  .founder-emblem-card {
    max-width: 340px;
    padding: 30px 24px;
  }
  .founders-bottom-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .founders-bottom-section {
    padding: 80px 20px;
  }
  .legacy-emblem-container {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .founders-top-section {
    padding: 60px 0 40px;
  }
  .founders-top-grid {
    flex-direction: column;
    gap: 20px;
  }
  .founders-center-ornament {
    flex-direction: row;
    gap: 12px;
  }
  .ornament-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(244,162,97,0.4), transparent);
  }
  .founder-emblem-card {
    max-width: 320px;
    padding: 30px 20px 24px;
  }
  .emblem-image-wrapper {
    width: 150px;
    height: 150px;
  }
  .emblem-name {
    font-size: 17px;
  }
  .emblem-tagline {
    font-size: 13px;
  }
  .emblem-motto {
    font-size: 12px;
  }
  .founders-bottom-section {
    padding: 60px 16px;
    min-height: auto;
  }
  .founder-legacy-card {
    padding: 35px 20px 30px;
  }
  .legacy-emblem-container {
    width: 180px;
    height: 180px;
    margin-bottom: 24px;
  }
  .legacy-name {
    font-size: 20px;
  }
  .legacy-description {
    font-size: 13px;
  }
  .legacy-text-orbit text {
    font-size: 10px !important;
  }
}

@media (max-width: 480px) {
  .founders-top-section {
    padding: 40px 0 30px;
  }
  .founders-top-title {
    font-size: 20px;
  }
  .founders-top-sub {
    font-size: 13px;
  }
  .founder-emblem-card {
    max-width: 100%;
    padding: 24px 16px 20px;
  }
  .emblem-image-wrapper {
    width: 130px;
    height: 130px;
  }
  .emblem-ring-outer {
    width: 200px;
    height: 200px;
  }
  .emblem-ring-inner {
    width: 170px;
    height: 170px;
  }
  .emblem-name {
    font-size: 16px;
  }
  .founder-legacy-card {
    padding: 28px 16px 24px;
    border-radius: 20px;
  }
  .legacy-emblem-container {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
  }
  .legacy-name {
    font-size: 18px;
  }
  .legacy-subtitle {
    font-size: 12px;
  }
  .legacy-description {
    font-size: 12px;
  }
  .legacy-feature {
    font-size: 10px;
    padding: 4px 10px;
  }
  .legacy-text-orbit text {
    font-size: 8px !important;
  }
}


/* DOCTOR BADGES */
.floating-badge { 
  position: absolute; 
  background: rgba(10, 22, 40, 0.95); 
  border: 1px solid rgba(0, 200, 255, 0.25); 
  border-radius: 12px; 
  padding: 8px 14px; 
  font-size: 12px; 
  font-weight: 600; 
  white-space: nowrap; 
  color: white; 
  z-index: 10; 
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  animation: badgeFloat 3s ease-in-out infinite;
  transition: all 0.3s ease;
} 

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}.badge-right { top: 10px; right: -95px; color: #00c8ff; } 
.badge-left { bottom: 20px; left: -95px; color: #f4a261; }

/* FORCE HIDE OFFER TEXT ON MOBILE */
@media (max-width: 768px) {
  .offer-btn-right span {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .offer-btn-right i {
    font-size: 32px !important;
    margin: 0 !important;
  }
}

