/* style.css */
:root {
  --primary: #0d9488;
  --primary-light: #a7f3d0;
  --primary-dark: #0f766e;
  --text: #0f172a;
  --text-light: #475569;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0,0,0,0.05);
  --radius: 12px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HEADER */
.header-utama {
  position: sticky;
  top: 0;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}
.header-utama .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}
.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
}
.logo-text .nama {
  color: var(--primary);
}
.header-utama nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
.header-utama nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 500;
  transition: var(--transition);
}
.header-utama nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 100px 0;
  text-align: center;
}
.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.subtitle {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto 32px;
}
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-consult {
  background: linear-gradient(135deg, #334155, #1e293b);
  text-align: center;
  padding: 60px 0;
}

/* BUTTON */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  font-size: 1rem;
}
.btn.primary {
  background: var(--white);
  color: var(--primary);
}
.btn.outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* SECTIONS */
.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: var(--text);
}

/* APPROACH */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.approach-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}
.approach-card:hover {
  transform: translateY(-5px);
}
.approach-card h3 {
  color: var(--primary);
  margin: 16px 0 12px;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
}
.faq-question {
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-answer {
  display: none;
  padding: 12px 0 0;
  color: var(--text-light);
  line-height: 1.6;
}

/* BOOKING */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.booking-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}
.booking-form textarea {
  height: 120px;
  resize: vertical;
}
.booking-info ol {
  padding-left: 20px;
  margin: 20px 0;
}
.note {
  font-style: italic;
  color: var(--text-light);
  margin-top: 20px;
}

/* DASHBOARD */
.dashboard-hero {
  background: var(--text);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.stat-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
}
.session-card, .notes-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.notes-card {
  flex-direction: column;
  align-items: flex-start;
}
.badge.confirmed {
  background: #dcfce7;
  color: #166534;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* CTA FINAL */
.cta-final {
  background: var(--white);
  padding: 80px 0;
  text-align: center;
}
.cta-final h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

/* FOOTER */
.footer {
  background: var(--text);
  color: var(--white);
  padding: 40px 0;
  text-align: center;
  margin-top: 60px;
}
.footer a {
  color: var(--white);
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .session-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .header-utama nav ul {
    display: none;
  }
}

/* TEAM */
.team-card {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-light);
}
.bg-light {
  background-color: #f1f5f9;
}

/* LOCATIONS */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.location-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}

/* LOGIN */
.login-section {
  padding: 80px 0;
}
.login-card {
  max-width: 450px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.login-card input {
  width: 100%;
  padding: 14px;
  margin: 12px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}
.login-footer {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}
.login-footer a {
  color: var(--primary);
  text-decoration: none;
}

/* DASHBOARD UPDATE */
.session-list {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.session-item {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.session-item:last-child {
  border-bottom: none;
}
.status {
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
}
.status.upcoming {
  background: #dbeafe;
  color: #1d4ed8;
}
.status.completed {
  background: #dcfce7;
  color: #166534;
}
.btn-nav {
  background: var(--primary);
  color: white;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
}
.btn-nav:hover {
  opacity: 0.9;
}

/* CHAT WIDGET */
.chat-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.chat-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.chat-icon:hover {
  transform: scale(1.1);
}
.chat-icon svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.chat-panel {
  position: fixed;
  bottom: 0;
  right: -400px;
  width: 380px;
  max-height: 80vh;
  background: var(--white);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 9998;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.chat-panel.active {
  right: 0;
}

.chat-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 16px 16px 0 0;
}
.chat-header .logo {
  font-weight: 700;
  font-size: 1.1rem;
}
.chat-header .close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.chat-header .avatar-group {
  display: flex;
  gap: 6px;
}
.chat-header img.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid white;
}

.chat-body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.chat-greeting {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.chat-greeting span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.9;
}

.chat-option {
  background: #f8fafc;
  padding: 16px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-option:hover {
  background: #e2e8f0;
}
.chat-option .arrow {
  color: var(--primary);
  font-size: 1.2rem;
}

.chat-promo {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-top: 20px;
}
.chat-promo img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.chat-promo .promo-text {
  padding: 16px;
  font-weight: 600;
  text-align: center;
}

.chat-footer {
  display: flex;
  border-top: 1px solid var(--border);
  padding: 16px;
  gap: 20px;
}
.chat-footer button {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s;
}
.chat-footer .home-btn {
  background: #e2e8f0;
  color: var(--text);
}
.chat-footer .home-btn:hover {
  background: #cbd5e1;
}
.chat-footer .message-btn {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.chat-footer .message-btn:hover {
  background: #86efac;
}

/* SCHEDULE SESSION FORM */
.booking-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  max-width: 700px;
  margin: 0 auto;
}
.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--text);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}
.form-group textarea {
  min-height: 100px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.full-width {
  width: 100%;
  justify-content: center;
}

/* APPROACH DETAIL PAGE */
.approach-detail {
  max-width: 800px;
  margin: 0 auto;
}
.intro-text {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 40px;
  color: var(--text);
}
.principles {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.principle-card {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.principle-card h3 {
  color: var(--primary);
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.therapy-list {
  padding-left: 20px;
  margin-top: 12px;
}
.therapy-list li {
  margin-bottom: 10px;
}
.approach-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.approach-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

/* TEAM PAGE STYLES */
.team-section {
  margin-bottom: 50px;
}
.section-subtitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  color: var(--text);
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}
.team-member {
  display: flex;
  gap: 20px;
  background: var(--white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.team-member:hover {
  transform: translateY(-4px);
}
.member-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}
.member-info h3 {
  margin-bottom: 6px;
  color: var(--text);
}
.role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 6px;
}
.license {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}
.team-member.lead {
  flex-direction: column;
  text-align: center;
  align-items: center;
}
.team-member.lead .member-photo {
  width: 140px;
  height: 140px;
}

/* === TESTIMONIALS - GRID 3 KOLOM DI TENGAH (PERSIS GAMBAR) === */
.testimonials {
  padding: 50px 0;
  background-color: #f8fafd;
  text-align: center;
}
.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 12px;
  color: #2c3e50;
}
.testimonial-subtitle {
  font-size: 1rem;
  color: #5a6b8c;
  max-width: 700px;
  margin: 0 auto 40px;
}

.testimonial-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card {
  flex: 1 1 280px;
  min-width: 280px;
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  margin: 0 0 20px 0;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.5;
}

.client-info {
  margin-top: auto;
}
.client-info strong {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}
.client-info span {
  display: block;
  font-size: 0.85rem;
  color: #5a6b8c;
  margin-top: 4px;
}

/* RESPONSIVE UNTUK HP */
@media (max-width: 768px) {
  .testimonial-grid {
    gap: 16px;
    padding: 0 16px;
  }
  .testimonial-card {
    min-width: 100%;
    max-width: 400px;
  }
}


/* Default desktop view */
.nav-menu {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #1f3f3a;
  transition: 0.3s;
}

.nav-toggle {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 100%;
    text-align: center;
    background: white;
    padding: 20px 0;
    transition: 0.4s ease;
    border-top: 1px solid #ddd;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 18px;
  }

  /* When hamburger clicked → show menu */
  .nav-toggle:checked ~ .nav-menu {
    right: 0;
  }

  /* Hamburger animation to X */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

