:root {
  --grid-color: 255 255 255; /* rgb */
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol";
}

/* Hero background: deep blue gradient with subtle grid */
.hero-bg {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, #0b63d1, #1553c6 35%, #0e4fbf);
  position: relative;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--grid-color) / 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--grid-color) / 0.06) 1px, transparent 1px);
  background-size:
    36px 36px,
    36px 36px;
  mask-image: radial-gradient(1200px 600px at 50% 0%, black, transparent 70%);
  pointer-events: none;
}

/* Icon font fallbacks for footer demo glyphs */
@font-face {
  font-family: "FA-Fallback";
  src: local("Arial");
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 56px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgb(226 232 240); /* slate-200 */
}
.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.timeline-year {
  position: absolute;
  left: -56px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  font-size: 10px;
  width: 42px;
  height: 22px;
  border-radius: 999px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 16px;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #1d4ed8;
}
.timeline-card {
  flex: 1;
  background: #fff;
  border: 1px solid rgb(226 232 240);
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}

.partners-logo .logos-slider {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 15%, #000 85%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0, #000 15%, #000 85%, rgba(0, 0, 0, 0) 100%);
}

.partners-logo .logos-slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  animation: slide 30s linear infinite;
}

.partners-logo .logos-slider-container img {
  width: 100px;
  max-width: 150px;
  border-radius: 10px;
}

@keyframes slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

.partners-logo h1 {
  text-align: center;
  font-family: "Lato";
  color: #3d4a54;
}

.partners-logo .card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 90vw;
  margin: 0 auto;
}

.partners-logo body {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion Styles */
.faq-item {
  transition: all 0.3s ease;
}
.faq-question {
  cursor: pointer;
  user-select: none;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
  max-height: 500px;
}
.faq-icon {
  transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 200px;
  background: white;
  border: 1px solid rgb(226 232 240);
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s ease;
  z-index: 50;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgb(71 85 105);
  font-size: 0.875rem;
  text-decoration: none;
  transition: background-color 0.2s;
}

.dropdown-menu a:hover {
  background-color: rgb(241 245 249);
  color: rgb(15 23 42);
}

.dropdown-menu a:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.dropdown-menu a:last-child {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.dropdown-toggle svg {
  transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle svg,
.dropdown.active .dropdown-toggle svg {
  transform: rotate(180deg);
}

/* Mobile dropdown */
.mobile-dropdown {
  display: none;
}

.mobile-dropdown.active {
  display: block;
}

.mobile-dropdown-toggle {
  background: none;
  border: none;
  padding: 0.5rem 0;
  color: rgb(71 85 105);
  cursor: pointer;
  font-size: 0.875rem;
}

.mobile-dropdown-toggle:hover {
  color: rgb(15 23 42);
}
