
/* --- CSS STYLES --- */
:root {
  /* Money Quest Inspired Color Scheme */
  --primary-color: #2F3F4E;   /* Dark Navy */
  --secondary-color: #EF4A38; /* Flamingo Orange */
  --accent-color: #EF4A38;    /* Flamingo Orange */
  
  --white: #ffffff;
  --light-bg: #f4f6f8;
  --text-color: #333333;
  --text-light: #555555;
  
  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Open Sans', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  
  /* Transitions */
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-secondary);
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Typography */
.section-title {
  font-family: var(--font-primary);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

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

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

.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-full { width: 100%; }

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

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}

.nav-logo h2 {
  font-family: var(--font-primary);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-logo h2 span { color: var(--secondary-color); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover { color: var(--secondary-color); }

.nav-link:hover::after { width: 100%; }

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
}

.nav-contact { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 10px 20px; font-size: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(47, 63, 78, 0.85) 0%, rgba(20, 30, 40, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-family: var(--font-primary);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: var(--accent-color);
  color: var(--white);
  font-weight: 700;
  min-width: 250px;
}

.hero-btn:hover {
  background: #d13a2a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Services */
.services {
  padding: var(--section-padding);
  background: var(--white);
  padding-top: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-bottom-color: var(--secondary-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color), #3e5366);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.service-icon i {
  font-size: 32px;
  color: var(--accent-color);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--secondary-color);
}

.service-card:hover .service-icon i { color: var(--white); }

.service-title {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.service-description { color: var(--text-light); line-height: 1.7; }

/* Blog Grid Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--secondary-color);
}
.blog-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.blog-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.blog-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    margin-top: auto;
}

/* Article Detail Styles */
.article-header {
    background: var(--primary-color);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}
.article-content { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.article-content h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}
.article-content p { margin-bottom: 20px; }
.article-content ul { margin-left: 20px; margin-bottom: 20px; }
.article-content li { margin-bottom: 10px; }
.disclaimer {
    background: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #ccc;
    font-size: 0.9rem;
    margin-top: 40px;
    color: #666;
}

/* Footer & Other Sections (Same as original) */
.about-cta, .lenders { background: var(--light-bg); padding: var(--section-padding); }
.certification, .why-choose { background: var(--white); padding: var(--section-padding); }
.final-cta {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
  color: var(--white);
  text-align: center;
}
.footer { background: #253340; color: var(--white); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-column h3 { color: var(--accent-color); font-family: var(--font-primary); font-size: 20px; margin-bottom: 20px; }
.footer-column ul { list-style: none; }
.footer-column ul li { padding: 5px 0; opacity: 0.9; }
.footer-column a { color: inherit; text-decoration: none; }
.footer-column a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.8; font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
    background: var(--white); flex-direction: column; justify-content: flex-start;
    align-items: center; padding-top: 50px; box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-menu.active { left: 0; }
  .nav-toggle { display: flex; }
}
