/* ============================================================
   Euro Home Care — Premium Redesign v2
   Trust-focused healthcare design with glassmorphism,
   parallax, magnetic hover, and professional micro-interactions
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --clr-primary: #c4292b;
  --clr-primary-soft: #d94e50;
  --clr-primary-deep: #a11f21;
  --clr-accent: #c4704b;
  --clr-accent-soft: #e6b59c;

  --clr-bg: #fbf9f6;
  --clr-surface: #ffffff;
  --clr-card: #f5f1ea;
  --clr-text: #2b2b33;
  --clr-muted: #6b6b74;
  --clr-line: #e6e0d6;
  --clr-input-bg: #fcfaf7;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 32px;

  --shadow-1: 0 4px 20px rgba(196, 41, 43, 0.08);
  --shadow-2: 0 18px 45px rgba(196, 41, 43, 0.14);
  --shadow-3: 0 32px 80px rgba(196, 41, 43, 0.18);
  --shadow-glow: 0 0 40px rgba(196, 41, 43, 0.12);

  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --content: 1180px;

  --transition-theme: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Dark Mode Tokens ---------- */
[data-theme="dark"] {
  --clr-bg: #0f0f15;
  --clr-surface: #1a1a24;
  --clr-card: #14141c;
  --clr-text: #e8e8f0;
  --clr-muted: #9a9aaa;
  --clr-line: #2a2a36;
  --clr-input-bg: #1e1e28;

  --clr-primary: #e85355;
  --clr-primary-soft: #f06b6d;
  --clr-primary-deep: #f47a7c;
  --clr-accent: #e8926a;
  --clr-accent-soft: #f0c0a8;

  --shadow-1: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-2: 0 18px 45px rgba(0, 0, 0, 0.45);
  --shadow-3: 0 32px 80px rgba(0, 0, 0, 0.55);
  --shadow-glow: 0 0 40px rgba(232, 83, 85, 0.1);
}

[data-theme="dark"] .navbar {
  background: rgba(15, 15, 21, 0.92);
}

[data-theme="dark"] .nav-scrolled {
  background: rgba(15, 15, 21, 0.96);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .navbar-collapse {
  background: #1a1a24;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .hero-section {
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(232, 83, 85, 0.04) 0%, transparent 70%),
    linear-gradient(180deg, #121218 0%, var(--clr-bg) 100%);
}

[data-theme="dark"] .hero-frame {
  background: var(--clr-surface);
  border-color: var(--clr-line);
}

[data-theme="dark"] .hero-card {
  background: var(--clr-card);
  color: var(--clr-text);
  border-color: var(--clr-line);
}

[data-theme="dark"] .card-dot {
  background: #5cd9a0;
}

[data-theme="dark"] .service-card:hover {
  border-color: rgba(232, 83, 85, 0.35);
}

[data-theme="dark"] .contact-form {
  background: var(--clr-surface);
  color: var(--clr-text);
}

[data-theme="dark"] .contact-form h3 {
  color: var(--clr-primary-deep);
}

[data-theme="dark"] .field label {
  color: var(--clr-primary-deep);
}

[data-theme="dark"] .field input,
[data-theme="dark"] .field textarea {
  color: var(--clr-text);
  background: var(--clr-input-bg);
  border-color: var(--clr-line);
}

[data-theme="dark"] .footer {
  background: #08080c;
}

[data-theme="dark"] .section-contact {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(232, 83, 85, 0.06), transparent 60%),
    linear-gradient(160deg, #2a0c0d, #3a1214);
}

[data-theme="dark"] .navbar .nav-link {
  color: var(--clr-text);
}

[data-theme="dark"] .burger-line {
  background: var(--clr-text);
}

/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-bg);
  line-height: 1.75;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background var(--transition-theme), color var(--transition-theme);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5 {
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
  color: var(--clr-primary-deep);
  transition: color var(--transition-theme);
}

p {
  margin: 0;
}

/* ---------- Focus & accessibility ---------- */
:focus-visible {
  outline: 3px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--clr-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .back-to-top,
  .scroll-hint,
  .nav-scrolled {
    transition: none !important;
  }
}

