/* Reset */
html{ 
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f4f8fd;

}

.logo {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

h5 {
color: #F8F9FA;
}

li {
  color: #F8F9FA;
}
li a{
  color: #F8F9FA;
}
span {
  color: #F8F9FA;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(33, 149, 243, 0); /* Navbar Transparan */
  backdrop-filter: blur(10px); /* Efek blur di belakang navbar */
  color: white;
  transition: background 0.3s ease;
}
header.scrolled {
  background: rgba(33, 149, 243, 0.64); /* Lebih solid saat di-scroll */
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

nav a {
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
  text-decoration: none;
}
nav a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #F8F9FA;
}

/* Tombol Login */
.btn {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid white;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  transition: all 0.3s;
}
.btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* Sidebar */
.sidebar {
  display: none; /* Sidebar tersembunyi secara default */
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 250px;
  background: rgba(51, 51, 51, 0.9);
  padding: 20px;
  z-index: 10;
  transition: all 0.3s ease;
  flex-direction: column;
}

.sidebar a {
  color: white;
  text-decoration: none;
  margin: 15px 0;
  font-size: 1.2em;
}
.sidebar a:hover {
  color: #3a9bfb;
}

/* Tombol tutup sidebar */
.sidebar .close-btn {
  font-size: 1.5em;
  color: white;
  cursor: pointer;
  margin-bottom: 20px;
}

/* Tampilan sidebar hanya di perangkat mobile */
@media (max-width: 768px) {
  .sidebar {
    display: flex; /* Sidebar ditampilkan di perangkat dengan lebar layar 768px atau lebih kecil */
  }

  /* Navbar menu toggle button hanya terlihat di mobile */
  .menu-btn {
    display: block;
    font-size: 1.5em;
    cursor: pointer;
  }

  nav {
    display: none; /* Menyembunyikan menu navbar pada perangkat mobile */
  }
}

/* Sidebar untuk perangkat desktop */
@media (min-width: 769px) {
  .sidebar {
    display: none; /* Menyembunyikan sidebar pada perangkat desktop */
  }

  nav {
    display: flex; /* Menampilkan menu navbar pada perangkat desktop */
  }

  .menu-btn {
    display: none; /* Menyembunyikan tombol menu pada perangkat desktop */
  }
}


/* Hero Section */
.hero {
  background-image: url('/static/img/image.png');
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  animation: fadeInDown 2s;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  animation: fadeInUp 2s;
  margin-bottom: 2rem;
  color: #f3f3f3;
}

.hero a {
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 5px;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}
.hero a:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Efek Scroll */
/* JavaScript code moved to a separate file */


/* .hero .cta {
  background-color: #F8F9FA;
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.hero .cta:hover {
  background-color: #3a9bfb;
  transform: scale(1.05);
} */

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Sections */
section {
  padding: 2rem;
  text-align: center;
}

/* Umum untuk semua bagian */
#fitur, #cara-kerja, #testimoni, #harga, #hubungi {
  background-color: #f8f9fa;
  margin: 1rem 0;
  border-radius: 12px;
  padding: 2rem 0;
  text-align: center;
}

/* Judul Section */
section h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* Container Fitur */
.fitur-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 0 2rem;
}

/* Kartu Fitur */
.fitur-item {
  flex: 1 1 300px;
  background-color: #F8F9FA;
  text-align: center;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.fitur-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Icon Fitur */
.fitur-item i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1rem;
}

/* Judul Kartu Fitur */
.fitur-item h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* Deskripsi Fitur */
.fitur-item p {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
}



/* Testimoni */
#testimoni {
  background-color: #f8f9fa;
  padding: 3rem 2rem;
  text-align: center;
  border-radius: 12px;
  margin: 2rem 0;
}

#testimoni h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 2rem;
  font-weight: bold;
}

/* Container menggunakan CSS Grid */
.testimonial-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  padding: 0 2rem;
}

/* Tampilkan 2 kolom di layar besar */
@media (min-width: 768px) {
  .testimonial-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kartu Testimoni */
.testimonial-card {
  background-color: #F8F9FA;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Kutipan Testimoni */
.testimonial-card blockquote {
  font-size: 1.25rem;
  font-style: italic;
  color: #333;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.6;
}

.testimonial-card blockquote::before,
.testimonial-card blockquote::after {
  font-size: 2rem;
  color: #007bff;
  vertical-align: middle;
}

.testimonial-card blockquote::before {
  content: "“";
  margin-right: 0.5rem;
}

.testimonial-card blockquote::after {
  content: "”";
  margin-left: 0.5rem;
}

/* Nama Pengguna */
.testimonial-card p {
  font-size: 1rem;
  color: #555;
  font-weight: bold;
  margin-top: auto;
}





/* Section Kontak */
#hubungi {
  background-color: #f8f9fa;
}

.container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Styling Formulir */
form input,
form textarea {
  border: 1px solid #ced4da;
  border-radius: 10px;
  padding: 1rem;
  transition: all 0.3s ease-in-out;
  font-size: 1rem;
}

form input:focus,
form textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
  outline: none;
}

