/* ==========================================================================
   AGRAWAL DENTAL CLINIC - LUXURY TEAL MEDICAL DESIGN SYSTEM
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  --bg-main: #f4f9fc;
  --bg-surface: #ffffff;
  --bg-subtle: #ebf5f9;

  --primary-teal: #007791;
  --primary-hover: #005f73;
  --primary-light: #e0f2f7;

  --accent-cyan: #00b4d8;
  --accent-mint: #06d6a0;
  --accent-mint-light: #e6fdf7;
  --accent-amber: #d97706;

  --text-main: #0c2333;
  --text-muted: #436174;
  --text-subtle: #6c8a9c;

  --border-light: #e0eef3;
  --border-focus: #00b4d8;

  --shadow-sm: 0 2px 8px rgba(0, 119, 145, 0.04);
  --shadow-md: 0 12px 30px rgba(0, 119, 145, 0.08);
  --shadow-lg: 0 20px 45px rgba(0, 119, 145, 0.12);

  --radius-pill: 50px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   FLOATING PILL NAVBAR DESIGN
   ========================================================================== */
header {
  position: fixed;
  top: 16px;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 5%;
  transition: var(--transition);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 180, 216, 0.18);
  padding: 8px 20px;
  height: 58px;
  border-radius: var(--radius-pill);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 119, 145, 0.08);
  transition: var(--transition);
}

header.scrolled .nav-container {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 35px rgba(0, 119, 145, 0.14);
  border-color: rgba(0, 180, 216, 0.3);
  height: 54px;
  padding: 6px 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-main);
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* STUDIO QUALITY IMAGE ENHANCEMENT */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.hero-img-wrapper img,
.doctor-photo img,
.service-visual-img,
.clinic-photo-card img,
.ba-image {
  filter: brightness(1.04) contrast(1.05) saturate(1.06);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.hero-img-wrapper img:hover,
.doctor-photo:hover img,
.clinic-photo-card:hover img {
  filter: brightness(1.07) contrast(1.07) saturate(1.07);
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-img, .logo-mark {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img,
.logo:hover .logo-mark {
  transform: scale(1.05) rotate(3deg);
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 800;
}

.logo-text .logo-main {
  font-size: 1.15rem;
  color: var(--text-main);
  letter-spacing: -0.3px;
  display: inline-flex;
  align-items: center;
}

.logo-text .logo-main span {
  color: var(--primary-teal);
  margin-left: 4px;
}

.logo-text .logo-tagline {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--accent-cyan);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 14px;
  border-radius: 30px;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.nav-links a i {
  font-size: 0.95rem;
  line-height: 1;
  margin-right: 6px;
}

.nav-links a:hover {
  color: var(--primary-teal);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary-teal);
  background: var(--primary-light);
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-shrink: 0;
}

.sound-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--primary-teal);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  padding: 0;
  flex-shrink: 0;
}

.sound-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
}

.sound-btn:hover {
  background: var(--primary-teal);
  color: #ffffff;
}

.sound-btn.muted {
  opacity: 0.5;
}

/* Mobile Toggle Button */
.mobile-toggle-btn {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: var(--primary-teal);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  padding: 0;
  flex-shrink: 0;
}

.mobile-toggle-btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
}

.mobile-toggle-btn:hover {
  background: var(--primary-teal);
  color: #ffffff;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  min-height: 44px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
  letter-spacing: 0.2px;
  user-select: none;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  margin: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-cyan));
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.45);
}

.btn-secondary {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-teal);
  color: var(--primary-teal);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--primary-teal);
  color: var(--primary-teal);
}

.btn-outline:hover {
  background: var(--primary-teal);
  color: #ffffff;
}

/* HERO SECTION */
.hero {
  padding: 105px 5% 45px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 45px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-mint-light);
  color: var(--accent-mint);
  border: 1px solid rgba(6, 214, 160, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.3rem;
  line-height: 1.18;
  margin-bottom: 18px;
  color: var(--text-main);
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  max-width: 530px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-highlights {
  display: flex;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--border-light);
}

