/* ========== General Stuff Start ========== */

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #333333;
  font-family: 'Inter', sans-serif;
}

h1, h2, h3{
  font-family: 'Oswald', arial, Sans-Serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  color: rgb(0, 0, 0);
  font-family: 'Source Sans Pro', sans-serif;
}

main {
  padding: 20px;
  text-align: center;
  display: flex;
}

a:active {
  text-decoration: none
}

a:link, a:visited {
  color: rgb(0, 0, 0);
  text-decoration: none
}

a:hover {
  color: rgb(0, 47, 255);
  text-decoration: none
}

.divider-text {
  color: rgb(0, 47, 255);
  font-size: 50px;
  margin: 15px;
  text-align: center;
  font-family: 'Oswald', arial, Sans-Serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: capitalize;
}

.bordered-link {
  width: 50%;
  margin: 0 auto;
  text-align: center;
}

@media (max-width: 600px) {
  .divider-text {
    font-size: 35px;
  }
}

.block-p-spes {
  font-size: 20px;
}

/* ========== General Stuff End ========== */

/* ========== Navbar Start ========== */

.navbar {
  max-width: 1000px;
  font-family: 'QuickSand', sans-serif;
  font-weight: 500;
}

.navbar-nav {
  gap: 5rem;
}

.navbar {
  margin-top: 1rem;
}

.dropdown-menu {
  text-align: center;
}

.logo-img {
  max-width: 200px;
}

.logo-img-small {
  max-width: 150px;
  height: auto;
  display: flex;
  margin-left: 13vw;
}

@media (max-width: 1000px) {
  .logo-img {
    display: none;
  }
  .navbar-nav {
  gap: 1rem !important;
}
}

/* ========== Navbar End ========== */

/* ========== Main Page Start ========== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background-color: #f4f4f4;
}

.block {
  background: #fff;
  padding: 20px;
  max-width: 1400px;
  margin: 20px 0;
  width: 100%;
}

.block p {
  font-family: 'QuickSand', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1%;
  padding-left: 15%;
  padding-right: 15%;
}

.block img {
  width: 75%;
  height: auto;
  border-radius: 3px;
}

.block.text-below img {
  margin-bottom: 15px;
}

.block.text-below {
  text-align: center;
}

.block.horizontal {
  display: flex;
  gap: 20px;
  align-items: center;
}

.block.horizontal .text {
  flex: 1;
}

.block.horizontal img {
  width: 45%;
  height: auto;
}

.block.reverse {
  flex-direction: row-reverse;
}

.block-4 {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  max-width: 1400px;

}

.block-4 .card {
  flex: 1 1 48%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 15px;
  border: none;
}

.block-4 .card img {
  width: auto;
  height: 400px;
  border-radius: 3px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {

  .block {
    width: 100vw;
  }

  .block.horizontal,
  .block.reverse {
    flex-direction: column;
    text-align: center;
  }

  .block.horizontal img,
  .block.reverse img {
    width: 95%;
  }

  .block-4 {
    flex-direction: column;
  }

  .block-4 .card {
    width: 90vw;
  }

  .video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
}

.link-button {
  display: inline-block;
  padding: 10px 30px;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  color: rgb(0, 47, 255);
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid rgb(0, 47, 255);
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.link-button:hover {
  background-color: rgb(0, 47, 255);
  color: white;
}

/* ========== Main Page End ========== */

/* ========== Board Members Start ========== */

.board-members {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  box-sizing: border-box;
}

.board-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 40px auto;
  max-width: 1062px;
}

.board-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin: 40px auto;
  max-width: 708px;
}

.member-card {
  text-align: center;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 9px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.member-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

.member-card h3 {
  font-size: 24px;
  line-height: 2;
}

.member-card p {
  font-family: 'QuickSand', sans-serif;
  font-size: 18px;
}

@media (max-width: 600px) {
  .board-grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .board-grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }

  .member-card h3 {
    font-size: 20px;
  }

  .member-card p {
    font-size: 18px;
  }
}

