@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

@import url('https://fonts.googleapis.com/css2?family=Anek+Tamil:wght@100..800&display=swap');

html {
  background-image: url(../assets/bg.jpg) !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center center !important;
  background-attachment: fixed !important;
  background-color: #000000;
}

body {
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 10px;
}

.logo {
  width: 220px;
  height: auto;
  padding-top: 15px;
  padding-bottom: 15px;
}

.container {
  background-color: #5d5d5d;
  width: 100%;
  max-width: 770px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 10px;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0px;
  position: sticky;
  top: 15px;
  border-radius: 1rem 1rem 0 0;
  background: linear-gradient(135deg, #272727 0%, #272727 100%);
  z-index: 10000;
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border: 2px solid #0138f7;
}

.button {
  margin: 0 15px;
  padding: 12px 35px;
  background: linear-gradient(135deg, #0138f7 0%, #0138f7 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: bold;
  font-family: "Anek Tamil", sans-serif;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 10px #003cff66;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(255, 0, 230, 0.4);
  background: linear-gradient(135deg, #ff0080 0%, #d7207d 100%);
}

.button:active {
  transform: translateY(1px);
}

.button i {
  font-size: 18px;
}

.sticky-container {
  position: sticky;
  top: 90px;
  background: rgba(40, 40, 40, 0.397);
  color: white;
  padding: 12px 20px;
  z-index: 10000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-radius: 0px 0px 15px 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid #0138f7;
  -webkit-border-radius: 0px 0px 15px 15px;
  -moz-border-radius: 0px 0px 15px 15px;
  -ms-border-radius: 0px 0px 15px 15px;
  -o-border-radius: 0px 0px 15px 15px;
}

.sticky-text {
  font-size: 16px;
  font-family: "Anek Tamil", sans-serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sticky-text strong {
  color: #ff00ea;
  font-weight: 700;
  background: rgb(255, 0, 247);
  padding: 4px 10px;
  border-radius: 5px;
  animation: pulse 2s infinite;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.sticky-text i {
  color: gold;
  font-size: 18px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 15px;
}

#search-input {
  width: 160px;
  height: 36px;
  padding: 8px 15px 8px 38px;
  box-sizing: border-box;
  border: 2px solid #5b5b5b;
  border-radius: 30px;
  font-size: 14px;
  background: rgba(30, 30, 30, 0.8);
  color: #fff;
  transition: all 0.3s;
}

#search-input:focus {
  width: 200px;
  border-color: #d7207d;
  background: rgba(50, 50, 50, 0.9);
  outline: none;
  box-shadow: 0 0 10px rgba(247, 0, 255, 0.4);
}

#search-input::placeholder {
  color: #aaa;
}

.search-bar::before {
  content: "\f002";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 15px;
  color: #aaa;
  z-index: 2;
}

.scroll-wrapper {
  position: relative;
  max-width: 730px;
  margin: 0 auto;
  padding: 0 35px; 
  background: rgba(67, 67, 67, 0.26);
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 35px;
  height: 35px;
  background: rgba(67, 67, 67, 0.26);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: all 0.3s;
  font-size: 18px;
}

.scroll-arrow:hover {
  background: rgba(90, 90, 90, 0.9);
  transform: translateY(-50%) scale(1.1);
}

#scroll-left {
  left: 0;
}

#scroll-right {
  right: 0;
}

/* ================= ANIMATIONS ================= */
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(247, 0, 255, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(255, 215, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  padding: 1.5px 0;
  background-color: rgba(82, 82, 82, 0.064);
  width: 100%;
  max-width: 730px;
  height: 53px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  position: relative;
}

@media (min-width: 768px) {
  .scroll-container {
    padding: 1.5px 10px; 
  }
}

.scroll-container::-webkit-scrollbar {
  display: none; 
}

.scroll-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Anek Tamil", sans-serif;
  padding: 0 5px;
  flex-shrink: 0;
}

.scroll-item img {
  height: 50px;
  width: auto;
}

.scroll-item span {
  font-size: 14px;
}

.container-text {
  text-align: center;
  font-size: 30px;
  margin-top: 0px;
  font-family: "Anek Tamil", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: bold;
  color: gold; 
  text-align: center; 
  font-family: "Anek Tamil", sans-serif;
  margin-bottom: 10px; 
}

p {
  margin: 0;
  color: #ffffff; 
  text-align: left; 
  font-family: "Anek Tamil", sans-serif;
}

a {
  color: gold;
  text-decoration: none;
}

.date-time {
  font-size: 18px;
  text-align: center;
  color: gold;
  font-family: "Anek Tamil", sans-serif;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding-bottom: 30px;
}

.image-item {
  width: 92px;
  height: 92px;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}

@media screen and (max-width: 450px) {
  .image-item {
  width: 90px;
  height: 90pxw;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 30px;
}
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: #8e97a0;
  overflow: hidden; 
}

@keyframes moveFill {
  0% {
    background-position: 0px 0;
  }
  100% {
    background-position: 85px 0;
  }
}

.progress-bar-fill {
  height: 100%;
  width: 0; 
  background: repeating-linear-gradient(45deg, #32CD32, #32CD32 10px, #006400 10px, #006400 20px);
  background-size: 198px 100%;
  transition: width 2s ease-in-out; 
  animation: moveFill 7s linear infinite; 
}

.percentage-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: white;
  font-family: "Anek Tamil", sans-serif;
  text-align: center;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 #474c50,
    1px -1px 0 #474c50,
    -1px 1px 0 #474c50,
    1px 1px 0 #474c50,
    0px 0px 0.3px #474c50;
}

.highlight-number {
  color: gold;
}

.reveal-btn {
  color: #fff;
  background: linear-gradient(to right, #313538, #474c50);
  display: flex;
  align-items: flex-end;
  justify-content: center; 
  width: 100%;
  height: 33px;
  font-family: "Anek Tamil", sans-serif;
  font-size: 15px;
  border: none;
  outline: none;
  box-shadow: none;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-bottom: 3px;
}

.hidden-text {
  background-color: #004469;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 22px;
  text-align: center;
  font-size: 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px; 
  z-index: 9999;
}

.active-item {
  position: relative; 
  z-index: 1000;
}

.faq-section h3 {
  text-align: left;
}

@media (max-width: 768px) {
  .scroll-arrow {
    display: none;
  }
  
  .sticky-container {
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-radius:0px 0px 15px 15px;
  }
  
  .search-bar {
    margin-left: 0;
    width: 100%;
  }
  
  #search-input {
    width: 100%;
  }
  
  #search-input:focus {
    width: 100%;
  }
}
/* banner style start */
.banner-container {
  width: 100%;
  max-width: 780px;
  margin: 20px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.banner-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 5; /* Ratio 5:1 untuk banner landscape */
  min-height: 120px;
  max-height: 250px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(255, 0, 230, 0.4);
  border: 2px solid rgba(255, 0, 247, 0.3);
  background: #000;
}

.banner-slides {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  flex-shrink: 0;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 10;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.banner-nav:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.banner-prev { left: 10px; }
.banner-next { right: 10px; }

.banner-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid white;
}

.indicator-dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .banner-carousel {
    aspect-ratio: 4;
    min-height: 100px;
    max-height: 180px;
  }
  .banner-nav {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .banner-carousel {
    aspect-ratio: 3;
    min-height: 80px;
    max-height: 150px;
  }
  .banner-nav {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .indicator-dot {
    width: 10px;
    height: 10px;
  }
}