/* ==================================== SUB MENU =================================== */
.main-nav-white {
  opacity: 1;
  transition: opacity 0.5s ease;
}
.main-nav-white.hidden {
  opacity: 0;
  pointer-events: none;
}
.nav-list-white {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-link-white {
  color: #333;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: block;
}
.nav-link-white:hover {
  color: #000;
  border-bottom: 2px solid #7c3aed;
}
.nav-link-white.active {
  border-bottom: 2px solid #7c3aed;
  color: #000;
  font-weight: 700;
}
/* Responsive Design */
@media (max-width: 768px) {
  .main-nav-white.active {
    display: block;
  }
  .nav-list-white {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    text-align: center;
    margin-right: 7%;
  }
  .nav-link-white {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    background: rgba(245, 245, 245, 0.8);
  }
}

/* Kunjungi  GPT STORE */
.floating-inline {
  display: inline-flex;
  align-items: center;
  border-radius: 8px; 
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  border: 1px solid #ccc;
  font-size: 14px;
}

.floating-inline input {
  border: none;
  padding: 10px 16px;
  width: 250px; 
  outline: none;
  font-size: 14px;
}

.floating-inline button {
  border: none;
  background: #ffffff;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
}

.floating-inline button i {
  margin-left: 0;
}

.btn-store {
  position: relative; 
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%; 
  margin: 20px 0; 
}

.btn-store {
  border-radius: 30px; 
  padding: 10px 24px; 
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2); 
  height: 42px;
  display: flex;
  align-items: center;
}

.btn-store i {
  margin-left: 8px; 
}

