body {
  margin: 0;
  background: linear-gradient(to bottom, #0E0B21, #1f1849, #4B3DDD) !important;
  color: white;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(2px 2px at 15px 25px, #fff, transparent),
    radial-gradient(1px 1px at 85px 140px, #fff, transparent),
    radial-gradient(2px 2px at 220px 60px, #fff, transparent),
    radial-gradient(1px 1px at 350px 180px, #fff, transparent),
    radial-gradient(1px 1px at 480px 35px, #fff, transparent),
    radial-gradient(2px 2px at 620px 120px, #fff, transparent),
    radial-gradient(1px 1px at 750px 190px, #fff, transparent),
    radial-gradient(1px 1px at 880px 45px, #fff, transparent),
    radial-gradient(2px 2px at 1020px 165px, #fff, transparent),
    radial-gradient(1px 1px at 1150px 85px, #fff, transparent),
    radial-gradient(1px 1px at 1280px 210px, #fff, transparent),
    radial-gradient(2px 2px at 1420px 95px, #fff, transparent),
    radial-gradient(1px 1px at 65px 270px, #fff, transparent),
    radial-gradient(1px 1px at 195px 320px, #fff, transparent),
    radial-gradient(2px 2px at 325px 240px, #fff, transparent),
    radial-gradient(1px 1px at 455px 350px, #fff, transparent),
    radial-gradient(1px 1px at 585px 280px, #fff, transparent),
    radial-gradient(2px 2px at 715px 330px, #fff, transparent);
  background-repeat: repeat;
  background-size: 1500px 400px;
  animation: twinkle 4s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.8;
  }

  100% {
    opacity: 1;
  }
}

/* typing style to override about.css (there may be a better way to do this) */
.mission h2 {
  font-family: 'Orbitron', sans-serif !important;
  font-size: 2.5rem !important;
  margin-bottom: 30px !important;
  text-align: center !important;
  color: white !important;
  position: relative !important;
  min-height: 3rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.typing-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
}

.typing-text {
  display: inline-block;
  color: white !important;
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  white-space: nowrap;
  overflow: hidden;
}

.cursor {
  display: inline-block;
  background: #00ffe5;
  width: 3px;
  height: 2.5rem;
  margin-left: 2px;
  animation: blink 1s infinite;
  vertical-align: top;
}

@keyframes blink {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

.navbar {
  z-index: 9999;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(30, 24, 73, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(75, 61, 221, 0.3);
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  margin-top: 10px;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(75, 61, 221, 0.2);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown>a::after {
  content: ' ▼';
  font-size: 0.8em;
  margin-left: 5px;
}

.navbar {
  position: relative;
  z-index: 9999 !important;
}

.hero,
.mission,
.news,
.social,
.footer {
  position: relative;
  z-index: 1;
}

/* dropdown styling */
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(13, 13, 51, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 229, 0.3);
  border-radius: 8px;
  min-width: 160px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 10000 !important;
  margin-top: 0px;
  padding-top: 5px;
}

.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
  background: rgba(0, 255, 229, 0.2);
  color: #00ffe5;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown>a::after {
  content: ' ▼';
  font-size: 0.8em;
  margin-left: 5px;
}

.nav-links a,
.hero-overlay,
.mission-points,
.news-grid,
.social-grid,
.insta-post,
.footer-content,
.copyright {
  position: relative;
  z-index: 1;
}

/* News Section Styles */
.news {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.news h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.news-item {
  background: rgba(13, 13, 51, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 255, 229, 0.2);
  border-radius: 12px;
  padding: 25px;
  transition: all 0.3s ease;
  text-align: left;
}

.news-item:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 255, 229, 0.5);
  box-shadow: 0 10px 30px rgba(0, 255, 229, 0.1);
}

.news-item h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.1rem;
  color: #00ffe5;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-item p {
  color: #b8b8b8;
  font-size: 0.9rem;
  margin-bottom: 15px;
  line-height: 1.5;
}

.news-item a {
  color: #00ffe5;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.news-item a:hover {
  border-bottom-color: #00ffe5;
}

/* insta carousel */
.social {
  padding: 80px 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.social h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
  color: white;
  padding: 0 20px;
}

.carousel-container {
  position: relative;
  width: 100vw;
  margin: 0;
  left: 50%;
  transform: translateX(-50%);
}

.carousel-wrapper {
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  gap: 20px;
  animation: autoScroll 20s infinite linear;
}

.carousel-track:hover {
  animation-play-state: paused;
}

@keyframes autoScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.insta-post {
  flex: 0 0 280px;
  height: 280px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 255, 229, 0.1));
  border: 1px solid rgba(0, 255, 229, 0.2);
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: #00ffe5;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 255, 229, 0.1);
}

.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease;
}

.insta-post:hover img {
  transform: scale(1.05);
}

.insta-post .placeholder-text {
  padding: 20px;
  text-align: center;
}

.insta-post::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0, 255, 229, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.insta-post:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 20px 60px rgba(0, 255, 229, 0.3);
  background: linear-gradient(135deg, rgba(0, 255, 229, 0.2), rgba(75, 61, 221, 0.2));
}

.insta-post:hover::before {
  transform: translateX(100%);
}

.social-username {
  font-size: 1.4rem;
  margin-top: 30px;
  font-family: 'Orbitron', sans-serif;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0 20px;
}

.social-username:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(0, 255, 229, 0.5);
}

/* Footer Styles - Override external CSS */
.footer {
  background: #070707 !important;
  background-color: #070707 !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 255, 229, 0.2);
  padding: 40px 20px 20px !important;
  margin-top: 80px;
  display: flex !important;
  flex-direction: column !important;
  font-size: 14px !important;
}

.footer-content {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: stretch !important;
  max-width: 1400px;
  margin: 0 auto;
  gap: 80px;
  flex-wrap: wrap;
  width: 100%;
  min-height: 200px;
}

.footer-logo {
  flex: 0 0 auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
  align-self: stretch !important;
  display: flex !important;
  align-items: center !important;
}

.footer-logo img {
  height: 240px !important;
  width: 240px !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-right-content {
  display: flex !important;
  gap: 60px !important;
  align-items: flex-start !important;
  flex-wrap: wrap !important;
  margin-left: auto !important;
}

.footer-nav,
.footer-contact,
.footer-social {
  flex: 0 0 auto !important;
  min-width: 180px !important;
}

.footer-nav h4,
.footer-contact h4,
.footer-social h4 {
  font-family: 'Orbitron', sans-serif !important;
  color: #00ffe5 !important;
  font-size: 1.1rem !important;
  margin-bottom: 15px !important;
  font-weight: 600;
}

.footer-nav ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-nav ul li {
  margin-bottom: 8px !important;
  cursor: default !important;
}

.footer-nav ul li a {
  color: #b8b8b8 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  transition: color 0.3s ease !important;
}

.footer-nav ul li a:hover,
.footer-nav ul li:hover {
  color: #00ffe5 !important;
}

.footer-contact p {
  color: #b8b8b8 !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-bottom: 10px !important;
}

.footer-social .social-icons {
  display: flex !important;
  gap: 15px !important;
  flex-wrap: wrap;
  margin-top: 1rem !important;
}

.footer-social .social-icons a {
  display: flex !important;
  width: 35px !important;
  height: 35px !important;
  border-radius: 50% !important;
  background: rgba(0, 255, 229, 0.1) !important;

  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
}

.footer-social .social-icons a:hover {
  background: rgba(0, 255, 229, 0.2) !important;
  border-color: rgba(0, 255, 229, 0.6) !important;
  transform: translateY(-2px) !important;
}

.footer-social .social-icons a img {
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) invert(1) !important;
  transition: filter 0.3s ease !important;
}

.footer-social .social-icons a:hover img {
  filter: brightness(0) invert(1) sepia(1) saturate(10000%) hue-rotate(180deg) !important;
}

.copyright {
  text-align: center !important;
  color: #888 !important;
  font-size: 0.85rem !important;
  margin-top: 30px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(0, 255, 229, 0.1) !important;
  width: 100% !important;
}

/*resposive adjustments */
@media (max-width: 768px) {

  /* fix logo centering on mobile */
  .navbar .logo {
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }


  .mission h2 {
    font-size: 1.8rem !important;
    min-height: 2.5rem !important;
  }

  .typing-text {
    font-size: 1.8rem !important;
  }

  .cursor {
    height: 1.8rem !important;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .news-item {
    padding: 20px;
  }

  .insta-post {
    flex: 0 0 220px;
    height: 220px;
    font-size: 0.8rem;
  }

  .insta-post img {
    border-radius: 14px;
  }

  .social h2 {
    font-size: 2rem;
  }

  .social {
    padding: 60px 0;
  }

  .footer-content {
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
    justify-content: center !important;
  }

  .footer-logo {
    align-self: center !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: center !important;
  }

  .footer-logo img {
    height: 140px !important;
    width: 140px !important;
  }

  .footer-right-content {
    flex-direction: column !important;
    gap: 30px !important;
    align-items: center !important;
    margin-left: 0 !important;
  }

  .footer-nav,
  .footer-contact,
  .footer-social {
    min-width: auto !important;
    text-align: center !important;
  }

  .footer-social .social-icons {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {

  /*reduce typing text size for very small screens */
  .mission h2 {
    font-size: 1.4rem !important;
    min-height: 2rem !important;
  }

  .typing-text {
    font-size: 1.4rem !important;
  }

  .cursor {
    height: 1.4rem !important;
  }

  .insta-post {
    flex: 0 0 180px;
    height: 180px;
    font-size: 0.7rem;
  }

  .insta-post img {
    border-radius: 12px;
  }
}

/* additional breakpoint for very narrow screens */
@media (max-width: 360px) {
  .mission h2 {
    font-size: 1.2rem !important;
    min-height: 1.8rem !important;
  }

  .typing-text {
    font-size: 1.2rem !important;
  }

  .cursor {
    height: 1.2rem !important;
  }
}

/* ensure typing container doesn't overflow which will shift everything down if it does break */
@media (max-width: 320px) {
  .typing-container {
    max-width: 90vw;
  }

  .mission h2 {
    font-size: 1rem !important;
    min-height: 1.5rem !important;
  }

  .typing-text {
    font-size: 1rem !important;
  }

  .cursor {
    height: 1rem !important;
  }
}