
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');

/* Design tokens used by the footer / chat widget / mobile nav */
:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --line: rgba(255, 255, 255, 0.12);
  --green: #7fb42c;
  --green-hi: #95c445;
  --navy: #072444;
}

html, body {
  min-height: 100%;
  margin: 0;
}

body.w3-light-grey {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Ensure the main content wrapper stretches to fill the screen */
body.w3-light-grey .w3-content {
  display: flex;
  flex-direction: column;
  flex: 1; 
  width: 100%;
}

/* Shared site header navigation */
.site-header-nav {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(138, 138, 138, 0.62);
  backdrop-filter: blur(10px);
  font-family: 'Audiowide', sans-serif;
}

/* aboutus.html top header bar (matches index.html shared nav) */
.w3-bar.w3-asphalt.w3-large {
  font-family: 'Audiowide', sans-serif;
  background-color: #343a40;
  color: #fff;
}

.w3-bar.w3-asphalt.w3-large a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  padding: 5px;
  display: inline-block;
  border: 5px solid transparent;
  border-image: repeating-linear-gradient(
    -45deg,
    #f3c623,
    #f3c623 8px,
    #111111 8px,
    #111111 16px
  ) 1;
  border-radius: 10px;
  margin-right: 15px;
}

.w3-bar.w3-asphalt.w3-large a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* aboutus.html sticky footer (no site-shell on that page) */
body.w3-light-grey .w3-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1; /* Forces this wrapper to fill all remaining vertical screen space */
  width: 100%;
}

body.w3-light-grey .w3-content .ta-site-footer {
  margin-top: auto; /* Now successfully pushes to the very bottom of .w3-content */
  width: 100%;
}

body.w3-light-grey .w3-content .ta-site-footer img {
  width: 100%;
  height: auto;
  display: block;
}

.site-header-nav a,
.site-header-nav .w3-bar-item,
.site-header-nav .nav-links li a {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #111;
}

.site-header-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header-nav .nav-links li {
  margin: 0;
}

/* Ensure header nav buttons show clearly on every page */
.w3-bar.w3-white.w3-large .w3-bar-item,
.w3-bar.w3-white.w3-large .w3-button,
.w3-bar.w3-black.w3-large .w3-bar-item,
.w3-bar.w3-black.w3-large .w3-button,
.site-header-nav .w3-bar-item,
.site-header-nav .w3-button,
.site-header-nav .nav-links li a {
  background: rgba(128,128,128,0.18) !important;
  color: #111 !important;
  border-radius: 0.5rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  padding: 0.8rem 1rem !important;
  margin: 0.15rem 0 !important;
}

.site-header-nav .w3-button,
.site-header-nav .nav-links li a,
.site-header-nav .w3-bar-item {
  padding: 0.9rem 1rem;
  background: rgba(128,128,128,0.18);
  color: #111;
  border-radius: 0.5rem;
}

.site-header-nav .w3-button:hover,
.site-header-nav .nav-links li a:hover,
.site-header-nav .w3-bar-item:hover {
  background: rgba(128,128,128,0.3);
  color: #111;
}

.site-header-nav .w3-bar-item.w3-right {
  margin-left: auto;
}

@media (max-width: 860px) {
  .site-header-nav {
    justify-content: center;
  }
}

