/* =========================================================
   FILE: styles.css
   PROJECT: Circular Digital Bridge (CDB)
   AUTHOR: CDB Engineering Team
   LAST UPDATED: 2026-07-25
   ---------------------------------------------------------
   PURPOSE: Primary stylesheet for index.html (landing page).
   Contains: CSS custom properties (design tokens), navbar,
   hero section, blog cards, product catalog, modals, CTAs,
   footer, and responsive overrides.
   ========================================================= */

:root {
  --teal: #008080;
  --dark-blue: #1A237E;
  --bg-light: #F5F7FA;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  --success: #10B981;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  scroll-behavior: smooth;
}

.brand-loading {
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

.brand-loading-mark {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border: 1px solid rgba(0, 128, 128, 0.14);
  border-radius: 50%;
  background: radial-gradient(circle, white 40%, rgba(0, 128, 128, 0.1));
  box-shadow: 0 0.5rem 1.5rem rgba(0, 128, 128, 0.12);
  animation: brand-mark-turn 1.7s ease-in-out infinite;
}

.brand-loading-mark img {
  display: block;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  object-fit: contain;
}

.brand-loading-overlay {
  background: rgba(248, 250, 252, 0.86) !important;
  backdrop-filter: blur(5px) !important;
}

@keyframes brand-mark-turn {
  0%, 100% {
    transform: rotate(-8deg) scale(0.96);
  }
  50% {
    transform: rotate(8deg) scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-loading-mark {
    animation: none;
  }
}

h1,
h2,
h3,
h4,
h5,
.btn {
  font-family: 'Poppins', sans-serif;
}


.btn-teal {
  background-color: var(--teal);
  color: rgb(28, 211, 0);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: 0.2s;
}

.btn-teal:hover {
  background-color: #006666;
  color: white;
}

.btn-outline-teal {
  border: 1px solid var(--teal);
  color: var(--teal);
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  background: transparent;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: white;
}

.btn-dark-blue {
  background: var(--dark-blue);
  color: white;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

/* Feedback service category picker */
#feedbackServicePicker .feedback-service-option {
  --feedback-service-color: var(--teal);
  --feedback-service-tint: rgba(0, 128, 128, 0.08);
  min-height: 4.25rem;
  padding: 0.65rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  border: 1px solid color-mix(in srgb, var(--feedback-service-color) 38%, white);
  background-color: var(--feedback-service-tint);
  color: var(--feedback-service-color);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
  white-space: normal;
  overflow-wrap: break-word;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#feedbackServicePicker .feedback-service-option i {
  flex: 0 0 auto;
  font-size: 1.2rem;
}

#feedbackServicePicker .feedback-service-option span {
  min-width: 0;
}

#feedbackServicePicker .feedback-service-option--laptops {
  --feedback-service-color: #3156a3;
  --feedback-service-tint: rgba(49, 86, 163, 0.08);
}

#feedbackServicePicker .feedback-service-option--training {
  --feedback-service-color: #a65d13;
  --feedback-service-tint: rgba(166, 93, 19, 0.08);
}

#feedbackServicePicker .feedback-service-option--lab {
  --feedback-service-color: #7042a3;
  --feedback-service-tint: rgba(112, 66, 163, 0.08);
}

#feedbackServicePicker .feedback-service-option--assurance {
  --feedback-service-color: #25804d;
  --feedback-service-tint: rgba(37, 128, 77, 0.08);
}

#feedbackServicePicker .feedback-service-option--recycling {
  --feedback-service-color: #55752c;
  --feedback-service-tint: rgba(85, 117, 44, 0.08);
}

#feedbackServicePicker .feedback-service-option:hover {
  border-color: var(--feedback-service-color);
  box-shadow: 0 0.25rem 0.75rem color-mix(in srgb, var(--feedback-service-color) 18%, transparent);
  transform: translateY(-2px);
}

#feedbackServicePicker .btn-check:focus-visible + .feedback-service-option {
  outline: 3px solid color-mix(in srgb, var(--feedback-service-color) 35%, transparent);
  outline-offset: 2px;
}

