@import url("responsive-large.css");
/* =================================
              KEGIATAN
================================= */
.kepegawaian {
  text-align: center;
}

.carousel {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  scrollbar-color: transparent transparent;
  scrollbar-width: 0px;
  -ms-overflow-style: none;
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  height: 400px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
  background: transparent;
  border-radius: 20px;
}
.carousel::-webkit-scrollbar {
  width: 0;
  background: transparent;
}
.carousel::-webkit-scrollbar-track {
  background: transparent;
}
.carousel::-webkit-scrollbar-thumb {
  background: transparent;
  border: none;
}
.carousel__viewport {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.carousel__slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.carousel__slide:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.carousel__slide:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.carousel__slide:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.carousel__slide:nth-child(4) {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.carousel__slide:nth-child(5) {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.carousel__slide:nth-child(6) {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}
.carousel .col {
  text-align: center;
  animation: fadeIn 0.8s ease-out;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}
.carousel .col img {
  width: 80px !important;
  height: 80px !important;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}
.carousel .col img:hover {
  transform: scale(1.1);
}

/* Tengahkan paragraf di dalam carousel */
.carousel .col .p-Kepegawaian {
  text-align: center;
}
.carousel__snapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  scroll-snap-align: center;
}

/* Auto-play animations */
@media (hover: hover) {
  .carousel__snapper {
    animation-name: tonext, snap;
    animation-timing-function: ease;
    animation-duration: 5s;
    animation-iteration-count: infinite;
  }

  .carousel__slide:last-child .carousel__snapper {
    animation-name: tostart, snap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__snapper {
    animation-name: none;
  }
}

.carousel:hover .carousel__snapper,
.carousel:focus-within .carousel__snapper {
  animation-name: none;
}

/* Navigation Dots */
.carousel__navigation {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  text-align: center;
  z-index: 10;
}

.carousel__navigation-list {
  display: inline-flex;
  gap: 12px;
  background: rgba(102, 51, 153, 0.8);
  backdrop-filter: blur(10px);
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel__navigation-item {
  display: inline-block;
}

.carousel__navigation-button {
  display: block;
  width: 10px;
  height: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel__navigation-button:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.3);
}

.carousel__navigation-button.active {
  background-color: rgba(255, 255, 255, 1);
  transform: scale(1.2);
}

/* Carousel Navigation Buttons */
.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.carousel__btn svg {
  width: 20px;
  height: 20px;
}

.carousel__btn--prev {
  left: 20px;
}

.carousel__btn--next {
  right: 20px;
}

.carousel__btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel__btn:active {
  transform: translateY(-50%) scale(0.95);
}

/* end Carousel */

/* Carousel Animations*/
@keyframes tonext {
  75% {
    left: 0;
  }
  95% {
    left: 100%;
  }
  98% {
    left: 100%;
  }
  99% {
    left: 0;
  }
}

@keyframes tostart {
  75% {
    left: 0;
  }
  95% {
    left: -300%;
  }
  98% {
    left: -300%;
  }
  99% {
    left: 0;
  }
}

@keyframes snap {
  96% {
    scroll-snap-align: center;
  }
  97% {
    scroll-snap-align: none;
  }
  99% {
    scroll-snap-align: none;
  }
  100% {
    scroll-snap-align: center;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =================================
          MANAJEMEN SUBBAG
================================= */

.cards {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc(100% / 3 - 20px); /* default: 3 card */
  grid-column-gap: 20px;
  padding: 25px 0px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 15%);
  scroll-snap-align: start;
  transition: all 0.2s;
  align-items: center;
  text-align: center;
}

.card:hover {
  color: var(--white);
  background: var(--orange);
}

.card .card-title {
  font-size: 1rem;
  padding: 5px;
}

.card .card-content {
  margin: 20px 0;
  max-width: 100%;
}

.card .card-content p {
  font-size: 0.8rem;
  margin: 10px 0;
}

.card .card-content img {
  width: 100px; /* default ukuran gambar */
  height: auto; /* biar proporsional */
  max-width: 100%; /* biar tidak lebih besar dari card */
  transition: transform 0.2s ease;
}

.card:hover .card-content img {
  transform: scale(1.1); /* efek zoom saat hover */
}

.card .card-link-wrapper {
  margin-top: auto;
}

.card .card-link {
  display: inline-block;
  text-decoration: none;
  color: white;
  background: var(--orange);
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s;
}

.card:hover .card-link {
  background: var(--darkorange);
}

.cards::-webkit-scrollbar {
  height: 12px;
}

.cards::-webkit-scrollbar-thumb,
.cards::-webkit-scrollbar-track {
  border-radius: 92px;
}

.cards::-webkit-scrollbar-thumb {
  background: var(--darkorange);
}

.cards::-webkit-scrollbar-track {
  background: var(--thumb);
}

/* Responsif */
@media (max-width: 699px) {
  .cards {
    grid-auto-columns: calc(100% / 2 - 15px); /* tablet: 2 card */
  }

  .card .card-content img {
    width: 80px; /* lebih kecil di tablet */
  }
}

@media (max-width: 499px) {
  .cards {
    grid-auto-columns: 100%; /* HP kecil: 1 card */
  }

  .card .card-content img {
    width: 70px; /* lebih kecil di HP */
  }
}

/* =================================== */
/*            SYSTEM CARD               */
/* =================================== */
.lainnya {
  padding: 50px 0;
  background-color: #f8f9fa;
}
.lainnya .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 8% 20px 8%;
}
.lainnya h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #343a40;
  font-size: 2.5rem;
}
.lainnya .main-grid {
  display: grid;
  /* KUNCI: Menetapkan 2 kolom dengan lebar yang sama (2x2) */
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  overflow: visible;
}

.lainnya .system-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 102, 0, 0.1);
  position: relative;
  overflow: visible;
}
.lainnya .system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #003366);
  transition: all 0.3s ease;
}