/* ---------- Layout helpers ---------- */
.container {
  width: var(--content);
  max-width: 92%;
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--clr-card);
  transition: background var(--transition-theme);
}

/* ---------- Section header ---------- */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(196, 112, 75, 0.08);
  padding: 8px 20px;
  border-radius: 999px;
  margin-bottom: 18px;
  transition: background var(--transition-theme), color var(--transition-theme);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
}

[data-theme="dark"] .eyebrow {
  background: rgba(232, 146, 106, 0.12);
}

.eyebrow-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fbdcc8;
}

.eyebrow-light::before {
  background: #fbdcc8;
}

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  position: relative;
  display: inline-block;
}

.section-title .underline {
  position: absolute;
  left: 50%;
  transform: translateX(50%);
  bottom: -18px;
  width: 190px;
  height: 12px;
  color: var(--clr-accent);
  opacity: 0.55;
}

.section-head .section-title {
  margin-bottom: 12px;
  padding-bottom: 12px;
}

.section-sub {
  color: var(--clr-muted);
  font-size: 1.08rem;
  margin-top: 10px;
}

/* ---------- Buttons ---------- */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-size: 1rem;
  transition: transform 0.25s var(--ease-out-back), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--clr-primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(196, 41, 43, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  background: var(--clr-primary-soft);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(196, 41, 43, 0.3);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-primary i {
  transition: transform 0.25s ease;
}

.btn-primary:hover i {
  transform: translateX(-4px);
}

.btn-ghost {
  background: transparent;
  color: var(--clr-primary);
  border: 2px solid rgba(196, 41, 43, 0.35);
}

.btn-ghost:hover {
  border-color: var(--clr-primary);
  background: rgba(196, 41, 43, 0.05);
  transform: translateY(-3px);
}

[data-theme="dark"] .btn-ghost {
  border-color: rgba(232, 83, 85, 0.35);
}

[data-theme="dark"] .btn-ghost:hover {
  border-color: var(--clr-primary);
  background: rgba(232, 83, 85, 0.08);
}

.btn-block {
  width: 100%;
  justify-content: center;
  position: relative;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(196, 41, 43, 0.08);
  color: var(--clr-primary);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.25s ease, transform 0.3s var(--ease-out-back), color var(--transition-theme);
  margin-inline-start: 8px;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(196, 41, 43, 0.15);
  transform: rotate(30deg) scale(1.1);
}

[data-theme="dark"] .theme-toggle {
  background: rgba(232, 83, 85, 0.12);
  color: var(--clr-accent);
}

[data-theme="dark"] .theme-toggle:hover {
  background: rgba(232, 83, 85, 0.2);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
  position: absolute;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out-back);
}

.theme-toggle .icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-toggle .icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

[data-theme="dark"] .theme-toggle .icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

/* ---------- Navigation ---------- */
.navbar {
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  background: transparent;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar .nav-link {
  color: var(--clr-primary-deep);
  font-weight: 600;
  margin-inline: 6px;
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-theme);
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-primary));
  border-radius: 2px;
  transition: width 0.3s var(--ease-spring);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}

.nav-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 4px 18px rgba(196, 41, 43, 0.08);
  padding: 12px 0;
}

.logo-img {
  max-height: 46px;
  width: auto;
  transition: transform 0.3s var(--ease-out-back);
}

.logo-img:hover {
  transform: scale(1.05);
}

/* Language switcher */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline-start: 8px;
}

.lang-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 999px;
  padding: 9px 15px;
  background: rgba(196, 41, 43, 0.08);
  color: var(--clr-primary);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, transform 0.3s var(--ease-out-back), color var(--transition-theme);
}

.lang-toggle .lang-icon {
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  transition: transform 0.45s var(--ease-out-back);
}

.lang-toggle .lang-text {
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
}

.lang-toggle:hover {
  background: var(--clr-primary);
  color: #fff;
}

.lang-toggle:hover .lang-icon {
  color: #fff;
  transform: rotate(180deg) scale(1.15);
}

[data-theme="dark"] .lang-toggle {
  background: rgba(232, 83, 85, 0.12);
  color: var(--clr-accent);
}