#feedbackServicePicker .btn-check:checked + .feedback-service-option {
  border-color: var(--feedback-service-color);
  background-color: var(--feedback-service-color);
  color: white;
  box-shadow: 0 0.35rem 0.9rem color-mix(in srgb, var(--feedback-service-color) 25%, transparent);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #e8eef0;
  min-height: calc(100vh - 4.5rem);
  min-height: calc(100svh - 4.5rem);
  display: flex;
  padding: clamp(2rem, 5vh, 4rem) 0;
  color: white;
}

.hero::before,
.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: '';
}

.hero::before {
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65));
}

.hero::after {
  z-index: -1;
  background: linear-gradient(90deg, #e8eef0, #f5f7f8, #e8eef0);
  background-size: 200% 100%;
  animation: hero-image-shimmer 1.3s ease-in-out infinite;
}

.hero-background-image {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-background-image.is-loaded {
  opacity: 1;
}

.hero:not(.is-image-loading)::after {
  content: none;
  animation: none;
}

@keyframes hero-image-shimmer {
  to {
    background-position: 200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::after {
    animation: none;
  }

  .hero-background-image {
    transition: none;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto 1fr;
  align-items: center;
}

.hero-copy {
  grid-row: 2;
}

.hero-actions {
  grid-row: 3;
  align-self: end;
  padding-bottom: clamp(0.5rem, 2vh, 1.5rem);
}

.hero[data-content-state="loading"] .hero-copy,
.hero[data-content-state="error"] .hero-copy {
  visibility: hidden;
}

.hero[data-content-state="ready"] #rotating-stat-badge {
  animation: hero-copy-enter-from-top 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero[data-content-state="ready"] #rotating-headline {
  animation: hero-copy-enter-from-top 650ms 100ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.hero[data-content-state="ready"] #rotating-subhead {
  animation: hero-copy-enter-from-bottom 650ms 150ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

@keyframes hero-copy-enter-from-top {
  from {
    opacity: 0;
    transform: translateY(-1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-copy-enter-from-bottom {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero .stat-badge {
  background: var(--teal);
  padding: 0.25rem 1rem;
  border-radius: 40px;
  display: inline-block;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Impact cards */
.impact-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  height: 100%;
}

.impact-card:hover {
  transform: translateY(-5px);
}

.impact-card i {
  font-size: 2.5rem;
  color: var(--teal);
}

.impact-card h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 0.5rem 0 0;
}

/* Service cards */
.service-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
}

.service-card--1 {
  background:
    repeating-linear-gradient(45deg, rgba(194, 65, 12, 0.08) 0 1px, transparent 1px 16px),
    repeating-linear-gradient(-45deg, rgba(194, 65, 12, 0.08) 0 1px, transparent 1px 16px),
    radial-gradient(ellipse at 100% 0%, rgba(249, 115, 22, 0.16), transparent 48%),
    linear-gradient(145deg, #fffaf4, #ffffff 68%);
  border-color: rgba(249, 115, 22, 0.14);
}

.service-card--1::before,
.service-card--1::after {
  position: absolute;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.service-card--1::before {
  top: 1rem;
  right: 1rem;
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid rgba(234, 88, 12, 0.64);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(234, 88, 12, 0.54) 0 2px, transparent 4.5px) 50% 0 / 100% 100% no-repeat,
    radial-gradient(circle, rgba(234, 88, 12, 0.56) 0 1.5px, transparent 4px) 100% 50% / 100% 100% no-repeat;
  opacity: 0.8;
}

.service-card--1::after {
  top: 3.05rem;
  right: 1.05rem;
  width: 2.15rem;
  height: 1px;
  background: rgba(234, 88, 12, 0.5);
  box-shadow: -1.05rem -1.05rem 0 rgba(234, 88, 12, 0.5);
  transform: rotate(-45deg);
}

.service-card--2 {
  background:
    radial-gradient(circle, rgba(79, 70, 229, 0.11) 1px, transparent 1.25px),
    linear-gradient(0deg, transparent 96%, rgba(79, 70, 229, 0.045) 96%),
    radial-gradient(ellipse at 100% 0%, rgba(79, 70, 229, 0.16), transparent 48%),
    linear-gradient(145deg, #f4f5ff, #ffffff 68%);
  background-size: 10px 10px, 100% 24px, auto, auto;
  border-color: rgba(79, 70, 229, 0.14);
}

.service-card--2::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4.5rem;
  height: 3rem;
  border: 1px solid rgba(79, 70, 229, 0.62);
  border-radius: 0.35rem;
  background:
    linear-gradient(rgba(79, 70, 229, 0.14), rgba(79, 70, 229, 0.74)) 0.45rem 0.55rem / 1.6rem 1px no-repeat,
    linear-gradient(rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.7)) 0.45rem 0.85rem / 2.7rem 1px no-repeat,
    linear-gradient(rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.7)) 0.45rem 1.15rem / 2.1rem 1px no-repeat;
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.service-card--3 {
  background:
    linear-gradient(rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.045) 1px, transparent 1px),
    radial-gradient(ellipse at 100% 0%, rgba(139, 92, 246, 0.17), transparent 48%),
    linear-gradient(145deg, #f7f4ff, #ffffff 68%);
  background-size: 22px 22px, 22px 22px, auto, auto;
  border-color: rgba(124, 58, 237, 0.15);
}

.service-card--3::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(124, 58, 237, 0.54);
  border-radius: 0.65rem;
  background:
    linear-gradient(rgba(124, 58, 237, 0.1), rgba(124, 58, 237, 0.5)) 0.55rem 0.65rem / 1.1rem 1px no-repeat,
    linear-gradient(rgba(124, 58, 237, 0.08), rgba(124, 58, 237, 0.68)) 0.55rem 0.95rem / 2rem 1px no-repeat,
    radial-gradient(circle, rgba(124, 58, 237, 0.58) 1.5px, transparent 2px) 0.55rem 1.45rem / 0.65rem 0.65rem,
    radial-gradient(circle, rgba(124, 58, 237, 0.62) 1.5px, transparent 2px) 1.45rem 1.45rem / 0.65rem 0.65rem;
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.service-card--4 {
  background:
    repeating-radial-gradient(ellipse at 0% 100%, rgba(8, 145, 178, 0.07) 0 1px, transparent 1.5px 13px),
    radial-gradient(ellipse at 100% 100%, rgba(13, 148, 136, 0.1), transparent 42%),
    radial-gradient(ellipse at 0% 0%, rgba(14, 165, 233, 0.13), transparent 50%),
    linear-gradient(145deg, #f0faff, #ffffff 72%);
  background-size: 220px 180px, auto, auto, auto;
  background-position: left bottom, center, center, center;
  border-color: rgba(8, 145, 178, 0.14);
}

.service-card--4::before {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 4.5rem;
  height: 3.25rem;
  border: 1px solid rgba(8, 145, 178, 0.66);
  border-radius: 0.45rem;
  background:
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 0.65rem 0.7rem / 0.6rem 0.6rem no-repeat,
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 1.95rem 0.7rem / 0.6rem 0.6rem no-repeat,
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 3.25rem 0.7rem / 0.6rem 0.6rem no-repeat,
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 0.65rem 1.95rem / 0.6rem 0.6rem no-repeat,
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 1.95rem 1.95rem / 0.6rem 0.6rem no-repeat,
    radial-gradient(circle, rgba(8, 145, 178, 0.65) 0 1.5px, transparent 2px) 3.25rem 1.95rem / 0.6rem 0.6rem no-repeat,
    linear-gradient(rgba(8, 145, 178, 0.19), rgba(8, 145, 178, 0.59)) 0.95rem 0.95rem / 1rem 1px no-repeat,
    linear-gradient(rgba(8, 145, 178, 0.19), rgba(8, 145, 178, 0.59)) 2.25rem 0.95rem / 1rem 1px no-repeat,
    linear-gradient(rgba(8, 145, 178, 0.19), rgba(8, 145, 178, 0.59)) 0.95rem 2.2rem / 1rem 1px no-repeat,
    linear-gradient(rgba(8, 145, 178, 0.19), rgba(8, 145, 178, 0.59)) 2.25rem 2.2rem / 1rem 1px no-repeat;
  content: "";
  opacity: 0.8;
  pointer-events: none;
}

.service-card--4::after {
  position: absolute;
  top: 2.45rem;
  right: 2.85rem;
  width: 0.4rem;
  height: 0.4rem;
  border: 1px solid rgba(8, 145, 178, 0.58);
  border-radius: 50%;
  background: #f0faff;
  box-shadow: 1.3rem 0 0 -1px #f0faff, 1.3rem 0 0 0 rgba(8, 145, 178, 0.38);
  content: "";
  pointer-events: none;
}

.service-card--5 {
  background:
    radial-gradient(circle at 100% 0%, rgba(5, 150, 105, 0.25) 0 1.2px, transparent 1.8px) 0 0 / 12px 12px,
    radial-gradient(ellipse at 100% 0%, rgba(16, 185, 129, 0.13), transparent 52%),
    linear-gradient(145deg, #effcf6, #ffffff 70%);
  border-color: rgba(5, 150, 105, 0.15);
}

.service-card--5::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.75rem;
  height: 3.75rem;
  border: 1px solid rgba(5, 150, 105, 0.58);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(5, 150, 105, 0.19) 0 54%, transparent 56%),
    radial-gradient(circle, rgba(5, 150, 105, 0.95) 0 1px, transparent 2px) 50% 0 / 100% 100% no-repeat;
  box-shadow: 0 0 0 0.3rem rgba(5, 150, 105, 0.25), 0 0 0 0.65rem rgba(5, 150, 105, 0.015);
  content: "";
  pointer-events: none;
}



.service-card--6 {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18'%3E%3Crect x='1' y='1' width='5' height='5' fill='none' stroke='%234d7c0f' stroke-opacity='.16' stroke-width='.8'/%3E%3C/svg%3E") 0 0 / 18px 18px repeat,
    radial-gradient(ellipse at 100% 0%, rgba(132, 204, 22, 0.17), transparent 48%),
    linear-gradient(145deg, #f7fee7, #ffffff 68%);
  border-color: rgba(132, 204, 22, 0.14);
}

.service-card--6::before {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: repeating-conic-gradient(
    from -18deg,
    rgba(77, 124, 15, 0.8) 0deg 48deg,
    transparent 48deg 72deg
  );
  content: "";
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  pointer-events: none;
}

.service-card--6::after {
  position: absolute;
  top: 0.95rem;
  right: 1.05rem;
  width: 0;
  height: 0;
  border-top: 0.28rem solid transparent;
  border-bottom: 0.28rem solid transparent;
  border-left: 0.48rem solid rgba(77, 124, 15, 0.9);
  content: "";
  pointer-events: none;
  transform: rotate(-25deg);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 128, 128, 0.15);
}

.service-card > i {
  font-size: 2.5rem;
  color: var(--teal);
  display: block;
  margin-bottom: 0.75rem;
  transition: transform 0.25s ease;
}

.service-card:hover > i {
  transform: scale(1.1);
}

.service-card--1 > i { color: #ea580c; }
.service-card--2 > i { color: #4f46e5; }
.service-card--3 > i { color: #7c3aed; }
.service-card--4 > i { color: #0891b2; }
.service-card--5 > i { color: #047857; }
.service-card--6 > i { color: #65a30d; }

.service-card h4 {
  margin: 0.75rem 0 0.5rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.service-card-title {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.service-card-title:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
  border-radius: 0.2rem;
}

.service-card .btn-link {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Icon picker grid for admin service form */
.icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(48px, 1fr));
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
}

.icon-picker-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background: white;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-picker-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}

.icon-picker-btn.active {
  border-color: var(--teal);
  background: rgba(0, 128, 128, 0.08);
  color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.2);
}

/* Enhanced admin service cards */
.admin-service-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.admin-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

.admin-service-card .card-body i {
  transition: transform 0.2s ease;
}

.admin-service-card:hover .card-body i {
  transform: scale(1.1);
}

/* Admin toolbar enhancements */
.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}

.admin-toolbar .input-group,
.admin-toolbar .form-select {
  width: 100%;
  max-width: 260px;
}

@media (min-width: 576px) {

  .admin-toolbar .input-group,
  .admin-toolbar .form-select {
    width: auto;
    min-width: 200px;
  }
}

@media (max-width: 767.98px) {
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-toolbar .input-group,
  .admin-toolbar .form-select {
    max-width: 100% !important;
  }

  .admin-toolbar .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Icon picker enhancements */
.icon-picker-btn {
  position: relative;
}

.icon-picker-btn.active::after {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 0.65rem;
  color: white;
  background: var(--teal);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Feature chips input */
.features-chips-input {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: white;
  min-height: 42px;
  align-items: center;
}

.features-chips-input:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(0, 128, 128, 0.15);
}

.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 128, 128, 0.08);
  color: var(--dark-blue);
  border: 1px solid rgba(0, 128, 128, 0.2);
  border-radius: 2rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
}

.feature-chip button {
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
}

.feature-chip button:hover {
  color: #dc3545;
}

.features-chips-input input {
  border: none;
  outline: none;
  flex: 1;
  min-width: 120px;
  padding: 0.25rem;
  font-size: 0.9rem;
  background: transparent;
}

.features-chips-input input::placeholder {
  color: var(--text-muted);
}

/* Character counter positioning */
.form-field-counter {
  text-align: right;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  color: var(--text-muted);
}

.form-field-counter.text-danger {
  color: #dc3545 !important;
}

/* Two-column form layout */
.service-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 767.98px) {
  .service-form-row {
    grid-template-columns: 1fr;
  }
}

.step-circle {
  width: 50px;
  height: 50px;
  background: var(--teal);
  color: white;
  font-weight: 700;
  font-size: 1.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

::-webkit-scrollbar {
  display: none;
}

/* Blog cards */
.blog-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.blog-card img,
.blog-card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.blog-card-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
  background: linear-gradient(90deg, #e2e8f0 0%, #f1f5f9 50%, #e2e8f0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  height: 220px;
}

.blog-card-image-wrapper img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-body {
  padding: 1rem;
}

.blog-card-title {
  font-weight: 600;
  margin: 0.5rem 0;
}

.blog-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0, 123, 255, 0.9);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

#blogModal .modal-dialog {
  max-width: 1080px;
}

#blogModal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 1.2rem;
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.2);
}

.blog-modal-header {
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 4vw, 2.75rem) 1.25rem;
  border-bottom: 1px solid #e8edf2;
  background: linear-gradient(135deg, #ffffff 0%, #f5fbfa 100%);
}

.blog-modal-heading {
  flex: 1;
  min-width: 0;
}

.blog-modal-header .modal-title {
  max-width: 850px;
  color: #172554;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
}

.blog-modal-meta {
  bottom: 5px;
  right: 10px;
}


.blog-modal-category {
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(0, 128, 128, 0.1);
  color: #06716c;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: none;
  text-transform: uppercase;
}

.blog-modal-meta #blogModalMeta > span:not(.blog-modal-category),
.blog-reading-time {
  color: #64748b;
  font-size: 0.8rem;
}

.blog-modal-meta i {
  margin-right: 0.3rem;
  color: #087f78;
}

#blogModal .modal-body {
  position: relative;
  padding: 0 clamp(1rem, 4vw, 2.75rem) 3rem;
  background: #fff;
}

.blog-reading-progress {
  position: sticky;
  top: 0;
  z-index: 5;
  height: 3px;
  margin: 0 calc(clamp(1rem, 4vw, 2.75rem) * -1) 1.75rem;
  border-radius: 0;
  background: #edf2f5;
}

.blog-reading-progress .progress-bar {
  transition: width 0.12s linear;
}

.article-content {
  max-width: 860px;
  margin: 0 auto;
  color: #334155;
}

.blog-article {
  padding: 0.25rem 0 1rem;
}

.article-section {
  margin: 2.5rem 0;
}

.article-section:first-child {
  margin-top: 0;
}

.article-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.15rem;
  color: #172554;
  font-size: 1.1rem;
  font-weight: 700;
}

.article-section-title span {
  display: inline-grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(0, 128, 128, 0.1);
  color: #087f78;
  font-size: 0.7rem;
}

.article-prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.85;
}

.article-prose p {
  margin: 0 0 1.15rem;
}

.article-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.85;
  color: #334155;
}

