:root {
  --primary-color: #ff6b35;
  --dark-bg: #111827;
  --light-bg: #f7fafc;
  --text-dark: #111827;
  --text-light: #ffffff;
  --text-muted: #9ca3af;
  --text-muted-dark-bg: rgba(17, 24, 39, 0.6);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  background-color: var(--text-light);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

.page-wrapper {
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-height {
  min-height: 700px;
}

section {
  padding-top: 60px;
  padding-bottom: 60px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

/* CSS for section section:header */
.site-header {
  background-color: var(--text-light);
  box-shadow: 0px 1px 5px 0px rgba(117, 117, 117, 0.25);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-container {
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
}
.logo img {
  width: 131px;
  height: 45px;
  display: block;
}
.main-nav ul {
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted-dark-bg);
  transition: color 0.3s;
}
.main-nav a:hover {
  color: var(--primary-color);
}
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
  border: none;
}
.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-bg);
  border: none;
}
.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--light-bg);
  opacity: 0.7;
}
.btn-secondary {
  background-color: #e5e8eb;
  color: var(--text-muted-dark-bg);
}
.btn-secondary:hover {
  background-color: #d1d5db;
}
.text-primary {
  color: var(--primary-color) !important;
}
.text-primary:hover {
  color: var(--primary-color);
  opacity: 0.8;
}
.bg-primary {
  background-color: var(--primary-color) !important;
  color: var(--text-light);
}
.text-brown {
  color: #773200;
}
.form-control {
  height: 50px;
}

.bermitra h1 {
  font-size: 2.9rem;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.scroll-section {
  scroll-margin-top: 200px; /* sesuaikan dengan tinggi navbar + jarak */
}
@media (max-width: 992px) {
  .main-nav {
    display: none; /* Simple hide for mobile, would need JS for a hamburger menu */
  }
}
@media (max-width: 480px) {
  .auth-buttons {
    display: none;
  }
}

/* CSS for section section:hero */
.hero-section {
  padding-top: 75px;
  padding-bottom: 60px;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 56px;
}
.hero-image-wrapper {
  flex: 1;
  max-width: 567px;
}
.hero-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-dark);
}
.hero-text p {
  font-size: 18px;
  line-height: 1.9;
  color: var(--text-muted-dark-bg);
  max-width: 627px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.btn-outline {
  background-color: rgba(17, 24, 39, 0.1);
  color: var(--text-muted-dark-bg);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 700;
  transition: background-color 0.3s;
}
.btn-outline:hover {
  background-color: rgba(17, 24, 39, 0.2);
}
.stats-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 90px;
  flex-wrap: wrap;
  gap: 30px;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}
.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.36;
}
.stat-label {
  font-size: 18px;
  color: var(--text-muted-dark-bg);
  line-height: 1.36;
}
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .stats-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .hero-text h1 {
    font-size: 36px;
  }
  .hero-text p {
    font-size: 16px;
  }
}

/* CSS for section section:services */
.section-header {
  text-align: left;
  margin-bottom: 40px;
}
.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-header p {
  font-size: 18px;
  color: var(--text-muted-dark-bg);
  max-width: 720px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}
.service-card {
  border: 1px solid #cfdbe8;
  border-radius: 8px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card img {
  width: 24px;
  height: 24px;
}
.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.service-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted-dark-bg);
}
@media (max-width: 768px) {
  .section-header {
    text-align: center;
  }
  .section-header p {
    margin-left: auto;
    margin-right: auto;
  }
}

/* CSS for section section:how-it-works */
.how-it-works-section .section-header {
  margin-bottom: 55px;
}
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
}
.step-item h3 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
}
.step-item p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-muted-dark-bg);
  max-width: 220px;
}

/* CSS for section section:commitment */
.commitment-section {
  background-color: var(--light-bg);
}
.commitment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.commitment-card {
  background-color: var(--light-bg);
  border: 1px solid #cfdbe8;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.commitment-card img {
  width: 24px;
  height: 24px;
}
.commitment-card h3 {
  font-size: 16px;
  font-weight: 700;
}
.commitment-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted-dark-bg);
}

/* CSS for section section:testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.testimonial-card {
  background-color: var(--text-light);
  border-radius: 8px;
  box-shadow: 0px 0px 1px 0px rgba(17, 24, 39, 0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.testimonial-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.testimonial-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}
.testimonial-content h4 {
  font-size: 18px;
  font-weight: 600;
}
.testimonial-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted-dark-bg);
  text-align: justify;
}

/* CSS for section section:footer */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 80px 0 40px;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 90px;
}
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.footer-logo img {
  width: 27px;
  height: 24px;
}
.footer-about p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.56;
  max-width: 264px;
}
.footer-links h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}
.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: var(--primary-color);
}
.footer-bottom {
  text-align: center;
}
.footer-bottom hr {
  border: none;
  height: 0.5px;
  background-color: var(--text-muted);
  margin-bottom: 30px;
}
.footer-bottom p {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}
@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-logo {
    justify-content: center;
  }
  .footer-about p {
    margin: 0 auto;
  }
}

.select2-container--default .select2-selection--multiple {
    background-color: #f0f9ff;
    border: 2px solid var(--text-muted);
    border-radius: 8px;
    min-height: 44px;
    padding: 4px 8px;
    font-size: 16px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 4px 8px;
    margin-top: 5px;
    border-radius: 10px;
    font-weight: 600;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 6px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--primary-color);
    color: white;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background-color: transparent;
    border: none;
    border-right: 1px solid #aaa;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    color: #999;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 0 4px;
    position: relative;
}
