html {
  scroll-behavior: smooth;
}

:root {
  --brand-primary: #0e4f9e;
  --brand-secondary: #2f8ecf;
  --brand-accent: #9eb866;
  --brand-ash: #f3f5f4;
}

body {
  color: #243447;
}

.safe-area {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.site-nav-shell .nav-link {
  color: #243447;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-nav-shell .nav-link:hover,
.site-nav-shell .nav-link.active {
  color: var(--brand-secondary);
}

.shadow-soft {
  box-shadow: 0 12px 35px rgba(30, 58, 95, 0.08);
}

.hover-image img,
.gallery-item img,
.service-thumb img {
  transition: transform 0.5s ease;
}

.hover-image:hover img,
.gallery-item:hover img,
.service-thumb:hover img {
  transform: scale(1.05);
}

.gallery-item,
.service-thumb {
  overflow: hidden;
}

.service-thumb {
  height: 12rem;
  border-radius: 1rem;
}

.service-thumb img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hover-lift,
.card-hover {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.hover-lift:hover,
.card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
}

.kicker {
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.hero-subtle-overlay {
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 55%);
}

.btn-main,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-main {
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid var(--brand-primary);
}

.btn-main:hover {
  background: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.btn-light {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid #cbd5e1;
}

.btn-light:hover {
  background: #f8fafc;
}

.icon-badge {
  display: inline-flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(14, 79, 158, 0.1);
  color: var(--brand-primary);
}

.fab {
  display: inline-flex;
  height: 2.75rem;
  width: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #fff;
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.22);
}

.fab-wa { background: #22c55e; }
.fab-call { background: var(--brand-primary); }
.fab-mail { background: var(--brand-secondary); }

.hero-shell {
  background: linear-gradient(145deg, #f8fbff 0%, #eef5fb 48%, #f7f9fb 100%);
}

.hero-card {
  border-radius: 1.5rem;
  border: 1px solid #dfe7f2;
  background: #fff;
  box-shadow: 0 18px 42px rgba(14, 79, 158, 0.11);
}

.hero-feature-pill {
  border: 1px solid #dbe5f1;
  background: #fff;
}

.hero-feature-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: var(--brand-accent);
}

/* Quill content alignment classes rendered from admin HTML */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }

.fab-bounce,
.fab-ring,
.fab-float,
.icon-float,
.icon-spin-slow,
.icon-pulse-soft,
.auto-drift,
.partners-marquee {
  animation: none;
}

#carousel .carousel-slide img {
  animation: heroZoom 11s ease-in-out infinite;
  transform-origin: center;
}

.fab {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fab:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.3);
}

.fab-bounce {
  animation: fabBounce 2.2s ease-in-out infinite;
}

.fab-ring {
  animation: fabRing 2.6s ease-in-out infinite;
  transform-origin: center;
}

.fab-float {
  animation: fabFloat 2.8s ease-in-out infinite;
}

.stat-auto-move {
  position: relative;
  animation: statFloat 3s ease-in-out infinite;
  animation-delay: var(--stat-delay, 0s);
}

@keyframes heroZoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); }
  100% { transform: scale(1); }
}

@keyframes statFloat {
  0%, 100% {
    top: 0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  }
  50% {
    top: -12px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
  }
}

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

@keyframes fabRing {
  0%, 100% { transform: rotate(0deg); }
  20% { transform: rotate(-12deg); }
  40% { transform: rotate(10deg); }
  60% { transform: rotate(-8deg); }
  80% { transform: rotate(5deg); }
}

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

@media (prefers-reduced-motion: reduce) {
  #carousel .carousel-slide img,
  .stat-auto-move,
  .fab-bounce,
  .fab-ring,
  .fab-float {
    animation: none !important;
  }
}
