/* ===== RESET & VARIABLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #faf8f5;
  --bg-secondary: #f5f2ed;
  --text-primary: #292726;
  --text-secondary: #5a524c;
  --accent: #7f8565;
  --accent-hover: #6b7352;
  --accent-light: #8a987d;
  --border: #e0d9d1;
  --transition: all 0.25s ease;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.08);
  --nav-height: 80px;
  --nav-height-scrolled: 70px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--nav-height);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-sm {
  max-width: 800px;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
  font-family: "Crimson Pro", serif;
  font-weight: 300;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--text-primary);
  text-align: center;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 2.5rem 0;
  transition: var(--transition);
  background-color: transparent;
  height: var(--nav-height);
  display: flex;
  align-items: center;
}

.navbar.scrolled {
  background-color: #fff;
  padding: 0.8rem 0;
  box-shadow: var(--shadow);
  height: var(--nav-height-scrolled);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: var(--transition);
}

.navbar.scrolled .logo-img {
  height: 35px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent);
  font-weight: 500;
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--accent);
}

.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-icon {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
  padding: 8px 0;
  margin-top: 8px;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(127, 133, 101, 0.05);
  color: var(--accent);
}

.dropdown-item.active {
  color: var(--accent);
  font-weight: 600;
  background-color: rgba(127, 133, 101, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 15px;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  position: relative;
  order: 2;
}

.whatsapp-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-icon {
  font-size: 2rem;
}

.whatsapp-text {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #25d366;
  background-color: white;
  padding: 8px 15px;
  border-radius: 25px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  position: relative;
  order: 1;
  pointer-events: none;
}

/* ===== TRAINING HERO SECTION ===== */
.training-hero {
  height: 80vh;
  min-height: 600px;
  position: relative;
  display: flex;
  align-items: center;
  margin-top: calc(-1 * var(--nav-height));
  overflow: hidden;
}

.training-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    background-image: url(images/moment3.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.training-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.5) 30%,
    rgba(0, 0, 0, 0.3) 60%,
    rgba(0, 0, 0, 0.2) 80%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.training-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  color: white;
}

.training-hero-title {
  font-family: "Crimson Pro", serif;
  font-weight: 500;
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.training-hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== TRAINING PHILOSOPHY ===== */
.training-philosophy {
  padding: 6rem 0;
  background-color: white;
}

.philosophy-text {
  font-family: "Crimson Pro", serif;
  font-size: 1.75rem;
  line-height: 1.5;
  color: var(--text-primary);
  text-align: center;
  font-weight: 300;
  letter-spacing: -0.02em;
}

/* ===== TRAINING PROGRAMS ===== */
.training-programs {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.program-card {
  background-color: white;
  padding: 2.5rem 2rem;
  border-radius: 4px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.program-number {
  font-family: "Crimson Pro", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--accent-light);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

.program-title {
  font-family: "Crimson Pro", serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.program-description {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
  flex-grow: 1;
}

.program-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.meta-item i {
  color: var(--accent);
  width: 18px;
}

.btn-program {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background-color: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid var(--accent);
  margin-top: auto;
}

.btn-program:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 133, 101, 0.2);
}

.btn-program i {
  font-size: 1.1rem;
}

/* ===== CONSULTATION SECTION ===== */
.consultation-section {
  padding: 6rem 0;
  background-color: white;
}

.consultation-text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.consultation-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(127, 133, 101, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  background-color: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--accent);
}

.btn-submit:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 133, 101, 0.2);
}

/* ===== WHY TRAIN SECTION ===== */
.why-train {
  padding: 6rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
}

.why-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

.why-text br {
  display: none;
}

/* ===== CTA SECTION ===== */
.training-cta {
  padding: 5rem 0;
  background-color: white;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.2rem 2.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-cta-primary {
  background-color: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-cta-primary:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 133, 101, 0.2);
}