.highlight-item h4 {
  font-size: 1.6rem;
  color: var(--primary-teal);
}

.highlight-item p {
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid #ffffff;
}

.hero-img-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  background: #f8fafc;
  display: block;
}

.hero-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-light);
}

.hero-badge-card i {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.hero-badge-card div h5 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.hero-badge-card div p {
  font-size: 0.78rem;
  color: var(--text-subtle);
}

/* SECTION LAYOUT */
section {
  padding: 55px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 28px auto;
}

.section-head .subhead {
  color: var(--primary-teal);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* COMPARISON SECTION */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.comp-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.comp-card:hover {
  box-shadow: var(--shadow-md);
}

.comp-card.clinic {
  border-top: 4px solid var(--primary-teal);
}

.comp-card.scary {
  border-top: 4px solid #ef4444;
  background: #fff8f8;
}

.comp-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.comp-title i {
  font-size: 1.6rem;
}

.comp-card.clinic .comp-title i {
  color: var(--primary-teal);
}

.comp-card.scary .comp-title i {
  color: #ef4444;
}

.comp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comp-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.comp-card.clinic li i {
  color: var(--accent-mint);
}

.comp-card.scary li i {
  color: #ef4444;
}

/* INTERACTIVE QUIZ */
.quiz-container {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 35px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  max-width: 820px;
  margin: 0 auto;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-title {
  font-size: 1.35rem;
  margin-bottom: 22px;
  text-align: center;
}

.quiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.quiz-item {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 14px;
}

.quiz-item:hover {
  background: #ffffff;
  border-color: var(--primary-teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.quiz-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.quiz-info h4 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.quiz-info p {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.quiz-result {
  text-align: center;
  padding: 15px;
}

.res-tag {
  display: inline-block;
  background: var(--accent-mint-light);
  color: var(--accent-mint);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.res-headline {
  font-size: 1.8rem;
  color: var(--primary-teal);
  margin-bottom: 10px;
}

.res-box {
  background: var(--bg-subtle);
  padding: 18px;
  border-radius: var(--radius-md);
  margin: 18px 0 25px 0;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 22px;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.service-card:hover {
  border-color: var(--primary-teal);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 119, 145, 0.12);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  font-size: 1.4rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--text-main);
  line-height: 1.35;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
  flex-grow: 1;
}

.service-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: var(--primary-light);
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 119, 145, 0.12);
}

/* TRANSFORMATION SLIDER */
.ba-container {
  max-width: 860px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.ba-wrapper {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  user-select: none;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-before-img {
  background-image: url('assets/smile_before.jpg');
}

.ba-after-img {
  background-image: url('assets/smile_after.jpg');
  width: 50%;
  border-right: 3px solid var(--primary-teal);
}

.ba-drag-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 36px;
  margin-left: -18px;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.ba-handle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 119, 145, 0.4);
}

/* DOCTOR SECTION */
.doctor-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.doctor-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-photo img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  background: #f8fafc;
}

.doctor-photo:hover img {
  transform: scale(1.03);
}

.doctor-details h3 {
  font-size: 2.1rem;
  margin-bottom: 4px;
}

.doctor-role {
  color: var(--primary-teal);
  font-weight: 700;
  margin-bottom: 18px;
}

.doctor-desc {
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: 1rem;
}

.doctor-quote-box {
  background: var(--bg-subtle);
  border-left: 3px solid var(--primary-teal);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 25px;
}

/* TIMER WIDGET */
.timer-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

.mascot-area {
  text-align: center;
}

.mascot-circle {
  width: 190px;
  height: 190px;
  margin: 0 auto 15px auto;
}

.mascot-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  border: 3px solid var(--primary-light);
}

.mascot-circle.dancing img {
  animation: dance 0.6s infinite alternate ease-in-out;
}

@keyframes dance {
  0% {
    transform: translateY(0) rotate(-4deg);
  }

  100% {
    transform: translateY(-10px) rotate(4deg);
  }
}

.timer-area {
  text-align: center;
}

.timer-clock-num {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin: 12px 0;
}

/* MODAL */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(12, 35, 51, 0.45);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(15px);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-subtle);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-field {
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--border-focus);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #071c2c 0%, #004d61 50%, #007791 100%);
  color: #e2eff8;
  padding: 70px 5% 30px 5%;
  position: relative;
  border-top: 3px solid var(--accent-mint);
  box-shadow: 0 -15px 40px rgba(0, 77, 97, 0.25);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 214, 160, 0.5), transparent);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto 50px auto;
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.8fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-logo .logo-main {
  color: #ffffff !important;
  font-size: 1.3rem !important;
}

