@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@700&display=swap');

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  background-color: #f9f9f9;
}

/* SLIDER */
.slider-container {
  position: relative;
  width: 100vw;
  z-index: 1;
}

.slider-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slider-track img {
  width: 100vw;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.slider-track video {
  width: 100vw;
  height: auto;
  flex-shrink: 0;
  object-fit: cover;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 56px;             /* ✅ besar dan tinggi */
  font-weight: bold;
  color: #0070cc;              /* ✅ biru cerah solid */
  background: none;            /* ✅ tidak ada kotak */
  border: none;                /* ✅ tidak ada garis */
  padding: 0;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: transform 0.2s ease;
}

.slider-nav.left {
  left: 16px;
}

.slider-nav.right {
  right: 16px;
}

/* LOGO */
.logo-wrapper {
  position: absolute;
  bottom: -65px; /* setengah tinggi logo */
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #007BFF;
  background-color: white;
  z-index: 999;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}

.logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* VIDEO BACKGROUND */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTENT OVERLAY */
.content-overlay {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.profile-section {
  width: calc(100% - 40px);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  padding: 24px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #222;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  animation: fadeIn 1.2s ease forwards;
  text-align: justify;
  text-indent: 1.5em;
}

.profile-section h2 {
  text-align: center;
  font-style: italic;
  font-size: 20px;
  margin-bottom: 12px;
  color: #007BFF;
}

.profile-section ul {
  margin-top: 12px;
  padding-left: 20px;
}

.profile-section li {
  margin-bottom: 8px;
  list-style-type: disc;
}

.about-heading {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-align: center;
  color: #007BFF;
}

/* PREVIEW */
.preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  margin: 0;
  margin-bottom: 24px;
}

.item {
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  width: calc(100% - 40px);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.item img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 10px;
  margin-top: 8px;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  aspect-ratio: 4 / 3;
}

.item p {
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: normal;
  color: #222;
  text-align: justify;
  line-height: 1.6;
  text-indent: 1.5em;
  margin-bottom: 16px;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
}

.fade-in-left.in-view {
  animation: fadeInLeft 1s ease forwards;
}

.fade-in-right.in-view {
  animation: fadeInRight 1s ease forwards;
}

.fade-in-up.in-view,
.fade-in.in-view {
  animation: fadeIn 1s ease forwards;
}

/* BUTTONS */
.btn {
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #000;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  cursor: pointer;
  min-width: 200px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  text-decoration: none;
}

.btn:active {
  animation: bounce 0.4s;
  box-shadow: 0 6px 18px rgba(0, 123, 255, 0.4);
}

.bounce-now {
  animation: bounce 0.25s;
}

@keyframes bounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.1); }
  60% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

.arrow {
  margin-left: 8px;
  display: inline-block;
  transition: transform 0.3s;
}

.btn-1:hover .arrow {
  animation: arrow-slide 0.4s forwards;
}

@keyframes arrow-slide {
  0% { transform: translateX(0); opacity: 0; }
  100% { transform: translateX(6px); opacity: 1; }
}

.btn-2:hover {
  transform: scale(1.05);
}

.btn-3 {
  background: linear-gradient(135deg, #4facfe, #00f2fe); /* biru gradasi */
}

.btn-3:hover {
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.3);
}

.btn-4 {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.btn-4:hover {
  box-shadow: 0 6px 16px rgba(56, 249, 215, 0.3);
}

/* HIGHLIGHT SECTION */
.highlight-section {
  background: linear-gradient(135deg, #ffffff, #eaf4ff);
  padding: 20px 24px;
  border-radius: 12px;
  width: calc(100% - 40px);;
  max-width: 680px;
  margin: 40px auto 24px auto;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #003366;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  opacity: 0;
  box-sizing: border-box;
}

.highlight-section.in-view {
  animation: fadeIn 1.2s ease forwards;
}

.highlight-section h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #004a99;
  text-align: center;
}

.highlight-section p {
  margin-bottom: 16px;
  text-align: justify;
  font-size: 14px;
  font-family: Arial, sans-serif;
  font-weight: normal; /* pastikan normal, bukan bold */
  color: #222;
}

.highlight-section ul {
  list-style-type: none;
  padding-left: 0;
}

.highlight-section li {
  margin-bottom: 16px;
}

.highlight-section li strong {
  display: block;
  margin-bottom: 4px;
}

.contact-section {
  width: calc(100% - 40px);
  margin: 40px auto;
  margin-top: 24px; /* Tambahan ini penting */
  margin-bottom: 40px;
  padding: 20px 24px;
  text-align: center;
  font-family: 'Rubik', sans-serif;
  max-width: 680px;
  background: #f3f8ff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.contact-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #003366;
}

.contact-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.wa-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}

