/* Custom styles for the Unsecured Loan page */
.unsecured-loan-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('unsecured-loan-hero.jpg') no-repeat center center/cover;
}

.section-padding {
    padding: 80px 50px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    color: #1a3db5;
    text-align: center;
    margin-bottom: 50px;
}

#about-unsecured-loan .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-unsecured-loan p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

#about-unsecured-loan ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#about-unsecured-loan li {
    font-size: 1.1em;
    font-weight: bold;
    color: #1a3db5;
    background: #f0f4ff;
    padding: 15px 30px;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#about-unsecured-loan li i {
    margin-right: 10px;
    color: #ff8c00;
}

/* How It Works Section */
.bg-light {
    background: #f9f9f9;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-card-ul {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    padding-top: 60px;
}

.step-icon-ul {
    background: #1a3db5;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.step-card-ul h3 {
    color: #1a3db5;
    font-size: 22px;
    margin-bottom: 10px;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    font-size: 22px;
    color: #1a3db5;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-block;
    background: #1a3db5;
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.btn-read-more:hover {
    background: #15308d;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f4ff;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #dce7ff;
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 20px;
}

/* Responsive adjustments */
/* Updated Contact Form and Info Section */
.contact-page {
  padding: 80px 50px;
  background-color: #f0f4ff; /* A lighter background to make the form pop */
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center; /* Vertically centers the form and info sections */
}

.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #1a3db5;
  box-shadow: 0 0 8px rgba(26, 61, 181, 0.2);
}

.btn-submit {
  background: #1a3db5;
  color: #fff;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: #15308d;
}

.contact-info {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: fit-content; /* Ensures the container is not excessively tall */
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}
/* Banner Styles (Updated) */
.banner-hero {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('unsecured-loan-hero.jpg') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.banner-content {
  max-width: 800px;
}

.banner-content h2 {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.banner-content p {
  font-size: 18px;
  margin: 20px 0;
}

.btn-banner {
  background: #ff8c00;
  color: #fff;
  padding: 12px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-banner:hover {
  background: #e67e00;
}

/* Updated Blog Section Styles */
#unsecured-blog {
  background: #f9f9f9;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.blog-post-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-8px);
}

.blog-post-text {
  flex: 2;
}

.blog-post-text h3 {
  font-size: 28px;
  color: #1a3db5;
  margin-bottom: 15px;
}

.blog-post-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

.blog-post-image {
  flex: 1;
}

.blog-post-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Alternating Layout */
.blog-post-card.reverse-layout {
  flex-direction: row-reverse;
}

/* General Layout & Responsiveness */
.section-padding {
  padding: 80px 50px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  color: #1a3db5;
  text-align: center;
  margin-bottom: 50px;
}

/* Mobile adjustments */
@media (max-width: 992px) {
  .blog-post-card, .blog-post-card.reverse-layout {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .banner-hero {
    padding: 80px 20px;
  }
  .banner-content {
    text-align: center;
    max-width: 100%;
  }
}
.banner-hero.unsecured-loan-hero {
  /* --- Add these lines --- */
  background-image: url('unsecuredloan_banner.png'); /* <-- Change this to the actual image path */
  background-size: cover;      /* This makes the image cover the entire area */
  background-position: center;   /* This centers the image */
  background-repeat: no-repeat;  /* This prevents the image from repeating */
  position: relative;          /* This helps in positioning content on top */
  color: #ffffff;
  margin-top: 0px;    
height: 600px;         /* Setting text color to white for better contrast */
}
/* --- START: UPDATED UNSECURED LOAN BANNER STYLES --- */

.banner-hero.unsecured-loan-hero {
  background-image: url('unsecuredloan_banner.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
  min-height: 70vh; /* Use min-height with viewport units */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.banner-hero.unsecured-loan-hero .banner-content {
  max-width: 800px;
  background-color: rgba(0, 0, 0, 0.4); /* Optional: add a dark overlay for better text readability */
  padding: 30px;
  border-radius: 10px;
}

.banner-hero.unsecured-loan-hero h1 {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 15px;
}

.banner-hero.unsecured-loan-hero h2 {
  font-size: 1.5em;
  font-weight: normal;
  margin-bottom: 10px;
}

.banner-hero.unsecured-loan-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.banner-hero.unsecured-loan-hero .btn-banner {
  background: #ff8c00;
  color: #fff;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.banner-hero.unsecured-loan-hero .btn-banner:hover {
  background: #e67e00;
}

/* --- Responsive adjustments for mobile --- */
@media (max-width: 768px) {
  .banner-hero.unsecured-loan-hero {
    min-height: 60vh; /* Adjust height for smaller screens */
  }

  .banner-hero.unsecured-loan-hero h1 {
    font-size: 2.2em; /* Decrease font size */
  }

  .banner-hero.unsecured-loan-hero h2 {
    font-size: 1.2em;
  }
  
  .banner-hero.unsecured-loan-hero p {
    font-size: 1em;
  }
}
/* --- END: UPDATED UNSECURED LOAN BANNER STYLES --- */