/* ========================================
   GLOBAL STYLES - GL PLUS
   Reusable components across all pages
   ======================================== */

/* CSS Variables */
:root {
  --primary-color: #014E9A;
  --secondary-color: #0170BF;
  --accent-color: #00A8E8;
  --accent-orange: #FF6B35;
  --text-dark: #2a2a2a;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --primary-color-rgb: 1, 78, 154;
  --secondary-color-rgb: 1, 112, 191;
}

/* ========================================
   TITLE CENTER COMPONENT
   Reusable centered title for all sections
   ======================================== */
.ly-title-center {
  text-align: center !important;
  margin-bottom: 60px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ly-title-center h5 {
  position: relative;
  display: inline-block;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 0.8rem;
  color: var(--primary-color);
  text-transform: uppercase;
}

  .ly-title-center h1,
  .ly-title-center h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0 auto;
  display: inline-block;
  border-bottom: 1px solid var(--primary-color);
  padding-bottom: 0.5rem;
  text-transform: capitalize;
  }

/* Light variant (untuk background gelap) */
.ly-title-center-light h5 {
  color: rgba(255, 255, 255, 0.8);
}

.ly-title-center-light h1,
.ly-title-center-light h2 {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.5);
}

.ly-title-center p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.8;
  max-width: 700px;
  margin: 20px auto 0;
}

.ly-title-center-light p {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive */
@media (max-width: 768px) {
  .ly-title-center {
    margin-bottom: 40px;
  }

  .ly-title-center h1 {
    font-size: 1.5rem;
}
}

@media (max-width: 576px) {
  .ly-title-center h1 {
    font-size: 1.2rem;
  }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.highlight {
  color: var(--accent-orange);
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-light-custom {
  background-color: var(--bg-light) !important;
}

/* ========================================
   EMPTY STATE MESSAGES
   ======================================== */
.empty-state {
  text-align: center;
  padding: 40px;
  border-radius: 8px;
}

.empty-state p {
  font-size: 14px;
  margin: 0;
}

.empty-state-warning {
  background: #fff3cd;
  border: 2px dashed #ffc107;
  color: #856404;
}

.empty-state-info {
  background: #e7f3ff;
  border: 2px dashed #0066cc;
  color: #004085;
}

.empty-state-muted {
  background: #f8f9fa;
  border: 2px dashed #6c757d;
  color: #6c757d;
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.faq-container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.faq-question {
  width: 100%;
  padding: 24px 30px;
  text-align: left;
  border: none;
  background: white;
  font-weight: 600;
  font-size: 18px;
  color: #014E9A;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
  padding-bottom: 24px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ========================================
   SECTION SPACING
   ======================================== */
.section {
  padding: 80px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-lg {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-sm {
    padding: 40px 0;
  }

  .section-lg {
    padding: 80px 0;
  }
}
