* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #111;
  overflow-x: hidden;
}

.top-bar {
  position: fixed;
  top: -70px;                
  left: 0;
  width: 100%;
  background-color: #000;
  color: white;
  z-index: 1000;
  transition: top 0.4s ease;
  padding: 1.5rem 1.5rem;
}

.top-bar.visible {
  top: 0 !important;
  opacity: 1;           
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.menu-toggle {
  width: 30px;
  height: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(13px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-13px);
}

.side-nav {
  position: fixed;
  right: -250px;
  top: 0;
  height: 100%;
  width: 250px;
  background: #111;
  display: flex;
  flex-direction: column;
  padding-top: 80px;
  transition: right 0.4s ease, opacity 0.4s ease;
  opacity: 0;
  z-index: 999;
}

.side-nav.active {
  right: 0;
  opacity: 1;
}

.side-nav a {
  color: white;
  padding: 15px 25px;
  text-decoration: none;
  font-size: 1.2rem;
  border-bottom: 1px solid #333;
  transform: translateX(30px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.side-nav.active a {
  transform: translateX(0);
  opacity: 1;
}

.side-nav.active a:nth-child(1) { transition-delay: 0.1s; }
.side-nav.active a:nth-child(2) { transition-delay: 0.2s; }
.side-nav.active a:nth-child(3) { transition-delay: 0.3s; }
.side-nav.active a:nth-child(4) { transition-delay: 0.4s; }

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}

.overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.banner {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(60%);
  object-position: center;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  z-index: 2;
}

.banner-text h1 {
  font-size: 6rem;
  font-weight: 700;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100%) translateY(30%);
  }
  100% {
    opacity: 1;
    transform: translateX(-12%) translateY(30%);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100%) translateY(30%);
  }
  100% {
    opacity: 1;
    transform: translateX(4.7%) translateY(30%);
  }
}
@keyframes slideInTop {
  0% {
    opacity: 0;
    transform: translateX(0%) translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%) translateY(30%);
  }
}

@keyframes slideInBottom {
  0% {
    opacity: 0;
    transform: translateX(0%) translateY(-100%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%) translateY(30%);
  }
}

.slide-left, .slide-right, .slide-top, .slide-bottom{
display: inline-block;
  opacity: 0;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
  animation: slideInLeft 1s ease forwards;
}

.slide-left {
  animation-name: slideInLeft;
}

.slide-right {
  animation-name: slideInRight;
}
.slide-top {
  animation-name: slideInTop;
}

.slide-bottom {
  animation-name: slideInBottom;
}
.trident-banner {
  position: absolute;
  bottom: -100px;
  left: 41.3%;
  filter: hue-rotate(0deg) saturate(1) brightness(100);
  transform: translateX(-50%);
  width: 300px;
  opacity: 0;
  z-index: 1;
  animation: tridentStab 0.9s cubic-bezier(0.3, 1.5, 0.6, 1) 0.5s forwards;
}
@keyframes tridentStab {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(50px);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) translateY(-430px); 
  }
  70% {
    transform: translateX(-50%) translateY(-330px); 
  }
  85% {
    transform: translateX(-50%) translateY(-345px); 
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(-340px); 
  }
}


.about-us {
  background-color: #ececec;
}

.about-us .content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-us h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #d60000;
}

.about-us p {
  font-size: 1.1rem;
  color: #333;
}

.our-mission {
  background-color: #d8d8d8;
}

.our-mission .content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.our-mission h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #d60000;
}

.our-mission p {
  font-size: 1.1rem;
  color: #333;
}

@media (max-width: 768px) {
  .banner-text h1 {
    font-size: 2.5rem;
  }

  .about-us h2,
  .our-mission h2 {
    font-size: 2rem;
  }

  .trident {
    width: 80px;
  }
}
.sponsors {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.sponsors .content {
  max-width: 1000px;
  margin: 0 auto;
}

.sponsors h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #d60000;
}

.sponsor-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 20px;
}