.btn-cta-secondary {
  background-color: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-cta-secondary:hover {
  background-color: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 133, 101, 0.2);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #000000;
  color: #ffffff;
  padding: 3rem 0 0.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-logo-section {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #7f8565;
}

.footer-tagline {
  font-size: 1rem;
  color: #cccccc;
  font-style: italic;
}

.footer-columns {
  flex: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  min-width: 300px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.column-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #7f8565;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #333333;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-menu-link:hover {
  color: #7f8565;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.contact-icon {
  width: 20px;
  margin-right: 10px;
  color: #cccccc;
  transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
  color: #7f8565;
}

.contact-link {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #7f8565;
}

.contact-item span {
  color: #cccccc;
  transition: color 0.3s ease;
}

.contact-item:hover span {
  color: #7f8565;
}

.footer-divider {
  height: 1px;
  background-color: #333333;
  margin: 1rem 0 0.8rem;
}

.footer-bottom-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #999999;
  font-size: 0.85rem;
  flex: 1;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: #cccccc;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #7f8565;
}

/* ===== MOBILE NAVBAR - KHUSUS TAMPILAN HP ===== */
@media only screen and (max-width: 768px) {
  /* Navbar dasar */
  .navbar {
    padding: 1.5rem 0;
    height: 65px;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
  }

  .navbar.scrolled {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  }

  .navbar .container {
    padding: 0 1.5rem;
  }

  .logo-img {
    height: 32px;
    max-width: 160px;
  }

  .navbar.scrolled .logo-img {
    height: 30px;
  }

  /* Toggle button */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .navbar.scrolled .nav-toggle {
    background: rgba(127, 133, 101, 0.1);
    border-color: rgba(127, 133, 101, 0.2);
    color: var(--accent);
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .navbar.scrolled .nav-toggle:hover {
    background: rgba(127, 133, 101, 0.2);
    border-color: var(--accent);
  }

  /* Menu sidebar */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -75%;
    width: 75%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 80px 1.5rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
    gap: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-menu.active {
    right: 0;
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  @keyframes slideInRight {
    from {
      right: -75%;
      opacity: 0;
    }
    to {
      right: 0;
      opacity: 1;
    }
  }

  /* Nav links */
  .nav-link {
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
  }

  .nav-link:hover {
    color: var(--accent);
    background-color: rgba(127, 133, 101, 0.03);
    padding-left: 10px;
    margin: 0 -10px;
    border-radius: 6px;
  }

  .nav-link.active {
    color: var(--accent);
    font-weight: 600;
  }

  /* Dropdown */
  .dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1rem 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
  }

  .dropdown-toggle:hover {
    color: var(--accent);
    background-color: rgba(127, 133, 101, 0.03);
    padding-left: 10px;
    margin: 0 -10px;
    border-radius: 6px 6px 0 0;
  }

  .dropdown-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
  }

  .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(127, 133, 101, 0.02);
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 8px 8px;
    border: none;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.5rem 0;
    background-color: rgba(127, 133, 101, 0.03);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(127, 133, 101, 0.1);
  }

  .dropdown-item {
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
  }

  .dropdown-item:hover {
    background-color: rgba(127, 133, 101, 0.08);
    color: var(--accent);
    padding-left: 2rem;
  }

  .dropdown-item.active {
    color: var(--accent);
    font-weight: 500;
    background-color: rgba(127, 133, 101, 0.1);
  }

  /* Overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* ===== TRAINING HERO MOBILE - FULL LEBAR & RATA KIRI BANGET ===== */
