/* ===============================
   H1 — Page Main Title
=================================*/
h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.25rem;
  letter-spacing: -0.3px;
}
/* ===============================
   H2 — Page Section Title
=================================*/
h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

/* ===============================
   H3 — Card / Module Title
=================================*/
h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.85rem;
}

/* ===============================
   H4 — Sub Section Title
=================================*/
h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

/* ===============================
   H5 — Inline Section Heading
=================================*/
h5 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 0.6rem;
}

/* ===============================
   H6 — Minor Label Heading
=================================*/
h6 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px 25px;
  /* vertical + horizontal spacing */
}

.contact-item {
  font-size: 14px;
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {
  .footer-contact {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    /* vertical spacing between items */
  }
}

.kyc-success-card {
  max-width: 750px;
  margin: auto;
}

.success-icon {
  font-size: 70px;
  color: #198754;
}

.success-icon i {
  background: #e9f7ef;
  padding: 25px;
  border-radius: 50%;
}

.text-primary-emphasis {
  color: #0d6efd;
}

.about-highlight {
  background: #f8f9fa;
  border-left: 5px solid #0d6efd;
  padding: 15px 20px;
  border-radius: 8px;
}

.lokalboard-closing {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

.lokalboard-closing p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.lokalboard-closing .btn {
  font-weight: 600;
}

/*blog related styles */

.blog-hero {
  padding-top: 120px;
  padding-bottom: 60px;
  background: #f8f9fa;
}

.blog-card {
  transition: 0.3s;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.read-link {
  text-decoration: none;
  font-weight: 600;
}

.read-link:hover {
  text-decoration: underline;
}

.timeline {
  max-width: 700px;
  margin: auto;
  text-align: left;
}

.timeline-item {
  padding: 10px 0;
  border-left: 3px solid #0d6efd;
  padding-left: 15px;
  margin-left: 10px;
}

.timeline-year {
  font-weight: 700;
  margin-bottom: 10px;
}
.bg-lokal-blue {
  background-color: rgb(82, 156, 253);
}

/********* BLOG ARTICLES STYLING **************/
/* ============================= */
/* BLOG HERO */
/* ============================= */

.blog-hero {
  background: linear-gradient(180deg, #0d6efd10, #ffffff);
  padding: 140px 20px 80px;
}

.blog-hero-inner {
  max-width: 750px;
  margin: auto;
}

.blog-title {
  font-size: 2.7rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.blog-subtitle {
  font-size: 1.15rem;
  color: #6c757d;
}

.blog-meta {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #6c757d;
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ============================= */
/* BLOG ARTICLE */
/* ============================= */

.blog-article-section {
  padding: 50px 20px;
}

.blog-article {
  max-width: 760px;
}

.blog-article p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #333;
  margin-bottom: 1.3rem;
}

/* headings inside article */

.blog-article h4 {
  font-size: 1.5rem;
  margin-top: 45px;
  margin-bottom: 15px;
  border-left: 4px solid #0d6efd;
  padding-left: 12px;
}

/* blockquote */

.blog-article blockquote {
  background: #f8f9fa;
  padding: 20px 30px;
  border-left: 5px solid #0d6efd;
  border-radius: 6px;
  font-style: italic;
}

/* horizontal rule */

.blog-article hr {
  opacity: 0.1;
}

/* ============================= */
/* FOUNDER CARD */
/* ============================= */

.founder-card {
  max-width: 760px;
  margin: auto;
  padding: 25px;
  border-radius: 10px;
  background: #f8f9fa;
  border: 1px solid #eaeaea;
}

.founder-card img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

/* ============================= */
/* BLOG BUTTON */
/* ============================= */

.blog-article .btn {
  padding: 10px 22px;
  border-radius: 6px;
}

.form-control:disabled,
.form-control[readonly],
.form-select:disabled,
textarea:disabled,
textarea[readonly] {
  background-color: #e9ecef;
  color: #6c757d;
  border-color: #ced4da;
  cursor: not-allowed;
  opacity: 1;
  box-shadow: none;
}

.ovid-modal-header {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}

.ovid-nav-link {
  color: var(--bs-white) !important;
  font-weight: 700 !important;
  font-size: var(--bs-font-size-lg) !important;
}

/* ===============================
   OVID Carousel Controls
================================= */
/* =====================================
   OVID GENERIC CAROUSEL THEME
===================================== */

.ovid-carousel .carousel-control-prev,
.ovid-carousel .carousel-control-next {
  width: 60px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* Show controls on hover */
.ovid-carousel:hover .carousel-control-prev,
.ovid-carousel:hover .carousel-control-next {
  opacity: 1;
}

/* Icon styling */
.ovid-carousel .carousel-control-prev-icon,
.ovid-carousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.65);
  border-radius: 50%;
  padding: 20px;
  background-size: 60% 60%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

/* Hover animation */
.ovid-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.ovid-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.85);
  transform: scale(1.08);
}

/* Click feedback */
.ovid-carousel .carousel-control-prev:active .carousel-control-prev-icon,
.ovid-carousel .carousel-control-next:active .carousel-control-next-icon {
  transform: scale(0.95);
}

/* ======================================
   OVID MEDIA VIEWER (Reusable Component)
====================================== */

.ovid-media-viewer {
  position: relative;
  width: 220px;
  height: 250px;
  margin: auto;
}

/* media items */
.ovid-media-viewer .media-item {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
  transition: all 0.3s ease;
}

/* navigation buttons */
.ovid-media-viewer .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* hover effect */
.ovid-media-viewer .nav-btn:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

/* click feedback */
.ovid-media-viewer .nav-btn:active {
  transform: translateY(-50%) scale(0.9);
}

/* positions */
.ovid-media-viewer .prev-btn {
  left: -14px;
}

.ovid-media-viewer .next-btn {
  right: -14px;
}

/* hide buttons until hover */
.ovid-media-viewer .nav-btn {
  opacity: 0;
}

.ovid-media-viewer:hover .nav-btn {
  opacity: 1;
}

/**Registration and Payment related styles **/
.progressbar-container {
  display: flex;
  justify-content: center;
}

.progressbar {
  display: flex;
  justify-content: space-between;
  list-style: none;
  counter-reset: step;
  width: 100%;
  position: relative;
  padding-left: 0;
  margin-bottom: 30px;
}

.progressbar li {
  position: relative;
  text-align: center;
  flex: 1;
  font-weight: 500;
  color: #aaa;
}

.progressbar li::before {
  content: counter(step);
  counter-increment: step;
  width: 35px;
  height: 35px;
  border: 2px solid #ccc;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: white;
  line-height: 33px;
  font-weight: bold;
  color: #ccc;
  z-index: 1;
  position: relative;
}

.progressbar li::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #ccc;
  top: 17px;
  left: 50%;
  z-index: 0;
}

.progressbar li:last-child::after {
  content: none;
}

.progressbar li.active::before {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

.progressbar li.active::after {
  background-color: #007bff;
}
.payment-card {
  background-color: #f8f9fa;
  border: 2px solid #ced4da;
  border-radius: 12px;
  padding: 5px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s ease;
}
.payment-card:hover {
  background-color: #e2e6ea;
  border-color: #0d6efd;
  color: #0d6efd;
  transform: scale(1.05);
}
.payment-card.active {
  border-color: #198754;
  background-color: #d1e7dd;
  color: #198754;
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  color: white;
  text-align: center;
  padding: 10px;
}

footer.blockquote-footer {
  position: static;
}

/* FULL HEIGHT MODAL BODY */
.preview-body {
  height: calc(100vh - 120px);
}

/* LEFT PANEL */
.preview-left {
  border-right: 1px solid #e5e5e5;
  overflow-y: auto;
  padding-right: 20px;
}

/* RIGHT PANEL */
.preview-right {
  overflow-y: auto;
  padding-left: 20px;
}

/* LARGE FILE PREVIEW */
.file-preview-large {
  width: 100%;
  min-height: 260px;
  border: 1px dashed #ccc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  overflow: hidden;
}

.file-preview-large img,
.file-preview-large iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* MOBILE VIEW */
@media (max-width: 991px) {
  .preview-left {
    border-right: none;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 15px;
  }

  .preview-body {
    height: auto;
  }
}

#alertContainer {
  position: fixed;
  top: 100px; /* change to bottom:20px for bottom */
  right: 20px; /* or left:20px or center */
  z-index: 9999;
  width: 300px;
}
