/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-dark: #33354e;
  --primary-red: #d12526;
  --light-gray: #fbfbfb;
  --text-gray: #9da5a7;
  --accent-blue: #66b0c6;
  --warm-gray: #92826c;
  --light-blue: #c6d0d8;
  --warm-accent: #caa8a0;
  --neutral-tan: #ccc0ae;
}

body {
  font-family: 'Roboto', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--primary-dark);
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-gray);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-red);
  color: white;
}

.btn-primary:hover {
  background-color: #b01e1f;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

.btn-outline:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Navigation */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-red);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 50px;
  width: auto;
  margin-right: 10px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--primary-red);
}

.nav-menu a.btn-primary {
  color: white;
}

.nav-menu a.btn-primary:hover {
  color: white;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border-radius: 5px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* Mobile menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(51, 53, 78, 0.8), rgba(51, 53, 78, 0.8)), url('https://ext.same-assets.com/3355205931/4159426855.jpeg');
  background-size: cover;
  background-position: center;
  color: white;
  padding: 150px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-blue);
  display: block;
}

.stat-label {
  font-size: 1rem;
  color: #c0c0c0;
}

/* Hero Section with Image */
.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.rounded-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Services Grid */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h5 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 0.9rem;
}

/* Process Section */
.process {
  background-color:#fff6f6;
  padding: 80px 0;
}
.process p{
  color: black;
}
.process .step li{
  color: black;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.step h5 {
  margin-bottom: 1.5rem;
}

.step ul {
  list-style: none;
  text-align: left;
}

.step li {
  padding: 0.5rem 0;
  color: var(--text-gray);
}

.step li:before {
  content: "✓ ";
  color: var(--primary-red);
  font-weight: bold;
}

/* Process Steps with Images */
.process-step-full {
    margin-bottom: 2rem;
}

.step-content {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.step-image {
    flex: 0 0 200px;
    margin-right: 1rem;
}

.step-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h6 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: #c0c0c0;
  text-decoration: none;
  line-height: 2;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-red);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  color: #c0c0c0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .stats {
    flex-direction: column;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    flex-direction: column;
  }

  .hero-image {
    max-width: 100%;
    margin-top: 2rem;
  }

  .step-content {
    flex-direction: column;
  }

  .step-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto 1rem auto;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }
}

.hero-split {
    width: 100%;
    min-height: 700px;
    background: url('img/bg7d.jpg') center center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}

.hero-split-container {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 30px;
    box-sizing: border-box;
    gap: 40px;
    margin-top: 100px;
}

