* {
  margin: 0;
  padding: 0;
  font-family: "Oswald", sans-serif;
}

.header {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(wallpaper/fire.gif);
  background-position: center;
  background-size: cover;
  position: relative;
}

.header2 {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(wallpaper/aura-graphic.png);
  background-position: center;
  background-size: cover;
  position: relative;
}

.header3 {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(wallpaper/installs.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
}

.header4 {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    url(wallpaper/roster-sp25.JPG);
  background-position: center;
  background-size: cover;
  position: relative;
}

.header5 {
  min-height: 100vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.5), rgba(4, 9, 30, 0.5)),
    url(wallpaper/rush-eternal.png);
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  background: transparent;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

.text-box {
  width: 90%;
  color: rgba(218, 202, 166, 0.6);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 40px;
  color: rgba(218, 202, 166, 0.6);
}

.btn {
  display: inline-block;
  text-decoration: none;
  color: white;
  border: 1px solid white;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.btn:hover {
  border: 1px solid rgb(4, 62, 121);
  background: rgb(4, 62, 121);
  transition: 0.5s;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.row h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
  color: white;
}

.row p {
  color: white;
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

.core {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.core h1 {
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 30px 0px 10px 0px;
}

.core-col {
  flex-basis: 32%;
  border-radius: 50%;
  /*border-radius: 10% / 50%;*/
  margin-right: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.core-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(4, 62, 121, 0.8);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: white;
  font-size: 19px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 40%;
  opacity: 1;
}

@media (max-width: 700px) {
  .layer:hover h3 {
    bottom: 40%;
  }
  .layer h3 {
    font-size: 30px;
  }
}

@media (max-width: 600px) {
  .layer:hover h3 {
    bottom: 43%;
  }
  .layer h3 {
    font-size: 38px;
  }
}

.awards {
  width: 100%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.awards-col {
  flex-basis: 31%;
  padding: 0 20px;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}

.awards-col img:hover {
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.awards-col img {
  width: 100%;
  border-radius: 10px;
}

.awards h1 {
  font-size: 36px;
}

.awards-col p {
  padding: 0;
  color: black;
}

.awards-col h3 {
  margin-top: 16px;
  margin-bottom: 15px;
  text-align: left;
  color: black;
}

.about {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  width: 100%;
}

.about-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 0;
}

.about-col:first-child {
  flex: 2; /* Text takes up more space */
  margin-left: 11%; /* Some left space */
  margin-right: 2%; /* Small gap between text and image */
}

.about-col:last-child {
  flex: 1; /* Image takes less space */
  margin-right: 11%; /* Small right margin */
}

.about-col img {
  max-width: 300px;
  max-height: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-col h1 {
  padding-top: 0;
  font-weight: 600;
}

.about-col p {
  padding: 15px 0 25px;
  color: black;
}

.location {
  width: 80%;
  margin: auto;
  padding: 40px 0;
}

.location iframe {
  width: 100%;
}

.faq {
  max-width: 700px;
  margin: auto;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgb(4, 62, 121);
  cursor: pointer;
}

.faq h1 {
  text-align: center;
  margin-top: 50px;
  padding-bottom: 30px;
  font-size: 35px;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question h3 {
  font-size: 1.3rem;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.4s ease;
}

.answer p {
  padding-top: 1rem;
  line-height: 1.6;
  font-size: 1rem;
}

.faq.active .answer {
  max-height: 300px;
  animation: fade 1s ease-in-out;
}

.faq.active svg {
  transform: rotate(180deg);
}

svg {
  transition: transform 0.5s ease-in;
}

.faq1 {
  max-width: 700px;
  margin: auto;
  padding-bottom: 0px;
  background: #043E79;
  border-bottom: 2px solid rgb(4, 62, 121);
  cursor: pointer;
}

.faq1 h1 {
  text-align: center;
  margin-top: 50px;
  padding-bottom: 30px;
  font-size: 35px;
}

.question1 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question1 h3 {
  font-size: 1.3rem;
}

.answer1 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.4s ease;
}

.answer1 p {
  padding-top: 1rem;
  line-height: 1.6;
  font-size: 1rem;
}

.faq1.active .answer1 {
  max-height: 300px;
  animation: fade 1s ease-in-out;
}

.faq1.active svg {
  transform: rotate(180deg);
}

.stuff {
  display: inline-block;
  width: 100px;
  height: 100px;
  padding: 5px;
}

.gallery {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.gallery1 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh; /* Full viewport height */
}

.gallery2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.gallery3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.slider {
  width: 800px;
  height: 500px;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateY(0.5%);

  display: flex;
  align-items: center;
}

.slider1 {
  width: 95vw;
  height: 85vh;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden; /* Keep this as hidden */
  transform: translateY(0%);
  display: flex;
  align-items: stretch; /* Changed from center */
  position: relative;
}

.slider2 {
  width: 800px;
  height: 500px;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateY(0.5%);

  display: flex;
  align-items: center;
}

.slider3 {
  width: 800px;
  height: 500px;
  border-radius: 5px;
  box-sizing: border-box;
  overflow: hidden;
  transform: translateY(0.5%);

  display: flex;
  align-items: center;
}

.slide {
  flex: 0 0 100%;
  transition: transform 1s ease;
}

.slide1 {
  flex: 0 0 100%;
  transition: transform 1s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 100%;
  cursor: pointer; /* Show it's interactive */
}

.slide2 {
  flex: 0 0 100%;
  transition: transform 1s ease;
}

.slide3 {
  flex: 0 0 100%;
  transition: transform 1s ease;
}

img {
  width: 100%;
}

.slide1 img {
  width: 100%;
  height: 100%; /* Take full height now */
  object-fit: cover;
  display: block;
}

.caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 30px; /* Increased from 20px */
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  
  /* Dynamic height based on content */
  min-height: fit-content;
  max-height: 50%; /* Increased from 40% */
  overflow-y: auto;
}

.caption.show {
  opacity: 1;
  pointer-events: auto;
}

.caption h2, .caption h3 {
  margin-top: 0;
  margin-bottom: 15px; /* Increased spacing */
  font-size: 2rem; /* Increased from 1.5rem */
  font-weight: bold;
}

.caption p {
  margin: 0;
  line-height: 1.6; /* Increased line spacing */
  font-size: 1.2rem; /* Increased from 1rem */
}

/* First slide caption is always visible */
.first-slide .caption {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.prev,
.next {
  cursor: pointer;
  color: #fff;
  padding: 10px 20px;
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  text-decoration: none;
  font-size: 60px;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

.prev:hover,
.next:hover {
  background: rgba(0, 0, 0, 0.6);
}
/* 
.prev1,
.next1 {
  cursor: pointer;
  color: #fff;
  padding: 10px 20px;
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  text-decoration: none;
  font-size: 60px;
}

.prev1 {
  left: 0;
}

.next1 {
  right: 0;
}

.prev2,
.next2 {
  cursor: pointer;
  color: #fff;
  padding: 10px 20px;
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  text-decoration: none;
  font-size: 60px;
}

.prev2 {
  left: 0;
}

.next2 {
  right: 0;
}

.prev3,
.next3 {
  cursor: pointer;
  color: #fff;
  padding: 10px 20px;
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  text-decoration: none;
  font-size: 60px;
}

.prev3 {
  left: 0;
}

.next3 {
  right: 0;
}*/

@media screen and (max-width: 700px) {
  .gallery {
    flex-direction: column;
  }

  .slider {
    width: 400px;
    height: 250px;
  }

/*  .gallery1 {
    flex-direction: column;
  }

  .slider1 {
    width: 400px;
    height: 250px;
  }

  .gallery2 {
    flex-direction: column;
  }

  .slider2 {
    width: 400px;
    height: 250px;
  }

  .gallery3 {
    flex-direction: column;
  }

  .slider3 {
    width: 400px;
    height: 250px;
  }*/
}

.logo {
   max-width: 200px;   /* max size */
   width: 100%;        /* scales down for smaller screens */
   height: auto;
}

.event {
  white-space: pre-line;
}

.custom-calendar {
   max-width: 900px;
   margin: 40px auto;
   background: white;
   box-shadow: 0 4px 12px rgba(0,0,0,0.15);
   border-radius: 10px;
   overflow: hidden;
}

.calendar-header {
   display: flex;
   justify-content: space-between;
   align-items: center;
   background: #153084;
   color: white;
   padding: 20px;
}

.calendar-header h2 {
    margin: 0;
    font-size: 24px;
}

.calendar-header button {
    background: white;
    border: none;
    color: #153084;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.calendar-grid {
     display: grid;
     grid-template-columns: repeat(7, 1fr);
     text-align: center;
}

.calendar-grid div {
     padding: 15px;
     border: 1px solid #ddd;
     min-height: 80px;
     position: relative;
}

.calendar-grid .day-name {
     background: #eaeaea;
     font-weight: bold;
}

.today {
     background: #fdd835;
     border-radius: 50%;
     display: inline-block;
     padding: 5px 10px;
}

.event {
     background: #153084;
     color: white;
     font-size: 12px;
     padding: 2px 4px;
     border-radius: 4px;
     margin-top: 4px;
     display: block;
}

@media screen and (max-width: 768px) {
  .custom-calendar {
    max-width: calc(100vw - 20px); /* Full viewport width minus margins */
    margin: 20px 10px;
    overflow-x: auto; /* Allow horizontal scrolling if needed */
  }
  
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    min-width: 100%; /* Ensure grid takes full width */
  }
  
  .calendar-grid div {
    padding: 8px 2px; /* Reduce horizontal padding */
    min-height: 60px;
    font-size: 12px;
    box-sizing: border-box; /* Include padding in width calculation */
  }
  
  .calendar-grid .day-name {
    padding: 8px 2px;
    font-size: 10px;
    font-weight: bold;
    min-height: auto;
  }
  
  .event {
    font-size: 9px;
    padding: 1px 2px;
    margin-top: 2px;
    word-break: break-word;
    line-height: 1.2;
  }
}

/* For very small screens */
@media screen and (max-width: 480px) {
  .custom-calendar {
    max-width: calc(100vw - 10px);
    margin: 10px 5px;
  }
  
  .calendar-grid div {
    padding: 6px 1px;
    min-height: 50px;
    font-size: 11px;
  }
  
  .calendar-grid .day-name {
    padding: 6px 1px;
    font-size: 9px;
  }
  
  .event {
    font-size: 8px;
    padding: 1px;
    margin-top: 1px;
  }
  
  .calendar-header {
    padding: 12px;
  }
  
  .calendar-header h2 {
    font-size: 16px;
  }
  
  .calendar-header button {
    padding: 3px 6px;
    font-size: 12px;
  }
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0px);
  }
}


/* Leadership Tab Styles */
  .leadership-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 10px;
    color: black;
    }
  
  .leadership-dragon {
    width: 60px;
    height: 60px;
    margin-right: 20px;
    object-fit: contain;
    }
  
  .leadership-text h2 {
    margin: 0 0 8px 0;
    font-size: 2.5rem;
    color: black;
    }

  .leadership-text p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
    color: black;
    max-width: 600px;
    }

  .leadership-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    padding: 0 20px;
    }

  .leadership-column {
    display: flex;
    flex-direction: column;
    }

  .leadership-column .faq1 {
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    min-height: 50px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

  .leadership-column .faq1:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

  .leadership-column .question1 {
      background: #043E79;
      color: white;
      padding: 12px 18px;
      margin: 0;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .leadership-column .question1 h3 {
      color: white;
      margin: 0;
      font-size: 1rem;
      font-weight: 600;
  }

  .leadership-column .answer1 {
      background: #f8f9fa;
      border-top: 1px solid #ddd;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease;
  }

  .leadership-column .answer1 p {
      padding: 15px 18px;
      margin: 0;
      color: #333;
      line-height: 1.5;
      font-size: 0.9rem;
  }

  .leadership-column .faq1.active .answer1 {
      max-height: 300px;
  }

  .leadership-column .faq1.active svg {
      transform: rotate(180deg);
  }

  .leadership-column svg {
      transition: transform 0.3s ease;
  }

  /* Mobile responsive */
  @media (max-width: 768px) {
      .leadership-header {
          flex-direction: column;
          text-align: center;
          padding: 15px;
      }
      
      .leadership-dragon {
          margin-right: 0;
          margin-bottom: 15px;
          width: 50px;
          height: 50px;
      }
      
      .leadership-text h2 {
          font-size: 1.5rem;
      }
      
      .leadership-text p {
          font-size: 0.85rem;
      }
      
      .leadership-columns {
          grid-template-columns: 1fr;
          gap: 15px;
          padding: 0 10px;
      }
      
      .leadership-column .question1 {
          padding: 10px 15px;
      }
      
      .leadership-column .question1 h3 {
          font-size: 0.9rem;
      }
      
      .leadership-column .answer1 p {
          padding: 12px 15px;
          font-size: 0.85rem;
      }
  }

.gallery {
  padding-bottom: 100px;
}