.article-lead p:first-child::first-letter {
  color: #087f78;
  font-size: 1.6em;
  font-weight: 700;
}

.article-step-heading {
  margin: 2rem 0 0.65rem;
  padding-left: 0.9rem;
  border-left: 3px solid #0b938b;
  color: #172554;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.5;
}

.article-list {
  margin: 0.25rem 0 1.35rem;
  padding-left: 1.5rem;
}

.article-list li {
  padding: 0.25rem 0 0.25rem 0.25rem;
}

.article-list li::marker {
  color: #087f78;
}

.image-row.article-image-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 2.5rem;
}

.article-figure {
  min-width: 0;
  margin: 0;
}
::-webkit-scrollbar {
  width: 2px;
}
.article-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
  border-radius: 20px;
}

.article-figure:only-child {
  grid-column: 1 / -1;
  width: min(100%, 760px);
  margin-inline: auto;
}

.article-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  border-radius: 20px;
}

.article-feature-figure .article-image {
  max-height: none;
}

.article-figure figcaption {
  margin: 0.55rem 0.25rem 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.5;
}

.article-closing-gallery {
  padding-top: 1rem;
  border-top: 1px solid #e8edf2;
}

@media (max-width: 767px) {
  #blogModal .modal-dialog {
    margin: 0.5rem;
  }

  #blogModal .modal-content {
    border-radius: 1rem;
  }

  .blog-modal-header {
    padding: 1.1rem 1rem 1rem;
  }

  .blog-modal-meta {
    gap: 0.5rem 0.8rem;
    margin-top: 0.65rem;
  }

  #blogModal .modal-body {
    padding: 0 1rem 2rem;
  }

  .blog-reading-progress {
    margin-right: -1rem;
    margin-left: -1rem;
    margin-bottom: 1.25rem;
  }

  .article-section {
    margin: 2rem 0;
  }

  .article-prose {
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .image-row.article-image-gallery {
    gap: 0.7rem;
    margin: 1.5rem 0 2rem;
  }

  .article-image-gallery .article-image {
    padding: 0.3rem;
    border-radius: 0.75rem;
  }

  .article-image-gallery .article-image-frame {
    border-radius: 0.75rem;
  }
}

