/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Color Variables - KV Theme */
:root {
    /* Light Mode Colors */
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --accent-orange: #f97316;
    --light-blue: #dbeafe;
    --purple: #7c3aed;
    --white: #ffffff;
    --gray-light: #f8fafc;
    --gray-medium: #64748b;
    --gray-dark: #334155;
    --black: #000000;
    
    /* Theme-specific variables */
    --bg-primary: var(--white);
    --bg-secondary: var(--gray-light);
    --text-primary: var(--gray-dark);
    --text-secondary: var(--gray-medium);
    --card-bg: var(--white);
    --nav-bg: rgba(255, 255, 255, 0.95);
    --footer-bg: var(--primary-blue);
    
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(45deg, #3b82f6 0%, #f97316 100%);
    --gradient-bg: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #7c3aed 100%);
    
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Colors */
[data-theme="dark"] {
    --primary-blue: #3b82f6;
    --secondary-blue: #60a5fa;
    --accent-orange: #fb923c;
    --light-blue: #1e293b;
    --purple: #a855f7;
    
    /* Dark theme-specific variables */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --card-bg: #1e293b;
    --nav-bg: rgba(15, 23, 42, 0.95);
    --footer-bg: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #1e293b 0%, #6366f1 100%);
    --gradient-secondary: linear-gradient(45deg, #3b82f6 0%, #fb923c 100%);
    --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

/* System theme detection */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-blue: #3b82f6;
        --secondary-blue: #60a5fa;
        --accent-orange: #fb923c;
        --light-blue: #1e293b;
        --purple: #a855f7;
        
        --bg-primary: #0f172a;
        --bg-secondary: #1e293b;
        --text-primary: #f1f5f9;
        --text-secondary: #cbd5e1;
        --card-bg: #1e293b;
        --nav-bg: rgba(15, 23, 42, 0.95);
        --footer-bg: #0f172a;
        
        --gradient-primary: linear-gradient(135deg, #1e293b 0%, #6366f1 100%);
        --gradient-secondary: linear-gradient(45deg, #3b82f6 0%, #fb923c 100%);
        --gradient-bg: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
        
        --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
        --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
        --shadow-heavy: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-bg);
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape1 {
    width: 100px;
    height: 100px;
    background: var(--accent-orange);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: var(--white);
    border-radius: 30%;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape3 {
    width: 80px;
    height: 80px;
    background: var(--secondary-blue);
    border-radius: 50%;
    top: 40%;
    left: 60%;
    animation-delay: 4s;
}

.shape4 {
    width: 120px;
    height: 120px;
    background: var(--accent-orange);
    border-radius: 20%;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

.shape5 {
    width: 200px;
    height: 200px;
    background: var(--white);
    border-radius: 50%;
    bottom: 20%;
    left: 20%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow-light);
    transition: background 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.kv-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle {
    width: 50px;
    height: 50px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-medium);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.nav-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.2;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-blue);
    background: var(--bg-secondary);
}

.nav-link.active {
    color: var(--white);
    background: var(--primary-blue);
    box-shadow: var(--shadow-light);
}


/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-title .highlight {
    background: linear-gradient(45deg, var(--accent-orange), var(--white));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-orange);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: #ea580c;
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--gray-light);
}

.btn-icon {
    font-size: 18px;
}


/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color 0.3s ease;
}

/* About Section */
.about {
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-primary);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.about-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.about-icons {
    display: grid;
    gap: 30px;
}

.icon-item {
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    background: var(--card-bg);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.icon-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    background: var(--primary-blue);
}

.icon-item:hover h3,
.icon-item:hover p {
    color: var(--white);
}

.icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.icon-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.icon-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Features Section */
.features {
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-primary);
    transition: background 0.3s ease;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    border-radius: 20px;
    background: var(--card-bg);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow-light);
}

.step-item:hover {
    background: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-item:hover h3,
.step-item:hover p {
    color: var(--white);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--accent-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: var(--shadow-medium);
}

.step-icon {
    font-size: 2.5rem;
    margin: 20px 0 15px 0;
    display: block;
}

.step-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.step-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.step-arrow {
    font-size: 2rem;
    color: var(--secondary-blue);
    font-weight: bold;
    animation: slideRight 2s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--white);
    padding: 60px 0 20px;
    transition: background 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-school-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-school-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.contact-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.contact-icon {
    font-size: 1.2rem;
    width: 25px;
    margin-top: 2px;
}

.contact-item span:last-child {
    word-break: break-word;
    flex: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.credits {
    color: var(--accent-orange);
    font-weight: 500;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Navigation */
    .nav-title {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .nav-logo {
        gap: 12px;
    }

    .logo-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Hero */
    .hero .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 25px;
        font-size: 15px;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        justify-content: center;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        gap: 30px;
    }

    .step-arrow {
        transform: rotate(90deg);
        animation: slideDown 2s ease-in-out infinite;
    }

    @keyframes slideDown {
        0%, 100% {
            transform: rotate(90deg) translateY(0);
        }
        50% {
            transform: rotate(90deg) translateY(10px);
        }
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .about-stats {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .step-item {
        min-width: unset;
    }
    
    .nav-title {
        font-size: 11px;
        line-height: 1.1;
    }
    
    .nav-logo {
        gap: 8px;
    }
    
    .logo-circle {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    
    .nav-menu {
        gap: 15px;
    }
    
    .nav-link {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    /* Modal Mobile Styles */
    .modal {
        width: 95%;
        max-width: 380px;
    }
    
    .modal-header {
        padding: 20px 25px;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-form {
        padding: 25px;
    }
    
    .form-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .modal-footer {
        padding: 15px 25px 25px;
    }

}

/* Smooth Theme Transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Override transitions for animations that should remain fast */
.floating-shape,
.logo-circle,
.btn::before {
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease !important;
}


/* Dark Mode Specific Adjustments */
[data-theme="dark"] .hero-title .highlight {
    background: linear-gradient(45deg, var(--accent-orange), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .floating-shape {
    opacity: 0.05;
}

[data-theme="light"] .floating-shape {
    opacity: 0.1;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--card-bg);
    border-radius: 25px;
    box-shadow: var(--shadow-heavy);
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(-50px);
    transition: all 0.3s ease;
    position: relative;
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-content {
    padding: 0;
}

/* Modal Header */
.modal-header {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: 25px 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(-45deg);
    animation: shimmer 3s ease-in-out infinite;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.modal-icon {
    font-size: 1.8rem;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Modal Form */
.modal-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.label-icon {
    font-size: 1.1rem;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--bg-secondary);
    border-radius: 15px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--card-bg);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.form-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 15px;
    background: var(--gradient-secondary);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.form-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.form-btn:hover::before {
    left: 100%;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

.form-btn:active {
    transform: translateY(0);
}

/* Modal Footer */
.modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-footer p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.modal-link {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.modal-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* Form Validation States */
.form-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-input.success {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading State */
.form-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

.form-btn.loading::after {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

/* Hover Effects for Interactive Elements */
.feature-card, .step-item, .icon-item {
    cursor: pointer;
}

/* Focus States for Accessibility */
.btn:focus {
    outline: 2px solid var(--accent-orange);
    outline-offset: 2px;
}



