/* ===== Font & General ===== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* ===== Fade Elements ===== */
.fade-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Button Login ===== */
.btn-login {
    background-color: orange;
    color: black;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.btn-login:hover {
    background-color: white;
}

.btn-login:active {
    background-color: white;
    transform: translateY(1px);
}

/* ===== Language Toggle ===== */
.language-toggle {
    display: flex;
    align-items: center;
    position: relative;
}

.language-toggle input[type="checkbox"] {
    display: none;
}

.language-toggle .slider {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.41);
    border-radius: 20px;
    padding: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.language-toggle .language-option {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.99);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 2;
    position: relative;
}

.language-toggle .language-option.active {
    color: #ffffffff;
}

.language-toggle .slider::before {
    content: '';
    position: absolute;
    width: 50%;
    height: calc(100% - 8px);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    transition: transform 0.3s ease;
    left: 4px;
    z-index: 1;
}

.language-toggle input[type="checkbox"]:checked ~ .slider::before {
    transform: translateX(90%);
}

.navbar.scrolled .language-toggle .slider {
    background: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .language-toggle .language-option {
    color: rgba(0, 0, 0, 0.5);
}
.navbar.scrolled .btn-login {
    background-color: black;
    color: white;
}
.navbar.scrolled .language-toggle .language-option.active {
    color: white;
}

.navbar.scrolled .language-toggle .slider::before {
    background: #333;
}

/* ===== Navbar ===== */
.navbar-brand img {
    width: 100px;
    margin: 0;
}

.navbar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 15px 0;
}

.navbar .nav-link {
    color: black !important;
    font-weight: 500;
    margin-right: 15px;
}

.navbar.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none;
}

.navbar.scrolled {
    /* opacity: 0.50; */
    background-color: transparent !important; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06) !important; 
    
    /* PENTING: Efek Blur */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px); /* Untuk kompatibilitas Safari */
}
/* .navbar.navbar-transparent {
    background-color: transparent !important;
    box-shadow: none;
} */
.navbar.scrolled .nav-link {
    color: black !important;
}

/* ===== Hero Section ===== */
#hero {
    background: -webkit-linear-gradient(45deg, #f6c598ff, #fff7efff);
     background-color: #ffffff;
            background-image:
                radial-gradient(at 5% 15%, #f6c598ff  0px, transparent 50%),
                radial-gradient(at 95% 85%, #fff7efff 0px, transparent 50%);
    color: black;
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.banner-image {
    -webkit-animation: bounce 1s ease-in-out 0s infinite alternate;
    animation: bounce 1s ease-in-out 0s infinite alternate;
    max-width: 100%;
    height: auto;
}

#hero h2 {
    margin-bottom: 20px;
}

#hero .lead {
    margin-bottom: 30px;
    opacity: 0.95;
}

/* ===== Buttons ===== */
.btn-warning {
    background-color: #ffc107;
    border: none;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,193,7,0.4);
}

.btn:hover {
    transform: translateY(-2px);
}

/* ===== Section Keunggulan ===== */
#unggulan {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

#unggulan .col-md-4 {
    margin-bottom: 30px;
}

#unggulan i {
    font-size: 3rem;
    color: #ff8c42;
    margin-bottom: 20px;
}