@media (max-width: 520px) {
  .image-row.article-image-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Product catalog */
.product-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 128, 128, 0.28);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

.product-image-container {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  overflow: hidden;}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 1.2s ease;
}

.product-card:hover .product-image {
  transform: scale(1.035);
}

.product-status {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(0, 91, 91, 0.92);
  color: white;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-image-count {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #334155;
  font-size: 0.7rem;
  font-weight: 600;
}

.product-likes {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
}

.product-likes i {
  color: #e05268;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.1rem;
}

.product-card-heading {
  min-height: 4.25rem;
}

.product-card-eyebrow {
  display: block;
  margin-bottom: 0.3rem;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.product-name {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 0;
  color: #172554;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

.product-pricing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0.7rem 0 0.9rem;
}

.product-price-stack {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.product-pricing .current-price {
  color: #087f78;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
}

.product-pricing .old-price {
  color: #8793a1;
  font-size: 0.78rem;
}

.product-pricing .discount-badge {
  flex: 0 0 auto;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: #fff1f2;
  color: #be123c;
  font-size: 0.7rem;
  font-weight: 700;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 2rem;
  margin-bottom: 0.9rem;
}

.demand-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0;
}

.demand-status i {
  font-size: 0.45rem;
}

.demand-status.in-stock {
  background: #d4edda;
  color: #155724;
}

.demand-status.running-low {
  background: #fff3cd;
  color: #856404;
}

.demand-status.almost-gone {
  background: #f8d7da;
  color: #721c24;
}

.demand-status.out-of-stock {
  background: #dc3545;
  color: #fff;
}

.product-card-delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #64748b;
  font-size: 0.68rem;
  white-space: nowrap;
}

.product-card-delivery i {
  color: #087f78;
  font-size: 0.85rem;
}

.learn-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: auto;
  padding: 0.7rem 1rem;
  border: 1px solid #087f78;
  border-radius: 0.7rem;
  background: #087f78;
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.learn-more-btn:hover,
.learn-more-btn:focus-visible {
  border-color: #05635e;
  background: #05635e;
  color: white;
  transform: translateY(-1px);
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-detail-gallery {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  
}

.product-detail-gallery .carousel-inner,
.product-detail-gallery .carousel-item {
  height: clamp(240px, 48vw, 520px);
}

.product-detail-gallery .carousel-item {
  text-align: center;
}

.product-detail-gallery .product-detail-image {
  padding: clamp(0.75rem, 3vw, 2rem);
}

.product-detail-gallery .carousel-control-prev,
.product-detail-gallery .carousel-control-next {
  width: 3rem;
  height: 3rem;
  top: 50%;
  bottom: auto;
  margin: 0 0.75rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.72);
  opacity: 0.9;
  transform: translateY(-50%);
}

.product-detail-gallery .carousel-indicators {
  margin-bottom: 0.75rem;
}

.product-detail-gallery .carousel-indicators [data-bs-target] {
  width: 0.55rem;
  height: 0.55rem;
  margin: 0 0.25rem;
  border: 0;
  border-radius: 50%;
  background-color: var(--teal);
  opacity: 0.35;
}

.product-detail-gallery .carousel-indicators .active {
  opacity: 1;
}

.product-detail-image-placeholder {
  height: clamp(240px, 48vw, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #64748b;
}

.product-detail-image-placeholder i {
  font-size: 2.5rem;
}

#productDetailContent {
  max-width: 1100px;
  margin: 0 auto;
}

.product-editorial {
  color: var(--text-dark);
}

.product-editorial-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 1.5rem;
  padding: 1.5rem 0 1.75rem;
  border-bottom: 1px solid var(--border);
}