/* FAQ */
.collapse-content {
  display: none;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.collapse-content.show {
  display: block;
}
.card-header .toggle-btn {
  cursor: pointer;
}

/* =========================================== MANUAL PANDUAN  ===============================*/

.manual-section {
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  opacity: 0;                    
  transform: translateY(30px);   
  transition: all 0.8s ease-out;
}

.manual-section.show {
  opacity: 1; 
  transform: translateY(0);       
}
.manual-section:nth-child(odd) {
  background-color: #fdf6f0;
}
.manual-section:nth-child(even) {
  background-color: #f0f8ff;
}

.manual-section h2 {
  color: #34495e;
}
.manual-section h5 {
  color: #555;
}
.manual-section ul, .manual-section ol {
  margin-left: 20px;
}

/* ========================================== MAIN NAV ================================= */
.menu-toggle-inside {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  top: 5px;
  right: 28px;
  z-index: 1001;
}
.menu-toggle-inside span {
  width: 25px;
  height: 3px;
  background-color: #000000;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.main-nav-inside {
  position: relative;
  z-index: 1000;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.nav-list-inside {
  display: flex;
  list-style: none;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.nav-link-inside {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: block;
}

.nav-link-inside:hover {
  color: #ffffff;
  border-bottom: 2px solid #7c3aed;
}

.nav-link-inside.active {
  border-bottom: 2px solid #7c3aed;
  color: #ffffff;
}

@media (max-width: 768px) {
  .menu-toggle-inside {
    display: flex;
    align-items: end;
    margin-bottom: 4%;
  }
  .main-nav-inside {
    display: none;
    position: relative;
    transform: none;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-bottom:4%;
  }
  .main-nav-inside.active {
    display: block;
  }
  .nav-list-inside {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    text-align: center;
  }
  .nav-link-inside {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    width: 100%;
    text-align: left;
    border-radius: 8px;
    background: rgba(30, 30, 30, 0.5);
  }
} */

.menu-toggle-inside.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.menu-toggle-inside.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle-inside.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

  /* =============================== Infografis  ============================= */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-zoom {
  position: absolute;
  left: 50%;
  top: 3%;
  transform: translateX(-50%);
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  margin: 0;
  padding: 0;
  display: block;
  box-shadow: none;
  background: transparent;
}

#modal-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  padding: 10px 20px;
  background: rgba(0,0,0,0.7);
  border-radius: 4px;
  font-size: 16px;
  white-space: nowrap;
  z-index: 1001;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1002;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  z-index: 1001;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-nav.prev {
  left: 16px;
}

.modal-nav.next {
  right: 16px;
}

.modal-nav:hover {
  background: rgba(0,0,0,0.8);
  transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* Untuk layar kecil */
@media (max-width: 768px) {
  .modal-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .modal-nav.prev {
    left: 8px;
  }
  
  .modal-nav.next {
    right: 8px;
  }
  
  #modal-caption {
    font-size: 14px;
    bottom: 10px;
    padding: 8px 16px;
  }
}

@media screen and (max-width: 425px) {
  .modal-content-zoom {
    max-width: 95vw;
    max-height: 100vh;
    top: 25%;
  }
  
  #modal-caption {
    font-size: 12px;
    bottom: 5px;
    padding: 6px 12px;
  }
  
  .modal-close {
    font-size: 30px;
    top: 15px;
    right: 20px;
  }
}

.infographic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .infographic-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1920px) and (max-width: 2559px) {
  .infographic-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (min-width: 2560px) {
  .infographic-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .infographic-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 425px) {
  .infographic-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
.infographic-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1/1; 
  cursor: pointer;
  transition: transform 0.3s ease;
}

.infographic-item:hover {
  transform: scale(1.05);
}


.infographic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.infographic-item:hover .infographic-overlay {
    opacity: 1;
}

.infographic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.infographic-number {
  position: absolute;
  bottom: 8px;
  right: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.infographic-item:hover .infographic-number {
  opacity: 1;
}

.infographic-number span {
  background: #007bff; 
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}


.infographic-slider {
  display: flex;
  transition: transform 400ms ease;
  will-change: transform;
}

.infographic-slider > .infographic-card {
min-width: 100%;
box-sizing: border-box;
border-radius: 8px;
margin-bottom: 0; 
}

.infographic-card .grid { margin: 0; }
  .carousel-controls {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 20px;
margin-top: 1.5rem;
}

.nav-btn {
  height: 44px;
  width: 44px;
  min-width: 44px;
  border-radius: 10px;
  background: #f8fafc;          
  border: 1px solid rgba(14,20,30,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(16,24,40,0.04); 
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  cursor: pointer;
  color: #374151;             
}

.nav-btn svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2.2; fill: none; }
.nav-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,24,40,0.06); }
.nav-btn:active { transform: translateY(0); box-shadow: 0 6px 18px rgba(16,24,40,0.04); }
.nav-btn:focus-visible { outline: 3px solid rgba(59,130,246,0.12); outline-offset: 3px; }

.dots {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #eef2f7; 
  border: 0;
  padding: 0;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.dot.bg-blue-500,
.dot.active {
  background: linear-gradient(135deg, #bfdbfe, #93c5fd); 
  transform: scale(1.28);
  box-shadow: 0 6px 16px rgba(59,130,246,0.12); 
}

.dot:hover { transform: scale(1.12); box-shadow: 0 6px 12px rgba(2,6,23,0.05); }
.slide-counter {
  text-align: center;
  color: #6b7280;
  font-size: 1.1rem;
}
@media (max-width:480px) {
  .nav-btn { height: 40px; width: 40px; border-radius: 9px; }
  .nav-btn svg { width: 16px; height: 16px; }
  .dot { width: 8px; height: 8px; }
  .dot.bg-blue-500, .dot.active { transform: scale(1.18); }
}

/* ========================================== CHAT BOX ======================================= */
.chat-input-wrapper {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.chat-input-wrapper textarea {
    width: 100%;
    padding: 16px 50px 16px 16px;
    border: none;
    border-radius: 20px;
    font-size: 1rem;
    background-color:rgb(255 255 255 / 10%);
    color: white;
    resize: none;
    box-sizing: border-box;
    overflow: hidden;
    white-space: nowrap;
}

.chat-input-wrapper textarea::placeholder {
    color: #aaa;
}

.chat-input-wrapper button {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: #ffffffad;
    color: #000000;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    display: none; /* default hidden */
}

.chat-input-wrapper button.show {
    display: inline-block;
}

.floating-wrapper {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 30px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 999;
}

.floating-wrapper.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.floating-wrapper.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(40px);
  pointer-events: none;
}

.floating-wrapper input {
  border: none;
  background: transparent;
  color: rgb(0, 0, 0);
  padding: 8px;
  width: 250px;
  transition: width 0.3s ease;
  outline: none;
}

.floating-wrapper input:focus {
  width: 325px;
}

.floating-wrapper button {
  background: rgba(0, 0, 0, 0.856);
  border: none;
  color: rgb(255, 255, 255);
  margin-left: 8px;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 991.98px) {
  .navbar .btn {
    margin-top: 0 !important;
  }
}

/* TAMBAH GPT */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.card-hover:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
}
.card-img-wrapper img {
  transition: transform 0.5s;
}
.card-hover:hover .card-img-wrapper img {
  transform: scale(1.1);
}

.overlay {
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
}
.card-hover:hover .overlay {
  opacity: 1;
}

/* ========================================== BAHAN ======================================= */
.img-fluid-container{
    display: flex;
    justify-content: center;
}

.img-fluid-situs     {
    max-width: 40%;
    height: auto;
}