@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* ========= Reset & Base ========= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: "Poppins", sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
  background-color: #fafafa;
  color: #4a4a4a;
}

a {
  text-decoration: none !important;
  color: inherit;
  transition: all 0.25s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e1e1e;
  margin: 0;
  font-weight: 700;
}

p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a4a4a;
}

img {
  width: 100%;
  display: block;
}

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

/* ========= Design Tokens ========= */
:root {
  --primary-green: #2d5016;
  --accent-gold: #d4a574;
  --light-green: #6b8e23;
  --bg-soft: #f8f9fa;
  --border-soft: #e3e6ea;
  --radius-card: 16px;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* ========= Preloader ========= */
.js-preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.preloader-inner {
  text-align: center;
}

.preloader-inner .dot {
  width: 18px;
  height: 18px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1s infinite ease-in-out;
}

.preloader-inner .dots span {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px;
  background: var(--primary-green);
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out both;
}

.preloader-inner .dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.preloader-inner .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.4);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

/* ========= Top Bar ========= */
.sub-header {
  background-color: var(--primary-green);
  color: #ffffff;
  font-size: 13px;
  padding: 8px 0;
}

.sub-header .info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.sub-header .info li {
  display: inline-flex;
  align-items: center;
}

.sub-header .info li i {
  margin-right: 6px;
  font-size: 13px;
}

.sub-header .social-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.sub-header .social-links li a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.sub-header .social-links li a:hover {
  background: #ffffff;
  color: var(--primary-green);
}

/* ========= Header & Navigation ========= */
.header-area {
  position: fixed;
  top: 40px;
  left: 0;
  right: 0;
  z-index: 998;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 18px 0;
}

.header-area.background-header {
  background-color: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  top: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.main-nav .logo img {
  width: auto !important;
  height: 48px;
  max-height: 48px;
  max-width: 180px;
  object-fit: contain;
}

@media (max-width: 991px) {
  .main-nav .logo img {
    height: 40px;
    max-height: 40px;
    max-width: 160px;
  }
}

.main-nav .logo h1 {
  color: var(--primary-green);
  font-size: 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.main-nav .nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav .nav li {
  position: relative;
}

.main-nav .nav li a {
  font-size: 14px;
  font-weight: 500;
  color: #333333;
  padding-bottom: 4px;
  position: relative;
}

.main-nav .nav li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent-gold);
  transition: width 0.25s ease;
}

.main-nav .nav li a:hover,
.main-nav .nav li a.active {
  color: var(--accent-gold);
}

.main-nav .nav li a:hover::after,
.main-nav .nav li a.active::after {
  width: 100%;
}

/* Mobile menu trigger */
.menu-trigger {
  display: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.menu-trigger span {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
}

.menu-trigger.active span {
  background: var(--primary-green);
  color: #ffffff;
  border-color: var(--primary-green);
}

/* ========= Buttons ========= */
.orange-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-gold);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  outline: none;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(212, 165, 116, 0.35);
  transition: all 0.25s ease;
}

.orange-button:hover {
  background-color: var(--light-green);
  box-shadow: 0 12px 26px rgba(107, 142, 35, 0.35);
  transform: translateY(-1px);
}

/* ========= Hero Section ========= */
.hero-section {
  background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.45),
      rgba(190, 223, 166, 0.5)
    ),
     url("/images/cover-hero.jpg") center/cover no-repeat;

  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #1f2a1a;
  text-align: center;
  position: relative;
  padding-top: 120px; /* offset header */
  padding-bottom: 80px;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 760px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 17px;
  margin-bottom: 24px;
  color: #f6f6f6;
}

.hero-content .orange-button + .orange-button {
  margin-left: 10px;
}

/* ========= Sections ========= */
.section,
.featured.section,
.properties.section,
.contact-content {
  padding: 100px 0;
  position: relative;
}

.section-heading h6 {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.section-heading h2 {
  font-size: 28px;
  color: var(--primary-green);
  margin-bottom: 18px;
}

/* ========= About / Featured ========= */
.featured.section {
  background-color: #ffffff;
}

.left-image img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

/* ========= Products ========= */
.properties.section {
  background-color: var(--bg-soft);
}

.properties.section h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.product-specs {
  background: #ffffff;
  padding: 20px 22px;
  border-radius: var(--radius-card);
  margin: 20px 0;
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

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

.product-specs li {
  padding: 9px 0;
  border-bottom: 1px dashed #dde0e4;
  font-size: 13px;
}

.product-specs li:last-child {
  border-bottom: none;
}

.product-specs strong {
  color: var(--primary-green);
  font-weight: 600;
  margin-right: 5px;
}

/* ========= Why Choose Us ========= */
.fun-facts {
  background: #f4f5f7;
  padding: 90px 0;
}

.why-choose-icon {
  text-align: center;
  padding: 28px 18px;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.why-choose-icon i {
  font-size: 42px;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.why-choose-icon h4 {
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--primary-green);
}

.why-choose-icon p {
  font-size: 13px;
}

.why-choose-icon:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

/* ========= Certifications ========= */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.cert-badge {
  background: #ffffff;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========= How We Work ========= */
#how-we-work {
  background: var(--bg-soft);
}

.step-process {
  text-align: center;
  padding: 26px 18px 30px;
  background: #ffffff;
  border-radius: 18px;
  margin: 15px 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  height: 100%;
}

.step-number {
  background: var(--accent-gold);
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-process h3 {
  color: var(--primary-green);
  font-size: 17px;
  margin-bottom: 10px;
}

/* ========= Contact ========= */
.contact-content {
  background: #ffffff;
}

#map iframe {
  border-radius: 12px;
}

.contact-content .item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}

.contact-content .item h6 {
  font-size: 14px;
  font-weight: 600;
  color: #1e1e1e;
}

.contact-content .item span {
  display: block;
  font-size: 12px;
  color: #888888;
}

#contact-form fieldset {
  margin-bottom: 16px;
}

#contact-form label {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
  color: #333333;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 10px 12px;
  font-size: 14px;
  background-color: #fdfdfd;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

#contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.18);
  background-color: #ffffff;
}