#unggulan h3 {
    margin-bottom: 15px;
    font-weight: 600;
}
.feature-box {
  background: linear-gradient(90deg, #d4d3d3ff 100%, #e88120 0%);
  /* border-top: 5px solid #d40000; */
  color: black;
  border-radius: 10px;
  padding: 20px;
  height: 80px; /* atur tinggi seragam */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature-box i {
    /* Menghilangkan line-height default yang mungkin menyebabkan pergeseran */
    line-height: 1; 
    /* Memastikan ikon diperlakukan sebagai blok yang terpusat */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.feature-box p {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 16px;
}

.feature-box:hover {
  transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
  .feature-box {
    flex-direction: column;
    height: auto;
    padding: 25px;
  }
  .feature-box i {
    margin-bottom: 10px;
  }
}

/* ===== Fitur Lengkap ===== */
#fitur-lengkap {
    padding: 80px 0;
    background-color: white;
    scroll-margin-top: 80px;
}

.fitur-item {
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    height: 200px; /* tinggi tetap, tidak akan bertambah */
}
.fitur-item img {
  width: 60px; /* kecilkan icon */
  height: 60px; /* biar seragam */
  object-fit: contain;
  margin-bottom: 3px;
}

.fitur-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


.fitur-item2 {
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f9fa;
    margin-bottom: 12px;
    transition: all 0.3s ease;
    height: 200px; /* tinggi tetap, tidak akan bertambah */
}
.fitur-item2 img {
  width: 55px; /* kecilkan icon */
  height: 55px; /* biar seragam */
  object-fit: contain;
  margin-bottom: 3px;
}

.fitur-item2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* 
.fitur-item2 i {
    font-size: 2.5rem;
    color: #ff8c42;
    margin-bottom: 15px;
} */
/* Gaya untuk kotak Fitur Penunjang dengan latar belakang berwarna */
.penunjang-item {
    padding: 25px 15px; /* Memberi jarak di dalam kotak */
    margin-bottom: 20px; /* Jarak antar kotak */
    background-color: #f8f9fa; /* Warna latar belakang kotak (abu-abu sangat muda) */
    border-radius: 12px; /* Sudut membulat lebih besar */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05); /* Bayangan lembut untuk efek kedalaman */
    transition: all 0.3s ease; /* Transisi untuk efek hover yang halus */
    /* Untuk menengahkan ikon dan teks */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px; /* Menjamin tinggi minimum yang konsisten */
}

/* Gaya tambahan saat di-hover (opsional) */
.penunjang-item:hover {
    background-color: #e9ecef; /* Warna latar belakang sedikit lebih gelap saat di-hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); /* Bayangan lebih jelas */
    transform: translateY(-3px); /* Geser sedikit ke atas */
}

/* Gaya untuk ikon di dalam penunjang-item */
.penunjang-item img {
    width: 55px; /* kecilkan icon */
  height: 55px; /* biar seragam */
  object-fit: contain;
  margin-bottom: 5px;
}
/* ===== Tampilan Carousel ===== */
#tampilan .module-card {
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
  }

  #tampilan .module-card:hover {
    transform: translateY(-5px);
  }

  /* Wrapper gambar */
  #tampilan .module-img-wrapper {
    width: 100%;
    height: 220px; /* tinggi tetap untuk keseragaman */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f9fa; /* warna latar lembut agar tidak kosong */
  }

  /* Gambar tetap proporsional dan tidak terpotong */
  #tampilan .module-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* tidak memotong gambar */
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }

  /* Konten bawah */
  #tampilan .module-card .p-3 {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Responsif: gambar sedikit lebih kecil di mobile */
  @media (max-width: 768px) {
    #tampilan .module-img-wrapper {
      height: 180px;
    }
  } 

.app-carousel-inner {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    overflow: hidden;
}

.app-carousel .owl-stage-outer {
    overflow: visible;
}

.app-carousel .single-app-image img {
    display: block;
    max-width: 90%;
    height: 60vh;
    margin: 0px auto;
    padding: 0px;
    object-fit: contain;
    border-radius: 20px;
}

.app-carousel button.owl-dot {
    height: 7px;
    width: 7px;
    background: #ded7f4 !important;
    margin-right: 5px;
    border-radius: 50%;
    -webkit-transition: .3s all linear;
    transition: .3s all linear;
    line-height: 10px;
    vertical-align: middle;
}

.app-carousel button.owl-dot.active {
    background: #e88220 !important;
    height: 10px;
    width: 10px;
}

.app-carousel .owl-dots {
    text-align: center;
    margin-top: 10px;
    -webkit-transition: .3s all linear;
    transition: .3s all linear;
}

/* ===== CTA Section ===== */
#cta-section {
    background: linear-gradient(135deg, #ff9101ff 0%, #667eea 100%);
    color: white;
    padding: 60px 0;
    scroll-margin-top: 80px;
    margin-top: 40px;
}

#syarat {
    padding: 60px 0;
    scroll-margin-top: 80px;
}
#kebijakan {
    scroll-margin-top: 150px; /* Sesuaikan dengan tinggi navbar Anda + sedikit margin */
}
/* ===== Footer ===== */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

footer a {
    color: #ecf0f1;
    text-decoration: none;
}