.footer-logo .logo-main span {
  color: var(--accent-mint) !important;
}

.footer-logo .logo-tagline {
  color: rgba(226, 239, 248, 0.7) !important;
  font-size: 0.65rem !important;
  letter-spacing: 0.8px !important;
}

.footer-about-text {
  color: rgba(226, 239, 248, 0.82);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

.social-btn.facebook:hover {
  background: #1877f2;
  border-color: transparent;
}

.social-btn.email:hover {
  background: var(--primary-teal);
  border-color: transparent;
}

.social-btn.whatsapp:hover {
  background: #25d366;
  border-color: transparent;
  color: #ffffff;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-mint);
  border-radius: 3px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  margin: 0;
}

.footer-links-list li a {
  color: rgba(226, 239, 248, 0.8);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links-list li a i {
  font-size: 0.7rem;
  color: var(--accent-mint);
  transition: transform 0.25s ease;
}

.footer-links-list li a:hover {
  color: var(--accent-mint);
  transform: translateX(5px);
}

.footer-links-list li a:hover i {
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: rgba(226, 239, 248, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-contact-list li i {
  color: var(--accent-mint);
  font-size: 1.05rem;
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.footer-contact-list li a {
  color: rgba(226, 239, 248, 0.9);
  transition: color 0.25s ease;
}

.footer-contact-list li a:hover {
  color: var(--accent-mint);
}

.footer-contact-list small {
  display: block;
  margin-top: 3px;
  color: rgba(226, 239, 248, 0.65);
  font-size: 0.82rem;
}

.action-col p {
  color: rgba(226, 239, 248, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  min-height: 50px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.28s ease;
  text-decoration: none;
  width: 100%;
}

.footer-btn.whatsapp-btn {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.footer-btn.whatsapp-btn:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.footer-btn.call-btn {
  background: var(--primary-teal);
  border: 1px solid var(--primary-teal);
  color: #ffffff;
}

.footer-btn.call-btn:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

.footer-bottom-bar {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: rgba(226, 239, 248, 0.7);
  font-size: 0.88rem;
}

.footer-subtext {
  color: rgba(226, 239, 248, 0.55);
  font-size: 0.82rem;
}

#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 3000;
}

/* ==========================================================================
   FLUID RESPONSIVE UTILITIES & RESPONSIVE DESIGN SYSTEM
   ========================================================================== */
.responsive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  width: 100%;
}

.responsive-grid-large {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
  width: 100%;
}

.responsive-card-img {
  width: 100%;
  max-height: 360px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #0f172a;
  display: block;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Fluid Typography Helpers */
.hero-title {
  font-size: clamp(1.65rem, 4vw + 1rem, 3.3rem);
}

.section-head h2 {
  font-size: clamp(1.45rem, 3vw + 0.8rem, 2.3rem);
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & RESPONSIVE BREAKPOINTS (100% RESPONSIVE DESIGN)
   ========================================================================== */
@media (min-width: 1920px) {
  .hero, section {
    max-width: 1560px;
  }
  .nav-container {
    max-width: 1500px;
  }
}

@media (max-width: 1200px) {
  .hero-grid {
    gap: 30px;
  }
  .services-grid,
  .reviews-grid,
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  }
  .nav-links a {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1080px) {
  header {
    top: 10px;
    padding: 0 3%;
  }

  .nav-container {
    padding: 8px 16px;
    position: relative;
  }

  .mobile-toggle-btn {
    display: inline-flex !important;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    left: 3%;
    right: 3%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 180, 216, 0.25);
    border-radius: var(--radius-lg);
    padding: 20px;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    box-shadow: 0 15px 35px rgba(0, 119, 145, 0.18);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.mobile-open {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
  }

  .nav-links a {
    text-align: center;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }

  .hero-grid,
  .doctor-row,
  .timer-widget,
  .comparison-grid,
  .info-row {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero {
    padding: 120px 4% 50px 4%;
  }

  .hero-img-wrapper img {
    height: auto;
    max-height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  section {
    padding: 60px 4%;
  }
}

@media (max-width: 768px) {
  .section-head {
    margin-bottom: 35px;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
  }

  .ba-wrapper {
    height: 300px;
  }

  .doctor-photo img {
    height: auto;
    max-height: 350px;
  }
}

@media (max-width: 640px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  header {
    top: 0;
    padding: 0;
  }

  .nav-container {
    border-radius: 0;
    border-inline: none;
    border-top: none;
    padding: 10px 12px;
    height: 56px;
  }

  .logo {
    gap: 8px;
  }

  .logo-icon, .logo-img, .logo-mark {
    width: 34px;
    height: 34px;
  }

  .logo-text .logo-main {
    font-size: 1.05rem;
  }

  .logo-text .logo-tagline {
    font-size: 0.55rem;
    letter-spacing: 0.3px;
  }

  .nav-book-btn {
    padding: 7px 12px;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .mobile-toggle-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }

  .nav-links {
    top: 56px;
    left: 6px;
    right: 6px;
    border-radius: var(--radius-md);
    padding: 15px;
  }

  .hero {
    padding: 90px 16px 35px 16px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
  }

  .hero-highlights {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
    display: grid;
  }

  .highlight-item h4 {
    font-size: 1.2rem;
  }

  .comp-card {
    padding: 20px 14px;
  }

  .quiz-container {
    padding: 18px 12px;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .ba-wrapper {
    height: 240px;
    touch-action: none;
  }

  #baHandle {
    touch-action: none;
  }

  .doctor-photo img {
    height: auto;
    max-height: 300px;
  }

  .timer-widget {
    padding: 20px 12px;
  }

  .timer-clock-num {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .badge-floating,
  .badge-floating-2,
  .hero-badge-card {
    position: static !important;
    margin: 12px auto 0 auto !important;
    width: 100% !important;
    box-sizing: border-box;
  }

  section {
    padding: 35px 16px;
  }

  .modal-card {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px 16px;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 380px) {
  .logo-text .logo-tagline {
    display: none;
  }

  .nav-container {
    padding: 6px 8px;
    gap: 6px;
  }

  .logo {
    gap: 6px;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-book-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }

  .modal-card {
    padding: 16px 12px;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FAQ ACCORDION & PATIENT EDUCATION STYLES
   ========================================================================== */
.faq-container {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--primary-teal);
}

.faq-question {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
  user-select: none;
}

.faq-question i {
  color: var(--primary-teal);
  transition: var(--transition);
  font-size: 1rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 24px 20px 24px;
}

/* Welcome CTA Banner */
.welcome-banner {
  background: linear-gradient(135deg, var(--primary-teal), var(--accent-cyan));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 45px 35px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  margin: 50px auto;
  max-width: 1100px;
}

.welcome-banner h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.welcome-banner p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto 25px auto;
}

/* Timings & Insurance Grid */
.info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.info-card h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-teal);
}

.timing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.timing-table td {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.92rem;
}

.timing-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--primary-teal);
}

@media (max-width: 768px) {
  .info-row { grid-template-columns: 1fr; }
  .welcome-banner { padding: 30px 20px; }
  .welcome-banner h3 { font-size: 1.7rem; }
}

/* ==========================================================================
   CINEMATIC SERVICE CARDS STYLING
   ========================================================================== */
.service-card:has(.service-visual-header),
.service-card.visual-card {
  padding: 0 !important;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 119, 145, 0.15);
}

.service-card:hover .service-visual-bg {
  transform: scale(1.08);
}

.service-visual-header {
  height: 200px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  color: #ffffff;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-visual-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0f172a;
  z-index: 0;
  transition: transform 0.5s ease;
}

.service-card:hover .service-visual-img {
  transform: scale(1.08);
}

.service-visual-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 26, 39, 0.25) 0%, rgba(9, 26, 39, 0.75) 100%);
  z-index: 1;
}

.service-visual-header svg.treatment-svg-illustration {
  position: absolute;
  right: -10px;
  bottom: -15px;
  width: 220px;
  height: 200px;
  opacity: 0.92;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover svg.treatment-svg-illustration {
  transform: scale(1.1) rotate(-3deg);
  opacity: 1;
}

.visual-aligners {
  background: linear-gradient(135deg, #091a27 0%, #007791 60%, #00b4d8 100%);
}

.visual-whitening {
  background: linear-gradient(135deg, #005f73 0%, #007791 50%, #06d6a0 100%);
}

.visual-rct {
  background: linear-gradient(135deg, #0a192f 0%, #005f73 55%, #00b4d8 100%);
}

.visual-implants {
  background: linear-gradient(135deg, #0f172a 0%, #0f766e 60%, #14b8a6 100%);
}

.visual-pediatric {
  background: linear-gradient(135deg, #162a36 0%, #0284c7 60%, #38bdf8 100%);
}

.visual-design {
  background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 55%, #06b6d4 100%);
}

.service-visual-tag {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-visual-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  align-self: flex-end;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.service-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.service-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.55;
}

.service-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
  list-style: none;
}

.service-features-list li {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-teal);
  background: var(--primary-light);
  padding: 4px 11px;
  border-radius: 6px;
  border: 1px solid rgba(0, 119, 145, 0.12);
}

.service-footer-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   JUSTDIAL VERIFICATION & CLINIC GALLERY STYLES
   ========================================================================== */
.justdial-badge-card {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #f0f7fb 100%);
  border: 1px solid rgba(0, 180, 216, 0.28);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(0, 119, 145, 0.08);
  transition: var(--transition);
  margin-top: 12px;
}

.justdial-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 119, 145, 0.15);
  border-color: var(--accent-cyan);
}

.justdial-logo-icon {
  background: #ff6a00;
  color: #ffffff;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 4px 8px;
  border-radius: 6px;
  letter-spacing: -0.3px;
}

.justdial-stars {
  color: #ff9900;
  font-weight: 700;
  font-size: 0.9rem;
}

.clinic-tour-section {
  padding: 60px 0;
}

.clinic-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 22px;
  margin-top: 30px;
}

.clinic-photo-card {
  position: relative;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.clinic-photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-cyan);
}

.clinic-photo-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  background: #0f172a;
  display: block;
  transition: transform 0.4s ease;
}

.clinic-photo-card:hover img {
  transform: scale(1.06);
}

.clinic-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 35, 51, 0) 40%, rgba(12, 35, 51, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: #ffffff;
}

.clinic-photo-tag {
  align-self: flex-start;
  background: rgba(0, 180, 216, 0.85);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.clinic-photo-card h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.clinic-photo-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 35, 51, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-backdrop.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  position: relative;
  background: #000000;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  background: var(--text-main);
  color: #ffffff;
  padding: 16px 22px;
}

.lightbox-caption h4 {
  color: #ffffff;
  font-size: 1.15rem;
}

.lightbox-caption p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}