@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color: #3498db;
  --primary-color-dark: #2980b9;
  --text-dark: #2e2e2e;
  --text-light: #595959;
  --extra-light: #f3f4f6;
  --white: #ffffff;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--extra-light);
  padding-top: 70px;
}

.garis {
  text-align: center;
}

.section__container {
  max-width: var(--max-width);
  margin: auto;
  padding: 5rem 1rem;
}

.section__header {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 2rem;
}

.section__header1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000000;
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .section__header1 {
    font-size: 3.5rem;
  }
}

@media (max-width: 768px) {
  .section__header1 {
    font-size: 3rem;
  }
}

@media (max-width: 480px) {
  .section__header1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

.section__subheader {
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary-color);
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section__description {
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--text-light);
  text-align: justify;
  padding: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .section__description {
    font-size: 0.975rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section__description {
    font-size: 0.85rem;
    line-height: 1.5rem;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section__description {
    font-size: 0.8rem;
    line-height: 1.4rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
  }
}

.section__description2 {
  font-size: 1rem;
  line-height: 1.75rem;
  color: var(--text-light);
  text-align: left;
}

@media (max-width: 1024px) {
  .section__description2 {
    font-size: 0.875rem;
    line-height: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section__description2 {
    font-size: 0.75rem;
    line-height: 1.5rem;
    padding: 0.75rem;
  }
}

@media (max-width: 480px) {
  .section__description2 {
    font-size: 0.7rem;
    line-height: 1.4rem;
    padding: 0.5rem;
    margin-bottom: 1.5rem;
  }
}

.btn {
  padding: 1rem 2rem;
  outline: none;
  border: none;
  font-size: 1rem;
  color: var(--white);
  background-color: var(--primary-color);
  white-space: nowrap;
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--primary-color-dark);
}

.btn3 {
  outline: none;
  border: none;
  color: var(--primary-color);
  background-color: var(--white);
  white-space: nowrap;
  border-radius: 5rem;
  transition: 0.3s;
  cursor: pointer;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: bold;
}

.btn3:hover {
  background-color: var(#eaf3fa);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

img {
  display: flex;
  width: 100%;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

ul {
  list-style: none;
}

html,
body {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
}

header {
  background: linear-gradient(
    to bottom,
    rgba(52, 152, 219, 0.1),
    rgba(52, 152, 219, 0)
  );
}

@media (max-width: 1024px) {
  .section__subheader {
    display: none;
  }

  .section__header {
    display: none;
  }
}

@media (max-width: 768px) {
  .section__subheader {
    display: none;
  }

  .section__header {
    display: none;
  }
}

@media (max-width: 480px) {
  .section__subheader {
    display: none;
  }

  .section__header {
    display: none;
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

#button {
  display: inline-block;
  width: 50px;
  height: 50px;
  line-height: 60px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color 0.3s, opacity 0.5s, visibility 0.5s;
  opacity: 0;
  z-index: 1000;
}

#button i {
  font-size: 32px;
  color: #3498db;
}

#button.show {
  opacity: 1;
}

.news-wrap {
  width: 100%;
  padding: 30px 0;

  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.news-grid {
  position: relative;
  background: #fff;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 10px 30px rgba(50, 50, 50, 0.16);
  width: 100%;
  margin-bottom: -30px;
}

.news-grid-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.news-grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.news-grid-box {
  display: block;
  position: absolute;
  text-align: center;
  background: #3498db;
  left: -80px;
  top: 15px;
  padding: 10px;
  transition: left 0.5s ease;
  border-radius: 4px;
}

.news-grid-box h1 {
  color: #fff;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 2px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 5px;
}

.news-grid-box p {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

.news-grid-txt {
  padding: 25px;
}

.news-grid-txt span {
  color: #3498db;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.news-grid-txt h2 {
  color: #111;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 10px 0 5px;
}

.news-grid-txt ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.news-grid-txt ul li {
  display: inline-block;
  color: #999;
  font-size: 14px;
  font-weight: 300;
  margin: 8px 10px 8px 0;
  letter-spacing: 1px;
}

.news-grid-txt ul li i {
  color: #3498db;
  font-size: 14px;
  font-weight: 500;
  margin-right: 5px;
}

.news-grid-txt p {
  color: #222;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 1.5px;
  border-bottom: 1px solid #ececec;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.news-grid-txt a {
  color: #fff;
  background: #3498db;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 300;
  text-decoration: none;
  transition: background-color 0.5s ease, letter-spacing 0.5s ease;
}

.news-grid:hover .news-grid-box {
  left: 15px;
}

.news-grid:hover .news-grid-image img {
  filter: grayscale(1);
  transform: scale(1.1);
}

.news-grid:hover .news-grid-txt a {
  letter-spacing: 2px;
  background: #2980b9;
}

@media (max-width: 768px) {
  .news-grid {
    width: calc(100% / 2 - 20px);
    margin-bottom: -300px;
  }

  .news-wrap {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .news-grid {
    width: 100%;
    margin: 10px 0;
    margin-bottom: -30px;
  }
}

.slider {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.slider .list {
  position: absolute;
  width: max-content;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s ease-in-out;
}

.slider .list img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

.slider .buttons {
  position: absolute;
  top: 50%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.slider .buttons button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  border: none;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.slider .buttons button:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.slider .dots {
  position: absolute;
  bottom: 10px;
  left: 0;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}

.slider .dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #fff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}

.slider .dots li.active {
  width: 30px;
}

@media (max-width: 768px) {
  .slider {
    margin-top: -191px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
  }

  .slider .buttons button {
    width: 35px;
    height: 35px;
  }

  .slider .dots li {
    width: 8px;
    height: 8px;
  }

  .slider .dots li.active {
    width: 25px;
  }
}

@media (max-width: 480px) {
  .slider {
    aspect-ratio: 16 / 9;
  }

  .slider .buttons button {
    width: 30px;
    height: 30px;
  }

  .slider .dots li {
    width: 6px;
    height: 6px;
  }

  .slider .dots li.active {
    width: 25px;
  }
}

.hidden-content {
  display: none;
  transition: all 0.3s ease-in-out;
}

#toggle-button {
  padding: 10px 20px;
  font-size: 14px;
  margin-top: 100px;
  cursor: pointer;
}

@media (max-width: 768px) {
  #toggle-button {
    font-size: 14px;
    padding: 8px 16px;
    margin-top: 100px;
  }
}

@media (max-width: 576px) {
  #toggle-button {
    font-size: 14px;
    margin-top: 100px;
    padding: 8px 16px;
  }
}
