/**
 * SwiftLoan - Main Stylesheet
 * ============================
 * Premium Financial Website Theme
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #172554;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   PRELOADER
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 2s infinite ease-in-out;
}

.double-bounce2 {
    animation-delay: -1s;
}

@keyframes sk-bounce {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1); }
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
}

.top-bar a:hover {
    color: var(--secondary-color);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 15px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: white;
}

.navbar-nav {
    gap: 5px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 10px 18px !important;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
}

.btn-apply-nav {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    font-weight: 600;
    padding: 10px 25px !important;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.btn-apply-nav:hover {
    background: var(--secondary-dark) !important;
    border-color: var(--secondary-dark) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================
   HERO SECTION
   ============================================ */
/* HERO SECTION */
.hero-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 90px;
padding-bottom: 70px;
    background: linear-gradient(
        rgba(18, 35, 89, 0.82),
        rgba(18, 35, 89, 0.82)
    );
}

/* HERO CONTAINER */
.hero-section .container {
    position: relative;
    z-index: 5;
}

/* HERO CONTENT */
.hero-content {
    position: relative;
    z-index: 10;
}

.hero-subtitle {
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 15px;
    display: block;
}

.hero-title {
    color: #ffffff;
    font-weight: 800;
}

.hero-title span {
    color: #f59e0b;
}

.hero-description {
    color: rgba(255,255,255,0.92);
}

.hero-stat-label {
    color: #ffffff;
}

.hero-stat-number {
    color: #f59e0b;
    font-size: 38px;
    font-weight: 800;
}

/* HERO TITLE */
.hero-title {
    font-size: clamp(42px, 6vw, 64px);
    line-height: 1.1;
    margin-bottom: 20px;
}

/* HERO DESCRIPTION */
.hero-description {
    font-size: 22px;
    line-height: 1.7;
    max-width: 700px;
    margin-bottom: 40px;
}

/* BUTTONS */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.btn-primary-custom {
    background: #f59e0b;
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-primary-custom:hover {
    background: #d97706;
    color: #ffffff !important;
}

.btn-outline-custom {
    border: 2px solid rgba(255,255,255,0.7);
    color: #ffffff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
}

.btn-outline-custom:hover {
    background: rgba(255,255,255,0.1);
    color: #ffffff !important;
}

.hero-buttons a i {
    color: #ffffff !important;
}

.hero-stats,
.hero-stat,
.hero-stat-label {
    color: #ffffff !important;
}

/* STATS */
.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
    align-items: flex-start;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 180px;
}

.hero-stat-number {
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.hero-stat-label {
    display: block;
    font-size: 20px;
    line-height: 1.4;
}

/* FLOATING CARD */
.hero-image {
    position: relative;
    height: 350px;
}

.floating-card {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);

    padding: 25px 30px;
    border-radius: 20px;

    display: flex;
    align-items: center;
    gap: 20px;

    min-width: 340px;

    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.card-icon i {
    color: #ffffff;
    font-size: 28px;
}

.card-content h4 {
    font-size: 32px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 6px;
}

.card-content p {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
}

/* SLIDER */
.hero-slider {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

/* OVERLAY */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.60);
    z-index: 2;
}

/* MOBILE */
@media (max-width: 991px) {

    .hero-section {
        min-height: auto;
        padding-top: 130px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
        gap: 30px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 576px) {

.hero-stat {
    align-items: center;
    text-align: center;
}

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 32px;
    color: white;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-text {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.step-card {
    text-align: center;
    padding: 30px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    font-size: 24px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px dashed var(--border-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.step-text {
    color: var(--text-light);
    font-size: 15px;
}

.step-arrow {
    position: absolute;
    top: 50px;
    right: -30px;
    font-size: 30px;
    color: var(--primary-light);
    opacity: 0.5;
}

/* ============================================
   LOAN TYPES SECTION
   ============================================ */
.loan-types-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.loan-types-section .section-title,
.loan-types-section .section-description {
    color: white;
}

.loan-type-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.loan-type-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.loan-type-icon {
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: white;
}

.loan-type-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.loan-type-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 20px;
}

.loan-type-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--secondary-color);
}

.loan-type-amount span {
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
   TRUST BADGES SECTION
   ============================================ */
.trust-badges-section {
    padding: 50px 0;
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    text-align: center;
    padding: 20px;
}

.trust-badge-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-badge-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.trust-badge-text {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
}

.cta-title {
    font-size: 32px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.footer-brand .logo-text {
    font-size: 20px;
}

.footer-about {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.page-header-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.page-header-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   FORMS
   ============================================ */
.form-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.form-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control,
.form-select {
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 13px;
}

.input-group-text {
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-right: none;
    color: var(--text-light);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-color: var(--border-color);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    color: white;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: white;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--primary-light);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload-wrapper i {
    font-size: 48px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.file-upload-text {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.file-upload-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.file-upload-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* ============================================
   CALCULATOR
   ============================================ */
.calculator-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.calculator-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow);
    height: 100%;
}

.calculator-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.range-slider {
    margin-bottom: 25px;
}

.range-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 500;
}

.range-value {
    color: var(--primary-color);
    font-weight: 700;
}

.form-range {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.form-range::-webkit-slider-thumb:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

.form-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow);
}

.results-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-xl);
    padding: 40px;
    color: white;
    height: 100%;
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: white;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.result-item:last-child {
    border-bottom: none;
}

.result-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

.result-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.result-value.highlight {
    font-size: 32px;
    color: white;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    padding: 20px 25px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-white);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: var(--bg-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--border-color);
}

.accordion-button::after {
    background-size: 1.2rem;
}

.accordion-body {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   CONTENT PAGES
   ============================================ */
.content-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.content-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
}

.content-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-light);
}

