/* Custom styles for the CGTMSE Loan page */
.cgtmse-loan-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('cgtmse-loan-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-cgtmse-loan .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-cgtmse-loan p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

#about-cgtmse-loan ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#about-cgtmse-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-cgtmse-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-cgtmse {
    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-cgtmse {
    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-cgtmse h3 {
    color: #1a3db5;
    font-size: 22px;
    margin-bottom: 10px;
}

/* --- Blog Section Design --- */
#cgtmse-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%;
  }
}
.banner-hero.cgtmse-loan-hero {
  /* Add these lines for the background image */
  background-image: url('cgtmse_banner.png'); /* <-- IMPORTANT: Replace with the actual path to your image */
  background-size: cover;
  background-position: center;
  height: 300px;
  background-repeat: no-repeat;
  position: relative; /* Essential for positioning child elements */
  min-height: 400px; /* Adjust as needed to show enough of the background */
  display: flex; /* Use flexbox for easier content alignment */
  align-items: center; /* Vertically center content */
  justify-content: flex-start; /* Align content to the left */
  padding: 20px; /* Add some padding around the content */
  box-sizing: border-box; /* Include padding in the element's total width and height */
}

.banner-hero.cgtmse-loan-hero .banner-content {
  color: #ffffff; /* Assuming white text for better contrast on the dark background */
  text-align: left; /* Align text to the left */
  max-width: 500px; /* Constrain the width of the text content */
  padding-left: 50px; /* Adjust this value to move content more to the right if needed */
  /* Adjustments to position the 'Apply Now' button */
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align items to the start of the flex container */
}

.banner-hero.cgtmse-loan-hero h1 {
  font-size: 3em; /* Make the main heading prominent */
  margin-bottom: 10px;
  color: #F8B400; /* Example: A color that might stand out */
}

.banner-hero.cgtmse-loan-hero h2 {
  font-size: 1.5em;
  margin-bottom: 5px;
  color: #E0E0E0; /* Slightly off-white for subtitle */
}

.banner-hero.cgtmse-loan-hero p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px; /* Add space below paragraph before the button */
}

.banner-hero.cgtmse-loan-hero .btn-banner {
  display: inline-block; /* Make the anchor tag behave like a block for padding */
  background-color: #ff6f00; /* Example button background color */
  color: #ffffff;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 20px; /* This will help push the button down */
}

.banner-hero.cgtmse-loan-hero .btn-banner:hover {
  background-color: #e65100; /* Darker shade on hover */
}
/* --- START: UPDATED CGTMSE BANNER STYLES --- */

.banner-hero.cgtmse-loan-hero {
  background-image: url('cgtmse_banner1.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 60vh; /* Use viewport height for flexibility */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 50px; /* Add horizontal padding */
  box-sizing: border-box;
}

.banner-hero.cgtmse-loan-hero .banner-content {
  color: #ffffff;
  text-align: left;
  max-width: 550px; /* Give content a max width */
}

.banner-hero.cgtmse-loan-hero h1 {
  font-size: 2.8em;
  margin-bottom: 10px;
  color: #F8B400; 
}

.banner-hero.cgtmse-loan-hero h2 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #E0E0E0;
}

.banner-hero.cgtmse-loan-hero p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 30px;
}

.banner-hero.cgtmse-loan-hero .btn-banner {
  display: inline-block;
  background-color: #ff6f00;
  color: #ffffff;
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  margin-top: 10px; /* Remove the large top margin */
}

.banner-hero.cgtmse-loan-hero .btn-banner:hover {
  background-color: #e65100;
}

/* --- Responsive adjustments for mobile --- */
@media (max-width: 768px) {
  .banner-hero.cgtmse-loan-hero {
    min-height: 50vh;
    justify-content: center; /* Center content on mobile */
    padding: 20px;
    text-align: center; /* Center text on mobile */
  }

  .banner-hero.cgtmse-loan-hero .banner-content {
    text-align: center; /* Ensure content inside is centered */
    padding-left: 0;
  }
  
  .banner-hero.cgtmse-loan-hero h1 {
    font-size: 2.2em; /* Smaller font size for mobile */
  }

  .banner-hero.cgtmse-loan-hero h2 {
    font-size: 1.2em; /* Smaller font size for mobile */
  }
}
/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
}

/* Hero Banner Section */
.cgtmse-hero-banner {
    /* --- Background Image --- */
    background-image: url('cgtmse_banner.jpg'); /* Make sure your clean image is named this */
    background-size: cover;
    background-position: center;
    min-height: 60vh; /* Sets a minimum height relative to screen height */

    /* --- Layout using Flexbox --- */
    display: flex;
    align-items: center; /* Vertically centers the content */
    padding: 0 5%;      /* Adds 5% padding on the left and right */
}

/* Content Wrapper */
.banner-content {
    max-width: 550px; /* Limits the width of the text content */
    color: #333; /* Dark grey color for text */
}