/* Tombol Kirim */
form button {
  border-radius: 8px;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

form button:hover {
  background-color: #0056b3;
  transform: scale(1.03)
}

/* Responsive Image */
.h-100 {
  height: 100%;
  border-radius: 0;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .col-lg-6 {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .d-none.d-lg-block {
    display: none !important;
  }
}



/* Footer */
/* footer {
  padding: 1rem;
  text-align: center;
  background-color: #333;
  color: #fff;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
} */
/* scroll bar */
/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px; /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
  background: #f4f8fd; /* Color of the scrollbar track */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #2196f3b3; /* Color of the scrollbar thumb */
  border-radius: 10px;
  border: 2px solid #f4f8fd; /* Padding around the scrollbar thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #2196f3b3; /* Color of the scrollbar thumb on hover */
}

/* Responsif */
@media (max-width: 768px) {
  html{
    scroll-behavior: smooth;
  }
  nav {
    display: none;
  }

  .menu-btn {
    display: inline-block;
    font-size: 1.5em;
    cursor: pointer;
  }
  .menu-btn, .cta-login {
    display: inline-block;
  }

  .fitur-container, .testimonial-container {
    flex-direction: column;
    align-items: center;
    padding: none;
    
  }

  .fitur-item{
    width: 80%;
  }

  .fitur-item, .testimonial-card {
    flex: 1 1 100%;
    max-width: 90%;
    padding: none;
  }
  .cta-login {
    margin-right: 10px;
  }
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Dark Mode Styles */
.dark-mode {
  background-color: #121212 !important;
  color: #ffffff !important;
}

.dark-mode .hero {
  background-color: #1c1c1c !important;
}

.dark-mode a {
  color: #90caf9 !important;
}

.dark-mode .btn-outline-light {
  color: #ffffff !important;
  border-color: #90caf9 !important;
}

.dark-mode .btn-outline-light:hover {
  background-color: #90caf9 !important;
  color: #121212 !important;
}

.dark-mode #main-header {
  background-color: rgba(33, 33, 33, 0.5) !important;
}

.dark-mode #fitur{
  background-color: #1c1c1c !important;
}

.dark-mode .fitur-container .fitur-item {
  background-color: #626262 !important;
  border-color: #444;
}

.dark-mode #testimoni{
  background-color: #1c1c1c !important;
}

.dark-mode .testimonial-card {
  background-color: #626262 !important;
  border-color: #444;
}

.dark-mode footer {
  background-color: #1c1c1c !important;
}

.dark-mode .accordion-button {
  background-color: #1c1c1c !important;
  color: #ffffff !important;
}

/* Dark Mode - Fitur Unggulan */
.dark-mode .fitur-container .fitur-item h3,
.dark-mode .fitur-container .fitur-item p {
  color: #ffffff !important;
}

/* Dark Mode - Testimoni */
.dark-mode .testimonial-card blockquote,
.dark-mode .testimonial-card p {
  color: #ffffff !important;
}

/* Dark Mode - Form Hubungi Kami */
.dark-mode #hubungi {
  background-color: #1c1c1c !important;
}

.dark-mode #hubungi .container {
  background-color: #3a3a3a !important; /* Background container lebih gelap */
  color: #ffffff !important; /* Warna teks menjadi putih */
  border-color: #444 !important;
}

.dark-mode #hubungi input,
.dark-mode #hubungi textarea {
  background-color: #2c2c2c !important;
  color: #ffffff !important;
  border-color: #555 !important;
}

.dark-mode #hubungi input::placeholder,
.dark-mode #hubungi textarea::placeholder {
  color: #bbbbbb !important;
}

.dark-mode #hubungi .btn-outline-primary {
  color: #ffffff !important;
  border-color: #007bff !important;
}

.dark-mode #hubungi .btn-outline-primary:hover {
  background-color: #007bff !important;
  color: #ffffff !important;
}

/* Dark Mode - Footer */
/* .dark-mode footer,
.dark-mode footer h5,
.dark-mode footer span,
.dark-mode footer ul li a {
  color: #ffffff !important;
} */
