/* ========================================
   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: inline-block;
}

.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 {
  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;
  }

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

.ly-title-center-light h1 {
  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;
}

/* ========================================
   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;
  }
}