.sponsor-logos img {
  width: 215px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.sponsor-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.sponsor-button {
  display: inline-block;
  background-color: transparent;
  color: #d60000;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 30px;
  border: 3px solid #d60000;
  border-radius: 3.5px;
  transition: all 0.3s ease;
}

.sponsor-button:hover {
  background-color: #d60000;
  color: #fff;
}

@media (max-width: 768px) {
  .sponsor-logos {
    gap: 20px;
  }

  .sponsor-logos img {
    width: 120px;
  }

  .sponsor-button {
    font-size: 1rem;
    padding: 10px 25px;
  }
}
.join-team {
  padding: 100px 20px;
  background: linear-gradient(135deg, #242424 0%, #242424 100%);
  color: #fff;
  text-align: center;
  position: relative;  
  overflow: visible; 
}
.join-team .content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.join-header {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.join-team h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: #d60000;
  position: relative;
  display: inline-block;
}

.join-team h2,
.join-team p,
.join-button {
  opacity: 0;
}
.trident-join {
  position: absolute;
  top: 50%;
  left: -250px; 
  transform: translateY(-50%) rotate(90deg);
  width: 300px;
  z-index: 1;
}

.trident-join.active {
  animation: tridentThrow 3.5s cubic-bezier(0.3, 0.8, 0.4, 1) forwards;
}

@keyframes tridentThrow {
  0% {
    opacity: 0;
    transform: translate(-180%, -55%) rotate(90deg) scale(1);
  }
  30% {
    opacity: 1;
    transform: translate(-120%, -55%) rotate(90deg) scale(1);
  }
  70% {
    transform: translate(115vw, -55%) rotate(90deg) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(120vw, -55%) rotate(90deg) scale(1);
  }
}

.join-text {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.join-team p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 40px;
  color: #ddd;
}

.join-button {
  display: inline-block;
  background-color: #d60000;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 35px;
  border: 3px solid #d60000;
  border-radius: 4px;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.3s ease;
}
.join-button:hover {
  background-color: rgba(214, 0, 0, 0);
  color: #d60000;
}

@media (max-width: 768px) {
  .join-team h2 { font-size: 2rem; }
  .trident-swipe { width: 70px; }
}
.contact {
  padding: 90px 20px;
  background-color: #1a1a1a;
  text-align: center;
}

.contact .content {
  max-width: 700px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2.6rem;
  margin-bottom: 25px;
  color: #d60000;
}

.contact p {
  color: #eeeeee;
  margin-bottom: 50px;
  font-size: 1.1rem;
}

.contact-button {
  background: #d60000;
  color: #fff;
  padding: 14px 35px;
  border: 3px solid #d60000;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.3s ease;
  width: fit-content;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
  margin-top: 25px;
}

.contact-button:hover {
  background: transparent;
  color: #d60000;
}

@media (max-width: 768px) {
  .contact .content {
    max-width: 90%;
  }
}
.diagonal-split {
  display: flex;
  position: relative;
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.diagonal-split .text-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 60px;
  z-index: 2;
}

.diagonal-split .image-half {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slide-in-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
}

.diagonal-split::before {
  content: "";
  position: absolute;
  top: 0;
  width: 40px;
  height: 100%;
  z-index: 1;
  opacity: 0;
  pointer-events: none;
}

.about-us.diagonal-split::before {
  left: 835px;
  background-color: #d60000;
  transform: skewX(-20deg) translateX(-250px);
}

.our-mission.diagonal-split::before {
  right: 835px;
  background-color: #d60000;
  transform: skewX(20deg) translateX(250px);
}


@keyframes smoothPistonLeft {
   0% {
    transform: translateX(-1000px) translateY(0px);
    opacity: 1;
  }
  40% {
    transform: translateX(100px) translateY(0px);
    opacity: 1;
  }
  70% {
    transform: translateX(-5px) translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}

@keyframes smoothPistonRight {
  0% {
    transform: translateX(1000px) translateY(0px);
    opacity: 1;
  }
  40% {
    transform: translateX(-100px) translateY(0px);
    opacity: 1;
  }
  70% {
    transform: translateX(5px) translateY(0px);
    opacity: 1;
  }
  100% {
    transform: translateX(0) translateY(0);
    opacity: 1;
  }
}


.about-us.diagonal-split.slide-in-active .slide-in-image {
  animation: smoothPistonLeft 1s cubic-bezier(0.3, 0.8, 0.4, 1) forwards;
}

.our-mission.diagonal-split.slide-in-active .slide-in-image {
  animation: smoothPistonRight 1s cubic-bezier(0.3, 0.8, 0.4, 1) forwards;
}

.diagonal-split h2 { font-size: 2.4rem; color: #d60000; margin-bottom: 20px; }
.diagonal-split p { font-size: 1.1rem; color: #333; line-height: 1.5; }

@keyframes riseFromBottom {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
} 
@keyframes fallFromTop {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
} 

.about-us.diagonal-split.slide-in-active::before {
  animation: fallFromTop 0.8s cubic-bezier(0.3, 0.8, 0.4, 1) 0.5s forwards;
}
.our-mission.diagonal-split.slide-in-active::before {
  animation: riseFromBottom 0.8s cubic-bezier(0.3, 0.8, 0.4, 1) 0.5s forwards;
}
@media (max-width: 768px) {
  .diagonal-split { flex-direction: column; height: auto; }
  .diagonal-split .image-half,
  .diagonal-split .text-half { width: 100%; height: 250px; padding: 30px 20px; }
  .diagonal-split::before { display: none; }
}
.sponsors-header {
  padding: 120px 20px 100px;
  text-align: center;
  background: #111;
  color: #fff;
}

.sponsors-header h1 {
  font-size: 3.5rem;
  color: #d60000;
  margin-bottom: 15px;
}

.sponsor-tier {
  padding: 100px 20px;       
  min-height: 40vh;        
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;    
  text-align: center;
  border-bottom: none;      
}

.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;                 
  max-width: 1100px;
  margin: 0 auto;
}

.sponsor-tier h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;      
  text-transform: uppercase;
  letter-spacing: 4px;
}

.logo-grid img {
  filter: grayscale(100%);
  transition: all 0.3s ease;
  object-fit: contain;
}

.logo-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.posideon .logo-grid img { width: 400px; }
.sea-king .logo-grid img { width: 320px; }
.trident .logo-grid img { width: 260px; }
.honor-roll .logo-grid img { width: 200px; }
.booster .logo-grid img { width: 200px; }
.member .logo-grid img { width: 170px; }
.supporter .logo-grid img { width: 150px; }


.sponsor-tier.posideon {
  background-color: #0b0b0b; 
  color: #fff;
  padding: 50px 20px;       
  min-height: 45vh;          
  display: flex;
  flex-direction: column;
  justify-content: center;   
  align-items: center;
}

.sponsor-tier.sea-king {
  background-color: #1a1a1a;
  color: #fff;
}

.sponsor-tier.trident {
  background-color: #2c2c2c;
  color: #fff;
}

.sponsor-tier.honor-roll {
  background-color: #616161;
  color: #fff;
  border-bottom: none;
}


.sponsor-tier.booster {
  background-color: #c4c4c4;
}


.sponsor-tier.member {
  background-color: #ebebeb;
}

.sponsor-tier.supporter {
  background-color: #ffffff; 
}

.sponsor-text-link {
  font-size: 5rem;           
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 12px;      
  text-align: center;
  transition: all 0.4s ease;
}

.sponsor-text-link:hover {
  color: #d60000;
  transform: scale(1.1);
}
.sponsor-text-trident {
  font-size: 1.8rem;           
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 5px;      
  text-align: center;
  width: 260px;
  height: auto;
  flex-shrink: 0;
}
.sponsor-text-honor-roll {
  font-size: 1.5rem;           
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;      
  text-align: center;
  width: 290px;
  height: auto;
  flex-shrink: 0;
}
.sponsor-text-booster {
  font-size: 1.5rem;           
  font-weight: 800;
  color: #181818;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;      
  text-align: center;
  width: 270px;
  height: auto;
  flex-shrink: 0;
}
.sponsor-text-member {
  font-size: 1.5rem;           
  font-weight: 800;
  color: #181818;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;      
  text-align: center;
  width: 290px;
  height: auto;
  flex-shrink: 0;
}
.logo-grid a {
  text-decoration: none;
  display: inline-block;
}
