/* --- Root Variables --- */
:root {
    --primary-color: #00b875;
    --primary-dark: #009961;
    --bg-light: #ffffff;
    --text-dark: #1e293b;
    --shadow-sm: 0 4px 6px -1px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global & Fix Spacing Header --- */
body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Segoe UI', system-ui, sans-serif;
    padding-top: 90px !important; /* Mencegah konten tertutup header fixed-top */
}

.main {
    min-height: 70vh;
    display: block !important;
}

/* --- Hero Section (Bold & High Contrast) --- */
.hero-section {
    position: relative;
    padding: 120px 0 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
}

.hero-section h1, 
.hero-section p {
    color: #ffffff !important;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8); 
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    padding: 0.6rem 1.25rem;
    transition: var(--transition);
}
.btn-primary:hover {
    background-color: var(--primary-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 184, 117, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background-color: var(--primary-color);
    color: #ffffff;
}

/* --- Cards & Features --- */
.card, .feature-card {
    border-radius: 20px !important;
    border: none !important;
    background: #ffffff;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md) !important;
}

/* --- Table Styling --- */
.table thead {
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #64748b;
}

.table tbody tr:hover {
    background-color: rgba(0, 184, 117, 0.03);
}

/* --- Banner & Dividers --- */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-radius: 24px;
    padding: 3rem;
    color: white;
}

.section-divider {
    height: 4px;
    width: 60px;
    background-color: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
    transition: width 0.4s ease;
}

.icon-box-wrapper {
    width: 65px;
    height: 65px;
    background-color: rgba(0, 184, 117, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--primary-color);
}

/* --- Styling Modal Checkout --- */
.modal-content {
    border-radius: 1rem;
    border: none;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: transparent;
}

.modal-body i {
    color: #198754;
}

.btn-success {
    background-color: #198754;
    border: none;
}

/* --- Styling Konten Artikel Blog (Spasi Paragraf & Text Anchor) --- */
.article-content p {
    margin-bottom: 1.5rem !important;
    line-height: 1.8 !important;
    color: #475569 !important;
}

.article-content a {
    color: var(--primary-color) !important;
    text-decoration: underline !important;
    font-weight: 600;
}

.article-content a:hover {
    color: var(--primary-dark) !important;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem !important;
    padding-left: 1.5rem !important;
}

.article-content li {
    margin-bottom: 0.5rem !important;
}

.article-content h2, .article-content h3, .article-content h4 {
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    font-weight: bold !important;
    color: #1e293b !important;
}
/* ===== Responsive Navbar Mobile ===== */
@media (max-width: 1199px) {
 .navmenu ul {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: 100dvh;
  padding: 80px 20px 20px;
  margin: 0;
  background: rgba(15, 20, 30, 0.97);
  overflow-y: auto;
  transition: 0.3s;
  z-index: 9997;
  flex-direction: column;
}

  body.mobile-nav-active .navmenu ul {
    display: flex;
  }

  .navmenu ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navmenu ul li a {
    color: #fff;
    font-size: 18px;
  }

  .mobile-nav-toggle {
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    display: block;
    line-height: 0;
    z-index: 9999;
  }

  body.mobile-nav-active .mobile-nav-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    color: #fff;
  }
}

@media (min-width: 1200px) {
  .mobile-nav-toggle {
    display: none;
  }
}   