@media only screen and (max-width: 768px) {
  .training-hero {
    height: 80vh;
    min-height: 600px;
    align-items: flex-start;
    padding-top: 200px;
    margin-top: calc(-1 * var(--nav-height));
  }

  .training-hero-background {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
  }

  .training-hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.8) 0%,
      rgba(0, 0, 0, 0.7) 30%,
      rgba(0, 0, 0, 0.6) 50%,
      rgba(0, 0, 0, 0.5) 70%,
      rgba(0, 0, 0, 0.4) 90%,
      rgba(0, 0, 0, 0.3) 100%
    );
  }

  .training-hero-content {
    max-width: 100%;
    padding: 0;
    margin-right: 2rem;
    text-align: left;
  }

  .training-hero-title {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInFromLeftMobile 0.8s ease-out forwards;
    animation-delay: 0.3s;
  }

  .training-hero-subtitle {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 100%;
    opacity: 0.9;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInFromLeftMobile 0.8s ease-out forwards;
    animation-delay: 0.6s;
  }

  @keyframes slideInFromLeftMobile {
    0% {
      opacity: 0;
      transform: translateX(-100%);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
}

/* ===== TRAINING PHILOSOPHY MOBILE ===== */
@media only screen and (max-width: 768px) {
  .training-philosophy {
    padding: 5rem 0;
  }

  .training-philosophy .container-sm {
    padding: 0 1.5rem;
  }

  .philosophy-text {
    font-size: 1.2rem;
    line-height: 1.5;
    text-align: center;
    font-weight: 300;
    letter-spacing: -0.01em;
  }
}

/* ===== TRAINING PROGRAMS MOBILE ===== */
@media only screen and (max-width: 768px) {
  .training-programs {
    padding: 3rem 0;
  }

  .training-programs .container {
    padding: 0 1.5rem;
  }

  .training-programs .section-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .programs-grid {
    display: grid;
    grid-template-columns: 1fr !important; /* Satu kolom di mobile */
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .program-card {
    padding: 1.8rem 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .program-card:hover {
    transform: translateY(-5px); /* Kurangi efek hover di mobile */
  }

  .program-number {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }

  .program-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .program-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .program-meta {
    margin-bottom: 1.5rem;
    padding-top: 0.8rem;
    gap: 0.4rem;
  }

  .meta-item {
    font-size: 0.9rem;
  }

  .meta-item i {
    width: 16px;
    font-size: 0.9rem;
  }

  .btn-program {
    padding: 0.9rem;
    font-size: 0.95rem;
    gap: 0.6rem;
  }

  .btn-program i {
    font-size: 1rem;
  }
}

/* ===== CONSULTATION SECTION MOBILE ===== */
@media only screen and (max-width: 768px) {
  .consultation-section {
    padding: 3rem 0;
  }

  .consultation-section .container-sm {
    padding: 0 1.5rem;
  }

  .consultation-section .section-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .consultation-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    padding: 0;
    max-width: 100%;
  }

  .consultation-form {
    max-width: 100%;
    margin: 0;
  }

  .form-group {
    margin-bottom: 1.2rem;
  }

  .form-group label {
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    border-radius: 4px;
  }

  .form-group textarea {
    min-height: 80px;
  }

  .btn-submit {
    padding: 0.9rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
  }

  .btn-submit:hover {
    transform: translateY(-1px); /* Kurangi efek hover di mobile */
  }
}

/* ===== HP GEDE (481px - 768px) ===== */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .consultation-section {
    padding: 3.5rem 0;
  }

  .consultation-section .section-title {
    font-size: 2.1rem;
  }

  .consultation-text {
    font-size: 1.05rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .consultation-form {
    max-width: 450px;
    margin: 0 auto;
  }
}

/* ===== EXTRA: Perbaikan untuk input di mobile ===== */
@media only screen and (max-width: 768px) {
  /* Hilangkan zoom otomatis di iOS */
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Mencegah zoom di iOS */
  }

  /* Style untuk select dropdown */
  .form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a524c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 1rem;
    padding-right: 2rem;
  }

  /* Hilangkan background default di iOS */
  .form-group select {
    background-color: var(--bg-primary);
  }

  /* Style untuk placeholder */
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
    font-size: 0.9rem;
  }
}

/* ===== WHY TRAIN SECTION MOBILE ===== */
@media only screen and (max-width: 768px) {
  .why-train {
    padding: 3rem 0;
  }

  .why-train .container-sm {
    padding: 0 1.5rem;
  }

  .why-train .section-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }

  .why-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
    padding: 0;
  }

  .why-text br {
    display: none; /* Biarin aja display none biar ga ada line break di mobile */
  }
}

/* ===== CTA SECTION MOBILE ===== */
@media only screen and (max-width: 768px) {
  .training-cta {
    padding: 3rem 0;
  }

  .training-cta .container {
    padding: 0 1.5rem;
  }

  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
  }

  .btn-cta {
    width: 100%;
    max-width: 280px;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
  }

  .btn-cta i {
    font-size: 1rem;
  }

  .btn-cta:hover {
    transform: translateY(-1px); /* Kurangi efek hover di mobile */
  }
}

/* ===== ADMIN BUTTON STYLES ===== */
.admin-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid var(--accent);
  padding: 6px 16px;
  border-radius: 10px;
  margin-left: 12px;
  text-decoration: none;
}

.admin-btn i {
  font-size: 0.85rem;
  color: var(--accent);
}

.admin-btn span {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--accent);
}

.admin-btn:hover {
  background-color: var(--accent);
}

