﻿html { scroll-behavior: smooth; }
.hero-slide { opacity: 0; pointer-events: none; transition: opacity 700ms ease; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.section-title::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 9999px;
  background: linear-gradient(90deg, #1ea6d7, #14b8a6);
}
.mega-menu-panel {
  pointer-events: none;
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  top: 72px !important;
  margin-top: 0 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  width: 100vw !important;
  max-width: 100vw !important;
  padding: 0 16px;
  overflow: hidden;
}
.mega-menu-trigger {
  position: relative;
  padding-bottom: 6px;
  margin-bottom: -6px;
}
.mega-menu-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  height: 6px;
}
.mega-menu-panel > div {
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 80px rgba(15, 47, 87, 0.18);
  border-radius: 0 !important;
}
.mega-menu-panel .mt-6.grid.gap-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.mega-menu-panel .mt-6.grid.gap-4 > .grid.gap-2 {
  display: contents;
}
.mega-menu-panel .grid.gap-2 a {
  display: block;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 0 !important;
}
.mega-menu-panel .grid.gap-2 a:hover,
.mega-menu-panel .grid.gap-2 a:focus-visible {
  border-color: rgba(30, 166, 215, 0.22);
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.08));
  box-shadow: 0 12px 30px rgba(15, 47, 87, 0.08);
  outline: none;
}
.mega-menu-trigger:hover .mega-menu-panel,
.mega-menu-trigger:focus-within .mega-menu-panel {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@media (max-width: 1024px) {
  .mega-menu-trigger {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .mega-menu-panel {
    top: 72px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 0 12px;
  }
  .mega-menu-panel .mt-6.grid.gap-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .mega-menu-panel .mt-6.grid.gap-4 {
    grid-template-columns: 1fr;
  }
}