/* ========= Footer Fix ========= */
    footer,
    .site-footer {
      background: var(--primary-green);
      color: #ffffff;
      padding: 40px 0;
      font-size: 13px;
    }

    footer p,
    .site-footer p {
      color: #e6e6e6;
      margin-bottom: 6px;
    }

    footer i,
    .site-footer i {
      margin-right: 6px;
    }

    footer h4,
    .site-footer h4 {
      color: var(--accent-gold);
      margin-bottom: 20px;
      font-size: 16px;
    }

    footer ul,
    .site-footer ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    footer ul li + li,
    .site-footer ul li + li {
      margin-top: 6px;
    }

    footer ul li a,
    .site-footer ul li a {
      color: #ffffff;
      font-size: 13px;
    }

    footer ul li a:hover,
    .site-footer ul li a:hover {
      color: var(--accent-gold);
    }

    /* FIXED: Social links alignment */
    footer .social-links,
    .site-footer .social-links {
      display: flex;
      gap: 10px;
      margin-top: 8px;
      align-items: center;
      justify-content: center;
    }

    footer .social-links li,
    .site-footer .social-links li {
      margin-top: 0 !important; /* Override the li + li margin */
    }

    footer .social-links li a,
    .site-footer .social-links li a {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.4);
      display: inline-flex; /* Changed to inline-flex for proper centering */
      align-items: center;
      justify-content: center;
      font-size: 14px;
      transition: all 0.3s ease;
    }

    footer .social-links li a i,
    .site-footer .social-links li a i {
      margin: 0; /* Remove margin from icons inside social links */
      line-height: 1; /* Ensure proper line height */
    }

    footer .social-links li a:hover,
    .site-footer .social-links li a:hover {
      background: #ffffff;
      color: var(--primary-green);
      border-color: #ffffff;
    }

    .site-footer .footer-links a {
      display: inline-block;
    }

    .site-footer .col-lg-4 {
      text-align: center;
    }

    .site-footer .footer-copyright {
      margin-top: 20px;
    }

    /* Container for demo */
    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

    .row {
      display: flex;
      flex-wrap: wrap;
      margin: 0 -15px;
    }

    .col-lg-4 {
      flex: 0 0 33.333%;
      max-width: 33.333%;
      padding: 0 15px;
    }

    @media (max-width: 768px) {
      .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
      }
    }

    /* Contact tabs wrapper */
.contact-tabs {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  padding: 16px;
}

.contact-tabs .tabs-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* Radio pills */
.tabs-radio {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tab-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  user-select: none;
  background: #fff;
}

.tab-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab-pill span {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}

.tab-pill:has(input:checked) {
  border-color: rgba(212, 165, 116, 0.6);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.14);
}

.tab-pill:has(input:checked) span {
  color: var(--primary-green);
}

/* Toggle switch */
.tabs-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-ui {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
}

.toggle-label {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.toggle-knob {
  width: 44px;
  height: 22px;
  border-radius: 999px;
  background: rgba(212, 165, 116, 0.25);
  position: relative;
}

.toggle-knob::after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.25s ease;
}

.tabs-toggle input:checked + .toggle-ui .toggle-knob::after {
  transform: translateX(22px);
}

/* Panels */
.tabs-body {
  position: relative;
  overflow: hidden;
}

.tab-panel {
  display: none;
  animation: panelIn 0.25s ease;
}

.tab-panel.is-active {
  display: block;
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Contact list card */
.contact-card h4 {
  margin-bottom: 8px;
  color: var(--primary-green);
}

.contact-list {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.contact-list li {
  padding: 10px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
}

.contact-list a {
  color: var(--primary-green);
  font-weight: 600;
}

.contact-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.contact-actions .orange-button {
  padding: 10px 18px;
}

/* ===== Request Panel: CSS khusus agar mudah di-edit ===== */
.tab-panel-request {
  padding: 12px 8px 6px;
}

/* Hapus efek margin negatif row bootstrap yang bikin terlihat kepotong */
.tab-panel-request .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Buang padding col supaya form sejajar dengan card */
.tab-panel-request .row > [class^="col-"],
.tab-panel-request .row > [class*=" col-"] {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Spacing tiap field */
.tab-panel-request fieldset {
  margin-bottom: 14px;
}

/* Label lebih konsisten */
.tab-panel-request label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
}

/* Input/select/textarea rapi */
.tab-panel-request input,
.tab-panel-request select,
.tab-panel-request textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  padding: 12px 12px;
  font-size: 14px;
  background: #fff;
}

/* Fokus */
.tab-panel-request input:focus,
.tab-panel-request select:focus,
.tab-panel-request textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.18);
}

/* Tombol send (kalau mau rata tengah) */
.tab-panel-request #form-submit {
  width: 100%;
}