[data-theme="dark"] .lang-toggle:hover {
  background: var(--clr-primary);
  color: #fff;
}

/* Navbar CTA */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--clr-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font);
  padding: 10px 20px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(196, 41, 43, 0.25);
  transition: background 0.25s ease, transform 0.3s var(--ease-out-back), box-shadow 0.25s ease;
}

.btn-nav-cta:hover {
  background: var(--clr-primary-soft);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(196, 41, 43, 0.32);
  color: #fff;
}

/* language switch page fade */
body {
  transition: background var(--transition-theme), color var(--transition-theme),
    opacity 0.3s ease, transform 0.3s ease;
}

body.lang-fade {
  opacity: 0;
  transform: translateY(10px) scale(0.99);
}

body.lang-swapped .lang-toggle .lang-text {
  animation: langTextPop 0.4s var(--ease-out-back);
}

@keyframes langTextPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.25) rotate(-4deg); }
  100% { transform: scale(1); }
}

.navbar-toggler {
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger-line {
  width: 26px;
  height: 3px;
  background: var(--clr-primary-deep);
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.3s ease, background var(--transition-theme);
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  padding: 140px 0 80px;
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(255, 255, 255, 0) 0%, transparent 70%),
    linear-gradient(180deg, #eef4f1 0%, var(--clr-bg) 100%);
  overflow: hidden;
  transition: background var(--transition-theme);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 41, 43, 0.04), transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 112, 75, 0.04), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--clr-primary-soft);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-kicker::before {
  content: "";
  width: 26px;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-primary));
  border-radius: 3px;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 22px;
}

.title-accent {
  color: var(--clr-accent);
  position: relative;
  display: inline-block;
}

.title-accent::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 100%;
  height: 8px;
  background: rgba(196, 112, 75, 0.15);
  border-radius: 4px;
  z-index: -1;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--clr-muted);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* hero stats */
.hero-stats {
  display: flex;
  gap: 44px;
  border-top: 2px solid var(--clr-line);
  padding-top: 26px;
}

.hero-stats .stat {
  position: relative;
}

.hero-stats .stat dt {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--clr-primary);
  line-height: 1.1;
}

.hero-stats .stat dd {
  color: var(--clr-muted);
  font-size: 0.92rem;
  margin-top: 4px;
}

/* hero visual */
.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  background: var(--clr-surface);
  border-radius: 28px;
  padding: 26px 26px 0;
  box-shadow: var(--shadow-2);
  overflow: visible;
  transition: background var(--transition-theme), box-shadow var(--transition-theme);
  border: 1px solid var(--clr-line);
}

.hero-img {
  border-radius: 20px 20px 0 0;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top;
}

.hero-frame::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(196, 112, 75, 0.18);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.18; }
  50% { transform: scale(1.08); opacity: 0.28; }
}

[data-theme="dark"] .hero-frame::before {
  background: rgba(232, 83, 85, 0.12);
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-2);
  padding: 14px 20px;
  font-weight: 600;
  color: var(--clr-primary-deep);
  border: 1px solid var(--clr-line);
  opacity: 0;
  animation: cardSlideIn 0.8s var(--ease-out-back) forwards;
}

.hero-card.card-top {
  top: 30px;
  right: -16px;
  animation-delay: 0.6s;
}

.hero-card.card-bottom {
  bottom: 60px;
  left: -24px;
  flex-direction: row;
  animation-delay: 0.9s;
}

@keyframes cardSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #46b28a;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(70, 178, 138, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(70, 178, 138, 0); }
}

.hero-card.card-bottom i {
  color: var(--clr-accent);
  font-size: 1.4rem;
}

.hero-card.card-bottom strong {
  font-size: 0.98rem;
  display: block;
}

.hero-card.card-bottom small {
  color: var(--clr-muted);
  font-size: 0.78rem;
  font-weight: 400;
}

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--clr-muted);
  font-size: 0.8rem;
  animation: bounce 2.4s infinite;
}