.wa-icon {
  width: 28px;
  height: 28px;
}

.wa-number {
  font-weight: bold;
  font-size: 15px;
  color: #075e54;
}

.contact-note {
  font-size: 14px;
  color: #333;
}

.helmet-person-icon {
  width: 64px;
  height: 64px;
}
.contact-name {
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #003366;
}

/* ========== FAQ SECTION ========== */
.faq-section {
  background: rgba(173, 216, 230, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  margin: 40px 20px;
}


.faq-title {
  text-align: center;
  font-size: 20px;
  color: #003366;
  font-weight: bold;
  margin-bottom: 20px;
  font-family: 'Rubik', sans-serif;
}

.faq-item {
  margin-bottom: 12px;
  border-bottom: 1px solid #ccc;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 15px;
  padding: 12px 8px;
  font-weight: 600;
  font-family: 'Rubik', sans-serif;
  color: #007BFF;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 8px 12px 8px;
  display: none;
  font-size: 14px;
  color: #222;
  text-align: justify;
  line-height: 1.6;
}

.faq-question.open + .faq-answer {
  display: block;
}

.faq-question .plus {
  font-size: 18px;
  font-weight: bold;
  color: #007BFF;
  transition: transform 0.2s;
}

.faq-question.open .plus {
  transform: rotate(45deg); /* menjadi tanda X */
}

/* FOOTER */
footer {
  width: 100%;
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 40px 16px;
  font-size: 14px;
  margin-top: 40px;
}

.wa-button {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  color: white;
  font-family: 'Rubik', sans-serif;
  font-weight: 800;
  padding: 14px 24px;
  border-radius: 40px;
  font-size: 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;   /* <— tambahkan ini */
  gap: 10px;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(56, 249, 215, 0.3);
}

.wa-button:active {
  animation: bounce 0.4s;
  box-shadow: 0 6px 16px rgba(56, 249, 215, 0.4);
}

/* ===== POP-UP WHATSAPP ===== */

/* Trigger Icon di kanan bawah */
.wa-icon-trigger {
  position: fixed;
  right: 20px;
  bottom: 130px;
  z-index: 9999;
  background: linear-gradient(135deg, rgba(67,233,123,0.8), rgba(56,249,215,0.8));
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
}

/* Popup Form di atas trigger (white box) */
.wa-form-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  padding: 16px;
  z-index: 9998;
}

.wa-form-popup h4 {
  margin: 0 0 12px;
  text-align: center;
  color: #003366;
}

.wa-form-popup input,
.wa-form-popup textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.wa-form-popup textarea {
  resize: vertical;
  min-height: 60px;
}

.wa-form-popup .wa-button {
  width: 100%;
  margin-top: 8px;
}

/* Hide by default; shown via JS */
#waFormPopup[style*="display: none"] {
  display: none !important;
}

.form-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #e6fff0;
  border: 2px solid #00cc66;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: center;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease forwards;
}

.form-success .checkmark {
  font-size: 32px;
  color: #00cc66;
  margin-bottom: 10px;
  font-weight: bold;
}

.item .btn {
  margin-top: 12px;
  display: inline-block;
  text-decoration: none; /* ➕ pastikan tidak underline */
}

.section-spacing {
  margin-top: 0;
  margin-bottom: 0;
}

.tagline-glow {
  font-size: 20px;
  font-weight: bold;
  font-style: italic;
  color: #000;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
  opacity: 0;
  animation: fadeIn 1.5s ease forwards;
}

.tagline-glow span {
  display: inline-block;
  animation: glowOneByOne 2.5s infinite;
  color: #000;
  transition: all 0.3s ease;
}

/* Animasi glow biru muda yang lebih halus */
@keyframes glowOneByOne {
  0% {
    text-shadow: none;
    color: #000;
  }
  50% {
    text-shadow: 0 0 5px rgba(102, 204, 255, 0.5); /* glow biru muda transparan */
    color: #66ccff;
  }
  100% {
    text-shadow: none;
    color: #000;
  }
}

.portofolio-section,
.scope-section,
.payment-section,
.search-section {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  box-sizing: border-box;
}

.profile-section,
.preview > section,
.highlight-section,
.contact-section {
  margin-top: 16px;
  margin-bottom: 0;
}

.our-profile-section {
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
