/* =========================================================
   Phivera Aesthetics — Theme: Navy & Gold on White
   ========================================================= */

:root {
  --navy-900: #0a1a33;
  --navy-800: #0d2148;
  --navy-700: #122b5c;
  --navy-600: #1a3a76;
  --gold-600: #a9821a;
  --gold-500: #c9a227;
  --gold-400: #d9b94a;
  --gold-300: #e6cd7a;
  --gold-050: #faf5e6;
  --white: #ffffff;
  --ink: #1c2536;
  --muted: #62697a;
  --border: #e7e6de;
  --shadow: 0 14px 40px -12px rgba(10, 26, 51, 0.25);
  --shadow-soft: 0 6px 20px -8px rgba(10, 26, 51, 0.18);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --font-heading: Georgia, "Times New Roman", "Noto Naskh Arabic", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Tahoma, Arial, "Noto Sans Arabic", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}

[dir="rtl"] body { font-family: var(--font-body); }

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy-900);
}

a { color: var(--navy-700); text-decoration: none; }
a:hover { color: var(--gold-600); }

.text-gold { color: var(--gold-500) !important; }
.text-navy { color: var(--navy-900) !important; }
.bg-navy { background-color: var(--navy-900) !important; }
.bg-gold-050 { background-color: var(--gold-050) !important; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 44px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
[dir="rtl"] .eyebrow::before { order: 2; }

.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-subtitle { color: var(--muted); font-size: 1.05rem; max-width: 680px; }
.section-header { margin-bottom: 48px; }
.section-header.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn-gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-900);
  border: none;
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy-900); }

.btn-outline-navy-custom {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: var(--white);
  font-weight: 600;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.btn-outline-navy-custom:hover { background: rgba(255,255,255,0.12); color: var(--white); border-color: var(--white); }

.btn-navy-solid {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 700;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  border: none;
  transition: all 0.25s ease;
}
.btn-navy-solid:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.phivera-navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}
.phivera-navbar.is-scrolled {
  background: rgba(10, 26, 51, 0.96);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 6px 24px -10px rgba(0,0,0,0.35);
}
.phivera-navbar .navbar-brand { display: flex; align-items: center; gap: 10px; }
.phivera-navbar .brand-name { color: var(--white); font-family: var(--font-heading); font-size: 1.25rem; letter-spacing: 0.03em; font-weight: 700; }
.phivera-navbar .brand-logo { height: 40px; width: auto; }
.phivera-navbar .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 4px;
  position: relative;
}
.phivera-navbar .nav-link::after {
  content: "";
  position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--gold-500);
  transition: width 0.25s ease;
}
.phivera-navbar .nav-link:hover::after,
.phivera-navbar .nav-link.active::after { width: 100%; }

.lang-flags { display: flex; align-items: center; gap: 8px; margin-inline-start: 10px; }
.lang-flag-btn {
  border: 1.5px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  width: 34px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  padding: 0;
  overflow: hidden;
}
.lang-flag-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}
.lang-flag-btn:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.lang-flag-btn.active { border-color: var(--gold-500); box-shadow: 0 0 0 2px rgba(201,162,39,0.35); }

.navbar-toggler-custom {
  border: none; background: transparent; color: var(--white); font-size: 1.6rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(201,162,39,0.18), transparent 60%),
    radial-gradient(1000px 700px at 85% 90%, rgba(201,162,39,0.12), transparent 55%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 45%, var(--navy-700) 100%);
  overflow: hidden;
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 75%);
}
.hero-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,0.35), transparent 70%);
  filter: blur(10px);
  top: -120px; right: -120px;
  animation: floatSlow 12s ease-in-out infinite;
}
[dir="rtl"] .hero-glow { right: auto; left: -120px; }
.hero-content { position: relative; z-index: 2; padding-top: 90px; }
.hero-eyebrow {
  color: var(--gold-400);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  display: inline-block;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.7rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.hero-title .accent {
  color: var(--gold-400);
  display: block;
  font-style: italic;
}
.hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 1.12rem;
  max-width: 620px;
  margin: 22px 0 34px;
  line-height: 1.75;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 34px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.65);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  z-index: 2;
}
.hero-scroll-hint .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold-400);
  animation: bounceDown 1.8s ease-in-out infinite;
}

