/* ==========================================================================
   AuraDental Modern Theme & Design System
   ========================================================================== */
:root {
  /* Colors */
  --primary: #0284c7;            /* Ocean Cyan/Blue */
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-glow: rgba(2, 132, 199, 0.25);

  --secondary: #06b6d4;          /* Fresh Mint Cyan */
  --secondary-light: #ecfeff;

  --accent: #10b981;             /* Emerald Health */
  --accent-light: #d1fae5;

  --danger: #ef4444;
  --danger-light: #fee2e2;

  --navy-900: #0b132b;
  --navy-800: #1c2541;
  --navy-700: #3a506b;
  
  --text-main: #0f172a;          /* Slate 900 */
  --text-muted: #64748b;         /* Slate 500 */
  --text-light: #94a3b8;         /* Slate 400 */
  --white: #ffffff;
  
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-ice: #f0f9ff;

  --border-light: #e2e8f0;
  --border-subtle: #f1f5f9;
  --border-focus: #38bdf8;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 12px 30px -5px rgba(2, 132, 199, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  font-weight: 700;
  line-height: 1.25;
}

p {
  color: var(--text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.text-center {
  text-align: center;
}

/* Section Header Typography */
.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  margin-bottom: 0.75rem;
}

.section-tag.light {
  background: rgba(255, 255, 255, 0.15);
  color: #bae6fd;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.08rem;
  max-width: 640px;
  margin: 0 auto 3rem auto;
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons & UI Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-base);
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0284c7 100%);
  color: var(--white);
  box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

.btn-white-outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-white-outline:hover {
  background: var(--white);
  color: var(--navy-900);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 5rem 0 6rem 0;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}

.glow-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: rgba(56, 189, 248, 0.35);
}

.glow-2 {
  bottom: -50px;
  left: -50px;
  width: 350px;
  height: 350px;
  background: rgba(6, 182, 212, 0.25);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge {
  background: var(--white);
  border: 1px solid #bae6fd;
  color: var(--navy-800);
  padding: 0.4rem 1.1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge i {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 3.25rem;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--navy-700);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.trust-stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.star-icon {
  width: 18px;
  height: 18px;
  color: #eab308;
  fill: #eab308;
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background-color: #cbd5e1;
}

/* Hero Visual & Floating Cards */
.hero-visual {
  position: relative;
}

.hero-card-main {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  animation: floatBadge 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-top-right {
  top: 25px;
  right: -20px;
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 30px;
  left: -25px;
  animation-delay: 1.5s;
}

.badge-bottom-right {
  bottom: -20px;
  right: 20px;
  animation-delay: 0.8s;
}

.badge-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon-wrap.green {
  background: var(--accent-light);
  color: var(--accent);
}

.badge-icon-wrap.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy-900);
}

.badge-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  object-fit: cover;
}

.avatar-group img:first-child {
  margin-left: 0;
}

/* Benefits / Advantage Bar */
.benefits-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 5;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: #bae6fd;
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.benefit-icon-box i {
  width: 24px;
  height: 24px;
}

.benefit-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Services Section & Filter Tabs */
.services-section {
  background-color: var(--bg-page);
}

.filter-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.4rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin-top: 1rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--navy-700);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  color: var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px var(--primary-glow);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #bae6fd;
}

.service-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image-wrap img {
  transform: scale(1.06);
}

.service-chip {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(11, 19, 43, 0.75);
  backdrop-filter: blur(6px);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.04em;
}

.service-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.service-icon i {
  width: 22px;
  height: 22px;
}

.service-body h3 {
  font-size: 1.28rem;
  margin-bottom: 0.6rem;
}