footer a:hover {
    color: #ffc107;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablet & Mobile Large (max-width: 991px) */
@media (max-width: 991px) {
    /* Language Toggle */
    .language-toggle {
        margin-top: 15px;
        justify-content: center;
    }
    
    .language-toggle .slider {
        background: rgba(0, 0, 0, 0.1);
    }
    
    .language-toggle .language-option {
        color: rgba(0, 0, 0, 0.5);
    }
    
    .language-toggle .language-option.active {
        color: white;
    }
    
    .language-toggle .slider::before {
        background: #333;
    }

    /* Navbar */
    .navbar-brand img {
        width: 80px;
    }

    .navbar .nav-link {
        margin-right: 0;
        padding: 10px 15px;
    }

    /* Hero Section */
    #hero {
        padding: 60px 0;
    }

    #hero h2 {
        font-size: 2rem;
    }

    #hero .lead {
        font-size: 1rem;
    }

    /* Sections */
    #unggulan,
    #fitur-lengkap,
    #syarat {
        padding: 60px 0;
    }

    /* Icons */
    #unggulan i {
        font-size: 2.5rem;
    }

    .fitur-item i {
        font-size: 2rem;
    }

    /* Fitur Item */
    .fitur-item {
        padding: 20px;
    }

    /* CTA Section */
    #cta-section {
        padding: 50px 0;
    }

    /* Carousel */
    .app-carousel .single-app-image img {
        height: 50vh;
    }
}

/* Mobile Medium (max-width: 768px) */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    /* Hero Section */
    #hero {
        padding: 50px 0;
    }

    #hero h2 {
        font-size: 1.75rem;
    }

    /* Buttons */
    .btn-warning,
    .btn-login {
        padding: 10px 20px;
        font-size: 14px;
    }

    /* Sections */
    #unggulan,
    #fitur-lengkap,
    #syarat,
    #cta-section {
        padding: 40px 0;
    }

    /* Carousel */
    .app-carousel .single-app-image img {
        height: 45vh;
        max-width: 95%;
    }

    /* Footer */
    footer {
        padding: 30px 0 15px;
        text-align: center;
    }
}

/* Mobile Small (max-width: 576px) */
@media (max-width: 576px) {
    /* Navbar */
    .navbar-brand img {
        width: 70px;
    }

    .navbar {
        padding: 10px 0;
    }

    /* Hero Section */
    #hero {
        padding: 40px 0;
    }

    #hero h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    #hero .lead {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Typography */
    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Buttons */
    .btn-warning,
    .btn-login {
        padding: 8px 16px;
        font-size: 13px;
        width: 100%;
        max-width: 250px;
        margin: 5px auto;
        display: block;
    }

    /* Icons */
    #unggulan i {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .fitur-item i {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    /* Fitur Item */
    .fitur-item {
        padding: 15px;
        margin-bottom: 15px;
    }

    /* Sections */
    #unggulan,
    #fitur-lengkap,
    #syarat,
    #cta-section {
        padding: 30px 0;
    }

    #unggulan .col-md-4 {
        margin-bottom: 20px;
    }

    /* Carousel */
    .app-carousel .single-app-image img {
        height: 40vh;
        max-width: 100%;
    }

    .app-carousel-inner {
        padding: 15px 0;
    }

    /* Language Toggle */
    .language-toggle .language-option {
        padding: 5px 12px;
        font-size: 12px;
    }

    /* Footer */
    footer {
        padding: 25px 0 10px;
        font-size: 0.9rem;
    }
}

/* Mobile Extra Small (max-width: 400px) */
@media (max-width: 400px) {
    /* Navbar */
    .navbar-brand img {
        width: 60px;
    }

    /* Hero */
    #hero h2 {
        font-size: 1.35rem;
    }

    #hero .lead {
        font-size: 0.85rem;
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    /* Buttons */
    .btn-warning,
    .btn-login {
        padding: 8px 14px;
        font-size: 12px;
    }

    /* Carousel */
    .app-carousel .single-app-image img {
        height: 35vh;
    }

    /* Icons */
    #unggulan i {
        font-size: 1.75rem;
    }

    .fitur-item i {
        font-size: 1.5rem;
    }
}

/* Animation Keyframes */
@keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}

@-webkit-keyframes bounce {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(-10px);
    }
}