.hero-left {
    flex: 1 1 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-left .stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.hero-left .stat-item {
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    padding: 15px 20px;
    text-align: center;
}

.hero-right {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.mca-form-container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    max-width: 420px;
    width: 100%;
}

@media (max-width: 900px) {
    .hero-split-container {
        flex-direction: column;
        gap: 30px;
        padding: 30px 10px;
    }
    .hero-left, .hero-right {
        width: 100%;
    }
    .mca-form-container {
        margin: 0 auto;
    }
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-img img {
  width: 350px;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

.feature-text {
  flex: 1;
  min-width: 280px;
}

@media (max-width: 900px) {
  .feature-row, .feature-row.reverse {
    flex-direction: column !important;
    gap: 20px;
    text-align: center;
  }
  .feature-img img {
    width: 90vw;
    max-width: 350px;
    height: auto;
  }
}
.section-light-gray{
  background-color: var(--light-gray);
}
.section-pad{
  padding: 80px 0;
}
.text-center{
  text-align: center;
}
.loan-main-section {
  padding: 0 0 80px 0;
  background: #fff;
}

.loan-main-container {
  display: flex;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: flex-start;
}

.loan-content {
  flex: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.loan-card {
  background: #f8f9fa;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}

.loan-card-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  margin-bottom: 1rem;
}

.loan-card-body {
  width: 100%;
}

.loan-card h2, .loan-card h3, .loan-card h4 {
  margin-top: 0;
  margin-bottom: 1rem;
}

.loan-lists-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}

.loan-lists-grid > div {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.loan-lists-grid h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.loan-lists-grid ul {
  margin-bottom: 0;
  padding-left: 1.2em;
}

.loan-lists-grid li {
  margin-bottom: 0.5em;
  color: var(--primary-dark);
  font-size: 1rem;
}

.loan-apply-box {
  flex: 1.2;
  min-width: 340px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loan-side-img {
  width: 100%;
  max-width: 350px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  object-fit: cover;
}

.loan-apply-form {
  background: var(--light-gray);
  margin-top: 20px;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgb(255 0 0);
}

.loan-apply-form h4 {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .loan-main-container {
    flex-direction: column;
    gap: 2rem;
  }
  .loan-apply-box {
    max-width: 100%;
    width: 100%;
  }
  .loan-side-img {
    max-width: 100%;
  }
  .loan-lists-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .loan-card {
    padding: 1.5rem 1rem;
    align-items: center;
    text-align: center;
  }
  .loan-card-img {
    margin: 0 auto 1rem auto;
  }
}

/* --- Additions for business-line-of-credit.php modern layout --- */

.loan-hero-banner {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  margin-bottom: 2rem;
}
.loan-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}
.loan-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  padding: 0 5vw;
}
.loan-hero-overlay h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}
.loan-hero-overlay p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #f0f0f0;
}
.loan-process-section {
  flex-direction: row;
  align-items: center;
}
.loan-process-section .loan-inline-img.right {
  margin-left: 2rem;
  margin-right: 0;
  max-width: 220px;
}
.loan-process-list {
  list-style: decimal inside;
  margin: 0;
  padding: 0;
}
.loan-faq-section {
  flex-direction: row;
  align-items: flex-start;
}
.loan-faq-section .loan-inline-img {
  margin-right: 2rem;
  max-width: 180px;
}
.loan-faq h4 {
  margin-top: 1.2rem;
  margin-bottom: 0.3rem;
}
.loan-sidebar {
  flex: 1;
  min-width: 340px;
  max-width: 420px;
  position: sticky;
  top: 100px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.loan-apply-form {
  background: var(--light-gray);
  margin-top: 20px;
  padding: 2rem;
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 5px 15px rgb(255 0 0);
}
.loan-apply-form h4 {
  margin-top: 0;
}
@media (max-width: 1100px) {
  .loan-main-container {
    flex-direction: column;
    gap: 2rem;
  }
  .loan-sidebar {
    position: static;
    max-width: 100%;
    width: 100%;
  }
  .loan-content {
    width: 100%;
  }
  .loan-lists-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .loan-card {
    padding: 1.5rem 1rem;
    align-items: center;
    text-align: center;
  }
  .loan-card-img {
    margin: 0 auto 1rem auto;
  }
}

.loan-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  padding: 60px 0;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid #f0f0f0;
}
.loan-feature-img img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.loan-feature-list {
  flex: 1;
}
.loan-feature-list h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
}
.loan-feature-list ul {
  padding-left: 1.2em;
  margin: 0;
}
.loan-feature-list li {
  margin-bottom: 0.7em;
  font-size: 1.1rem;
  color: var(--primary-dark);
}
@media (max-width: 900px) {
  .loan-feature-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 0;
  }
  .loan-feature-img img {
    margin-bottom: 1.5rem;
  }
  .loan-feature-list {
    width: 100%;
  }
}

.small-step-image {
    max-width: 120px;
    min-width: 80px;
}

.grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .grid-2x2 {
        grid-template-columns: 1fr;
    }
}

/* Colored cards for key sections */
.grid-2x2 .service-card,
.services-grid.grid-2x2 .service-card,
.services-grid:not(.grid-2x2) .service-card {
    background: #fff;
    border-left: 5px solid #e63946;
    box-shadow: 0 2px 8px rgba(230, 57, 70, 0.05);
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}

.grid-2x2 .service-card:hover,
.services-grid.grid-2x2 .service-card:hover,
.services-grid:not(.grid-2x2) .service-card:hover {
    box-shadow: 0 4px 16px rgba(230, 57, 70, 0.12);
}

/* For 'Why Our Process is Different' section */
.services-grid .service-card {
    background: #f1f8fb;
    border-left: 5px solid #457b9d;
    box-shadow: 0 2px 8px rgba(69, 123, 157, 0.05);
    border-radius: 10px;
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    margin-bottom: 0;
    transition: box-shadow 0.2s;
}

.services-grid .service-card:hover {
    box-shadow: 0 4px 16px rgba(69, 123, 157, 0.12);
}