/* ---------- Ticker ---------- */
.ticker-strip {
  background: var(--navy-900);
  color: var(--gold-300);
  overflow: hidden;
  padding: 14px 0;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-track {
  display: inline-flex;
  animation: tickerScroll 30s linear infinite;
}
[dir="rtl"] .ticker-track { animation-name: tickerScrollRtl; }
.ticker-track span {
  padding: 0 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.ticker-track span::after { content: "\2726"; color: var(--gold-500); font-size: 0.7rem; }

/* ---------- About ---------- */
.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy-900), var(--navy-700));
  min-height: 420px;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.about-visual .monogram { width: 46%; opacity: 0.92; }
.about-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 20%, rgba(201,162,39,0.30), transparent 55%);
}
.about-highlights { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.about-highlights li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--ink); }
.about-highlights .check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-050); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 900;
  border: 1.5px solid var(--gold-400);
}
.ig-chip {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 26px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--border);
  font-weight: 600; color: var(--navy-800);
  transition: all 0.2s ease;
}
.ig-chip:hover { border-color: var(--gold-500); color: var(--gold-600); }

/* ---------- Stats ---------- */
.stats-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 20px;
  box-shadow: var(--shadow);
}
.stat-item { text-align: center; padding: 12px; }
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gold-400);
  font-weight: 700;
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,0.78); margin-top: 10px; font-size: 0.92rem; }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--navy-700));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
[dir="rtl"] .service-card::before { transform-origin: right; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: var(--gold-050);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--gold-600);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.service-card .badge-pill {
  display: inline-block; font-size: 0.75rem; font-weight: 700;
  padding: 4px 12px; border-radius: 999px;
  background: var(--gold-050); color: var(--gold-600);
  margin-bottom: 14px;
}
.service-card .card-link { font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; color: var(--navy-800); }
.service-card .card-link:hover { color: var(--gold-600); }

/* ---------- Process ---------- */
.process-line {
  position: relative;
}
.process-step { position: relative; padding-inline-start: 66px; margin-bottom: 42px; }
.process-step:last-child { margin-bottom: 0; }
.process-step .step-num {
  position: absolute; inset-inline-start: 0; top: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading);
  box-shadow: var(--shadow-soft);
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute; inset-inline-start: 23px; top: 48px;
  width: 2px; height: calc(100% + 0px);
  background: repeating-linear-gradient(to bottom, var(--gold-400) 0 6px, transparent 6px 12px);
}
.process-step h4 { margin-bottom: 8px; font-size: 1.08rem; }
.process-step p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.gallery-filter-btn {
  border: 1.5px solid var(--border);
  background: var(--white);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy-800);
  cursor: pointer;
  transition: all 0.2s ease;
}
.gallery-filter-btn:hover { border-color: var(--gold-500); }
.gallery-filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.gallery-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--gold-050);
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}
.gallery-tile img, .gallery-tile video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-tile:hover img, .gallery-tile:hover video { transform: scale(1.08); }
.gallery-tile .play-badge {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(10,26,51,0.28);
}
.gallery-tile .play-badge svg { width: 46px; height: 46px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4)); }
.gallery-tile .caption-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 12px 10px;
  background: linear-gradient(transparent, rgba(10,26,51,0.85));
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.25s ease;
}
.gallery-tile:hover .caption-overlay { opacity: 1; transform: translateY(0); }
.gallery-empty {
  text-align: center; padding: 50px 20px; color: var(--muted);
  border: 1.5px dashed var(--border); border-radius: var(--radius-md);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  box-shadow: var(--shadow-soft);
}
.testimonial-quote-mark { font-family: var(--font-heading); font-size: 3rem; color: var(--gold-400); line-height: 1; margin-bottom: 6px; }
.testimonial-card p.quote { font-size: 1.02rem; color: var(--ink); line-height: 1.75; margin-bottom: 22px; }
.testimonial-person { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--gold-300);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-heading);
}
.testimonial-name { font-weight: 700; color: var(--navy-900); font-size: 0.95rem; }
.testimonial-meta { color: var(--muted); font-size: 0.8rem; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  overflow: hidden;
  background: var(--white);
}
.faq-question {
  width: 100%;
  text-align: inherit;
  background: transparent;
  border: none;
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  font-size: 1rem;
}
.faq-question .icon { flex: none; width: 22px; height: 22px; transition: transform 0.3s ease; color: var(--gold-600); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 24px;
}
.faq-answer p { color: var(--muted); padding-bottom: 20px; margin: 0; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* ---------- Social banner ---------- */
.social-banner {
  background: linear-gradient(120deg, var(--gold-600), var(--gold-400));
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  color: var(--navy-900);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.social-banner h2 { color: var(--navy-900); }
.social-banner::before, .social-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
}
.social-banner::before { width: 220px; height: 220px; top: -90px; left: -60px; }
.social-banner::after { width: 160px; height: 160px; bottom: -70px; right: 10%; }

/* ---------- Contact ---------- */
.contact-panel { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 44px 36px; height: 100%; }
.contact-panel h3 { color: var(--white); }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 22px; }
.contact-info-item .icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(201,162,39,0.16); color: var(--gold-400); display: flex; align-items: center; justify-content: center; }
.contact-info-item .label { color: rgba(255,255,255,0.6); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-info-item .value { color: var(--white); font-weight: 600; }
.contact-form .form-control, .contact-form .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  padding: 0.75rem 1rem;
}
.contact-form .form-control:focus, .contact-form .form-select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 0.2rem rgba(201,162,39,0.18);
}
.contact-form label { font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.75); padding: 64px 0 24px; }
.site-footer h6 { color: var(--white); font-weight: 700; margin-bottom: 20px; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }
.site-footer a { color: rgba(255,255,255,0.68); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.site-footer .footer-brand span { font-family: var(--font-heading); color: var(--white); font-size: 1.2rem; font-weight: 700; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.92rem; }
.footer-social { display: flex; gap: 12px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { border-color: var(--gold-400); background: rgba(201,162,39,0.12); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 44px; padding-top: 22px; font-size: 0.85rem; text-align: center; color: rgba(255,255,255,0.55); }

/* ---------- Service detail page ---------- */
.service-hero { background: linear-gradient(155deg, var(--navy-900), var(--navy-700)); color: var(--white); padding: 150px 0 70px; }
.service-hero .badge-pill { background: rgba(201,162,39,0.18); color: var(--gold-300); }
.recovery-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold-050); color: var(--gold-600);
  padding: 8px 16px; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
}
.step-card { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.step-card:last-child { border-bottom: none; }
.step-card .step-index {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}
.highlight-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.highlight-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.92rem;
}
.highlight-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); flex: none; }