.lainnya .system-card:hover::before {
  background: linear-gradient(90deg, #ff6600);
}

.lainnya .card-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f3f4;
  overflow: visible;
}
.lainnya .card-header img {
  width: 60px !important;
  height: 60px !important;
  border-radius: 15px;
  padding: 10px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}
.lainnya .card-title h3 {
  font-size: 1.4rem;
  color: #003366;
  font-weight: 600;
  margin-bottom: 5px;
}
.lainnya .card-title .p-Kepegawaian {
  margin: 2px 0 0 0;
  font-size: 0.85rem;
  color: #6c757d;
}

/* ==================================== */
/* CSS DROPDOWN (Area Perbaikan Z-Index) */
/* ==================================== */
.lainnya .dropdown {
  position: relative;
  margin-left: auto;
  /* JANGAN gunakan overflow di sini */
}

.lainnya .dropdown-toggle {
  background: rgba(0, 102, 255, 0.1);
  border: 2px solid rgba(0, 102, 255, 0.2);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lainnya .dropdown-toggle:hover {
  border: 2px solid rgba(255, 102, 0, 0.2);
  background: rgba(255, 102, 0, 0.2);
}

.lainnya .dropdown-toggle i {
  transition: transform 0.3s ease;
}

/* Ikon panah ke bawah (standar saat terbuka) */
.lainnya .dropdown-toggle.active i {
  transform: rotate(180deg);
}

.lainnya .dropdown-content {
  position: absolute;
  top: 55px;
  right: 0;
  background: white;
  min-width: 220px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);

  /* PERBAIKAN: Nilai Z-INDEX yang lebih agresif */
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.lainnya .dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mengubah tampilan link saat di-hover (Ini sudah ada di kode lengkap sebelumnya) */
.lainnya .dropdown-content a:hover {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 133, 51, 0.1));
  color: #ff6600;
  padding-left: 25px;
}

.lainnya .dropdown-content a {
  display: block;
  padding: 15px 20px;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.lainnya .dropdown-content a:last-child {
  border-bottom: none;
}

.lainnya .dropdown-content a:hover {
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.1), rgba(255, 133, 51, 0.1));
  color: #ff6600;
  padding-left: 25px;
}
.dropdown-toggle::after {
  content: none !important;
  border: none !important;
}

/* =================================== */
/* 3. MEDIA QUERY (Mobile)             */
/* =================================== */
/* =================================== */
/*          MEDIA QUERY (MOBILE)       */
/* =================================== */