/* Migrated CSS from index.html */
.nav-toggle {
        display: none;
        width: 40px;
        height: 40px;
        background: transparent;
        border: 1px solid var(--line);
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        z-index: 700;
      }
      .nav-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background: var(--text);
        transition:
          transform 0.25s,
          opacity 0.25s;
      }
      .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
      }
      .nav-toggle.open span:nth-child(2) {
        opacity: 0;
      }
      .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
      }

      .mobile-nav-panel {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(7, 36, 68, 0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--line);
        z-index: 499;
        display: flex;
        flex-direction: column;
        padding: 1.5rem 5vw 2rem;
        gap: 1.25rem;
        transform: translateY(-110%);
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      }
      .mobile-nav-panel.open {
        transform: translateY(0);
      }
      .mobile-nav-panel a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--line);
      }
      .mobile-nav-panel a:last-child {
        border-bottom: none;
      }
      .mobile-nav-panel a.nav-cta {
        text-align: center;
        margin-top: 0.5rem;
        border: 1px solid var(--green);
        color: var(--green);
      }

      /* ── FOOTER ── */
      footer {
        padding: 4rem 5vw 2rem;
        border-top: 1px solid var(--line);
        background: rgba(0, 0, 0, 0.15);
      }
      .footer-top {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 5vw;
        padding-bottom: 3rem;
        border-bottom: 1px solid var(--line);
      }
      .footer-logo-text {
        font-family: "Bebas Neue", sans-serif;
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        color: #02294f;
        margin-bottom: 1rem;
      }
      .footer-logo-text em {
        color: #77b810;
        font-style: normal;
      }
      .loader-logo {
        font-family: "Bebas Neue", sans-serif;
        color: #02294f;
      }
      .loader-logo em,
      .nav-logo-text em {
        color: #77b810;
        font-style: normal;
      }
      .nav-logo-text {
        color: #02294f;
      }
      .footer-tagline {
        color: var(--muted);
        font-size: 0.85rem;
        line-height: 1.75;
        max-width: 280px;
      }
      .footer-col-ttl {
        font-size: 0.6rem;
        font-weight: 600;
        letter-spacing: 0.18em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 1.25rem;
      }
      .footer-links {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
      }
      .footer-links a {
        color: rgba(255, 255, 255, 0.35);
        font-size: 0.88rem;
        text-decoration: none;
        transition: color 0.2s;
      }
      .footer-links a:hover {
        color: var(--text);
      }
      .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 2rem;
        flex-wrap: wrap;
        gap: 1rem;
      }
      .footer-copy {
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.25);
      }
      .footer-badge {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.68rem;
        color: rgba(255, 255, 255, 0.25);
      }
      .badge-dot {
        width: 6px;
        height: 6px;
        background: var(--green);
        border-radius: 50%;
        box-shadow: 0 0 6px rgba(127, 180, 41, 0.7);
      }

      /* ── RESPONSIVE ── */
      @media (max-width: 544px) {
        .site-header-nav .nav-links {
          display: flex;
          flex-direction: column;
          gap: 0.75rem;
          padding: 1rem 0;
        }
        .site-header-nav .nav-links li a,
        .site-header-nav .w3-button,
        .site-header-nav .w3-bar-item {
          width: 100%;
          text-align: center;
        }
        .nav-toggle {
          display: flex;
        }
        .footer-top {
          grid-template-columns: 1fr;
          gap: 2.5rem;
        }
        body {
          cursor: auto;
        }
        #cursor,
        #cursor-ring {
          display: none;
        }
      }

      @media (prefers-reduced-motion: reduce) {
        * {
          transition-duration: 0.01s !important;
        }
      }

/* ── FOLLOW-US FLOATING CAROUSEL WIDGET ── */
      .floating-carousel-widget {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        pointer-events: none; /* wrapper itself doesn't block page clicks */
      }
      .floating-carousel-widget .social-swiper-container {
        pointer-events: auto; /* the carousel itself is still fully interactive */
      }
      .social-swiper-container {
        position: relative;
        width: 90vw;
        max-width: 700px;
        height: auto;
        margin: 0 auto;
      }
      .social-swiper-container .swiper-wrapper {
        align-items: center;
      }
      .social-swiper-container .swiper-slide {
        width: auto;
        height: auto;
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(252, 238, 238, 0.1);
        border-radius: 50%;
        overflow: hidden;
        cursor: grab;
        transform-origin: center center;
        transition:
          transform 148ms ease,
          box-shadow 300ms ease,
          opacity 300ms ease;
      }
      .social-swiper-container .swiper-slide:active {
        cursor: grabbing;
      }
      .social-swiper-container .swiper-slide.swiper-slide-active {
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.35);
      }
      .social-swiper-container .swiper-slide a {
        display: block;
        width: 100%;
        height: 100%;
      }
      .social-swiper-container .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
      }
      .social-swiper-container .swiper-slide-active img {
        animation: social-icon-pulse 1.8s ease-in-out infinite;
      }
      @keyframes social-icon-pulse {
        0%,
        100% {
          filter: brightness(1);
        }
        50% {
          filter: brightness(1.15);
        }
      }
    

      html,
      body {
        background-image: url("../img/background.jpg") !important;
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
        background-attachment: fixed !important;
        background-color: transparent !important;
      }

/* ── RESPONSIVE / MOBILE ── */

/* Never let images stretch the page horizontally */
img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 860px) {
  html,
  body {
    /* "fixed" backgrounds misbehave on phones/tablets — let the image scroll with the page */
    background-attachment: scroll !important;
    background-size: cover !important;
  }

  body {
    overflow-x: hidden;
  }
}

@media (max-width: 640px) {
  /* Keep the shared nav compact on small phones */
  .ta-site-header {
    font-size: 14px;
    padding: 8px 6px;
    row-gap: 5px;
    justify-content: center;
  }

  .ta-site-header a {
    padding: 6px 8px;
    border-width: 3px;
    margin-right: 6px;
    border-radius: 8px;
  }

  .ta-site-header .ta-nav-right {
    margin-left: 0;
  }
}
