/* Professional Mortgage Broker Website - Andrei Pushenko */
/* Modern, conversion-focused design with California compliance */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    background: linear-gradient(135deg, #0a1128 0%, #1e3a8a 25%, #1e40af 50%, #1e3a8a 75%, #0a1128 100%);
    background-attachment: fixed;
    color: #ffffff;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: #e5e7eb;
}

a {
    color: #fbbf24;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Page System */
.page {
    display: none;
    min-height: 100vh;
    padding-top: 80px;
}

.page.active {
    display: block;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 17, 40, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
}

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

.nav-link {
    color: #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    text-decoration: none;
}

.nav-cta-btn {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    color: #1f2937;
    text-decoration: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #fbbf24;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    color: #1f2937;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.3);
    text-decoration: none;
    color: #1f2937;
}

.btn-secondary {
    background: transparent;
    color: #fbbf24;
    padding: 0.75rem 1.5rem;
    border: 2px solid #fbbf24;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary.large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary:hover {
    background: #fbbf24;
    color: #1f2937;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #e5e7eb;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: #fbbf24;
    color: #fbbf24;
}

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

.floating-houses {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.house {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: floatUp 20s linear infinite;
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.house.small { 
    font-size: 1.5rem; 
    animation-duration: 25s; 
}

.house.large { 
    font-size: 2.5rem; 
    animation-duration: 15s; 
}

@keyframes floatUp {
    0% { 
        transform: translateY(100vh) translateX(0px) rotate(0deg); 
        opacity: 0; 
    }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% { 
        transform: translateY(-100px) translateX(50px) rotate(360deg); 
        opacity: 0; 
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
    display: inline-block;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #d1d5db;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d1d5db;
}

.trust-item i {
    color: #fbbf24;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(251, 191, 36, 0.3);
}

.benefit-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

/* Programs Preview */
.programs-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-preview-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.program-highlight {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.program-preview-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.program-preview-card li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.program-preview-card li:before {
    content: '✓';
    color: #fbbf24;
    margin-right: 0.5rem;
}

.programs-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Quick Contact */
.quick-contact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 2rem;
    padding: 3rem;
    text-align: center;
    margin: 3rem 0;
}

.contact-options {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #e5e7eb;
    min-width: 160px;
}

.contact-btn:hover {
    background: rgba(251, 191, 36, 0.1);
    transform: translateY(-5px);
    color: #fbbf24;
    text-decoration: none;
}

.contact-btn i {
    font-size: 2rem;
    color: #fbbf24;
}

/* About Page */
.about-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about-subtitle {
    font-size: 1.25rem;
    color: #d1d5db;
}

.about-bio {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.professional-avatar {
    width: 200px;
    height: 200px;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1f2937;
    margin: 0 auto;
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.credential-item i {
    font-size: 2rem;
    color: #fbbf24;
}

.mission-statement {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    padding: 3rem;
    margin-bottom: 4rem;
}

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

.reason {
    text-align: center;
    padding: 1.5rem;
}

.reason i {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

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

.program-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(251, 191, 36, 0.3);
}

.program-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.program-card h3 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.program-card ul {
    list-style: none;
    margin: 1.5rem 0;
}

.program-card li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.program-card li:before {
    content: '✓';
    color: #fbbf24;
    margin-right: 0.5rem;
}

.learn-more {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
    margin-top: 1rem;
}

/* Calculator */
.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix,
.input-suffix {
    position: absolute;
    color: #9ca3af;
    font-weight: 600;
}

.input-prefix {
    left: 1rem;
}

.input-suffix {
    right: 1rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 1rem;
    padding-left: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.input-percentage {
    position: absolute;
    right: -60px;
    color: #fbbf24;
    font-weight: 600;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.result-card {
    background: rgba(251, 191, 36, 0.1);
    border: 2px solid #fbbf24;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
}

.result-card h3 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fbbf24;
}

.payment-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.payment-breakdown h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.loan-summary {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item .value {
    font-weight: 600;
    color: #fbbf24;
}

.calculator-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.calculator-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

/* Pre-Approval Form */
.preapproval-header {
    text-align: center;
    margin-bottom: 3rem;
}

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #10b981;
    margin-top: 1rem;
}

.preapproval-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.step-indicator {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: #fbbf24;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fbbf24;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.form-navigation {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 3rem;
}

.form-review {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.review-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 1.5rem;
}

.review-section h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.review-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.review-item span:first-child {
    color: #d1d5db;
}

.review-item span:last-child {
    font-weight: 600;
    color: #ffffff;
}

.form-consent {
    margin-bottom: 2rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    color: #d1d5db;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.25rem;
    position: relative;
    flex-shrink: 0;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #fbbf24;
    border-color: #fbbf24;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark:after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 3px;
    color: #1f2937;
    font-weight: bold;
}

.privacy-assurance {
    text-align: center;
    margin-top: 3rem;
}

.assurance-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.assurance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #10b981;
}

/* Contact Page */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(251, 191, 36, 0.3);
}

.contact-icon {
    font-size: 3rem;
    color: #fbbf24;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #fbbf24;
    margin-bottom: 0.5rem;
}

.contact-link {
    display: block;
    font-weight: 600;
    font-size: 1.125rem;
    margin: 1rem 0;
}

.response-time {
    font-size: 0.9rem;
    color: #10b981;
}

.contact-form-section h2 {
    color: #fbbf24;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-areas {
    text-align: center;
    margin-top: 4rem;
}

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

.area-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.area-item:hover {
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.response-guarantee {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    margin-top: 4rem;
    text-align: center;
}

.guarantee-items {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.guarantee-item i {
    font-size: 2rem;
    color: #fbbf24;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 3rem;
    max-width: 500px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.next-steps {
    text-align: left;
    margin: 2rem 0;
}

.next-steps ol {
    color: #d1d5db;
    margin-left: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    color: #fbbf24;
}

.footer-logo p {
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.equal-housing {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-top: 2rem;
}

.housing-logo {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: #1f2937;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    border: 2px solid #fbbf24;
    position: relative;
    flex-shrink: 0;
}

.housing-logo span {
    position: absolute;
    bottom: 5px;
    right: 8px;
    font-size: 1rem;
}

.housing-text {
    flex: 1;
}

.housing-text strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    color: #fbbf24;
    margin-right: 0.5rem;
    width: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fbbf24;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-disclaimer {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #d1d5db;
}

.footer-copyright {
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-copyright p {
    margin-bottom: 0.5rem;
}

/* Program Detail Pages */
.program-detail .container {
    max-width: 800px;
}

.program-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.program-hero h1 {
    color: #fbbf24;
    margin-bottom: 1rem;
}

.program-hero .program-highlight {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-content {
    display: grid;
    gap: 3rem;
}

.program-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
}

.program-section h3 {
    color: #fbbf24;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li {
    margin-bottom: 0.75rem;
    color: #d1d5db;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-list li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.requirement-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.requirement-item strong {
    color: #fbbf24;
    display: block;
    margin-bottom: 0.5rem;
}

.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.rate-item {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
}

.rate-percentage {
    font-size: 2rem;
    font-weight: 700;
    color: #fbbf24;
}

.rate-label {
    font-size: 0.9rem;
    color: #d1d5db;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .about-bio {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .guarantee-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .programs-preview {
        grid-template-columns: 1fr;
    }
    
    .rates-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
}

/* Realtor Section Responsive Styles */
@media (max-width: 768px) {
    .realtor-section {
        padding: 40px 0 !important;
    }

    .realtor-section .section-title {
        font-size: 2rem !important;
    }

    .realtor-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .realtor-section div[style*="padding: 2rem"] {
        padding: 1.5rem !important;
    }

    .realtor-section div[style*="padding: 2.5rem"] {
        padding: 1.5rem !important;
    }

    .realtor-section a[href="/document-analyzer"] {
        padding: 0.8rem 1.5rem !important;
        font-size: 1rem !important;
        margin: 0 !important;
        display: block !important;
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .realtor-section {
        padding: 30px 0 !important;
    }

    .realtor-section .section-title {
        font-size: 1.8rem !important;
    }

    .realtor-section h3 {
        font-size: 1.1rem !important;
    }

    .realtor-section div[style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
    }

    .realtor-section div[style*="font-size: 2rem"] {
        font-size: 1.5rem !important;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-houses,
    .modal,
    .realtor-section {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .page {
        display: block !important;
        padding-top: 0 !important;
    }
}