.admin-btn:hover i,
.admin-btn:hover span {
  color: white;
}

.admin-btn::after {
  display: none !important;
}

/* Mobile styles for admin button */
@media only screen and (max-width: 768px) {
  .admin-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 12px 16px;
    padding: 12px 16px;
    width: calc(100% - 32px);
    background-color: transparent;
    border: 1px solid var(--accent);
    border-radius: 6px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
  }

  .admin-btn i {
    font-size: 1rem;
    color: var(--accent);
    margin-right: 10px;
  }

  .admin-btn span {
    font-size: 0.95rem;
    color: var(--accent);
  }

  .admin-btn:hover,
  .admin-btn:active {
    background-color: var(--accent);
  }

  .admin-btn:hover i,
  .admin-btn:active i,
  .admin-btn:hover span,
  .admin-btn:active span {
    color: #ffffff;
  }
}

.admin-btn, 
.admin-btn span {
  text-decoration: none !important;
}

/* ===== TABLET STYLES (769px - 1024px) ===== */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  /* Container adjustments */
  .container {
    padding: 0 2rem;
    max-width: 100%;
  }

  .container-sm {
    max-width: 90%;
    margin: 0 auto;
  }

  /* ===== NAVBAR TABLET ===== */
  .navbar {
    padding: 1.2rem 0;
    height: 70px;
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
  }

  .navbar.scrolled {
    background-color: #fff;
    padding: 0.8rem 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    height: 65px;
  }

  .navbar .container {
    padding: 0 2rem;
  }

  .logo-img {
    height: 38px;
    max-width: 180px;
  }

  .navbar.scrolled .logo-img {
    height: 35px;
  }

  /* Toggle button - visible on tablet */
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1001;
  }

  .navbar.scrolled .nav-toggle {
    background: rgba(127, 133, 101, 0.1);
    border-color: rgba(127, 133, 101, 0.2);
    color: var(--accent);
  }

  .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .navbar.scrolled .nav-toggle:hover {
    background: rgba(127, 133, 101, 0.2);
    border-color: var(--accent);
  }

  /* Menu sidebar untuk tablet (lebih lebar dari mobile) */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -45%;
    width: 45%;
    height: 100vh;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 90px 2rem 2rem;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow-y: auto;
    gap: 0;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
  }

  .nav-menu.active {
    right: 0;
  }

  /* Nav links tablet */
  .nav-link {
    width: 100%;
    padding: 1.2rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
  }

  .nav-link:hover {
    color: var(--accent);
    background-color: rgba(127, 133, 101, 0.03);
    padding-left: 12px;
    margin: 0 -12px;
    border-radius: 6px;
  }

  .nav-link.active {
    color: var(--accent);
    font-weight: 600;
  }

  /* Dropdown tablet */
  .dropdown {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 1.2rem 0;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
  }

  .dropdown-toggle:hover {
    color: var(--accent);
    background-color: rgba(127, 133, 101, 0.03);
    padding-left: 12px;
    margin: 0 -12px;
    border-radius: 6px 6px 0 0;
  }

  .dropdown-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
  }

  .dropdown.active .dropdown-icon {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: rgba(127, 133, 101, 0.02);
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 0 0 8px 8px;
    border: none;
  }

  .dropdown.active .dropdown-menu {
    max-height: 300px;
    padding: 0.6rem 0;
    background-color: rgba(127, 133, 101, 0.03);
    border-radius: 0 0 8px 8px;
    border-top: 1px solid rgba(127, 133, 101, 0.1);
  }

  .dropdown-item {
    padding: 0.9rem 1.5rem;
    font-size: 0.98rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
  }

  .dropdown-item:hover {
    background-color: rgba(127, 133, 101, 0.08);
    color: var(--accent);
    padding-left: 2rem;
  }

  .dropdown-item.active {
    color: var(--accent);
    font-weight: 500;
    background-color: rgba(127, 133, 101, 0.1);
  }

  /* Admin button tablet */
  .admin-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 16px 0 8px 0;
    padding: 12px 16px;
    width: 100%;
    background-color: transparent;
    border: 1.5px solid var(--accent);
    border-radius: 8px;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    gap: 12px;
  }

  .admin-btn i {
    font-size: 1rem;
    color: var(--accent);
    margin-right: 6px;
  }

  .admin-btn span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent);
  }

  .admin-btn:hover,
  .admin-btn:active {
    background-color: var(--accent);
  }

  .admin-btn:hover i,
  .admin-btn:active i,
  .admin-btn:hover span,
  .admin-btn:active span {
    color: #ffffff;
  }

  /* Overlay tablet */
  .nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  /* ===== TRAINING HERO TABLET ===== */
  .training-hero {
    height: 70vh;
    min-height: 500px;
    align-items: center;
    margin-top: calc(-1 * var(--nav-height));
  }

  .training-hero-content {
    max-width: 70%;
    padding: 0;
  }

  .training-hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .training-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 90%;
  }

  /* ===== TRAINING PHILOSOPHY TABLET ===== */
  .training-philosophy {
    padding: 4rem 0;
  }

  .philosophy-text {
    font-size: 1.4rem;
    line-height: 1.5;
    padding: 0 1rem;
  }

  /* ===== TRAINING PROGRAMS TABLET ===== */
  .training-programs {
    padding: 4rem 0;
  }

  .training-programs .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
    margin-top: 2rem;
  }

  .program-card {
    padding: 2rem 1.8rem;
  }

  .program-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }

  .program-number {
    font-size: 2.8rem;
  }

  .program-title {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }

  .program-description {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .program-meta {
    margin-bottom: 1.5rem;
  }

  .meta-item {
    font-size: 0.9rem;
  }

  .btn-program {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  /* ===== CONSULTATION SECTION TABLET ===== */
  .consultation-section {
    padding: 4rem 0;
  }

  .consultation-section .section-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }

  .consultation-text {
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 80%;
  }

  .consultation-form {
    max-width: 550px;
    margin: 0 auto;
  }

  .form-group {
    margin-bottom: 1.3rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
  }

  .btn-submit {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  /* ===== WHY TRAIN TABLET ===== */
  .why-train {
    padding: 4rem 0;
  }

  .why-train .section-title {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }

  .why-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 85%;
  }

  /* ===== CTA SECTION TABLET ===== */
  .training-cta {
    padding: 3.5rem 0;
  }

  .cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .btn-cta {
    padding: 1rem 2rem;
    font-size: 0.95rem;
    min-width: 240px;
    justify-content: center;
  }

  /* ===== FOOTER TABLET ===== */
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
  }

  .footer-logo-section {
    text-align: center;
    width: 100%;
  }

  .footer-logo {
    height: 65px;
    margin: 0 auto 0.8rem;
  }

  .footer-brand {
    font-size: 1.6rem;
    text-align: center;
  }

  .footer-tagline {
    text-align: center;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
  }

  .footer-column {
    text-align: left;
  }

  .column-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .footer-menu-link,
  .contact-item {
    font-size: 0.9rem;
  }

  .footer-bottom-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
    text-align: left;
  }

  .footer-social {
    gap: 0.8rem;
  }

  .social-link {
    font-size: 1.1rem;
    width: 34px;
    height: 34px;
  }

  /* ===== WHATSAPP FLOAT TABLET ===== */
  .whatsapp-float {
    bottom: 25px;
    right: 25px;
  }

  .whatsapp-link {
    width: 55px;
    height: 55px;
  }

  .whatsapp-icon {
    font-size: 1.8rem;
  }

  .whatsapp-text {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
}

/* ===== TABLET LANDSCAPE (lebih besar) ===== */
@media only screen and (min-width: 900px) and (max-width: 1024px) {
  .nav-menu {
    width: 40%;
    right: -40%;
  }

  .training-hero-content {
    max-width: 65%;
  }

  .training-hero-title {
    font-size: 3.2rem;
  }

  .programs-grid {
    gap: 2rem;
  }

  .program-card:last-child {
    max-width: 45%;
  }

  .consultation-form {
    max-width: 600px;
  }
}

/* ===== TABLET PORTRAIT (lebih kecil) ===== */
@media only screen and (min-width: 769px) and (max-width: 899px) {
  .nav-menu {
    width: 50%;
    right: -50%;
  }

  .training-hero-content {
    max-width: 75%;
  }

  .training-hero-title {
    font-size: 2.8rem;
  }

  .programs-grid {
    gap: 1.5rem;
  }

  .program-card:last-child {
    max-width: 60%;
  }

  .consultation-text {
    max-width: 90%;
  }
}