*, 
*::before, 
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: black;
  min-height: 100vh;
}

a {
  text-decoration: none;
}

/* ──────────────────────────────────────────────────── BANNER ────────────────────────────────────────────────────── */
        
.banner {
  width: 100%;
  background-color: white;
  padding: 0.3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.black-banner-words {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: black;
 
}

.green-banner-words {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #006400;
}

.blue-banner-words {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #00006D;
}

.banner-nds-box {
  display: inline-block;
  border: 2px solid #00006D;
  padding: 2px 6px;
  border-radius: 0.5rem;
  margin: 0 4px;
}

.banner-nds-link:hover .banner-nds-box {
  background-color: #00006D;
  cursor: pointer;
}

.banner-nds-link:hover .green-banner-words,
.banner-nds-link:hover .blue-banner-words {
  color: white;
}

/* ──────────────────────────────────────────────────── NAVBAR ────────────────────────────────────────────────────── */
       
.navbar {
  width: 100%;
  height: 5rem;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 2rem;
  border-bottom: 3px solid red;
  position: relative;
  z-index: 1001;
}

/* ---------- LEFT LOGO ---------- */    
        
.navbar-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.navbar-logo img {
  height: 3rem;
  width: auto;
  display: block;
  object-fit: contain;
}

/* ---------- SOCIALS ---------- */
        
.navbar-center {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.navbar-tagline {
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}

.navbar-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, opacity 0.2s;
}

.navbar-socials a:hover {
  opacity: 0.8;
  transform: scale(1.12);
}

.social-icon {
  width: 1.75rem;
  height: 1.75rem;
}

/* ---------- RIGHT NAV LINKS ---------- */
        
.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  flex-shrink: 0;
}

.navbar-links li a {
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  padding: 0.45rem 0.9rem;
  border-radius: 0;
  display: inline-block;
  transition: background-color 0.2s, border-radius 0.2s, transform 0.2s;
}

/* ---------- KEYFRAMES ---------- */
        
@keyframes navBounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-6px); }
  55%  { transform: translateY(0); }
  75%  { transform: translateY(-3px); }
  90%  { transform: translateY(0); }
  100% { transform: translateY(0); }
}

.navbar-links li a:hover {
  background-color: red;
  border-radius: 25px;
  animation: navBounce 0.5s ease forwards;
}

/* ─────────────────────────────────────────────────── HAMBURGER ──────────────────────────────────────────────────── */
    
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.75rem;
  height: 1.2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  z-index: 10;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

/* ---------- HAMBURGER OPEN STATE ---------- */
        
.hamburger.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: red;
}
        
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
        
.hamburger.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: red;
}

/* ---------- MOBILE DROP DOWN MENU ---------- */
        
.mobile-menu {
  display: none;
  background-color: black;
  width: 100%;
  border-bottom: 4px solid red;
  z-index: 999;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-links {
  list-style: none;
  padding: 0.5rem 0;
}

.mobile-menu-links li a {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  padding: 0.85rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.mobile-menu-socials .navbar-tagline {
  font-size: 0.9rem;
}

/* ───────────────────────────────────────────────── MEDIA QUERIES ────────────────────────────────────────────────── */
        
/* ---------- 1024px ---------- */

@media (max-width: 1024px) {

  /* ---------- SHOW LINKS ON HAMBURGER ---------- */
        
  .navbar-center,
  .navbar-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: block;
  }
}

/* ---------- 700px ---------- */

@media (max-width: 700px) {
  .banner {
    padding: 0.5rem 1rem;
    justify-content: center;
    text-align: center;
    gap: 0.3rem;
  }

  .black-banner-words,
  .green-banner-words,
  .blue-banner-words {
    font-size: 0.75rem;
    white-space: normal;
  }

  .navbar {
    padding: 0.65rem 1rem;
  }

  .navbar-logo img {
    height: 2.5rem;
  }

  .mobile-menu-links li a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .mobile-menu-socials {
    padding: 0.75rem 1rem;
  }
  
  /* ---------- DISABLE HOVER EFFECTS ON TABLET ---------- */
  
  .navbar-links li a:hover,
  .navbar-socials a:hover {
    background-color: transparent;
    border-radius: 0;
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .banner-nds-link:hover .banner-nds-box {
    background-color: white;
  }
  
  .banner-nds-link:hover .green-banner-words {
    color: #006400;
  }
  
  .banner-nds-link:hover .blue-banner-words {
    color: #00006D;
  }
}

/* ---------- 468px ---------- */

@media (max-width: 468px) {
  .banner {
    padding: 0.4rem 0.75rem;
  }

  .black-banner-words,
  .green-banner-words,
  .blue-banner-words {
    font-size: 0.7rem;
  }

  .navbar {
    padding: 0.6rem 0.75rem;
  }

  .navbar-logo img {
    height: 2.1rem;
    width: 5.5rem;
  }

  .mobile-menu-links li a {
    font-size: 0.9rem;
    padding: 0.7rem 0.75rem;
  }

  .mobile-menu-socials {
    padding: 0.7rem 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .mobile-menu-socials .navbar-tagline {
    font-size: 0.82rem;
    width: 100%;
  }

  .social-icon {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  /* ---------- DISABLE HOVER EFFECTS ON MOBILE ---------- */
  
  .navbar-links li a:hover,
  .navbar-socials a:hover {
    background-color: transparent;
    border-radius: 0;
    animation: none;
    opacity: 1;
    transform: none;
  }
  
  .banner-nds-link:hover .banner-nds-box {
    background-color: white;
  }
  
  .banner-nds-link:hover .green-banner-words {
    color: #006400;
  }
  
  .banner-nds-link:hover .blue-banner-words {
    color: #00006D;
  }
}