/* Global responsive and utility styles shared by all pages */
* {
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg,
canvas,
iframe {
  max-width: 100%;
  height: auto;
}

/* Common custom classes reused across templates */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.hero-title-responsive {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.15;
}

.hero-body-responsive {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

.reveal,
.reveal-left,
.reveal-right,
.reveal-scale {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal-scale {
  transform: scale(0.96);
}

.revealed {
  opacity: 1;
  transform: none;
}

.hover-lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.35);
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}

.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transition: transform 0.8s ease;
}

.btn-shimmer:hover::after {
  transform: translateX(120%);
}

/* Keep footer typography consistent with the main Google font */
.site-footer,
.site-footer a,
.site-footer p,
.site-footer li,
.site-footer h4,
.site-footer h5,
.site-footer input,
.site-footer button,
.site-footer label,
.site-footer span {
  font-family: "Mulish", sans-serif;
}

/* Keep Material Symbols icons rendering correctly inside footer */
.site-footer .material-symbols-outlined {
  font-family: "Material Symbols Outlined";
  font-weight: normal;
  font-style: normal;
  line-height: 1;
}

/* Continuous horizontal marquee (logos, stats strips, etc.) */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-track {
  animation: marquee-scroll 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* Tablet */
@media (max-width: 1023.98px) {
  .px-margin-desktop {
    padding-left: 32px !important;
    padding-right: 32px !important;
  }

  .bento-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
  }

  .sticky-nav {
    position: static !important;
  }
}

/* Mobile */
@media (max-width: 767.98px) {
  .px-margin-desktop,
  .px-margin-tablet {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-title-responsive {
    font-size: 2rem;
  }

  .hero-body-responsive {
    font-size: 1rem;
  }

  .about-tab-btn {
    white-space: nowrap;
    font-size: 0.8rem;
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }

  .org-line {
    display: none;
  }
}
