﻿.bg-darkblue {
    background: linear-gradient(90deg, rgba(64,92,142,1) 0%, rgba(34,44,97,1) 50%, rgba(64,92,142,1) 100%);
    color: white;
}

.btn-americared {
    background-color: #db1a4f;
    color: white;
}

.list-group-item:hover {
    background-color: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.list-group-item,
.btn,
.nav-link,
a {
    transition: all 0.3s ease;
}

.wrapper {
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.wrapper:nth-child(1) { animation-delay: 0.1s; }
.wrapper:nth-child(2) { animation-delay: 0.2s; }
.wrapper:nth-child(3) { animation-delay: 0.3s; }
.wrapper:nth-child(4) { animation-delay: 0.4s; }
.wrapper:nth-child(5) { animation-delay: 0.5s; }

#header-container {
    animation: fadeInDown 0.6s ease-out;
}

#footer-container {
    animation: fadeInUp 0.6s ease-out;
}

#documents-container .row {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

#documents-container .row:nth-child(1) { animation-delay: 0.1s; }
#documents-container .row:nth-child(2) { animation-delay: 0.2s; }
#documents-container .row:nth-child(3) { animation-delay: 0.3s; }
#documents-container .row:nth-child(4) { animation-delay: 0.4s; }
#documents-container .row:nth-child(5) { animation-delay: 0.5s; }
#documents-container .row:nth-child(6) { animation-delay: 0.6s; }

#important-dates-container .row {
    animation: fadeInLeft 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

#important-dates-container .row:nth-child(1) { animation-delay: 0.1s; }
#important-dates-container .row:nth-child(2) { animation-delay: 0.2s; }
#important-dates-container .row:nth-child(3) { animation-delay: 0.3s; }
#important-dates-container .row:nth-child(4) { animation-delay: 0.4s; }

#location-container {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

#summary-detail-container {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

#summary-detail-container h3 {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

#summary-detail-container h4 {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.3s;
}

#summary-detail-container p {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.4s;
}

#summary-detail-container hr {
    animation: fadeInUp 0.6s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.5s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-link:hover {
    transform: translateY(-1px);
    color: #007bff !important;
}

.list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#iframe-container {
    transition: all 0.3s ease;
}

.list-group-item:focus,
.btn:focus,
.nav-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    transition: outline 0.2s ease;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .bg-darkblue {
        background: #000080;
    }
    
    .btn-americared {
        background-color: #cc0000;
        border: 2px solid #000;
    }
}

/* Focus visible for better keyboard navigation */
.btn:focus-visible,
.nav-link:focus-visible,
.list-group-item:focus-visible {
    outline: 3px solid #007bff;
    outline-offset: 2px;
}

