/* -------------------------- */
/* TAB SWITCHING */
/* -------------------------- */
.tab-active {
  border-bottom: 2px solid #176f56;
  /* google-blue */
  font-weight: 600;
  color: #176f56;
}

/* Navigation active link styling */
.active-nav {
  color: #000000 !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #000000 !important;
  border-color: #000000 !important;
}


.center-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tab-button {
  transition: border-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

/* -------------------------- */
/* CUSTOM SELECT STYLE */
/* -------------------------- */
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg>%23374151");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 30px;
  appearance: none;
}

.google-input:focus {
  border-color: #176f56;
  box-shadow: 0 0 0 1px #176f56;
}

/* -------------------------- */
/* MODERN FAQ ACCORDION DROPDOWN */
/* -------------------------- */
details.faq-item summary::-webkit-details-marker,
details summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary,
details summary {
  list-style: none;
}

@keyframes faq-slide-down {
  0% {
    opacity: 0;
    transform: translateY(-6px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

details[open] .faq-content,
details[open] > .faq-answer,
details[open] > p:not(summary p) {
  animation: faq-slide-down 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

details[open] .faq-answer {
  max-height: none;
  overflow: visible;
}

/* Modern native height & opacity interpolation for browsers supporting interpolate-size */
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
  details.faq-item::details-content {
    opacity: 0;
    block-size: 0;
    overflow-y: clip;
    transition: content-visibility 0.25s allow-discrete,
                opacity 0.25s ease,
                block-size 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  }
  details.faq-item[open]::details-content {
    opacity: 1;
    block-size: auto;
  }
}

/* -------------------------- */
/* INFO BOX STYLE */
/* -------------------------- */
.info-box::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px dashed var(--decorative-blue);
  border-radius: 12px;
  pointer-events: none;
}

/* -------------------------- */
/* MODERN HERO SECTION & ENTRANCE ANIMATIONS */
/* -------------------------- */
.hero-ambient-glow {
  background: radial-gradient(circle at 50% 30%, rgba(23, 111, 86, 0.10) 0%, rgba(200, 16, 46, 0.03) 45%, transparent 70%);
  filter: blur(32px);
}

@keyframes heroFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-animate-1 {
  animation: heroFadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-animate-2 {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.hero-animate-3 {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.16s both;
}

.hero-animate-4 {
  animation: heroFadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

.hero-trust-chip {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.hero-trust-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -2px rgba(23, 111, 86, 0.14);
  border-color: rgba(23, 111, 86, 0.35);
  background-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-animate-1,
  .hero-animate-2,
  .hero-animate-3,
  .hero-animate-4 {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-trust-chip:hover {
    transform: none !important;
  }
}

.mtc-accent {
  color: #176f56;
}