.product-editorial-kicker {
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-editorial-intro h2 {
  margin: 0.4rem 0 0.75rem;
  color: var(--dark-blue);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
}

.product-editorial-intro .product-description {
  max-width: 72ch;
  margin: 0;
  color: #475569;
  font-size: 1rem;
  line-height: 1.75;
}

.product-editorial-price {
  min-width: 170px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(0, 128, 128, 0.16);
  border-radius: 1rem;
  background: linear-gradient(145deg, #f0fdfa, #ffffff);
}

.product-editorial-price strong {
  color: var(--teal);
  font-size: 1.55rem;
  line-height: 1.2;
}

.product-editorial-price .status-badge {
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
}

.product-editorial-grid {
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-editorial-section {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.035);
}

.product-editorial-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
}

.product-editorial-heading h3 {
  margin: 0;
  color: var(--dark-blue);
  font-size: 1rem;
  font-weight: 700;
}

.product-editorial-icon {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 0.75rem;
  background: rgba(0, 128, 128, 0.09);
  color: var(--teal);
  font-size: 1.1rem;
}

.product-editorial-copy {
  color: #526174;
  font-size: 0.925rem;
  line-height: 1.7;
}

.product-spec-list {
  margin: 0;
}

.product-spec-list > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, 0.38fr) minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid #edf1f4;
}

