* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

:root {
  --color-1: #022d58;
  --color-2: #ffffff;
}

body {
  font-family: Arial, sans-serif;
  background-image: linear-gradient(
      135deg,
      transparent 0%,
      transparent 6%,
      rgba(71, 71, 71, 0.04) 6%,
      rgba(71, 71, 71, 0.04) 22%,
      transparent 22%,
      transparent 100%
    ),
    linear-gradient(
      45deg,
      transparent 0%,
      transparent 20%,
      rgba(71, 71, 71, 0.04) 20%,
      rgba(71, 71, 71, 0.04) 47%,
      transparent 47%,
      transparent 100%
    ),
    linear-gradient(
      135deg,
      transparent 0%,
      transparent 24%,
      rgba(71, 71, 71, 0.04) 24%,
      rgba(71, 71, 71, 0.04) 62%,
      transparent 62%,
      transparent 100%
    ),
    linear-gradient(
      45deg,
      transparent 0%,
      transparent 73%,
      rgba(71, 71, 71, 0.04) 73%,
      rgba(71, 71, 71, 0.04) 75%,
      transparent 75%,
      transparent 100%
    ),
    linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  letter-spacing: 2px;
}

/* home */
#Home {
  height: 100vh;
  display: flex;
  justify-content: left;
  align-items: center;
  background: linear-gradient(rgb(0,0,0,0.5), rgb(0,0,0,0.5)), url("https://wallpapercave.com/wp/wp2456257.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

.home-container {
  z-index: 1;
}

.home-content {
  margin-left: 30px;
}

.home-content p {
  margin-top: 20px;
  font-size: 60px;
  font-weight: bold;
  color: var(--color-2);
}

.home-content .des {
  margin-top: 20px;
  font-size: 30px;
  font-weight: bold;
  color: var(--color-2);
}

.typing-effect {
  margin-top: 20px;
  font-size: 20px;
  font-weight: bold;
  color: var(--color-2);
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid var(--color-2);
  width: 0;
  animation: typing 3s steps(30) infinite, blink-caret 0.75s ease infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 64%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: var(--color-2);
  }
  50% {
    border-color: transparent;
  }
}

.home-content .home-button {
  width: 20vh;
  height: 50px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background-color: var(--color-1);
  border: none;
  color: var(--color-2);
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 20px;
  cursor: pointer;
}

.home-content .home-button:hover {
  background-color: var(--color-2);
  color: var(--color-1);
  box-shadow: 4px 4px var(--color-1);
}

.social-media {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  margin: 20px 0;
}

.social-media a i {
  color: var(--color-2);
  font-size: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}

/* upcoming events */

#upcoming-events{
  margin-top: 50px;
}

.events-section {
  width: 100%;
  margin: 0 auto;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.events-section h2 {
  font-size: 2rem;
  color: var(--color-1);
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

.events-section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--color-1);
  margin-top: 10px;
}

.event-flyer{
  display: flex;
  gap: 20px;
  overflow-x: auto;
}

.event-flyer img {
  cursor: pointer;
  max-width: 20%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 20px;
}

.event-flyer p{
  margin: 30px;
}

.event-button a button{
  width: 20vh;
  height: 50px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  background-color: var(--color-1);
  border: none;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.event-button a button:hover {
  background-color: var(--color-2);
  color: var(--color-1);
  box-shadow: 4px 4px var(--color-1);
}

/* about section */

#About {
  margin-top: 50px;
  width: 100%;
}

.about-section-container {
  margin: 0 auto;
  padding: 30px;
  background-color: var(--color-2);
  margin-bottom: 40px;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--color-1);
  margin-bottom: 20px;
  display: inline-block;
  position: relative;
}

.about-content h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--color-1);
  margin-top: 10px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin: 0 auto;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background: var(--color-2);
  margin-bottom: 50px;
}

.faqcontainer {
  padding: 0 30px;
}

.faq-section h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 40px;
  color: #022d58;
  display: inline-block;
  position: relative;
}

.faq-section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--color-1);
  margin-top: 10px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.faq-question {
  width: 100%;
  font-size: 1rem;
  font-weight: bold;
  color: #022d58;
  background: transparent;
  border: none;
  padding: 15px 20px;
  text-align: left;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1rem;
  font-weight: bold;
  color: var(--color-1);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "-";
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fff;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px;
}

.faq-answer p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

/* sponsors */
#sponsors {
  padding: 60px 0;
  background: #fff;
  margin-bottom: 50px;
}

.sponsors-section{
  padding: 0px 30px;
}

.sponsors-section h2 {
  font-size: 2rem;
  text-align: left;
  margin-bottom: 40px;
  color: #022d58;
  display: inline-block;
  position: relative;
}

.sponsors-section h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 2px;
  background-color: var(--color-1);
  margin-top: 10px;
}

.sponsor-logos img {
  height: 70px;
  margin: 0 40px;
  vertical-align: middle;
}




@media only screen and (max-width: 768px) {
  #Home {
    height: 50vh;
  }
  #Home::before {
    height: 70vh;
  }

  .home-content p {
    font-size: 1.75rem;
  }

  .home-content .des {
    font-size: 1.4rem;
  }

  .typing-effect {
    font-size: 0.8rem;
  }

  @keyframes typing {
    from {
      width: 0;
    }
    to {
      width: 90%;
    }
  }

  .home-content .home-button {
    margin-top: 30px;
    width: 17vh;
    height: 45px;
    font-size: 12px;
  }

  .event-button a button{
    margin-top: 30px;
    width: 17vh;
    height: 45px;
    font-size: 12px;
  }
  
  .events-section h2 {
    font-size: 1.75rem;
  }

  .event-flyer img {
    max-width: 70%;
  }

  .about-content h2 {
    font-size: 1.75rem;
  }

  .faq-section h2{
    font-size: 1.75rem;
  }
}