.scroll-hint i {
  color: var(--clr-accent);
}

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

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle at top right, rgba(196, 112, 75, 0.06), transparent 70%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-primary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring);
}

[data-theme="dark"] .service-card::before {
  background: radial-gradient(circle at top right, rgba(232, 146, 106, 0.06), transparent 70%);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
  border-color: rgba(196, 41, 43, 0.25);
}

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

[data-theme="dark"] .service-card:hover {
  border-color: rgba(232, 83, 85, 0.3);
}

.service-card .icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: rgba(196, 41, 43, 0.08);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--clr-primary);
  margin-bottom: 20px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s var(--ease-out-back);
}

.service-card:hover .icon-wrap {
  background: var(--clr-primary);
  color: #fff;
  transform: scale(1.08) rotate(-3deg);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--clr-muted);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.service-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--clr-accent);
  background: rgba(196, 112, 75, 0.1);
  padding: 5px 12px;
  border-radius: 999px;
  transition: background var(--transition-theme), color var(--transition-theme);
}

[data-theme="dark"] .service-card .tag {
  background: rgba(232, 146, 106, 0.12);
}

/* ---------- Features ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  position: relative;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease;
  overflow: hidden;
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.feature-num {
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 2.6rem;
  font-weight: 800;
  color: rgba(196, 41, 43, 0.08);
  line-height: 1;
}

[data-theme="dark"] .feature-num {
  color: rgba(232, 83, 85, 0.1);
}

.feature-card .icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: rgba(196, 112, 75, 0.12);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  color: var(--clr-accent);
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease-out-back);
}

[data-theme="dark"] .feature-card .icon-wrap {
  background: rgba(232, 146, 106, 0.12);
}

.feature-card:hover .icon-wrap {
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--clr-muted);
  font-size: 0.98rem;
}

/* stats band */
.stats-band {
  background: linear-gradient(135deg, var(--clr-primary-deep), var(--clr-primary));
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-2);
  transition: background var(--transition-theme), box-shadow var(--transition-theme);
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.stats-cell {
  position: relative;
  z-index: 1;
}

.stats-cell:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.stats-cell .num {
  font-size: 2.3rem;
  font-weight: 800;
  display: block;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.stats-cell .lbl {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.about-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.about-frame:hover .about-img {
  transform: scale(1.03);
}

.exp-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-primary));
  color: #fff;
  border-radius: 18px;
  padding: 14px 22px;
  text-align: center;
  box-shadow: var(--shadow-2);
  animation: badgePop 0.6s var(--ease-out-back) 1.2s forwards;
  opacity: 0;
  transform: scale(0.7);
}

@keyframes badgePop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.exp-badge strong {
  display: block;
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
}

.exp-badge span {
  font-size: 0.85rem;
}

.about-content .section-title {
  margin-bottom: 24px;
  display: block;
  padding-inline-start: 0;
}

.lead-p {
  color: var(--clr-muted);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.checklist {
  margin: 24px 0 30px;
  display: grid;
  gap: 12px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--clr-primary-deep);
  transition: transform 0.2s ease;
}

.checklist li:hover {
  transform: translateX(4px);
}

.checklist li i {
  color: var(--clr-accent);
  background: rgba(196, 112, 75, 0.12);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background var(--transition-theme), color var(--transition-theme);
}

[data-theme="dark"] .checklist li i {
  background: rgba(232, 146, 106, 0.12);
}

/* ---------- Patient tiles ---------- */
.patient-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.patient-tile {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.patient-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-1);
  border-color: rgba(196, 41, 43, 0.2);
}

[data-theme="dark"] .patient-tile:hover {
  border-color: rgba(232, 83, 85, 0.25);
}

.patient-tile i {
  font-size: 1.6rem;
  color: var(--clr-primary);
  margin-bottom: 10px;
  display: block;
  transition: transform 0.3s var(--ease-out-back);
}

.patient-tile:hover i {
  transform: scale(1.15);
}

.patient-tile p {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-text);
}

