/* Custom styles for the Home Loan page */
.home-loan-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('homeloan-hero.jpg') no-repeat center center/cover;
    height: 70vh; /* Increased height for a more impactful banner */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.banner-content {
    max-width: 900px;
}

.banner-content h2 {
    font-size: 48px; /* Larger and more prominent headline */
    font-weight: bold;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.banner-content h1 {
    font-size: 22px;
    font-weight: normal;
    margin: 20px 0;
}

.btn-banner {
    background: #ff8c00;
    color: #fff;
    padding: 15px 40px; /* Larger button for a stronger call to action */
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-banner:hover {
    background: #e67e00;
    transform: scale(1.05); /* Subtle hover effect to grab attention */
}

/* --- General Section Styles (No Changes) --- */
.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 & How It Works Sections (No Changes) --- */
#about-home-loan .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-home-loan p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

#about-home-loan ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#about-home-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-home-loan li i {
    margin-right: 10px;
    color: #ff8c00;
}

.bg-light {
    background: #f9f9f9;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

.step-card-hl {
    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-hl {
    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-hl h3 {
    color: #1a3db5;
    font-size: 22px;
    margin-bottom: 10px;
}

/* --- Blog Section Enhancements --- */
.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, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15); /* Enhanced hover effect */
}

.blog-post-text {
  flex: 2;
  padding: 0 10px;
}

.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;
  min-width: 300px;
}

.blog-post-image img {
  width: 100%;
  height: 250px; /* Fixed height for consistent card appearance */
  object-fit: cover; /* Ensures the image fills the container without distortion */
  border-radius: 10px;
}

/* Alternating Layout */
.blog-post-card.reverse-layout {
  flex-direction: row-reverse;
}

/* --- FAQ & Contact Sections (No Changes) --- */
.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;
}

.contact-page {
  padding: 80px 50px;
  background-color: #f0f4ff;
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
}

.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;
}

/* Responsive 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) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  .banner-hero {
    padding: 80px 20px;
  }
  .banner-content {
    text-align: center;
    max-width: 100%;
  }
}
/* --- New Blog Section Design --- */

#unsecured-blog {
    background: #f9f9f9;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.blog-post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.blog-post-image {
  width: 100%;
}

.blog-post-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-post-text {
  padding: 30px;
  text-align: left;
}

.blog-post-text h3 {
  font-size: 24px;
  color: #1a3db5;
  margin-bottom: 10px;
}

.blog-post-text p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}
/* ========================================= */
/* Home Loan Banner Styles                   */
/* ========================================= */

.home-loan-hero {
  /* Yahan apni image ka URL daalein */
  background-image: url('homeloanblog.png');
  background-size: cover; /* Image ko poori section mein fit karein */
  background-position: center; /* Image ko center mein rakhein */
  background-repeat: no-repeat;
  
  position: relative; /* Overlay ke liye zaroori */
  display: flex;
  align-items: center; /* Content ko vertically center karein */
  justify-content: center; /* Content ko horizontally center karein */
  min-height: 450px; /* Banner ki kam se kam height */
  padding: 80px 20px;
  text-align: center;
  color: white; /* Text ka default color */
  overflow: hidden;
}

/* Text ko saaf dikhane ke liye Dark Overlay */
.home-loan-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* 50% kaala overlay */
  z-index: 1; /* Overlay ko background image ke upar rakhein */
}

/* Banner ke text content ko overlay ke upar laayein */
.home-loan-hero .banner-content {
  position: relative;
  z-index: 2;
  max-width: 850px; /* Text ko bahut zyada phailne se rokein */
}

.home-loan-hero h2 {
  font-size: 2.8em;
  margin-bottom: 10px;
  font-weight: 700;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); /* Text ke peeche shadow */
}

.home-loan-hero h1 {
  font-size: 1.8em;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.home-loan-hero p {
  font-size: 1.1em;
  line-height: 1.7;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

/* Button ki styling */
.home-loan-hero .btn-banner {
  display: inline-block;
  background-color: #28a745; /* Green color for home loans */
  color: white;
  padding: 14px 35px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.home-loan-hero .btn-banner:hover {
  background-color: #218838; /* Hover par thoda dark green */
  transform: translateY(-2px);
}


/* ========================================= */
/* Responsive Styles (Mobile ke liye)        */
/* ========================================= */
@media (max-width: 768px) {
  .home-loan-hero {
    min-height: 400px;
    padding: 60px 15px;
  }

  .home-loan-hero h2 {
    font-size: 2em;
  }

  .home-loan-hero h1 {
    font-size: 1.4em;
  }

  .home-loan-hero p {
    font-size: 1em;
  }

  .home-loan-hero .btn-banner {
    padding: 12px 28px;
    font-size: 1em;
  }
}
/* ========================================= */
/* Home Loan Blog Section Styles             */
/* ========================================= */
