/* Main Content Sections */
main section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

#secured-loan-hero {
  background-image: url('secured-loan-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

#secured-loan-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

#secured-loan-hero .hero-content {
  position: relative;
  z-index: 1;
}

#secured-loan-hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

#secured-loan-hero p {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #f7a01d;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e59419;
}

#loan-features h2, #collateral-types h2, #how-it-works h2, #loan-application-form h2 {
  text-align: center;
  color: #004d99;
  margin-bottom: 30px;
}

.feature-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.feature-card {
  background-color: #e9f2ff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex: 1 1 300px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  color: #004d99;
  margin-bottom: 10px;
}

.collateral-list ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.collateral-list li {
  background-color: #fff;
  padding: 15px 25px;
  border-left: 5px solid #004d99;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-size: 1.1em;
  flex: 1 1 200px;
  text-align: center;
}

.collateral-list li i {
  color: #004d99;
  margin-right: 10px;
}

.steps-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  text-align: center;
}

.step-card {
  flex: 1 1 200px;
  position: relative;
  padding-top: 50px;
}

.step-icon {
  background-color: #004d99;
  color: #fff;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.step-card h3 {
  margin-top: 15px;
  color: #004d99;
}

/* FAQ Section */
#faq {
  background-color: #f9f9f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
  background-color: #fff;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #e9f2ff;
}

.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-out;
  padding: 0 15px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px;
}

/* Blog and Contact Form */
.blog-form-section {
  padding: 80px 50px;
  background-color: #f0f4ff;
}

.blog-post-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.blog-content {
  flex: 1;
  order: 1;
}

.blog-image {
  flex: 1;
  order: 2;
}

.blog-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.blog-content h2 {
  font-size: 32px;
  color: #1a3db5;
  margin-bottom: 15px;
}

.blog-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  background: #1a3db5;
  color: #fff;
  padding: 10px 25px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.read-more-btn:hover {
  background: #15308d;
}

.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;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .blog-post-row {
    flex-direction: column;
  }

  .blog-content, .blog-image {
    order: unset;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}