* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.btn-login {
    display: inline-block;
    padding: 2px 4px;
    border: 2px solid #fd5702; 
    border-radius: 10px;
    background-color: transparent;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background-color: #fd5702;
    color: #fff;
}


body {
  font-family: 'Poppins', sans-serif;
  background: #ffffff;
}

.services {
  padding: 60px 20px;
  background: #fff;
  padding: 4rem 0;
  margin-top: 10px;
}

.services-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 90%;
  margin: auto;
  margin-bottom: 80px;
}

.select option:disabled {
  color: #999;
  background: #f5f5f5;
}

.services-text h1 {
  font-size: 4rem;
  margin-bottom: 2rem;
  width: 450px;
  text-align: left;
  color: #000;
  font-weight: bold;
}

.services-text p {
  font-size: 1.4rem;
  text-align: justify;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #444;
  max-width: 500px;
}

.services-image img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.form-section {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.form-tabs {
  display: flex;
  gap: 50px;
  margin-bottom: 80px;
  justify-content: center;
}

.tab-btn {
  padding: 20px 80px;
  border: 1px solid #000;
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
  font-size: 1.2rem;
}

.tab-btn.active {
  background: #fd5702;
  color: #fff;
  border: none;
}

.form-content {
  display: none;
}

.form-content.active {
  display: block;
}

.form-content h2 {
  margin-bottom: 40px;
  text-align: left;
  font-size: 1.6rem;
}

.form-row {
  display: flex;
  gap: 60px;
  margin-bottom: 30px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full {
  width: 100%;
  margin-bottom: 30px;
}

label {
  margin-bottom: 8px;
  font-weight: 600;
}

input,
textarea {
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  padding: 12px 20px;
  background: #fd5702;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 50px;
  margin-top: 20px;
}

.submit-btn:hover {
  background: #e64a00;
}

.days {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.days h3 {
  text-align: left;
  margin-bottom: 10px;
}

.day-btn {
  padding: 10px 45px;
  border-radius: 8px;
  border: none;
  background: #fd5702;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.day-btn span {
  font-size: 1.3rem;
  font-weight: bold;
}

.day-btn.disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

.day-btn.active {
  border: 2px solid #333;
  background: #fff;
  color: #333;
}

.time-slots h3 {
  margin: 15px 0 10px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
}

.slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  align-items: center;
}

.slot-btn {
  padding: 20px 40px;
  border-radius: 15px;
  border: none;
  background: #fd5702;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.slot-btn.disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

.slot-btn.active {
  border: 2px solid #333;
  background: #fff;
  color: #333;
}

@media screen and (max-width: 1024px) {
  .services-content {
    margin-bottom: 40px;
  }

  .services-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    width: 350px;
  }

  .services-text p {
    font-size: 1rem;
  }

  .tab-btn {
    padding: 15px 60px;
    font-size: 1rem;
  }

  .form-content h2 {
    margin-bottom: 30px;
    font-size: 1.4rem;
  }

  .slot-row {
    gap: 15px;
  }

  .day-btn {
    padding: 5px 35px;
    font-size: 12px;
  }

  .day-btn span {
    font-size: 1rem;
  }

  .slot-btn {
    padding: 5px 27px;
    border-radius: 8px;
    font-size: 13px;
  }

  .days h3,
  .time-slots h3 {
    font-size: 15px;
    font-weight: 600;
  }

  .submit-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 768px) {
  .services-content {
    margin-bottom: 40px;
  }

  .services-text h1 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    width: 350px;
  }

  .services-text p {
    font-size: 1rem;
  }

  .tab-btn {
    padding: 15px 60px;
    font-size: 1rem;
  }

  .form-content h2 {
    margin-bottom: 30px;
    font-size: 1.4rem;
  }

  .label {
    font-size: 0.9rem;
  }

  .slot-row {
    gap: 10px;
  }

  .day-btn {
    padding: 5px 17px;
    font-size: 0.8rem;
  }

  .day-btn span {
    font-size: 0.9rem;
  }

  .slot-btn {
    padding: 8px 20px;
    font-size: 0.8rem;
  }

  .days h3,
  .time-slots h3 {
    font-size: 15px;
    font-weight: 600;
  }

  .submit-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  input,
  textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.8rem;
  }

  .form-row {
    gap: 30px;
  }
}

@media screen and (max-width: 425px) {
  .services {
    padding: 1rem 0;
  }

  .services-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    margin-bottom: 10px;
  }

  .services-text h1 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    width: 350px;
    text-align: center;
  }

  .services-text p {
    font-size: 0.8rem;
    padding: 0px 10px;
  }

  .form-tabs {
    gap: 20px;
    margin-bottom: 50px;
  }

  .tab-btn {
    padding: 15px 20px;
    font-size: 0.8rem;
  }

  .form-content h2 {
    margin-bottom: 15px;
    font-size: 1.1rem;
  }

  label {
    font-size: 0.8rem;
  }

  input,
  textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 0.7rem;
    width: 90%;
  }

  textarea {
    min-height: 80px;
    resize: vertical;
    width: 95%;
  }

  .form-row {
    margin-bottom: 15px;
    gap: 10px;
  }

  .form-group.full {
    width: 100%;
    margin-bottom: 10px;
  }


  .slot-row {
    gap: 10px;
    margin-bottom: 5px;
  }

  .day-btn {
    padding: 5px 13px;
    font-size: 0.65rem;
  }

  .day-btn span {
    font-size: 0.7rem;
  }

  .days h3 {
    font-size: 0.9rem;
  }

  .time-slots h3 {
    font-size: 0.9rem;
    margin-top: 15px;
  }

  .slot-btn {
    padding: 8px 15px;
    font-size: 0.7rem;
  }
}

.tab-btn.disabled {
  pointer-events: none;
  opacity: 0.5;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 18px 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 14px;
  background: #fff url("data:image/svg+xml;utf8,<svg fill='%23999' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 15px center;
  background-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

select:focus {
  border-color: #fd5702;
  outline: none;
  box-shadow: 0 0 5px rgba(253, 87, 2, 0.5);
}

select option {
  padding: 10px;
  background: #fff;
  color: #333;
}

/* Untuk disable option */
select option:disabled {
  color: #999;
  background: #f5f5f5;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 220px;
}

@media screen and (max-width: 1024px) {
  .form-row {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .form-group {
    flex: 1 1 45%;
  }
}

@media screen and (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
  .form-group {
    width: 100%;
  }
}

/* Pastikan modal muncul otomatis */
.modal.show {
  display: flex !important;
  justify-content: center;
  align-items: center;
}
