:root {
    --primary-orange: #ff5722;
    --primary-green: #22c55e;
    --dark-bg: #0f172a;
    --light-bg: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --card-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--light-bg);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    color: var(--text-dark);
    scroll-behavior: smooth;
}



/* --- ANIMATED BACKGROUND PARTICLES --- */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* --- ENHANCED HERO SECTION --- */
.finance-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: radial-gradient(circle at top right, #1e293b, #0f172a);
    overflow: hidden;
    margin-top: 60px;
}

.finance-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.15), transparent);
    border-radius: 50%;
    top: -300px;
    right: -200px;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.finance-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--light-bg), transparent);
    z-index: 1;
}

.hero-content {
    z-index: 2;
    padding: 0 20px;
    animation: fadeInUp 0.8s ease-out;
}

.badge-pill {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #a7f3d0;
    border: 1px solid rgba(167, 243, 208, 0.2);
    backdrop-filter: blur(10px);
    animation: slideDown 0.6s ease-out 0.2s both;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #fff 0%, #ffccbc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* --- BOOKING SECTION --- */
.booking-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* --- ENHANCED IMAGE CARD --- */
.finance-image-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.finance-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.2);
}

.finance-image-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.finance-image-card:hover img {
    transform: scale(1.05);
}

.quote-box {
    padding: 30px;
    background: linear-gradient(135deg, #fff 0%, #fff9f7 100%);
    border-top: 4px solid var(--primary-orange);
    position: relative;
}

.quote-box::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 2rem;
    color: rgba(255, 87, 34, 0.05);
}

.quote-box p {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.quote-author {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 0.85rem;
}

/* --- ENHANCED FEATURE CARDS --- */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 87, 34, 0.05), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-orange);
    box-shadow: 0 20px 25px -5px rgba(255, 87, 34, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: #fff3e0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.4rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.feature-card:hover .feature-icon {
    background: var(--primary-orange);
    color: white;
    transform: rotate(-10deg) scale(1.1);
}

.feature-text h4 {
    margin: 0;
    font-weight: 600;
    color: var(--text-dark);
}

.feature-text p {
    margin: 0;
    font-size: 0.8rem;
    color: #64748b;
}

/* --- ENHANCED FORM STYLING --- */
.booking-form-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
    border: 1px solid #fff;
    position: sticky;
    top: 120px;
}

.form-header h3 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
    margin-bottom: 22px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.9rem;
    pointer-events: none;
    transition: var(--transition);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    background: #fff;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.05);
}

.form-input:focus+.input-icon,
.form-select:focus+.input-icon,
.form-textarea:focus+.input-icon {
    color: var(--primary-orange);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, var(--primary-orange), #f4511e);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px -5px rgba(255, 87, 34, 0.3);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(255, 87, 34, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
}

.form-status {
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-status.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

#financeActions button {
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

#goToDashboard {
    border: 2px solid var(--primary-orange);
    color: var(--primary-orange);
    background: white;
    margin-right: 10px;
}

#goToDashboard:hover {
    background: var(--primary-orange);
    color: white;
}

#newFinanceRequest {
    border: 2px solid #cbd5e1;
    color: #64748b;
    background: white;
}

#newFinanceRequest:hover {
    border-color: #64748b;
    color: var(--text-dark);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- CHATBOT TOGGLE --- */
.fastsewa-chatbot-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), #f4511e);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
    z-index: 999;
}

.fastsewa-chatbot-toggle:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 87, 34, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 87, 34, 0);
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .booking-form-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .booking-section {
        padding: 50px 20px;
    }

    .booking-form-card {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    #financeActions button {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
}