/* assets/css/style.css */
:root {
    --usa-red: #B22234;
    --usa-blue: #3C3B6E;
    --usa-white: #FFFFFF;
}

body {

	font-family: 'Montserrat', sans-serif;
    color: #333;
}

/* Change: Removed .container from here to allow dropdowns to show */
.container-fluid {
    overflow: hidden;
}

/* Add: Specific fix to ensure navbar doesn't clip content */
.navbar .container {
    overflow: visible !important;
}

@media (max-width: 576px) {
    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .col-12, [class*="col-"] {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}



.text-danger { color: var(--usa-red) !important; }
.bg-danger { background-color: var(--usa-red) !important; }
.text-primary { color: var(--usa-blue) !important; }
.bg-primary { background-color: var(--usa-blue) !important; }

/* Subtle Animation */
.fade-in {
    transition: transform 0.3s ease-in-out;
}
.fade-in:hover {
    transform: translateY(-5px);
}

.btn-danger {
    background-color: var(--usa-red);
    border: none;
    transition: 0.3s;
}
.btn-danger:hover {
    background-color: var(--usa-blue);
}

/* Form Styling */
.form-control:focus {
    border-color: var(--usa-blue);
    box-shadow: 0 0 0 0.25rem rgba(60, 59, 110, 0.25);
}

/* Enable dropdown on hover for desktop */
@media all and (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    /* Optional: Add a smooth fade-in effect */
    .navbar .dropdown .dropdown-menu {
        animation: fadeIn 0.3s ease-in-out;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Professional Brand Card Hover Effects */
.brand-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    background-color: #ffffff;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.brand-card img {
    transition: transform 0.3s ease;
}

.brand-card:hover img {
    transform: scale(1.05);
}

/* Feature Card Styling */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 4px solid var(--usa-blue) !important;
    background-color: #fcfcfc;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,0.1) !important;
    border-bottom: 4px solid var(--usa-red) !important;
    background-color: #ffffff;
}

/* Icon Animation on Hover */
.feature-card .icon-wrapper {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

/* Letter Spacing for Badge */
.tracking-wide {
    letter-spacing: 0.05em;
}

/* Dark Theme Feature Card Styling */
.feature-card-dark {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-bottom: 4px solid var(--usa-blue) !important;
    background-color: #1a1d20; /* Deep charcoal grey */
}

.feature-card-dark:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5) !important; /* Heavier shadow for dark mode */
    border-bottom: 4px solid var(--usa-red) !important;
    background-color: #212529; /* Slightly lighter on hover */
}

.feature-card-dark .icon-wrapper {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card-dark:hover .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
}

/* Step Hover Scale Effect */
.hover-scale {
    transition: transform 0.3s ease-in-out;
}
.step-card:hover .hover-scale {
    transform: scale(1.1);
}