/* CSS VARIABLES & RESET */
:root {
    --navy: #003366;
    --navy-dark: #002244;
    --navy-light: #004488;
    --primary: #0055aa;
    --primary-hover: #004488;
    
    /* Light Mode */
    --bg-main: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-alt: #f1f5f9;
    --text-main: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.dark {
    --bg-main: #0f172a;
    --bg-secondary: #1e293b;
    --bg-alt: #334155;
    --text-main: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color 0.3s, color 0.3s;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* HEADER & NAVIGATION */
.header {
    background-color: #002244;
    color: white;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #93c5fd;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #93c5fd;
}

.nav-link-bold {
    font-weight: 700;
}

.btn-login {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.dark-mode-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    color: white;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dark-mode-toggle svg {
    width: 20px;
    height: 20px;
}

.sun-icon {
    display: block;
}

.moon-icon {
    display: none;
}

.dark .sun-icon {
    display: none;
}

.dark .moon-icon {
    display: block;
}

/* MOBILE NAVIGATION (HAMBURGER MENU) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 4px;
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.mobile-overlay.active {
    display: block;
}

@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 5rem 0 2rem;
        transition: right 0.3s ease-in-out;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link.active {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .btn-login,
    .dark-mode-toggle {
        margin: 1rem 2rem;
        width: calc(100% - 4rem);
    }

    .dark-mode-toggle {
        border-radius: 8px;
        height: 48px;
    }
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 2.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: white;
    color: var(--navy);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-navy {
    background-color: var(--navy);
    color: white;
}

.btn-navy:hover {
    background-color: var(--navy-dark);
}

.btn-large {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), 
                url('attached_assets/generated_images/diverse_business_professionals_in_meeting.png');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-content {
    max-width: 700px;
    color: white;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* FEATURES */
.features-wrapper {
    max-width: 1280px;
    margin: -4rem auto 0;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    border-bottom: 4px solid var(--primary);
    transition: transform 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-title {
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.dark .feature-title {
    color: white;
}

.feature-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* SECTIONS */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-small {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.dark .section-title {
    color: white;
}

.section-title-light {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 3rem;
    text-align: center;
}

.title-divider {
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* PAGE HEADER*/
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* SUCCESS STORIES */
.success-stories {
    background-color: var(--navy);
    color: white;
    padding: 6rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-name {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ABOUT PAGE */
.about-section {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.founder-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.founder-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.founder-info {
    background-color: var(--bg-secondary);
    padding: 1.5rem;
}

.founder-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.founder-title {
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    font-style: italic;
}

/* MANAGEMENT TEAM */
.management-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.team-intro {
    text-align: center;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 4rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.team-member {
    text-align: center;
}

.team-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.team-member:hover .team-image-wrapper {
    transform: scale(1.05);
}

.team-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.team-member-alt {
    background: linear-gradient(135deg, rgba(0, 85, 170, 0.05) 0%, rgba(0, 85, 170, 0.1) 100%);
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* PRODUCTS PAGE */
.products-section {
    padding: 6rem 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-amount {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.product-features {
    list-style: none;
    margin-bottom: 2rem;
}

.product-features li {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* LOAN CALCULATOR */
.calculator-section {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.calculator-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.calculator-card {
    background-color: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.calculator-input {
    text-align: center;
}

.calculator-label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.range-slider {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, var(--primary) 0%, var(--primary) 50%, #e2e8f0 50%, #e2e8f0 100%);
    outline: none;
    margin-bottom: 1rem;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.calculator-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.calculator-result {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(0, 85, 170, 0.05) 0%, rgba(0, 85, 170, 0.1) 100%);
    border-radius: 8px;
    margin-bottom: 2rem;
}

.result-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.result-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

/* CONTACT PAGE */
.contact-section {
    padding: 6rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 85, 170, 0.1) 0%, rgba(0, 85, 170, 0.2) 100%);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.contact-value {
    font-weight: 700;
    color: var(--text-main);
}

.contact-form {
    background-color: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--bg-main);
    color: var(--text-main);
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-success {
    color: #22c55e;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
}

.hidden {
    display: none !important;
}

/* MAP SECTION */
.map-section {
    padding: 6rem 0;
    background-color: var(--bg-alt);
}

.map-placeholder {
    background-color: var(--bg-secondary);
    height: 400px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 2px dashed var(--border-color);
    margin-top: 2rem;
}

/*APPLICATION FORM*/
.apply-section {
    padding: 4rem 0;
    min-height: calc(100vh - 80px);
}

.application-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin: 2rem 0;
}

.application-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 2rem 2rem;
    text-align: center;
    color: white;
}

.application-title {
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.application-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.application-form {
    padding: 3rem 2rem;
    /* background-color: lavender; */
}

.form-section {
    margin-bottom: 3rem;
}

.form-section-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--bg-alt);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
}

.dark .form-section-title {
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.file-upload-wrapper {
    padding: 3rem 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    text-align: center;
    background-color: var(--bg-alt);
    transition: border-color 0.3s;
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
}

.file-input {
    display: none;
}

.file-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    color: var(--primary);
    font-weight: 600;
}

.file-info {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.btn-submit {
    margin-top: 2rem;
}

/* CONFIRMATION */
.confirmation {
    text-align: center;
    padding: 6rem 2rem;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    margin: 0 auto 2rem;
}

.confirmation-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.confirmation-text {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* FOOTER */
.footer {
    background-color: var(--navy);
    color: white;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.4;
}

/* MULTI-STEP FORM ADDITIONAL STYLES */
.container-medium {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
}

.progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
}

.progress-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid var(--border-color);
}

.progress-step.active .progress-circle {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.progress-step.completed .progress-circle {
    background-color: #22c55e;
    color: white;
    border-color: #22c55e;
}

.progress-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: center;
}

.progress-step.active .progress-label {
    color: var(--primary);
}

.progress-step.completed .progress-label {
    color: #22c55e;
}

.progress-line {
    flex: 1;
    height: 2px;
    background-color: var(--border-color);
    margin: 0 0.5rem;
}

.subsection-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.conditional-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background-color: var(--bg-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.consent-section {
    background-color: var(--bg-alt);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.signature-section {
    margin-top: 2rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.signature-input {
    font-family: 'Brush Script MT', cursive, 'Inter', sans-serif;
    font-size: 1.5rem;
}

.form-help-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.file-upload-area {
    margin-bottom: 1.5rem;
}

.file-upload-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.file-label-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-alt);
    cursor: pointer;
    transition: all 0.3s;
}

.file-label-custom:hover {
    border-color: var(--primary);
    background-color: var(--bg-main);
}

.file-icon {
    font-size: 2rem;
}

.file-text {
    color: var(--primary);
    font-weight: 600;
    text-align: center;
}

.file-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.full-width {
    grid-column: 1 / -1;
}

.confirmation-id {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.confirmation-id strong {
    color: var(--primary);
    font-weight: 700;
}

/* Error states */
.form-input.error,
.form-textarea.error {
    border-color: #ef4444 !important;
}

.file-upload-area.error .file-label-custom {
    border-color: #ef4444;
}

/* FILE PREVIEW STYLES */
.file-preview-container {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-preview-item {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.file-preview-item:hover {
    box-shadow: var(--shadow);
}

.file-preview-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-preview-size {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.file-preview-actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.file-preview-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-preview-view {
    background-color: var(--primary);
    color: white;
}

.file-preview-view:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.file-preview-remove {
    background-color: #ef4444;
    color: white;
}

.file-preview-remove:hover {
    background-color: #dc2626;
    transform: translateY(-2px);
}

/* PDF/Image Modal */
.preview-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 2rem;
}

.preview-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.preview-modal-header {
    background-color: var(--navy);
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-modal-title {
    font-weight: 600;
    font-size: 1.125rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.preview-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.preview-modal-body {
    padding: 2rem;
    max-height: calc(90vh - 80px);
    overflow: auto;
    background-color: #f5f5f5;
}

.preview-iframe {
    width: 100%;
    height: 70vh;
    border: none;
    border-radius: 8px;
    background-color: white;
}

.preview-image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 0 auto;
}

/* CHECKBOX STYLES */
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    cursor: pointer;
    position: relative;
    padding-left: 2rem;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    height: 20px;
    width: 20px;
    background-color: var(--bg-main);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s;
}

.checkbox-container:hover .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--text-main);
    line-height: 1.5;
    font-size: 0.875rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 6rem 0;
    background-color: var(--bg-main);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* WHY SMBS LOVE SPRINGFIELD SECTION */
.love-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: white;
}

.love-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.love-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.35s;
}

.love-card:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.love-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.love-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.love-description {
    line-height: 1.8;
    opacity: 0.9;
}

.love-stat {
    font-size: 2.5rem;
    font-weight: 800;
    color: #93c5fd;
    margin-bottom: 0.5rem;
    display: block;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 80vh;
        background-color: var(--navy);
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem 0 1.5rem;
        transition: right 0.35s ease;
        z-index: 1001;
        border-radius: 10px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .features-wrapper {
        margin-top: -2rem;
        padding: 0 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .love-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        padding: 0 0.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1rem 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero {
        height: auto;
        min-height: 500px;
        padding: 4rem 0;
    }

    .hero-container {
        padding: 0 1rem;
    }
}

@media (max-width: 640px) {
    
    .hero {
        height: auto;
        min-height: 400px;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.875rem;
    }

    .result-amount {
        font-size: 2rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .love-stat {
        font-size: 2rem;
    }

    .love-title {
        font-size: 1.25rem;
    }

    .love-icon {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .feature-title {
        font-size: 1rem;
    }

    .product-name {
        font-size: 1.125rem;
    }

    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-icon {
        margin-bottom: 0.5rem;
    }

    .team-image {
        height: 300px;
    }

    .founder-image {
        height: 350px;
    }

    .container {
        padding: 0 1rem;
    }

    .container-small,
    .container-medium {
        padding: 0 1rem;
    }

    .application-card {
        border-radius: 8px;
    }

    .application-header {
        padding: 2rem 1rem;
    }

    .application-title {
        font-size: 1.5rem;
    }

    .application-form {
        padding: 2rem 1rem;
    }

    .progress-indicator {
        gap: 0.25rem;
    }

    .progress-circle {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }

    .progress-label {
        font-size: 0.625rem;
        display: none;
    }

    .progress-step.active .progress-label {
        display: block;
    }

    .form-section-title {
        font-size: 1rem;
    }

    .calculator-card {
        padding: 2rem 1.5rem;
    }

    .calculator-value {
        font-size: 1.25rem;
    }

    .result-amount {
        font-size: 1.75rem;
    }

    .modal-content {
        max-width: 95vw;
        max-height: 90vh;
    }

    .modal-header h2 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 1rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .detail-item {
        padding: 0.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .feature-card,
    .product-card,
    .testimonial-card,
    .love-card {
        padding: 1rem;
    }

    .btn {
        padding: 0.65rem 1.5rem;
        font-size: 0.875rem;
    }

    .form-input,
    .form-textarea {
        padding: 0.65rem 1rem !important;
        font-size: 1rem;
    }

    .faq-question {
        font-size: 0.875rem;
        padding: 0.875rem;
    }

    .faq-answer {
        font-size: 0.875rem;
    }
}