/* ---------- Detail grid ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.detail-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.detail-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-accent), var(--clr-primary));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-spring);
}

.detail-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
  border-color: rgba(196, 112, 75, 0.35);
}

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

[data-theme="dark"] .detail-card:hover {
  border-color: rgba(232, 146, 106, 0.3);
}

.detail-card i {
  font-size: 1.6rem;
  color: var(--clr-accent);
  margin-bottom: 16px;
  display: block;
  transition: transform 0.3s var(--ease-out-back);
}

.detail-card:hover i {
  transform: scale(1.15) rotate(-5deg);
}

.detail-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.detail-card p {
  color: var(--clr-muted);
  font-size: 0.95rem;
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  counter-reset: step;
}

.process li {
  position: relative;
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 36px 26px 30px;
  text-align: center;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease;
  cursor: pointer;
}

.process li:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
}

.process .step {
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary-deep), var(--clr-primary));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 800;
  transition: transform 0.3s var(--ease-out-back), background var(--transition-theme);
}

.process li:hover .step {
  transform: scale(1.12) rotate(-5deg);
}

.process h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process p {
  color: var(--clr-muted);
  font-size: 0.95rem;
}

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testi-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
}

.testi-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  inset-inline-end: 20px;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--clr-primary);
  opacity: 0.1;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testi-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2);
  border-color: rgba(196, 112, 75, 0.35);
}

[data-theme="dark"] .testi-card:hover {
  border-color: rgba(232, 146, 106, 0.3);
}

.stars {
  color: #f5a623;
  font-size: 0.95rem;
  letter-spacing: 3px;
}

.testi-quote {
  color: var(--clr-text);
  font-size: 1.02rem;
  line-height: 1.8;
  flex: 1;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--clr-line);
  padding-top: 18px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(196, 41, 43, 0.08);
  color: var(--clr-primary);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: background var(--transition-theme), color var(--transition-theme);
}

[data-theme="dark"] .testi-avatar {
  background: rgba(232, 83, 85, 0.12);
}

.testi-person strong {
  display: block;
  font-size: 1rem;
  color: var(--clr-primary-deep);
}

.testi-person small {
  color: var(--clr-muted);
  font-size: 0.85rem;
}

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(160deg, var(--clr-primary-deep), var(--clr-primary));
  color: #fff;
  transition: background var(--transition-theme);
}

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

.section-contact .section-sub {
  color: rgba(255, 255, 255, 0.8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-list {
  margin: 30px 0;
  display: grid;
  gap: 22px;
}

.contact-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.contact-list li:hover {
  transform: translateX(4px);
}

.contact-list .ci {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #fbdcc8;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-list strong {
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.contact-list p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.25s ease, transform 0.3s var(--ease-out-back);
}

.social a:hover {
  background: var(--clr-accent);
  transform: translateY(-4px) scale(1.08);
}

/* contact form card */
.contact-form {
  background: #fff;
  color: var(--clr-text);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  transition: background var(--transition-theme), color var(--transition-theme), box-shadow var(--transition-theme);
}

.contact-form h3 {
  color: var(--clr-primary-deep);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-intro {
  color: var(--clr-muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  margin-bottom: 16px;
}

.field label {
  display: block;
  font-weight: 600;
  color: var(--clr-primary-deep);
  font-size: 0.9rem;
  margin-bottom: 6px;
  transition: color var(--transition-theme);
}

.field input,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--clr-line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 0.98rem;
  color: var(--clr-text);
  background: var(--clr-input-bg);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background var(--transition-theme), color var(--transition-theme);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 4px rgba(196, 41, 43, 0.08);
}

[data-theme="dark"] .field input:focus,
[data-theme="dark"] .field textarea:focus {
  box-shadow: 0 0 0 4px rgba(232, 83, 85, 0.12);
}

/* Honeypot: invisible to humans */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

/* button loading state */
#submitBtn .btn-text,
#submitBtn .btn-ico {
  transition: opacity 0.2s ease;
}

#submitBtn .btn-loading {
  display: none;
}

#submitBtn.loading .btn-text,
#submitBtn.loading .btn-ico {
  display: none;
}