.product-spec-list > div:last-child {
  border-bottom: 0;
}

.product-spec-list dt {
  color: #64748b;
  font-size: 0.84rem;
  font-weight: 600;
}

.product-spec-list dd {
  margin: 0;
  color: #334155;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.product-feature-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #475569;
  line-height: 1.55;
}

.product-feature-list i {
  margin-top: 0.15rem;
  color: var(--teal);
}

@media (max-width: 575.98px) {
  .product-editorial-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-editorial-price {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .product-editorial-price .status-badge {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .product-spec-list > div {
    grid-template-columns: minmax(5.5rem, 0.42fr) minmax(0, 1fr);
    gap: 0.5rem;
  }
}

.specs-list,
.features-list {
  list-style: none;
  padding: 0;
}

.specs-list li,
.features-list li {
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--teal);
}

.status-badge {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
}

.status-badge.new {
  background: #d4edda;
  color: #155724;
}

.status-badge.refurbished {
  background: #cce5ff;
  color: #004085;
}

.confirmation-list {
  list-style: none;
  padding: 0;
}

.confirmation-list li {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.25rem;
  background: #f8f9fa;
}

.missing-data {
  color: #dc3545;
  font-style: italic;
}



/* ===== Modal & Service Carousel Styling ===== */

/* Make modal content feel lighter and more focused */
#serviceModal .modal-content,
#serviceFormModal .modal-content,
#productDetailModal .modal-content,
#productCatalogModal .modal-content {
  padding: 2.5px;
  overflow: hidden;
}

