* {
  transition: all 0.3s ease;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/*loading */
/*  loader  */
#loader {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.7);
  z-index: 9999;
}

/* Spinner animasi */
.spinner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 8px solid #ccc;
  border-top: 8px solid #3498db; /* Warna putaran */
  border-radius: 70%;
  animation: spin 1s linear infinite;
}

/* Keyframe animasi */
@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #004f2d, #008a4e);
  color: white;
  height: 100vh;
  background: linear-gradient(135deg, #005534, #007a4e, #003d28);
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}



.container {
  min-height: calc(100vh - 80px); 
  background-image: url('../img/bg.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  color: white;
  position: relative;
  z-index: 1;
}

.row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 20px;
}

.col-4 {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
}

.col-8 {
  flex: 0 0 66.6666%;
  max-width: 66.6666%;
}

@media (max-width: 768px) {
  .col-4, .col-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left:40px;
  gap: 10px;
}

.button-section {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-left:40px;
}

@media (max-width: 600px) {
  header {
    padding: 2px 0px;
  }

  .support-link a {
    padding: 6px 12px;
    font-size: 14px;
  }

  .logo img {
    height: 32px;
  }
}


h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

h1 span {
  font-weight: 600;
}

.subtitle {
  margin-bottom: 30px;
  font-size: 16px;
  opacity: 0.9;
}

.note {
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.google-btn {
  background-color: white;
  color: black;
  border: none;
  padding: 14px;
  padding-left: 0px;
  padding-right: 0px;
  text-align:center;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.google-btn img {
  height: 20px;
}

.apply-btn {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 14px;
  padding-left: 74px;
  padding-right: 74px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .logo {
    font-size: 12px;
    flex-direction: row;
    gap: 8px;
  }

  .logo img {
    height: 35px;
  }

  .support-link {
    align-self: flex-end;
    margin-top: 10px;
  }

  .container {
    padding: 40px 20px;
	
  }

  h1 {
    font-size: 24px;
  }

  .subtitle {
    font-size: 14px;
  }

  .note {
    font-size: 13px;
  }

  .google-btn,
  .apply-btn {
    font-size: 14px;
    padding: 12px;
	padding-left: 74px;
	padding-right: 74px;
  }

  .google-btn img {
    height: 18px;
  }
}

.google-btn,
.apply-btn {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.apply-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.2);
}


/* Header Container */
header {
  background-color: white;
  padding: 16px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Grid-like Flex Row */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* Jaga agar tidak pindah baris */
  width: 100%;
  /*
  max-width: 1200px;
  margin: 0 auto;
  */
}

/* Logo */
.logo img {
  height: 40px;
  display: block;
}

.support-link a {
  color: #333;
  font-weight: 500;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.support-link a:hover {
  background-color: #f0f0f0;
}

.col-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-2 { flex: 0 0 16.6667%; max-width: 16.6667%; }

@media (max-width: 768px) {
  .col-6.text-section {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0px; 
	 margin-left:10px;
    text-align: left; /* opsional: center alignment for mobile */
  }
  .button-section {
	  padding: 0 0px; 
	 margin-left:10px;
  }
  .text-section h1 {
    font-size: 24px; /* kecilkan font biar muat di layar kecil */
    line-height: 1.3;
	
  }

  .text-section .subtitle,
  .text-section .note {
    font-size: 14px;
  }
}


.faq-section {
  padding: 60px 40px;
  background-color: #f5f5f5;
  color: #333;
}

.faq-title {
  text-align: center;
  font-size: 20px;
  margin-bottom: 40px;
  color: #004f2d;
}

.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: #004f2d;
  width: 100%;
  text-align: left;
  cursor: pointer;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #007a4e;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  font-size: 16px;
  color: #555;
  padding-left: 10px;
}

.faq-item.active .faq-answer {
  max-height: 200px; /* Adjust as needed */
  margin-top: 8px;
}

/* Overlay blur + loading spinner */
#loading-overlay {
  display: none; /* awalnya disembunyikan */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.5); /* transparan putih */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

/* Spinner animasi */
.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #28a745; /* warna hijau */
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

/* Animasi spin */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
