<!-- static/css/style.css -->
:root {
    --bs-primary: #0d6efd;
    --bs-primary-rgb: 13, 110, 253;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
}

.feature-icon {
    font-size: 5rem;
    color: var(--bs-success);
}

/* Hero Section Styles */
.hero-section {
    /* margin-top: 2px;  # Account for fixed navbar */
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
}

.nav-item {
    color: white
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 76px);
}

.hero-image {
    position: relative;
    min-height: 600px;
}

.object-cover {
    object-fit: cover;
    object-position: center;
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Cards hover effects */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Button hover effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Navbar transparency effect */
.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(13, 110, 253, 0.95) !important;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: var(--bs-primary) !important;
    backdrop-filter: none;
}

/* Section spacing */
section {
    scroll-margin-top: 100px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-content {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .hero-image {
        min-height: 400px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-image {
        min-height: 300px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
}

/* Form styling improvements */
.form-control:focus,
.form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Card header improvements */
.card-header {
    border-bottom: none;
}

/* Accordion improvements */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.1);
    color: var(--bs-primary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Footer improvements */
footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/*
.footer {
    background: linear-gradient(rgba(21, 22, 23, 0.7), rgba(96, 98, 100, 0.7));
}
*/


/* Loading animation for better UX */
.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn.loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 0.5rem;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    footer {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
    }
}