/* Service Detail Modal Modern Styling */
#serviceModal .modal-body {
  padding: 1.25rem;
  background: #ffffff;
}

#serviceModalContent {
  background: transparent;
  color: var(--text-dark);
}

.service-modal-hero {
  transition: all 0.2s ease;
}

#serviceLikeBtn {
  min-width: 110px;
  border-radius: 999px;
  padding: 0.45rem 1rem;
}

#serviceCtaBtn {
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#serviceCtaBtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 128, 128, 0.25);
}

#serviceCtaBtn.attention {
  animation: pulse-soft 2.6s ease-in-out infinite;
}

/* Progress bar for form modal — more visible and modern */
#serviceFormModal .progress {
  background: #e9f7f7;
}

#formProgress {
  background: linear-gradient(90deg, var(--teal), #00bba3);
  transition: width 0.25s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) inset;
}

/* Service Form Spacing, Contrast & Counter Typography */
.service-form-group {
  margin-bottom: 1.45rem;
}

.service-form-group:last-child {
  margin-bottom: 0.5rem;
}

.service-form-group .form-label {
  font-weight: 600;
  font-size: 0.925rem;
  color: #1e293b;
  margin-bottom: 0.45rem;
  display: block;
  letter-spacing: -0.01em;
}

.service-form-helper {
  font-size: 0.8rem;
  color: #666666 !important;
  line-height: 1.4;
  margin-bottom: 0;
  display: inline-block;
}