/* ---------- Admin / Login ---------- */
.auth-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(155deg, var(--navy-900), var(--navy-700)); padding: 40px 16px; }
.auth-card { background: var(--white); border-radius: var(--radius-lg); padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow); }
.auth-card .brand-logo { height: 52px; margin-bottom: 18px; }
.admin-shell { background: var(--gold-050); min-height: 100vh; padding: 32px 0 60px; }
.admin-topbar { background: var(--navy-900); color: var(--white); padding: 18px 0; margin-bottom: 32px; }
.admin-topbar .brand-logo { height: 34px; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-soft); border: 1px solid var(--border); }
.service-tab-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.service-tab {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-weight: 600; font-size: 0.85rem; color: var(--navy-800);
}
.service-tab.active { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.admin-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 20px; }
.admin-media-tile { position: relative; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1; }
.admin-media-tile img, .admin-media-tile video { width: 100%; height: 100%; object-fit: cover; }
.admin-media-tile form { position: absolute; top: 8px; inset-inline-end: 8px; }
.admin-media-tile .btn-delete {
  width: 32px; height: 32px; border-radius: 50%; border: none;
  background: rgba(10,26,51,0.85); color: #fff; display: flex; align-items: center; justify-content: center;
}
.admin-media-tile .btn-delete:hover { background: #c0392b; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
[dir="rtl"] .reveal-left { transform: translateX(32px); }
[dir="rtl"] .reveal-right { transform: translateX(-32px); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-24px, 26px); }
}
@keyframes bounceDown {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(10px); opacity: 1; }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes tickerScrollRtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Bootstrap carousel control tweaks */
.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  width: 44px; height: 44px; border-radius: 50%;
  top: 50%; transform: translateY(-50%);
  background: var(--navy-900); opacity: 0.9;
}
.testimonial-carousel .carousel-control-prev { left: -10px; }
.testimonial-carousel .carousel-control-next { right: -10px; }
[dir="rtl"] .testimonial-carousel .carousel-control-prev { left: auto; right: -10px; }
[dir="rtl"] .testimonial-carousel .carousel-control-next { right: auto; left: -10px; }
.testimonial-carousel .carousel-indicators [data-bs-target] { background-color: var(--gold-500); width: 8px; height: 8px; border-radius: 50%; }

.alert-phivera-success { background: var(--gold-050); border: 1px solid var(--gold-400); color: var(--navy-800); border-radius: var(--radius-sm); }

::selection { background: var(--gold-300); color: var(--navy-900); }
