/* CSS */
* {
  font-family: "Outfit", sans-serif;
  font-weight: 400; /* atau 500, 600 tergantung kebutuhan */
  box-sizing: border-box;
}

/* Font */

/* Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.5);
  /* Warna utama untuk navbar dengan opacity 50% */
}

.navbar-brand {
  color: black;
  /* Warna teks putih untuk navbar brand */
  font-weight: bold;
}

.navbar-nav .nav-link {
  color: black;
  /* Warna teks hitam untuk link di navbar */
}

.navbar-nav .nav-link:hover {
  color: blue;
  /* Warna teks saat link dihover */
}

/* Home Section */
#home {
  color: #fff;
  padding: 100px 0;
}

/*Ukuran gambar logo*/
.gbr {
  width: 350px;
  height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5); /* latar belakang agar terlihat */
  background-size: 50%, 50%; /* ukuran panah */
  width: 60px;
  height: 60px;
  border-radius: 50%; /* agar jadi lingkaran */
  filter: invert(1); /* ubah warna ikon jadi putih kalau gelap */
}

.carousel-control-prev,
.carousel-control-next {
  opacity: 1; /* supaya tidak terlalu transparan */
}

.prestasi {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-size: 2rem;
  font-weight: bold;
  color: #000;
}

.social-sidebar {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  background: rgba(0, 123, 255, 0.3); /* Warna biru transparan */
  padding: 10px 5px;
  border-radius: 8px 0 0 8px;
  z-index: 1000;
}

.social-sidebar a {
  color: white;
  text-align: center;
  padding: 10px 5px;
  font-size: 20px;
  transition: background 0.3s ease;
}

.social-sidebar a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pengurus {
  font-family: "Libre Baskerville", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
/* Visi Misi Section */
#vision-mission {
  color: #fff;
  padding: 100px 0;
}

.container-visi-misi {
  background-color: darkblue;
  margin-left: 100px;
  margin-right: 100px;
  border: transparent;
  border-radius: 50px;
}

.text-format {
  text-align: justify;
  margin: 0 50px 50px 50px;
}

/* Leadership Section */
#leadership {
  color: #fff;
  /* Warna teks hitam untuk kontras */
  padding: 100px 0;
}

@media (max-width: 768px) {
  .container-pengurus {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.pengurus-ukmr img {
  border: transparent;
  border-radius: 50px;
  max-height: 500px;
  object-fit: contain;}

  .pengurus-ukmr h3 {
    text-align: center;
    margin-top: 20px;
    color: #fff; /* Warna teks putih untuk kontras */
  }

  display: block;
  margin: 0 auto; /* gambar di tengah horizontal */
  width: auto; /* agar gambar tidak paksa full width */
  max-width: 80%; /* batasi ukuran agar tidak terlalu besar */
}

.container-latihan {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap; /* Supaya responsive di layar kecil */
}

.text-latihan {
  flex: 1;
  min-width: 250px;
}

.lokasi {
  flex: 1;
  min-width: 250px;
}

.carousel-caption-p {
  text-align: center;
}

/* Achievements Section */
#achievements {
  color: #fff;
  /* Warna teks hitam untuk kontras */
  padding: 100px 0;
}

.gbr-kiri {
  width: 100%;
}

.gbr-kanan {
  width: 100%;
}

/* Activities Section */
#activities {
  color: #fff;
  /* Warna teks hitam untuk kontras */
  padding: 100px 0;
}

.carousel-caption {
  border: 0.5px solid #ccc;
  /* Warna dan ketebalan border */
  padding: 10px;
  /* Padding untuk ruang di sekitar teks */
  background-color: #3e6891;
  /* Warna isi (fill color) border */
  width: 50%;
}

section div div a span {
  padding: 15%;
  /* Ukuran button next/previous */
}

/* Contact Section */
#contact {
  color: #fff;
  /* Warna teks hitam untuk kontras */
  padding: 100px 0;
}

.contact-icons {
  display: flex;
  justify-content: center; /* Posisikan ikon di tengah */
  gap: 100px; /* Jarak antara ikon */
  margin-top: 40px;
}

.contact img {
  width: 80px; /* Ukuran ikon */
  height: auto;
}

.header {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.welcome {
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

section div div a img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  /* Ukuran gambar */
}

/* Interactive logo */
section div div a img:hover {
  border-radius: 40%;
  /* Tingkat dullness gambar pre-click */
  padding: 10px;
  /* Border invisible memberikan efek pre-click */
}

/* Background Image */
body {
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.bghome {
  background-image: url("blue-gold.jpg");
  /* Ganti dengan path gambar background yang sesuai */
  background-position: center;
  background-size: cover;
}

.bgpengurus {
  background-image: url("blue-gold.jpg");
  /* Ganti dengan path gambar background yang sesuai */
  background-position: center;
  background-size: cover;
}

.bglatihan {
  background-image: url("blue-gold.jpg");
  /* Ganti dengan path gambar background yang sesuai */
  background-position: center;
  background-size: cover;
}

.bgprestasi {
  background-image: url("blue-gold.jpg");
  /* Ganti dengan path gambar background yang sesuai */
  background-position: center;
  background-size: cover;
}

.bgcontact {
  background-color: dimgrey;
  /* Ganti dengan path gambar background yang sesuai */
  background-position: center;
  background-size: cover;
}

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .gbr {
    margin: 0 auto;
  }
}
.carousel-caption-prestasi {
  position: absolute;
  padding: 1rem;
  color: #fff;
  text-align: center;
  
  background-color:#3e6891;
   border: 0.5px solid #ccc;
  border-radius: 8px;
  bottom: 4rem;

  width: 45%; 
  left: 50%;
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  #activities .carousel-caption {
    width: 80%;
    padding: 10px;
    bottom: 10px; 
  }

  #activities .carousel-caption h3 {
    font-size: 1rem; ecil */
  }

  #activities .carousel-caption p {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  #achievements .carousel-caption,
  #achievements .carousel-caption-prestasi {
    width: 80%;
    padding: 10px;
  }

  #achievements .carousel-caption h3,
  #achievements .carousel-caption-prestasi h3 {
    font-size: 1rem;
  }

  #achievements .carousel-caption p,
  #achievements .carousel-caption-prestasi p {
    font-size: 0.8rem;
    margin-bottom: 0;
  }
}