@media (max-width: 768px) {
  /* 1. Penyesuaian Spasi Utama */
  .lainnya {
    /* Padding atas/bawah lebih ringkas di mobile */
    padding: 30px 0;
  }

  .lainnya .container {
    /* KEY: Mengurangi padding horizontal agar konten lebih 'penuh' */
    padding: 20px 5% 10px 5%;
  }

  .lainnya h1 {
    font-size: 1.8rem; /* Ukuran h1 lebih kecil di HP */
    margin-bottom: 30px;
  }

  /* 2. Tata Letak Grid */
  .lainnya .main-grid {
    grid-template-columns: 1fr; /* KUNCI: Ubah ke 1 kolom penuh */
    gap: 20px;
    margin-bottom: 30px;
  }

  /* 3. Penyesuaian Kartu (System Card) */
  .lainnya .system-card {
    padding: 20px; /* Padding card yang pas */
  }

  .lainnya .card-header {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .lainnya .card-header img {
    /* Ikon lebih kecil dan padding/box-shadow disesuaikan */
    width: 48px !important;
    height: 48px !important;
    padding: 8px;
    border-radius: 12px;
  }

  .lainnya .card-title {
    /* Memastikan Judul dan deskripsi tidak terpotong */
    flex-grow: 1;
    min-width: 0;
  }

  .lainnya .card-title h3 {
    font-size: 1.1rem; /* Ukuran font lebih kecil */
    font-weight: 600;
    line-height: 1.4; /* Meningkatkan keterbacaan */
  }

  .lainnya .card-title .p-Kepegawaian {
    font-size: 0.8rem; /* Font deskripsi lebih kecil */
  }

  /* 4. Dropdown */
  .lainnya .dropdown-toggle {
    width: 38px;
    height: 38px;
    border-width: 1px; /* Border lebih tipis di mobile */
  }

  /* Pastikan tidak ada pseudo-element yang menambahkan ikon */
  .dropdown-toggle::after {
    content: none !important;
    display: none !important;
    overflow: hidden !important;
  }
  .lainnya .dropdown-content {
    /* Posisi: Pastikan menempel ke kanan dan tetap responsif */
    top: 45px;
    right: 0;
    left: unset;
    min-width: 180px;
    max-width: 80vw; /* Lebih aman untuk layar sangat kecil */
    border-radius: 10px;
  }

  .lainnya .dropdown-content a {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .lainnya .dropdown-content a:hover {
    padding-left: 20px; /* Hover effect disesuaikan */
  }
}
/* calender */
.event-color-c {
  display: flex;
  margin: 16px;
  align-items: center;
  cursor: pointer;
}

.event-color-label {
  flex: 1 0 auto;
}

.event-color {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  margin-right: 10px;
  margin-left: 240px;
  background: #5ac8fa;
}

.crud-color-row {
  display: flex;
  justify-content: center;
  margin: 5px;
}

.crud-color-c {
  padding: 3px;
  margin: 2px;
}

.crud-color {
  position: relative;
  min-width: 46px;
  min-height: 46px;
  margin: 2px;
  cursor: pointer;
  border-radius: 23px;
  background: #5ac8fa;
}

.crud-color-c.selected,
.crud-color-c:hover {
  box-shadow: inset 0 0 0 3px #007bff;
  border-radius: 48px;
}

.crud-color:before {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -10px;
  margin-left: -10px;
  color: #f7f7f7;
  font-size: 20px;
  text-shadow: 0 0 3px #000;
  display: none;
}

.crud-color-c.selected .crud-color:before {
  display: block;
}

/* News */
.news h1 {
  text-align: center;
  font-size: 2.5rem;
  color: #003366;
  margin: 40px 0 20px 0;
}

/* Button */
button {
  margin: 20px;
}
.custom-btn {
  width: 130px;
  height: 40px;
  color: #fff;
  border-radius: 5px;
  padding: 10px 25px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

.custom-btn-section {
  width: 260px;
  height: 80px;
  color: #fff;
  border-radius: 5px;
  padding: 20px 55px;
  font-family: "Lato", sans-serif;
  font-weight: 1000;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, 0.5), 7px 7px 20px 0px rgba(0, 0, 0, 0.1), 4px 4px 5px 0px rgba(0, 0, 0, 0.1);
  outline: none;
}

/* 6 */
.btn-6 {
  background: rgb(0, 51, 102, 1);
  line-height: 42px;
  padding: 0;
  border: none;
}
.custom-btn-section.btn-6 {
  padding-top: 14px;
  font-size: 1.5rem;
  letter-spacing: 1px;
}
.btn-6 span {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}
.btn-6:before,
.btn-6:after {
  position: absolute;
  content: "";
  height: 0%;
  width: 1px;
  box-shadow: -1px -1px 20px 0px rgba(0, 51, 102, 1), -4px -4px 5px 0px rgba(0, 51, 102, 1), 7px 7px 20px 0px rgba(0, 51, 102, 0.4), 4px 4px 5px 0px rgba(0, 51, 102, 0.3);
}
.btn-6:before {
  right: 0;
  top: 0;
  transition: all 500ms ease;
}
.btn-6:after {
  left: 0;
  bottom: 0;
  transition: all 500ms ease;
}
.btn-6:hover {
  background: transparent;
  color: rgba(218, 106, 7, 1);
  box-shadow: none;
}
.btn-6:hover:before {
  transition: all 500ms ease;
  height: 100%;
}
.btn-6:hover:after {
  transition: all 500ms ease;
  height: 100%;
}

.btn-6 span:before,
.btn-6 span:after {
  position: absolute;
  content: "";
  box-shadow: -1px -1px 20px 0px rgba(255, 255, 255, 1), -4px -4px 5px 0px rgba(255, 255, 255, 1), 7px 7px 20px 0px rgba(0, 0, 0, 0.4), 4px 4px 5px 0px rgba(0, 0, 0, 0.3);
}
.btn-6 span:before {
  left: 0;
  top: 0;
  width: 0%;
  height: 0.5px;
  transition: all 500ms ease;
}
.btn-6 span:after {
  right: 0;
  bottom: 0;
  width: 0%;
  height: 0.5px;
  transition: all 500ms ease;
}
.btn-6 span:hover:before {
  width: 100%;
}
.btn-6 span:hover:after {
  width: 100%;
}

/* =================================
   Banner
================================= */
/* Banner Animated Eyes */
.kegiatanSosial {
  margin-top: 120px;
}
.kegiatanSosial h1 {
  align-items: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
  font-weight: 700;
}
.banner {
  animation: fadeInUp 1s ease forwards 0.5s;
  margin-top: 200px;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  display: block;
  overflow-x: hidden;
  padding-right: -500px;
}
/* Animated Banners */

.interior-header {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/319606/city-banner-bg.jpg");
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  overflow-x: hidden;
}
.banner-wrap {
  width: 100vw;
  max-width: 100vw;
  min-width: 100vw;
  height: 330px;
  position: relative;
  margin: 0;
  box-sizing: border-box;
  overflow-x: hidden;
}
.bobble-header {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/319606/office-banner-bg.jpg");
  background: linear-gradient(135deg, rgba(255, 102, 0, 0.6), rgba(0, 255, 217, 0.6)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23003366" width="1200" height="600"/><g fill="%23ffffff" opacity="0.1"><circle cx="200" cy="150" r="80"/><circle cx="800" cy="200" r="120"/><circle cx="1000" cy="400" r="100"/><rect x="100" y="350" width="200" height="150" rx="20"/><rect x="600" y="100" width="150" height="200" rx="15"/></g></svg>');
  background-size: cover;
  background-position: center;
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  position: relative;
  overflow-x: hidden;
}
.banner-wrap .bobble-wrap {
  width: 250px;
  margin: 0;
  height: 250px;
  position: absolute;
  left: 30%;
  bottom: 0;
}
@media (max-width: 768px) {
  .banner,
  .interior-header,
  .bobble-header,
  .banner-wrap {
    width: 100vw !important;
    min-width: 100vw !important;
    max-width: 100vw !important;
    margin-left: -50vw !important;
    left: 50% !important;
    right: 50% !important;
    box-sizing: border-box !important;
  }
}
.yeosh-eyes {
  -webkit-animation-name: yeosh-blink;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;

  -moz-animation-name: yeosh-blink;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration: 10s;

  -o-animation-name: yeosh-blink;
  -o-animation-timing-function: linear;
  -o-animation-iteration-count: infinite;
  -o-animation-duration: 10s;
}
@-webkit-keyframes yeosh-blink {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 1;
  }
  25.5% {
    opacity: 0;
  }
  26.5% {
    opacity: 0;
  }
  27% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  50.5% {
    opacity: 0;
  }
  51.5% {
    opacity: 0;
  }
  52% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  55.5% {
    opacity: 0;
  }
  56.5% {
    opacity: 0;
  }
  57% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  80.5% {
    opacity: 0;
  }
  81.5% {
    opacity: 0;
  }
  82% {
    opacity: 1;
  }
  98% {
    opacity: 1;
  }
  98.5% {
    opacity: 0;
  }
  99.5% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.jon-eyes {
  -webkit-animation-name: jon-blink;
  -webkit-animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-duration: 10s;

  -moz-animation-name: jon-blink;
  -moz-animation-timing-function: linear;
  -moz-animation-iteration-count: infinite;
  -moz-animation-duration: 10s;

  -o-animation-name: jon-blink;
  -o-animation-timing-function: linear;
  -o-animation-iteration-count: infinite;
  -o-animation-duration: 10s;
}
@-webkit-keyframes jon-blink {
  0% {
    opacity: 1;
  }
  15% {
    opacity: 1;
  }
  15.5% {
    opacity: 0;
  }
  16.5% {
    opacity: 0;
  }
  17% {
    opacity: 1;
  }
  19% {
    opacity: 1;
  }
  19.5% {
    opacity: 0;
  }
  20.5% {
    opacity: 0;
  }
  21% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  35.5% {
    opacity: 0;
  }
  36.5% {
    opacity: 0;
  }
  37% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  70.5% {
    opacity: 0;
  }
  71.5% {
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}
.banner-wrap #yeosh-head:hover,
.banner-wrap #jon-head:hover {
  -webkit-animation-name: none;
  -moz-animation-name: none;
  -o-animation-name: none;
}
/* Services */
.interior-header.animated-header {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/319606/road-banner-bg.jpg");
  animation: backgroundScroll 10s linear infinite;
}
@-webkit-keyframes backgroundScroll {
  from {
    background-position: 0 bottom;
  }
  to {
    background-position: -1236px bottom;
  }
}

@keyframes backgroundScroll {
  from {
    background-position: 0 bottom;
  }
  to {
    background-position: -1236px bottom;
  }
}
.music-wrap {
  right: 55%;
  position: absolute;
  bottom: 60px;
}
.note-position-1 {
  bottom: 0;
}
.note-position-2 {
  bottom: 0;
  left: 20px;
}
.note-position-3 {
  bottom: 0;
  left: 25px;
}
.note-position-4 {
  bottom: 0;
  left: 35px;
}
.animation-delay-1 {
  animation-delay: 0.75s;
}
.animation-delay-2 {
  animation-delay: 1.75s;
}
.animation-delay-3 {
  animation-delay: 2.5s;
}
.note-amination {
  position: absolute;
  font-size: 12px;
  animation-name: notes;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  opacity: 0;
  color: #000;
}
@keyframes notes {
  0% {
    font-size: 12px;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    font-size: 24px;
    bottom: 60px;
    opacity: 0;
  }
}
/* Jingles */
.jingles-pattern {
  background: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/319606/pattern-bg.jpg");
}
.studio-header {
  background-image: url("https://s3-us-west-2.amazonaws.com/s.cdpn.io/319606/studio-bg.png");
  background-position: center;
  background-repeat: no-repeat;
}
.banner-wrap .tape-recorder {
  width: 250px;
  margin: 0;
  position: absolute;
  left: 32%;
  bottom: 10px;
}
.tape-recorder svg {
  overflow: visible;
}
svg .m {
  mix-blend-mode: unset;
}
.tape-spin {
  animation: wheels 1.8s infinite linear;
  -moz-transform-origin: 47px 47px;
  -ms-transform-origin: 47px 47px;
  -o-transform-origin: 47px 47px;
  -webkit-transform-origin: 47px 47px;
  transform-origin: 47px 47px;
}
@keyframes wheels {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-360deg);
  }
}
.tape-spin2 {
  animation: wheels 1.25s infinite linear;
  -moz-transform-origin: 145px 47px;
  -ms-transform-origin: 145px 47px;
  -o-transform-origin: 145px 47px;
  -webkit-transform-origin: 145px 47px;
  transform-origin: 145px 47px;
}
.bn,
.bt,
.bv,
.cx,
.di,
.dp,
.et,
.m,
.t {
  mix-blend-mode: unset !important;
}
.newtonsCradle {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  transform: scale(1.4);
}

.frameCover {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  z-index: 11;
  height: 1px;
  width: 150px;
  background-color: #d4e4ff;
  border-top: 3px solid #d4e4ff;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 2px #7ab1fd, 0 0 0 8px #d9fff5, 0 0 0 10.5px #7ab1fd;
}

.frame {
  z-index: 10;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: flex-start;
  height: 100px;
  width: 150px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 0 0 2.5px #7ab1fd, 0 0 0 8px #d9fff5, 0 0 0 10.5px #7ab1fd;
}

.frame::before,
.frame::after {
  z-index: 10;
  content: "";
  position: absolute;
  bottom: -10px;
  height: 10px;
  width: 22.5px;
  border: 2.5px solid #7ab1fd;
  border-radius: 2px;
  background-color: #d9fff5;
}

.frame::before {
  left: -18px;
}

.frame::after {
  right: -18px;
}

.base {
  z-index: 11;
  margin-top: 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 202.5px;
  border-radius: 4px 4px 0 0;
  background-image: linear-gradient(#a3aeff 0 70%, #11426a 70%);
}

.sphere-wrap {
  position: relative;
  display: flex;
  z-index: 9;
  flex-direction: column;
  align-items: center;
}

.sphere-wrap.left {
  animation: swing-left 2s ease-in-out infinite;
  transform-origin: top right;
}

.sphere-wrap.right {
  animation: swing-right 2s ease-in-out infinite;
  transform-origin: top left;
}

.string {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  height: 50px;
  width: 2px;
  background-color: #11426a;
  z-index: 0;
}

.sphere {
  z-index: 9;
  position: relative;
  height: 19.5px;
  width: 19.5px;
  margin-top: 58px;
  border-radius: 50%;
  border: 1.75px solid #11426a;
  background: radial-gradient(circle at 28% 28%, white 0% 20%, #ffe791 20% 60%, #eec223 60% 100%);
}

.sphere.center::before {
  content: "";
  display: block;
  height: 60px;
  width: 2px;
  background-color: #11426a;
  transform: translateX(7.5px) translateY(-61px);
}

/* Animations */
@keyframes swing-left {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(25deg);
  }
  50% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

@keyframes swing-right {
  0%,
  50% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-25deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
/* Section tersembunyi secara default */
.section {
  display: none;
}
/* Section aktif */
.active {
  display: block;
}

/* =================================
  RESPONSIVE DESIGN UNTUK LAYAR BESAR
================================= */

/* Layar Desktop Besar (1400px - 1599px) */
@media (min-width: 1400px) {
  .carousel {
    max-width: 1400px;
    height: clamp(400px, 30vw, 500px);
  }

  .lainnya h2 {
    font-size: clamp(3rem, 3.5vw, 3.5rem);
  }

  .lainnya .welcome-content {
    max-width: 1400px;
  }

  .main-grid {
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 50px;
  }

  .system-card {
    padding: clamp(30px, 2.5vw, 40px);
  }

  .card-title h3 {
    font-size: clamp(1.4rem, 1.8vw, 1.7rem);
  }

  .card-header img {
    width: clamp(60px, 4vw, 70px) !important;
    height: clamp(60px, 4vw, 70px) !important;
  }
}

/* Layar Desktop Sangat Besar (1600px - 1919px) */
@media (min-width: 1600px) {
  .carousel {
    max-width: 1600px;
    height: clamp(500px, 35vw, 600px);
  }

  .lainnya h2 {
    font-size: clamp(3.5rem, 4vw, 4rem);
  }

  .lainnya .welcome-content {
    max-width: 1600px;
  }

  .main-grid {
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 60px;
  }

  .system-card {
    padding: clamp(40px, 3vw, 50px);
  }

  .card-title h3 {
    font-size: clamp(1.7rem, 2vw, 2rem);
  }

  .card-header img {
    width: clamp(70px, 4.5vw, 80px) !important;
    height: clamp(70px, 4.5vw, 80px) !important;
  }
}

/* Layar Ultra Wide (1920px+) */
@media (min-width: 1920px) {
  .carousel {
    max-width: 1800px;
    height: clamp(600px, 40vw, 700px);
  }

  .lainnya h2 {
    font-size: clamp(4rem, 4.5vw, 4.5rem);
  }

  .lainnya .welcome-content {
    max-width: 1800px;
  }

  .main-grid {
    grid-template-columns: repeat(auto-fit, minmax(650px, 1fr));
    gap: 70px;
  }

  .system-card {
    padding: clamp(50px, 3.5vw, 60px);
  }

  .card-title h3 {
    font-size: clamp(2rem, 2.3vw, 2.3rem);
  }

  .card-header img {
    width: clamp(80px, 5vw, 90px) !important;
    height: clamp(80px, 5vw, 90px) !important;
  }
}