.service-field-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
  min-height: 1.25rem;
}

.service-form-counter {
  font-size: 0.75rem;
  color: #888888;
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  white-space: nowrap;
}

/* Form step container */
.service-form-step {
  background: white;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  margin-bottom: 0.75rem;
}

/* Step transition animations */
.service-form-step {
  opacity: 0;
  transform: translateY(8px) scale(0.998);
  transition: opacity 260ms cubic-bezier(.2, .9, .2, 1), transform 260ms cubic-bezier(.2, .9, .2, 1);
}

.service-form-step.step-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.service-form-step.step-hidden {
  opacity: 0;
  transform: translateY(-8px) scale(0.998);
  pointer-events: none;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure thumbnails and carousel are usable on small screens */
@media (max-width: 767px) {
  #serviceModal .modal-body {
    padding: 0.85rem;
  }
}

/* Encourage CTA: subtle pulse for button to draw attention */
@keyframes pulse-soft {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.02);
  }

  100% {
    transform: scale(1);
  }
}

/* Buy now button animation */
.buy-now-btn {
  animation: gentleBounce 2s infinite;
  transition: transform 0.3s;
}

.buy-now-btn:hover {
  transform: scale(1.05);
  animation: none;
}

@keyframes gentleBounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-3px);
  }

  60% {
    transform: translateY(-2px);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.carousel-item img {
  animation: fadeIn 0.5s ease-in;
}


/* CTA banner */
.cta-banner {
  background: var(--teal);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

/* Footer */
footer {
  background: var(--dark-blue);
  color: #ccc;
  padding: 3rem 0 1.5rem;
}

footer a {
  color: #ccc;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.footer-logo span:first-child {
  color: var(--teal);
}

@media (max-width: 868px) {
  .hero-background-image {
    object-position: 63.5% center;
  }

  .hero h1 {
    font-size: 2rem;
    margin: 1.5rem 0;
  }

  .hero {
    min-height: calc(100vh - 4rem);
    min-height: calc(100svh - 4rem);
    padding: 2rem 0;
  }

  .hero-content {
    grid-template-rows: 1fr auto;
  }

  .hero-copy {
    grid-row: 1;
    align-self: center;
  }

  .hero-actions {
    grid-row: 2;
    padding-bottom: 0;
  }

  .impact-card h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 520px) {

  .modal span.brand-name {
    font-size: medium;
  }

  .hero .stat-badge {
  display: none;
}

}

@media (prefers-reduced-motion: reduce) {
  .hero[data-content-state="ready"] #rotating-stat-badge,
  .hero[data-content-state="ready"] #rotating-headline,
  .hero[data-content-state="ready"] #rotating-subhead {
    animation: none;
  }
}