/* Text Styling */
.banner-subtitle {
    font-size: 1.1rem;
    font-weight: normal;
    color: #555;
    margin-bottom: 8px;
}

.banner-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: #E67E22; /* A strong orange color */
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Button Styling */
.banner-button {
    display: inline-block;
    background-color: #FF8C00; /* Bright orange */
    color: #fff;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px; /* Creates the pill shape */
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.banner-button:hover {
    background-color: #E67E00; /* Darker orange on hover */
    transform: translateY(-2px); /* Slight lift effect on hover */
}


/* --- Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .cgtmse-hero-banner {
        text-align: center; /* Center-align text on small screens */
        justify-content: center; /* Center the content container */
        min-height: 50vh;
    }

    .banner-title {
        font-size: 2.2rem; /* Make title smaller on mobile */
    }

    .banner-description {
        font-size: 0.9rem; /* Make description smaller */
    }
}
/* ========================================= */
/* CGTMSE Blog Section Styles                */
/* ========================================= */

#cgtmse-blog {
  /* section-padding class aapse aam taur par padding set karti hai.
     Agar nahi, toh yeh use karein: padding: 80px 0; */
  background-color: #f9f9f9; /* Section ka halkha background color */
  text-align: center;
}

/* Section ka main title */
#cgtmse-blog .section-title {
  margin-bottom: 40px;
  font-size: 2.2em;
  color: #333;
}

/* Blog cards ka container (Flexbox parent) */
#cgtmse-blog .blog-list {
  display: flex;
  justify-content: center;
  gap: 30px; /* Cards ke beech mein space */
  flex-wrap: wrap; /* Cards ko wrap hone ki anumati de */
}

/* Har ek blog card ki styling */
#cgtmse-blog .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 rakhega */
  text-align: left;

  flex: 1; /* Cards ko barabar space dega */
  min-width: 300px; /* Card ki minimum chaurai */
  max-width: 350px; /* Card ki maximum chaurai */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#cgtmse-blog .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 */
#cgtmse-blog .blog-post-image img {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Image ko stretch kiye bina fit karein */
  display: block;
}

/* Blog post ka text content */
#cgtmse-blog .blog-post-text {
  padding: 25px;
}

#cgtmse-blog .blog-post-text h3 {
  font-size: 1.3em;
  color: #0056b3; /* Heading ka color */
  margin-top: 0;
  margin-bottom: 15px;
}

#cgtmse-blog .blog-post-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}


/* ========================================= */
/* Responsive Styles (Mobile ke liye)        */
/* ========================================= */
@media (max-width: 768px) {
  #cgtmse-blog .blog-list {
    /* Mobile par direction column kar denge (ek ke neeche ek) */
    flex-direction: column; 
    align-items: center; /* Cards ko center mein rakhenge */
  }

  #cgtmse-blog .blog-post-card {
    width: 100%;
    max-width: 400px; /* Mobile par card ki max chaurai */
  }

  #cgtmse-blog .section-title {
    font-size: 1.8em; /* Title ka font size chhota */
  }

  #cgtmse-blog .blog-post-text h3 {
    font-size: 1.2em;
  }

  #cgtmse-blog .blog-post-text p {
    font-size: 0.95em;
  }
}
.cgtmse-loan-hero .banner-title {
  font-size: 3.2em;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  /* Yahan yellow shadow ho sakti hai */
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Isse theek kar dein */
}
/* ================================================= */
/* CGTMSE Banner MOBILE FIX - Is code ko end mein add karein */
/* ================================================= */

@media (max-width: 768px) {
  
  /* Banner ki overall spacing theek karein */
  .cgtmse-loan-hero {
    min-height: auto; /* Height ko content ke hisaab se adjust hone dein */
    padding: 60px 20px 80px 20px; /* Upar-neeche aur side mein padding theek karein */
  }

  /* Main Title (H1) ko theek karein */
  .cgtmse-loan-hero .banner-title {
    font-size: 2.2em; /* Font size kaafi kam karein */
    line-height: 1.2; /* Line ke beech ka space adjust karein */
    /* *** Yahan par yellow shadow ko override kar rahe hain *** */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Dark shadow laga dein */
    color: white; /* Ensure text color is white */
  }

  /* Subtitle (H2) ko theek karein */
  .cgtmse-loan-hero .banner-subtitle {
    font-size: 1.2em; /* Iska bhi font size kam karein */
    margin-top: 10px;
    margin-bottom: 20px;
    color: #f0f0f0; /* Ensure text color is light */
  }

  /* Paragraph ko theek karein */
  .cgtmse-loan-hero .banner-description {
    font-size: 0.9em; /* Paragraph ka font size chhota karein */
    line-height: 1.6;
    margin-bottom: 30px;
  }

  /* Button ko poora dikhane ke liye */
  .cgtmse-loan-hero .banner-button {
    padding: 12px 28px;
    font-size: 1em;
  }
}
/* --- END: UPDATED CGTMSE BANNER STYLES --- */