/* Color Palette & Base Adjustments */
:root {
    --primary-brand: #0d6efd;
    --primary-hover: #0b5ed7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Ensure the main content pushes the footer to the bottom */
main {
    flex: 1 0 auto;
}

/* Smooth Card Hover Effects (Used in Index & About pages) */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Premium Button Styling */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-brand), #0052cc);
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover), #0043a8);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
    transform: translateY(-2px);
}

/* Form Input Focus States */
.form-control:focus {
    border-color: var(--primary-brand);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}

/* --- Dark Footer Custom Hover Effects --- */
/* Custom Midnight Navy Background for Header & Footer */
.bg-midnight {
    background-color: #0b132b !important;
}

.bg-lightorange {
   background-color: #f4ecda !important;
}
footer {
    background-color: #0b132b !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05); /* Adds a subtle premium border */
}

/* Smooth transition for footer text links */
.footer-link-hover {
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-link-hover:hover {
    color: #ffffff !important;
    padding-left: 6px; /* Subtle slide-right effect on hover */
}

/* Icon hover effects */
.footer-icon-hover {
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-icon-hover:hover {
    color: var(--primary-brand) !important;
    transform: translateY(-3px);
}

/* Make alert boxes look softer */
.alert {
    border-radius: 10px;
    border: none;
}