/* Custom styles for the Personal Loan page */
.banner {
  height: 60vh;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1554224155-1696413565d3?q=80&w=2070&auto=format&fit=crop') 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;
}

.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-personal-loan .about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

#about-personal-loan p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 20px;
}

#about-personal-loan ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

#about-personal-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-personal-loan li i {
    margin-right: 10px;
}

/* 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-pl {
    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-pl {
    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-pl h3 {
    color: #1a3db5;
    font-size: 22px;
    margin-bottom: 10px;
}

/* 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;
}

/* Form Styles */
.contact-page {
  padding: 80px 50px;
  background: #fff;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 36px;
  color: #1a3db5;
  margin-bottom: 10px;
}

.contact-header p {
  font-size: 18px;
  color: #555;
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
  transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border: 1px solid #1a3db5;
}

.btn-submit {
  background: #1a3db5;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background: #15308d;
}

.contact-info {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
  font-size: 24px;
  color: #1a3db5;
  margin-bottom: 20px;
}

.contact-info p {
  font-size: 16px;
  margin-bottom: 10px;
}

/* Full-Content Blog Section Styles */
.full-blog-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.full-blog-post {
  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);
}

.blog-post-content {
  flex: 2;
}

.blog-post-content h3 {
  font-size: 28px;
  color: #1a3db5;
  margin-bottom: 15px;
}

.blog-post-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 15px;
}

.blog-post-image {
  flex: 1;
}

.blog-post-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Reverse layout for alternating image/text */
.full-blog-post.reverse-layout {
  flex-direction: row-reverse;
}

/* Responsive adjustments for blog posts */
@media (max-width: 992px) {
  .full-blog-post, .full-blog-post.reverse-layout {
    flex-direction: column;
    text-align: center;
  }
  
  .full-blog-post, .full-blog-post.reverse-layout {
    padding: 20px;
  }
}