/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.site-header {
    background-color: #fff;
    padding: 20px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container .logo {
    height: 80px; 
    width: auto;
}

.top-nav {
    display: flex;
    gap: 30px;
    font-size: 16px;
    font-weight: bold;
    align-items: center;
}

.top-nav a:hover {
    color: #cc0000;
}

.phone-link i {
    transform: scaleX(-1);
}

/* Hero Section */
.hero {
    display: flex;
    height: 320px;
    background-color: #000;
    overflow: hidden;
}

.hero-left {
    flex: 0 0 35%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 60px;
}

.hero-left h1 {
    color: #fff;
    font-size: 56px;
    text-align: center;
    line-height: 1.2;
    font-weight: 700;
}

.hero-right {
    flex: 1;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* Financing Banner */
.financing-banner {
    text-align: center;
    margin: 40px 0;
}

.financing-badge {
    background-color: #cc0000;
    color: #fff;
    padding: 8px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 50px;
    line-height: 1.6;
}

.content-columns {
    display: flex;
    gap: 60px;
}

/* Sidebar */
.sidebar {
    flex: 0 0 380px;
}

.nmls {
    font-size: 14px;
    color: #333;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-nav .btn {
    background-color: #000;
    color: #fff;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: bold;
    display: flex;
    align-items: center;
    border-radius: 3px;
}

.side-nav .btn:hover {
    background-color: #333;
}

.side-nav .btn i {
    font-size: 20px;
    width: 35px;
    text-align: left;
}

.app-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    color: #000;
    text-decoration: underline;
}

/* Services (Right Column) */
.services {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.service-item p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.learn-more {
    background-color: #000;
    color: #fff;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 3px;
    display: inline-block;
    margin-left: 8px;
}

.learn-more:hover {
    background-color: #333;
}

/* FAQ Section */
.faq-section {
    background-color: #000;
    color: #fff;
    padding: 80px 40px;
    text-align: center;
}

.faq-section h2 {
    font-size: 48px;
    margin-bottom: 50px;
    line-height: 1.2;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

details {
    margin-bottom: 15px;
}

summary {
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

summary::-webkit-details-marker {
    display: none;
}

details[open] summary i {
    transform: rotate(180deg);
}

details p {
    font-size: 16px;
    color: #ccc;
    padding-top: 10px;
    text-align: center;
}

/* Footer */
.site-footer {
    background-color: #2c2c2c; /* Match the dark gray from the image */
    color: #dfdfdf; /* Lighter text color for better readability */
    padding: 40px;
    font-size: 14px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}

.legal-text {
    flex: 0 0 55%;
    line-height: 1.6;
    text-align: left;
}

.footer-links {
    flex: 1;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    font-size: 15px;
    padding-top: 5px; /* Align slightly with the first line of text */
}

.footer-links a {
    color: #dfdfdf;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    color: #fff;
}

/* ------------------------------------- */
/* LOAN APPLICATION PAGE STYLES          */
/* ------------------------------------- */

.loan-hero {
    background-color: #0b0b0b;
    color: #fff;
    padding: 80px 20px 60px;
    text-align: center;
}

.loan-hero-content h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.loan-hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #ccc;
}

.red-btn {
    background-color: #cc0000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.red-btn:hover {
    background-color: #aa0000;
}

.loan-hero-content .small-text {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    margin-bottom: 30px;
}

.phone-block {
    margin-bottom: 50px;
}

.phone-block a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

.loan-hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.dark-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
}

.dark-card .card-icon {
    background-color: #cc0000;
    color: #fff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 18px;
}

.dark-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.dark-card p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

/* Features */
.loan-features {
    background-color: #fcfcfc;
    padding: 80px 20px;
    text-align: center;
}

.loan-features h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.features-sub {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.white-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.white-card .icon-circle {
    background-color: #ffeeee;
    color: #cc0000;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 20px;
}

.white-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.white-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Steps Section */
.loan-steps-section {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 20px;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.steps-left {
    flex: 1;
}

.steps-left h2 {
    font-size: 36px;
    margin-bottom: 40px;
    line-height: 1.2;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.step-number {
    background-color: #cc0000;
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.5;
}

.steps-right {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background-color: #2c2c2c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 8px;
    border: 1px dashed #444;
}

/* Forms Section */
.forms-wrapper {
    background-color: #fff;
    padding: 80px 20px;
}

.forms-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
}

.forms-main-column {
    flex: 1;
}

.benefits-sidebar {
    flex: 0 0 300px;
}

.benefits-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
}

.form-section-title {
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.form-section-title span {
    color: #888;
    font-size: 14px;
    font-weight: normal;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #333;
}

.form-group label span {
    color: #cc0000; /* For required asterisks */
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.form-group input::placeholder {
    color: #aaa;
}

.captcha-box {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 15px;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    width: fit-content;
}

.captcha-img {
    font-family: monospace;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 5px;
    width: 100px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    color: #333;
    user-select: none;
}

/* Captcha static overrides removed */

.captcha-box input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #222;
    color: #fff;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #000;
}

.docs-form {
    margin-top: 60px;
}

.file-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
}

.secure-icon {
    display: flex;
    align-items: center;
    margin-top: 20px;
}
