/* Global Styles */
:root {
    --primary-color: #6366F1;
    --dark-color: #111827;
    --white-color: #FFFFFF;
}

body {
    font-family: 'Inter', sans-serif;
}

/* Animation Classes */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
    animation-play-state: paused;
}

.animate-fade-in[style*="animation-delay: 0.1s"] {
    animation-delay: 0.1s;
}

.animate-fade-in[style*="animation-delay: 0.2s"] {
    animation-delay: 0.2s;
}

.animate-fade-in[style*="animation-delay: 0.3s"] {
    animation-delay: 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.hover-shadow {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.hover-white {
    transition: color 0.3s ease;
}

.hover-white:hover {
    color: var(--white-color) !important;
}

.hover-primary {
    transition: color 0.3s ease;
}

.hover-primary:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4338CA 100%);
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: url('/static/main/img/pattern.svg') repeat;
    opacity: 0.1;
}

/* Navbar Styles */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.9) !important;
}

.navbar .nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Footer Styles */
.footer {
    background-color: var(--dark-color);
}

.footer a {
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--white-color) !important;
    text-decoration: none;
}

/* Form Styles */
.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

/* Button Styles */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #4338CA;
    border-color: #4338CA;
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: translateY(-2px);
}

/* Content Styles */
.text-max-width {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
    body {
        padding-top: 62px;
    }

    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white-color);
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }
}
