/* Custom styles to complement Bootstrap 5 */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --yellow-accent: #FFD700;
}

body {
    background-color: var(--light-color);
}

/* Navbar customization */
.navbar-dark {
    background-color: var(--dark-color) !important;
}

.navbar-brand svg rect:last-child {
    fill: var(--yellow-accent);
}

/* Card hover effects */
.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;
}

/* Button styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Icon colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Header customization */
.display-4 {
    color: var(--dark-color);
    font-weight: 700 !important;
}

/* Footer customization */
footer {
    color: var(--secondary-color);
}

/* Animation for cards on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.5s ease forwards;
}

.row .col:nth-child(1) .card { animation-delay: 0.1s; }
.row .col:nth-child(2) .card { animation-delay: 0.2s; }
.row .col:nth-child(3) .card { animation-delay: 0.3s; }
.row .col:nth-child(4) .card { animation-delay: 0.4s; }
.row .col:nth-child(5) .card { animation-delay: 0.5s; }
.row .col:nth-child(6) .card { animation-delay: 0.6s; }

/* Highlighted card (for URL parameter targeting) */
.card.highlighted {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.3);
}
