/*
Theme Name: Donkey Loans AI
Description: A modern AI-powered lending platform theme converted from HTML template. Features responsive design, interactive elements, and professional business loan matching interface.
Version: 1.0
Author: Donkey Loans AI
*/

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

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--secondary);
    line-height: 1.6;
    font-size: var(--text-md);
    overflow-x: hidden;
}

/* Menu open state */
.menu-open {
    overflow: hidden;
}

section container {
    display: block;
    max-width:800px;
    margin: 0 auto;
}

/* Container */
.container {
    width: var(--content-max-width);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
}

@media (max-width: 768px) {
.container {
    padding: 0 var(--space-md);
}
}

@media (max-width: 480px) {
.container {
    padding: 0 var(--space-sm);
}
}

/* Typography */
h1 {
    font-size: var(--text-6xl);
    letter-spacing: -0.02em;
    font-weight: 800;
    line-height: 1.1;
}

h2 {
    font-size: var(--text-5xl);
    letter-spacing: -0.01em;
    font-weight: 700;
    line-height: 1.2;
}

h3 {
    font-size: var(--text-3xl);
    font-weight: 600;
    line-height: 1.2;
}

h4 {
    font-size: var(--text-2xl);
    font-weight: 600;
    line-height: 1.2;
}

h5 {
    font-size: var(--text-xl);
    font-weight: 600;
    line-height: 1.2;
}

h6 {
    font-size: var(--text-lg);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.4;
}

p {
    font-size: var(--text-md);
    line-height: 1.6;
}

/* Background Elements */

/* Section Background */
section {
    position: relative;
    padding: var(--space-section) 0;
    background: var(--gradient-hero);
    overflow: hidden;
}

section:first-of-type:not(.hero) {
    padding-top: var(--space-2xl);
}

section.odd-section {
    background: var(--primary);
}

.section-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(255, 240, 55, 0.1) 0%, transparent 70%);
    z-index: 1;
}

section.odd-section.section-background::before {
    background: radial-gradient(ellipse at center, rgb(255 255 255 / 41%) 0%, #00000000 70%);
}

.section-background .container {
    z-index: 2;
}


section.active .section-title::after {
    width: 110px;
}


/* Card Styles */
.card-base {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease-in-out;
}


.card-base:hover:not(.process-card):not(.loan-type-card.active) {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.95);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

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



.funding-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(to right, var(--info), var(--primary) var(--thumb-color-percentage, 0%));
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    cursor: grab;
    position: relative;
    z-index: 3; 
    transition: all 0.2s ease;
    margin-top: -9px;
}

.funding-slider::-webkit-slider-thumb:active {
    cursor: grabbing;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}



/* ==============================
   CONSOLIDATED ANIMATIONS
   ============================== */

/* Float and Movement Animations */
@keyframes floatElement {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 1; }
}

@keyframes heroCircleAnimation {
    0%, 100% { 
        transform: translateY(-80px) scale(1); 
        box-shadow: 
            var(--shadow-2xl),
            0 0 0 rgba(255, 240, 55, 0);
    }
    50% { 
        transform: translateY(-88px) scale(1.02); 
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.3),
            0 0 30px rgba(255, 240, 55, 0.2);
    }
}

/* Pulse and Glow Animations */
@keyframes borderPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: scale(1.02);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.05);
        opacity: 1;
    }
    75% { 
        transform: scale(1.02);
        opacity: 0.8;
    }
}

@keyframes spinGradient {
    0% { 
        transform: rotate(0deg); 
    }
    100% { 
        transform: rotate(360deg); 
    }
}

@keyframes pulse-funding {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes slider-pulse {
    0% { box-shadow: 0 0 15px rgba(255, 240, 55, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 240, 55, 0.9), 0 5px 12px rgba(0, 0, 0, 0.4); }
    100% { box-shadow: 0 0 15px rgba(255, 240, 55, 0.6), 0 4px 10px rgba(0, 0, 0, 0.3); }
}

@keyframes track-glow {
    0% { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 240, 55, 0); }
    50% { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 8px rgba(255, 240, 55, 0.3); }
    100% { box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2), 0 0 0 rgba(255, 240, 55, 0); }
}

sep {
    height:3px;
    display: block;
    background: linear-gradient(45deg, var(--primary), transparent);
    width:100%;
}

/* === LOAN APPLICATION & AI MATCHING STYLES === */
