body {
      font-family: "Inter", "Segoe UI", sans-serif;
      line-height: 1.7;
      color: #333;
    }

    h1,h2,h3,h4,h5,h6 {
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 1rem;
    }

    h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
    h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
    h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
    p { font-size: 16px; color:#6c757d; line-height: 28px; }

    a { text-decoration: none; transition: 0.3s; }
    
    .navbar-toggler {
    border: none;
    background: transparent;
    outline: none;
  }
  
  

  .custom-toggler-icon {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px auto;
    background-color: #FFF; 
    border-radius: 2px;
    transition: all 0.4s ease;
  }

  /* Animation: when menu is open */
  .navbar-toggler[aria-expanded="true"] .custom-toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .navbar-toggler[aria-expanded="true"] .custom-toggler-icon:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggler[aria-expanded="true"] .custom-toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

.text-danger{
    color: #BA0C2F !important;
}
.btn-danger{
    background: #BA0C2F !important;
}
  

    /* Navbar */
    .navbar {
      background-color: #BA0C2F;
      padding: 15px 0;
    }
    .navbar-brand, .navbar .nav-link {
      color: #fff !important;
      font-weight: 500;
    }
    .navbar-nav .nav-link:hover { color: #FFD700 !important; }
    .btn-signup {
      background: #fff; color: #BA0C2F !important;
      font-weight: 600; border-radius: 30px;
      padding: 6px 18px; transition: 0.3s;
    }
    .btn-signup:hover { background: #f5f5f5; }
    .bg-red{
        background: #BA0C2F;;
    }

    /* Hero */
    .hero-section {
      min-height: 100vh;
      background: #BA0C2F;
      color: #fff;
      display: flex;
      align-items: center;
      text-align: center;
      padding: 100px 0;
    }
    .hero-btn {
      background: white; color: #BA0C2F;
      font-weight: 600; border-radius: 30px;
      padding: 12px 32px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.2);
      transition: all 0.3s ease;
    }
    .hero-btn:hover {
      transform: scale(1.05) translateY(-3px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    }

    /* Cards */
    .card {
      transition: all 0.3s ease;
      border-radius: 12px;
    }
    .card:hover { background: #BA0C2F; color: #fff; }
    .card:hover .title-link { color: #fff; }
    .title-link {
      color: #BA0C2F; font-weight: 600;
      transition: color 0.3s ease;
    }

    /* Mobile card slider */
    @media (max-width: 767px) {
      .card-slider {
        display: flex; overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem; padding: 1rem 0;
      }
      .card-slider::-webkit-scrollbar { display:none; }
      .card-slider .card {
        flex: 0 0 75%; /* 1 full + peek */
        scroll-snap-align: start;
      }
    }

    /* Section Spacing */
    section { padding: 80px 0; }
    .cta { background: #BA0C2F; color: #fff; }
    .cta .btn { background:#fff; color:#BA0C2F; border-radius:25px; }

    /* Footer Styling */
.footer {
  background: #re; /* dark background */
  color: #ddd;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer h5,
.footer h6 {
  color: #fff;
  font-weight: 600;
}

.footer a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer a:hover {
  color: #fff;
  padding-left: 4px; /* subtle slide effect */
}

.footer p{
    color: #fff;
    font-size: 0.9rem;
}

.footer .btn-danger {
  background-color: #BA0C2F; /* your brand red */
  border: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.footer .btn-danger:hover {
  background-color: #a20a28;
  transform: translateY(-2px);
}

.footer i {
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer i:hover {
  transform: scale(1.2);
  color: #BA0C2F; /* highlight on hover */
}

/* Divider */
.footer hr {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Bottom copyright */
.footer small {
  color: #fff;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer {
    text-align: center;
  }
  .footer .d-flex {
    justify-content: center;
  }
}

    /* CTA Section */
  #get-started {
    position: relative;
    background: url('../../images/loan.jpg') center center/cover no-repeat;
    color: #fff;
    padding: 100px 20px;
   
    overflow: hidden;
  }

  /* Dark overlay for readability */
  #get-started::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6); 
    z-index: 1;
  }

  #get-started .container {
    position: relative;
    z-index: 2;
  }

  #get-started h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
  }

  #get-started p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #f1f1f1;
  }

  /* CTA Button */
  #get-started .hero-btn {
    background-color: #BA0C2F;
    color: #fff;
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  #get-started .hero-btn:hover {
    background-color: #a10a28;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  }

  /* Responsive text sizes */
  @media (max-width: 768px) {
    #get-started {
      padding: 70px 15px;
    }
    #get-started h2 {
      font-size: 1.8rem;
    }
    #get-started p {
      font-size: 1rem;
    }
  }
  
  .testimonial {
      background-color: #BA0C2F;
      color: #fff;
      padding: 80px 0;
    }
    

    .sec-hero {
      background-color: #BA0C2F;
      color: white;
      padding: 100px 0;
    }

    .sec-hero h1 {
      font-size: 3rem;
      font-weight: bold;
    }

    .sec-hero p {
      font-size: 1.25rem;
    }
    
    .hero-img {
      max-width: 100%;
      height: auto;
    }

    .features {
      padding: 80px 0;
    }

    .features .icon {
      font-size: 2rem;
      color: #dc3545;
    }
/*********CONTACT FORM*********/

.form-input:focus {
  outline: 0;
}

.contact-section {
      padding: 100px 0;
    }

    .contact-header {
      color: #BA0C2F;
      font-weight: bold;
      font-size: 2.5rem;
      margin-bottom: 20px;
    }

    .contact-card {
      border: none;
      border-radius: 15px;
      box-shadow: 0 8px 20px rgba(220, 53, 69, 0.15);
      padding: 40px;
      background-color: #ffffff;
    }

    .form-control:focus {
      border-color: #dc3545;
      box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .btn-submit {
      background-color: white;
      border: 2px solid #dc3545;
      color: #dc3545;
      border-radius: 30px;
      transition: all 0.3s ease;
      padding: 10px 30px;
      font-weight: 600;
    }

    .btn-submit:hover {
      background-color: #dc3545;
      color: white;
      box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }

    .contact-info {
      font-size: 0.95rem;
      color: #6c757d;
    }