#submitBtn.loading .btn-loading {
  display: inline;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: var(--clr-primary);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-out-back), visibility 0.3s, background var(--transition-theme);
  box-shadow: var(--shadow-2);
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--clr-accent);
  transform: translateY(-3px) scale(1.08);
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  z-index: 100;
  transition: transform 0.3s var(--ease-out-back), box-shadow 0.25s ease, background 0.25s ease;
}

.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.45); opacity: 0; }
}

.whatsapp-float:hover {
  background: #1fb857;
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5);
  color: #fff;
}

/* ---------- Footer ---------- */
.footer {
  background: #3a1214;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
  transition: background var(--transition-theme);
}

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

.footer-logo {
  max-height: 46px;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 320px;
}

.footer h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-col a:hover {
  color: var(--clr-accent-soft);
  transform: translateX(4px);
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 6px;
}

.newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 8px 14px;
  color: #fff;
  font-family: var(--font);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter input:focus {
  outline: none;
}

.newsletter button {
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  background: var(--clr-accent);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s ease, transform 0.3s var(--ease-out-back);
}

.newsletter button:hover {
  background: var(--clr-accent-soft);
  transform: scale(1.08);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.88rem;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-spring), transform 0.7s var(--ease-spring);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- Page Load Animation ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--clr-bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-pulse {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
  animation: loaderPulse 1s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
}

/* ============================================================
   English (LTR) direction overrides
   ============================================================ */
[dir="ltr"] .btn-primary:hover i {
  transform: translateX(4px);
}

[dir="ltr"] .navbar .nav-link::after {
  right: auto;
  left: 0;
}

[dir="ltr"] .checklist li:hover,
[dir="ltr"] .contact-list li:hover,
[dir="ltr"] .footer-col a:hover {
  transform: translateX(-4px);
}

[dir="ltr"] .checklist,
[dir="ltr"] .contact-list,
[dir="ltr"] .footer-col ul {
  padding-inline-start: 0;
}

/* ---------- Bootstrap RTL/LTR ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section {
    padding-top: 120px;
  }

  .card-grid,
  .feature-grid,
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testi-grid {
    grid-template-columns: 1fr;
    max-width: 640px;
    margin-inline: auto;
  }

  .patient-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-cell:not(:last-child)::after {
    display: none;
  }

  .navbar-collapse {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
    box-shadow: var(--shadow-1);
  }

  .navbar .nav-link::after {
    display: none;
  }

  .nav-actions {
    margin-inline-start: 0;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--clr-line);
  }

  .btn-nav-cta {
    flex: 1;
    justify-content: center;
  }
}

/* Tight band (small laptops): hide the nav CTA pill so links never wrap.
   Hero + mobile menu still carry the booking action. */
@media (max-width: 1080px) and (min-width: 992px) {
  .btn-nav-cta {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .hero-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .hero-img {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .card-grid,
  .feature-grid,
  .detail-grid,
  .patient-tiles,
  .process {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px 22px;
  }

  .scroll-hint {
    display: none;
  }

  .hero-card {
    display: none;
  }
}

/* ---------- AOS override ---------- */
[data-aos] {
  transition-timing-function: var(--ease-spring);
}

/* ---------- Magnetic hover utility ---------- */
.magnetic {
  transition: transform 0.25s var(--ease-out-back);
}

/* ---------- Stagger animation utility ---------- */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  animation: staggerIn 0.5s var(--ease-spring) forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0s; }
.stagger > *:nth-child(2) { animation-delay: 0.08s; }
.stagger > *:nth-child(3) { animation-delay: 0.16s; }
.stagger > *:nth-child(4) { animation-delay: 0.24s; }
.stagger > *:nth-child(5) { animation-delay: 0.32s; }
.stagger > *:nth-child(6) { animation-delay: 0.4s; }

@keyframes staggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Glassmorphism utility ---------- */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .glass {
  background: rgba(26, 26, 36, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Shimmer loading ---------- */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Float animation ---------- */
.float {
  animation: gentleFloat 6s ease-in-out infinite;
}

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

/* ---------- Glow pulse ---------- */
.glow-pulse {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(196, 41, 43, 0.1); }
  50% { box-shadow: 0 0 40px rgba(196, 41, 43, 0.2); }
}