.content-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* ============================================
   ADMIN PANEL
   ============================================ */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.admin-login-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: 50px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-xl);
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 40px;
}

.admin-login-logo i {
    font-size: 60px;
    color: var(--primary-color);
}

.admin-login-title {
    font-size: 24px;
    font-weight: 700;
    margin-top: 20px;
    color: var(--text-dark);
}

.admin-dashboard {
    min-height: 100vh;
    background: var(--bg-light);
}

.admin-sidebar {
    background: var(--primary-dark);
    min-height: 100vh;
    padding: 30px 0;
}

.admin-sidebar-brand {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.admin-sidebar-brand a {
    color: white;
    font-size: 24px;
    font-weight: 700;
}

.admin-sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-sidebar-menu li {
    margin-bottom: 5px;
}

.admin-sidebar-menu a {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.admin-sidebar-menu a:hover,
.admin-sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-left: 4px solid var(--secondary-color);
}

.admin-sidebar-menu i {
    margin-right: 10px;
    width: 20px;
}

.admin-main {
    padding: 30px;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.stat-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
}

.stat-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-color);
}

.stat-icon.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--secondary-color);
}

.stat-icon.red {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.stat-info h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: var(--radius-lg);
        margin-top: 15px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .step-arrow {
        display: none;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
}

@media (max-width: 767.98px) {
    
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .feature-card,
    .loan-type-card {
        margin-bottom: 20px;
    }
    
    .form-card,
    .calculator-card,
    .results-card {
        padding: 25px;
    }
    
    .admin-login-card {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .admin-sidebar {
        min-height: auto;
        padding: 15px 0;
    }
}

@media (max-width: 575.98px) {
    .top-bar {
        display: none !important;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 24px;
    }
    
    .footer-title {
        margin-top: 20px;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* ============================================
   FINAL MOBILE RESPONSIVE FIXES
   ============================================ */

@media (max-width: 991px) {

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navbar-brand .logo-text {
        font-size: 28px;
    }

    .navbar-collapse {
        margin-top: 15px;
        padding: 20px;
        border-radius: 12px;
        background: rgba(0,0,0,0.25);
    }

    .navbar-nav {
        gap: 10px;
    }

    .btn-apply-nav {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }

    .hero-section {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 90px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 42px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 18px;
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-stat {
        align-items: center;
        text-align: center;
    }

    .feature-card,
    .loan-type-card,
    .testimonial-card,
    .form-card,
    .calculator-card,
    .results-card {
        padding: 25px;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 36px;
        line-height: 1.3;
    }

    .content-title {
        font-size: 32px;
    }

    .page-header {
        padding-top: 140px;
        padding-bottom: 70px;
    }

    .page-header-title {
        font-size: 42px;
    }

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .step-arrow {
        display: none;
    }
}

@media (max-width: 767px) {

    .hero-title {
        font-size: 34px;
    }

    .hero-description {
        font-size: 16px;
    }

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

    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }

    .hero-stat-number {
        font-size: 32px;
    }

    .hero-stat-label {
        font-size: 18px;
    }

    .section-title {
        font-size: 30px;
    }

    .content-title {
        font-size: 28px;
    }

    .feature-card,
    .loan-type-card,
    .testimonial-card {
        margin-bottom: 20px;
    }

    .top-bar {
        display: none !important;
    }

    .floating-card {
        display: none !important;
    }

    .admin-main {
        padding: 20px;
    }
}

@media (max-width: 575px) {

    .hero-section {
        padding-top: 120px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-description {
        font-size: 15px;
    }

    .section-title {
        font-size: 26px;
    }

    .page-header-title {
        font-size: 32px;
    }

    .content-title {
        font-size: 24px;
    }

    .form-card,
    .calculator-card,
    .results-card {
        padding: 20px;
    }

    .row {
        --bs-gutter-x: 1rem;
    }

    img {
        border-radius: 16px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-light { background-color: var(--bg-light) !important; }

.fw-300 { font-weight: 300 !important; }
.fw-400 { font-weight: 400 !important; }
.fw-500 { font-weight: 500 !important; }
.fw-600 { font-weight: 600 !important; }
.fw-700 { font-weight: 700 !important; }
.fw-800 { font-weight: 800 !important; }

.rounded-xl { border-radius: var(--radius-xl) !important; }
.shadow-sm { box-shadow: var(--shadow-sm) !important; }
.shadow { box-shadow: var(--shadow) !important; }
.shadow-lg { box-shadow: var(--shadow-lg) !important; }