.service-body p {
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.service-perks {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-perks li {
  font-size: 0.84rem;
  color: var(--navy-800);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 500;
}

.service-perks li i {
  width: 15px;
  height: 15px;
  color: var(--accent);
}

.service-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.service-price {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.service-price strong {
  color: var(--navy-900);
  font-size: 1.15rem;
}

.service-book-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.service-book-link:hover {
  color: var(--primary-hover);
  transform: translateX(3px);
}

/* Before & After Smile Slider */
.before-after-section {
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.ba-showcase {
  max-width: 1040px;
  margin: 0 auto;
}

.ba-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.ba-comparator {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid var(--white);
}

.ba-after img {
  width: 100%;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-label {
  position: absolute;
  bottom: 16px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  z-index: 3;
}

.label-before {
  right: 16px;
}

.label-after {
  left: 16px;
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.handle-line {
  flex-grow: 1;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
}

.handle-circle {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.handle-circle i {
  width: 20px;
  height: 20px;
}

.ba-details-box {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.case-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.case-meta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.case-meta p {
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.case-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2rem;
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--navy-900);
}

.case-stat span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Symptom & Dental Emergency Guide */
.symptom-section {
  background-color: var(--bg-page);
}

.symptom-card-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 3.5rem 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.symptom-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.emergency-badge {
  background: #fee2e2;
  color: #dc2626;
  padding: 0.35rem 1rem;
  margin-bottom: 0.85rem;
}

.emergency-badge i {
  width: 16px;
  height: 16px;
}

.symptom-header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.5rem;
}

.symptom-options-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.symptom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.25rem 0.75rem;
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.symptom-btn i {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.symptom-btn span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

.symptom-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.symptom-btn:hover i {
  color: var(--primary);
}

.symptom-btn.active {
  background: var(--primary-light);
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.symptom-btn.active i {
  color: var(--primary);
}

.symptom-result-card {
  background: var(--bg-ice);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--primary);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.symptom-result-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--navy-900);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.symptom-result-title i {
  color: var(--primary);
}

.symptom-guide-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.25rem 0 1.5rem 0;
}

.guide-box {
  background: var(--white);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.guide-box h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guide-box.home h4 { color: #d97706; }
.guide-box.clinic h4 { color: var(--primary); }

.guide-box p {
  font-size: 0.86rem;
  line-height: 1.5;
}

.symptom-action-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* About & Technology Section */
.about-section {
  background-color: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 4.5rem;
}

.about-media {
  position: relative;
}

.image-stack {
  position: relative;
}

.about-img-main {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-floating-stat {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--navy-900);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-circle {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fbbf24;
}

.about-floating-stat h4 {
  color: var(--white);
  font-size: 1.05rem;
}

.about-floating-stat p {
  color: #94a3b8;
  font-size: 0.8rem;
}

.about-desc {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.feature-item {
  display: flex;
  gap: 1.15rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  width: 22px;
  height: 22px;
}

.feature-item h4 {
  font-size: 1.12rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.88rem;
}

.about-cta-row {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* Meet Our Doctors Section */
.doctors-section {
  background-color: var(--bg-page);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: #bae6fd;
}

.doctor-photo-wrap {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.doctor-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.doctor-card:hover .doctor-photo-wrap img {
  transform: scale(1.05);
}

.doctor-socials {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-base);
}

.doctor-card:hover .doctor-socials {
  opacity: 1;
  transform: translateX(0);
}

.doctor-socials a {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  box-shadow: var(--shadow-md);
}

.doctor-socials a i {
  width: 16px;
  height: 16px;
}

.doctor-socials a:hover {
  background: var(--primary);
  color: var(--white);
}

.doctor-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-specialty {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.doctor-name {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.doctor-bio {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.doctor-footer {
  margin-top: auto;
}

.btn-select-doc {
  width: 100%;
  padding: 0.7rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-light);
  background: var(--bg-subtle);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-select-doc:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* Appointment Booking Section */
.booking-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, #1e293b 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.booking-info-pane h2 {
  color: var(--white);
  font-size: 2.4rem;
  margin: 0.8rem 0 1rem 0;
}

.booking-info-pane p {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.booking-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #e2e8f0;
}

.highlight-item i {
  width: 20px;
  height: 20px;
  color: var(--secondary);
}

.clinic-contact-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.clinic-contact-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.clinic-contact-card h4 i {
  color: var(--secondary);
}

.clinic-contact-card p {
  color: #cbd5e1;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.contact-hotline {
  color: #fed7aa !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.contact-hotline strong {
  color: var(--white);
}

/* Appointment Form Card */
.booking-form-pane {
  background: var(--white);
  color: var(--text-main);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.appointment-form h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--navy-900);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon i {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: #94a3b8;
  pointer-events: none;
}

.input-with-icon input,
.input-with-icon select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--navy-900);
  background: var(--bg-page);
  transition: all var(--transition-fast);
}

.form-group textarea {
  padding: 0.75rem 1rem;
  resize: vertical;
}

.input-with-icon input:focus,
.input-with-icon select:focus,
.form-group textarea:focus {
  background: var(--white);
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

/* Time Slot Buttons */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.slot-btn {
  padding: 0.6rem;
  background: var(--bg-page);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slot-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.slot-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Patient Reviews & Testimonials */
.testimonials-section {
  background-color: var(--white);
}

.testimonial-slider-wrap {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-track {
  position: relative;
  min-height: 280px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  pointer-events: none;
  transition: all 0.5s ease-in-out;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-md);
}

.testimonial-card.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.star-fill {
  width: 20px;
  height: 20px;
  color: #eab308;
  fill: #eab308;
}

.review-text {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--navy-800);
  font-style: italic;
  margin-bottom: 2rem;
}

.patient-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.patient-profile img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.patient-name {
  font-size: 1.05rem;
  color: var(--navy-900);
}

.patient-status {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.patient-status i {
  width: 14px;
  height: 14px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dot.active {
  width: 28px;
  border-radius: var(--radius-pill);
  background: var(--primary);
}

/* FAQ Section Accordion */
.faq-section {
  background-color: var(--bg-page);
}

.faq-accordion-wrap {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform var(--transition-base);
  min-width: 20px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding-bottom: 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* CTA Banner Section */
.cta-banner-section {
  padding: 3rem 0 6rem 0;
  background-color: var(--bg-page);
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #0369a1 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta-banner-content h2 {
  color: var(--white);
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.cta-banner-content p {
  color: #e0f2fe;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Modal Dialog */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 480px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.92);
  transition: transform var(--transition-base);
}

.modal-backdrop.open .modal-dialog {
  transform: scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.25rem;
}

.modal-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.modal-success-icon i {
  width: 32px;
  height: 32px;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-body h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.modal-sub {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.booking-receipt-card {
  background: var(--bg-page);
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.35rem 0;
}

.receipt-row .label {
  color: var(--text-muted);
}

.receipt-row strong {
  color: var(--navy-900);
}

.receipt-note {
  font-size: 0.8rem;
  color: var(--navy-700);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.receipt-note i {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 600;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--navy-900);
  color: var(--white);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideToast 0.3s ease;
  border-left: 4px solid var(--accent);
}

.toast i {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

@keyframes slideToast {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Scroll To Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-base);
  z-index: 90;
}

.scroll-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 2rem auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ba-wrapper {
    grid-template-columns: 1fr;
  }

  .ba-comparator {
    height: 360px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-media {
    max-width: 600px;
    margin: 0 auto;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 868px) {
  .symptom-options-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .form-group-row {
    grid-template-columns: 1fr;
  }

  .symptom-guide-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .section-title {
    font-size: 1.85rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .benefits-grid, .services-grid {
    grid-template-columns: 1fr;
  }

  .floating-badge {
    position: static;
    margin: 0.5rem 0;
  }

  .testimonial-card {
    padding: 1.75rem 1.25rem;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .symptom-card-wrapper {
    padding: 2rem 1.25rem;
  }
}
/* ==========================================================================
   Bulletproof Scroll-Snap Testimonials (Zero Overflow)
   ========================================================================== */
.testimonial-slider-wrap {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonials-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  padding: 1rem 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.testimonials-track::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari */
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  box-sizing: border-box;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  opacity: 1; /* Reset old JS states */
  visibility: visible;
  position: relative;
  transform: none !important;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 0.75rem); /* Show 2 cards on tablets/desktops if desired, or keep 100% */
  }
}
.receipt-service-scroll {
  max-height: 80px;
  overflow-y: auto;
  text-align: right;
  padding-right: 4px;
}
.receipt-service-scroll::-webkit-scrollbar {
  width: 4px;
}
.receipt-service-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
/* =========================================
   SERVICE MULTI-SELECT DROPDOWN
========================================= */

.service-multiselect-group {
    margin-bottom: 1.5rem;
}

.service-multiselect-group > label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-main);
}

.service-multiselect-group > label span {
    font-weight: 500;
}

/* Dropdown wrapper */
.service-multiselect {
    position: relative;
    width: 100%;
}

/* Dropdown button */
.service-dropdown-btn {
    width: 100%;
    min-height: 44px;

    padding: 10px 13px;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;

    font-family: inherit;
    font-size: 14px;
    color: #64748b;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.service-dropdown-btn:hover {
    border-color: #94a3b8;
}

.service-dropdown-btn:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.10);
}

.service-dropdown-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;

    transition: transform 0.2s ease;
}

/* Rotate arrow when dropdown opens */
.service-multiselect.open .service-dropdown-btn svg {
    transform: rotate(180deg);
}

/* Dropdown menu */
.service-dropdown-menu {
    position: absolute;

    top: calc(100% + 6px);
    left: 0;
    right: 0;

    z-index: 1000;

    display: none;

    max-height: 220px;
    overflow-y: auto;

    background: #ffffff;

    border: 1px solid #cbd5e1;
    border-radius: 8px;

    padding: 6px;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.12);
}

/* Show dropdown */
.service-multiselect.open .service-dropdown-menu {
    display: block;
}

/* Individual service option */
.service-dropdown-option {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    width: 100%;

    padding: 10px 9px;

    border-radius: 6px;

    cursor: pointer;

    font-size: 14px;
    color: #1e293b;

    transition: background 0.15s ease;
}

.service-dropdown-option:hover {
    background: #f1f5f9;
}

/* Hide original checkbox */
.service-dropdown-option input[type="checkbox"] {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

/* Custom checkbox */
.service-option-check {
    width: 17px;
    height: 17px;

    flex: 0 0 17px;

    border: 1.5px solid #94a3b8;
    border-radius: 4px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        background 0.15s ease,
        border-color 0.15s ease;
}

/* Checked state */
.service-dropdown-option input[type="checkbox"]:checked
+ .service-option-check {
    background: var(--primary);
    border-color: var(--primary);
}

/* Checkmark */
.service-dropdown-option input[type="checkbox"]:checked
+ .service-option-check::after {
    content: "✓";

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    line-height: 1;
}

/* Service name */
.service-option-title {
    flex: 1;

    line-height: 1.4;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* No services message */
.no-services-option {
    padding: 12px;

    color: #64748b;

    font-size: 13px;
}

/* Dropdown scrollbar */
.service-dropdown-menu::-webkit-scrollbar {
    width: 7px;
}

.service-dropdown-menu::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}

.service-dropdown-menu::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 10px;
}

.service-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .service-dropdown-btn {
        min-height: 46px;
    }

    .service-dropdown-menu {
        max-height: 240px;
    }

    .service-dropdown-option {
        padding: 11px 9px;
    }
}
/* =========================================
   PROFESSIONAL CREDENTIALS
========================================= */

.credentials-section {
    background: #f8fbfe;
    position: relative;
    overflow: hidden;
}

.credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    max-width: 1050px;
    margin: 42px auto 0;
}

.credential-card {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.credential-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
    border-color: #bae6fd;
}

.credential-icon {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0f2fe;
    color: #0284c7;
}

.credential-icon svg {
    width: 27px;
    height: 27px;
}

.credential-content {
    flex: 1;
    min-width: 0;
}

.credential-organization {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #0284c7;
}

.credential-content h3 {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.3;
    color: #0f172a;
}

.credential-highlight {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 700;
    color: #1e293b;
}

.credential-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #64748b;
}

.credential-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.credential-tags span {
    display: inline-flex;
    align-items: center;
    padding: 5px 9px;
    border-radius: 999px;
    background: #f0f9ff;
    border: 1px solid #dbeafe;
    color: #0369a1;
    font-size: 10px;
    font-weight: 700;
}

.credential-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 19px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.credential-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    line-height: 1.4;
    color: #64748b;
}

.credential-meta svg {
    width: 13px;
    height: 13px;
    color: #0284c7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .credentials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .credential-card {
        padding: 21px;
        gap: 15px;
        border-radius: 15px;
    }

    .credential-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        border-radius: 11px;
    }

    .credential-icon svg {
        width: 22px;
        height: 22px;
    }

    .credential-content h3 {
        font-size: 17px;
    }

    .credential-description {
        font-size: 12px;
    }

    .credential-meta {
        flex-direction: column;
        gap: 8px;
    }
}


@media (max-width: 480px) {

    .credential-card {
        padding: 18px;
        gap: 12px;
    }

    .credential-organization {
        font-size: 9px;
    }

    .credential-content h3 {
        font-size: 16px;
    }

    .credential-highlight {
        font-size: 12px;
    }

    .credential-description {
        font-size: 11.5px;
        line-height: 1.6;
    }

    .credential-tags span {
        font-size: 9px;
        padding: 4px 7px;
    }

    .credential-meta span {
        font-size: 9px;
    }
}