/* ============================= */
/* MAIN.CSS - Dark Mode Ready     */
/* ============================= */

/* ============================= */
/* VARIABLES (Light & Dark Mode) */
/* ============================= */
:root {
    --bg: #ffffff;
    --text: #212529;
    --nav-bg: #ffffff;
    --nav-text: #212529;
    --muted: #6c757d;
    --primary: #d64444; /* buttons, accents */
    --link-hover: #ff4344;
  }
  
  /* Dark mode overrides */
  body.dark-mode {
    --bg: #0f172a;
    --text: #e5e7eb;
    --nav-bg: #020617;
    --nav-text: #e5e7eb;
    --muted: #94a3b8;
    --primary: #ff4344;
    --link-hover: #fff;
  }
  
  /* ============================= */
  /* GLOBAL STYLES                  */
  /* ============================= */
  body {
    background-color: var(--bg);
    color: var(--text);
    transition: background-color 0.25s ease, color 0.25s ease;
    font-family: 'Segoe UI', sans-serif;
  }
  
  a {
    color: var(--nav-text);
    text-decoration: none;
    transition: color 0.25s ease;
  }
  
  a:hover {
    color: var(--link-hover);
  }
  
  /* ============================= */
  /* NAVBAR / OFFCANVAS / DROPDOWN  */
  /* ============================= */
  .navbar {
    background-color: var(--nav-bg) !important;
    transition: background-color 0.25s ease;
  }
  
  .navbar .nav-link,
  .navbar .dropdown-item,
  .offcanvas,
  .offcanvas a,
  .offcanvas-title,
  .dropdown-menu {
    color: var(--nav-text) !important;
    background-color: var(--nav-bg) !important;
  }
  
  .dropdown-item:hover {
    color: var(--text) !important;
    background-color: var(--nav-bg) !important;
  }
  
  /* Navbar toggle button */
  .theme-toggle {
    border: none;
    background: transparent;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
  }
  
  /* Navbar items spacing */
  .navbar-nav {
    align-items: center !important;
    flex-wrap: nowrap;
    gap: 1rem;
  }
  
  /* ============================= */
  /* BUTTONS & PILL STYLES          */
  /* ============================= */
  .btn-pill,
  .btn-signup {
    border-radius: 50rem !important;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
  }
  
  .btn-signup {
    padding: 6px 20px;
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
  }
  
  .btn-signup:hover {
    background-color: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 12px rgba(17, 36, 54, 0.25);
  }
  
  /* Nav-pills */
  .nav-pills .nav-link {
    border: 1px solid var(--primary);
    background-color: var(--bg);
    color: var(--primary);
    font-weight: 600;
    margin-right: 5px;
  }
  
  .nav-pills .nav-link.active {
    background-color: var(--primary);
    color: var(--bg);
  }
  
  /* ============================= */
  /* HERO SECTION                  */
  /* ============================= */
  .hero-section {
    background: url('images/pl_page_banner.webp') no-repeat center center/cover;
    height: 300px;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  @media (max-width: 768px) {
    .hero-section { height: 200px; padding: 20px; }
  }
  
  /* ============================= */
  /* TYPOGRAPHY                     */
  /* ============================= */
  h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: var(--text);
  }
  
  .lead { font-size: 1.25rem; color: var(--text); }
  
  /* ============================= */
  /* CARDS / BOXES                  */
  /* ============================= */
  .container .p-4.border.rounded {
    background-color: var(--bg);
    border: 1px solid var(--muted);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .container .p-4.border.rounded:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  }
  
  /* ============================= */
  /* FOOTER                         */
  /* ============================= */
  footer, #footerDiv {
    padding: 20px 0;
    background-color: #e0e0e0 !important; ;
    color: var(--text);
    text-align: center;
    font-size: 1rem;
  }
  
  footer a { color: var(--nav-text); }
  footer a:hover { color: var(--text); }
  
  /* ============================= */
  /* CAROUSEL / IMAGES               */
  /* ============================= */
  .owl-carousel .item img {
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
  
  .carousel { margin: 2rem 0; }
  .carousel-img { width: 150px; height: auto; }
  
  /* ============================= */
  /* VIDEO STYLING                  */
  /* ============================= */
  .video-gap { margin-bottom: 70px; }
  .video-extra-gap { margin-bottom: 120px; }
  
  .los-video {
    max-height: 300px;
    border-radius: 8px;
    object-fit: cover;
  }
  
  /* ============================= */
  /* CUSTOM ICONS / LISTS           */
  /* ============================= */
  .custom-bullet-list {
    list-style: none;
    padding-left: 0;
  }
  
  .custom-bullet-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: var(--text);
  }
  
  .custom-bullet-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
  }
  
  .custom-icon { max-height: 45px; display: block; margin: 0 auto; }
  .custom-card-title { font-size: 13px; font-weight: 600; }
  .lending_products_card { margin-bottom: 20px; }
  .fixed-height-box {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  /* ============================= */
  /* KYC IMAGE ADJUSTMENTS          */
  /* ============================= */
  .custom-kyc-img { max-width: 80%; }
  @media (max-width: 767px) { .custom-kyc-img { max-width: 90%; } }
  