/* ========== Board Members Grid End ========== */

/* ========== TEG Spesifics Start ========== */

.teg-text {
  padding-bottom: 5%; 
  text-align: left;
}

.teg-p {
  font-family: 'QuickSand', sans-serif;
  font-size: 18px;
}

@media (max-width: 768px) {
  .teg-text {
    margin: 0 auto;
    padding-bottom: 5%;
    text-align: center;
  }
  .teg-p {
    padding: 0% !important;
    text-align: center !important;
  }
  .teg-poster {
    width: 350px !important;
    height: auto !important;
    margin: 0 auto;
  }
}

/* ========== TEG Spesifics End ========== */

/* ========== Sponsor Slider Start ========== */

.sponsor-slider {
  width: 80%;
  overflow: hidden;
  height: 140px;
}

.sponsor-slider .sponsor-swiper-slide {
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-slider .swiper-slide img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .sponsor-slider {
    width: 98%;
  }
}

/* ========== Sponsor Slider End ========== */

/* ========== Gallery Slider Start ========== */

.gallery-slider {
  width: 70%;
  overflow: hidden;
  height: 560px;
}

.gallery-slider .gallery-swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #444;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width:768px) {
  .gallery-slider {
    width: 95%;
    height: 360px;
  }
}

@media (max-width:600px) {
  .emkaccordion {
    width: 320px;
  }
}

/* ========== Gallery Slider End ========== */

/* ========== FAQ Start ========== */

.emkaccordion {
  width: 900px;
}

@media (max-width:768px) {
  .emkaccordion {
    width: 400px;
  }
}

@media (max-width:600px) {
  .emkaccordion {
    width: 320px;
  }
}

/* ========== FAQ End ========== */

/* ========== Contact Us Map Start ========== */

.social-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 300px;
  text-align: left;
  font-size: 18px;
}

.social-list li {
  margin-bottom: 25px;
}

.social-list a {
  display: flex;
  text-decoration: none;
  color: #333;
}

.social-list a:hover {
  color: #2c4bfa;
}

.map-block {
  display: flex;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 30px;
  align-items: center;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}

.map-block .text {
  flex: 1 1 50%;
  padding: 1rem;
  color: #333;
}

.map-block .text h2 {
  margin-bottom: 1rem;
}

.map-block .text p {
  line-height: 1.5;
}

.map-block .map-embed {
  flex: 1 1 50%;
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 ratio */
  height: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.map-block .map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .map-block {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .map-block .text,
  .map-block .map-embed {
    flex: none;
    width: 95vw;
    max-width: 100%;
    margin: 0 auto;
  }

  .map-block .map-embed {
    margin-top: 1rem;
    padding-bottom: 56.25%;
  }

  .map-block {
    flex-direction: column;
    text-align: center;
  }

  .map-block .text {
    order: 1;
    width: 95vw;
    max-width: 100%;
    margin: 0 auto;
  }

  .map-block .map-embed {
    order: 2;
    width: 95vw;
    max-width: 100%;
    margin: 1rem auto 0;
    padding-bottom: 56.25%;
  }
}

/* ========== Contact Us Map End ========== */

/* ========== Footer Start ========== */

footer {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 40px 20px 20px 20px;
  margin-top: 40px;
}

footer h2 {
  color: #2c4bfa;
  margin-bottom: 20px;
  font-size: 45px;
  font-family: 'Oswald', arial, Sans-Serif;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: capitalize;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 75px;
  margin-bottom: 20px;
}

.social-icons a {
  font-size: 45px;
  color: inherit;
  transition: transform 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

@media only screen and (max-width: 600px) {
  footer h2 {
    font-size: 28px;
  }

  footer p {
    font-size: 12px;
  }

  .social-icons {
    gap: 13vw;
  }

  .social-icons a {
    font-size: 32px;
  }
}

/* ========== Footer End ========== */