/* Custom styles for the Business Loan page */
.business-loan-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('businessloan-hero.jpg') no-repeat center center/cover;
    height: 70vh;
    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;
    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;
    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);
}

/* --- General Section Styles --- */
.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 --- */
#about-business-loan .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-business-loan p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

#about-business-loan ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#about-business-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-business-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-bl {
    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-bl {
    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-bl h3 {
    color: #1a3db5;
    font-size: 22px;
    margin-bottom: 10px;
}

/* --- Blog Section Design --- */
#business-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;
}

/* --- FAQ & Contact Sections --- */
.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 {
    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%;
  }
}
.business-loan-hero {
  /* Ensure the background image is set via CSS for this class */
  background-image: url('businessloanblog.png'); /* Replace with the actual URL of your image */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative; /* Important for positioning the overlay */
  min-height: 400px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px; /* Adjust padding as needed */
  overflow: hidden; /* Ensures overlay doesn't spill out */
}

/* Overlay for better text readability */
.business-loan-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Black overlay with 50% transparency */
  z-index: 1; /* Puts the overlay above the background image */
}

.business-loan-hero .banner-content {
  position: relative;
  z-index: 2; /* Puts the text content above the overlay */
  color: white; /* Default text color for the content */
}

.business-loan-hero h2 {
  font-size: 2.5em; /* Adjust font size as needed */
  margin-bottom: 10px;
  color: white; /* Ensure headings are white */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Subtle text shadow */
}

.business-loan-hero h1 {
  font-size: 1.8em; /* Adjust font size as needed */
  margin-bottom: 20px;
  color: white; /* Ensure headings are white */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Subtle text shadow */
}

.business-loan-hero p {
  font-size: 1.1em; /* Adjust font size as needed */
  margin: 30px auto; /* Centering paragraph with auto margins, adjust top/bottom as needed */
  max-width: 800px; /* Limit paragraph width for better readability */
  line-height: 1.6;
  color: white; /* Ensure paragraph text is white */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); /* Subtle text shadow */
}

.business-loan-hero .btn-banner {
  display: inline-block;
  background-color: #FFA500; /* Orange color for the button */
  color: white;
  padding: 12px 30px; /* Larger padding for a more prominent button */
  border-radius: 5px;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease; /* Smooth hover effect */
  border: none; /* Remove default button border */
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.4); /* Add shadow to button */
}

.business-loan-hero .btn-banner:hover {
  background-color: #FF8C00; /* Slightly darker orange on hover */
}

/* Media Queries for Responsiveness (Optional but recommended) */
/* ========================================= */
/* Mobile Responsive Styles           */
/* ========================================= */

/* Yeh styles tabhi apply honge jab screen ki width 768px ya usse kam hogi */
@media (max-width: 768px) {

  /* --- Header/Navbar ko theek karne ke liye --- */
  /* Note: Aapko apne logo/brand name ka class name check karna pad sakta hai */
  .navbar .brand-name { /* Agar aapka class .brand-name ya .logo hai */
    font-size: 1.2em; /* Logo ke text ka size chhota karein */
  }

  /* --- Banner Section Adjustments --- */
  .business-loan-hero {
    padding: 60px 15px; /* Upar-neeche aur side ka padding kam karein */
    min-height: 350px; /* Mobile par banner ki height kam karein */
  }

  /* --- Font Size Adjustments --- */
  .business-loan-hero h2 {
    font-size: 1.8em; /* Badi heading ka size chhota karein */
    line-height: 1.2; /* Line ke beech ka space theek karein */
  }

  .business-loan-hero h1 {
    font-size: 1.3em; /* Chhoti heading ka size bhi kam karein */
    margin-bottom: 15px;
  }

  .business-loan-hero p {
    font-size: 0.9em; /* Paragraph text ko thoda chhota karein */
    margin: 20px auto; /* Margin adjust karein */
  }

  /* --- Button Adjustments --- */
  .business-loan-hero .btn-banner {
    padding: 10px 22px; /* Button ka size chhota karein */
    font-size: 1em; /* Button ke text ka size theek karein */
  }

}
/* ========================================= */
/* Business Blog Section Styles              */
/* ========================================= */

#business-blog {
  background-color: #f9f9f9; /* Halkha sa background color, aap badal sakte hain */
  text-align: center;
}

/* Section ka main title */
#business-blog .section-title {
  margin-bottom: 40px;
  font-size: 2.2em;
  color: #333;
}

/* Blog cards ka container */
.blog-list {
  display: flex; /* Flexbox activate karein */
  justify-content: center; /* Cards ko center mein rakhein */
  gap: 30px; /* Cards ke beech mein space */
  flex-wrap: wrap; /* Agar zyada cards hon toh woh neeche aa jayein */
}

/* Har ek blog card ki styling */
.blog-post-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Image ke corners ko card ke andar rakhein */
  text-align: left;
  flex: 1; /* Cards ko barabar space dega */
  min-width: 300px; /* Card ki minimum chaurai set karein */
  max-width: 350px; /* Card ki maximum chaurai set karein */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
  transform: translateY(-5px); /* Hover par halkha sa upar uthega */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Blog post ki image */
.blog-post-image img {
  width: 100%;
  height: 200px; /* Image ki height fix karein */
  object-fit: cover; /* Image ko stretch kiye bina fit karein */
  display: block;
}

/* Blog post ka text content */
.blog-post-text {
  padding: 25px;
}

.blog-post-text h3 {
  font-size: 1.3em;
  color: #0056b3; /* Heading ka color */
  margin-top: 0;
  margin-bottom: 15px;
}

.blog-post-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}


/* ========================================= */
/* Responsive Styles (Mobile ke liye)        */
/* ========================================= */

/* Yeh styles 768px se chhoti screen par apply honge */
@media (max-width: 768px) {
  .blog-list {
    flex-direction: column; /* Cards ko ek ke neeche ek rakhein */
    align-items: center; /* Sabhi cards ko center mein align karein */
  }

  .blog-post-card {
    /* Mobile par card ki max-width thodi badha sakte hain, 
       ya 100% kar sakte hain, abhi yeh theek lagega */
    max-width: 400px; /* Aap ise 90% bhi kar sakte hain */
    width: 100%;
  }

  #business-blog .section-title {
    font-size: 1.8em; /* Mobile par title ka size chhota karein */
  }

  .blog-post-text h3 {
    font-size: 1.2em;
  }

  .blog-post-text p {
    font-size: 0.95em;
  }
}