﻿.bg-darkblue {
    /*background-color: #001f6f;*/
    /*background-image: linear-gradient(to bottom right,#0a1342, #629bff);*/
    /*background-image: linear-gradient(to bottom right, #050f44, #495ab0);*/
    /*background-image: linear-gradient(to bottom right, #001e3d, #3783aa);*/
        background: linear-gradient(90deg, rgba(64,92,142,1) 0%, rgba(34,44,97,1) 50%, rgba(64,92,142,1) 100%);
    /*background-image: url("americanBlue.jpeg");*/
    color:white;
}

.btn-americared {
    background-color: #db1a4f;
    /*background-image: linear-gradient(#bd0711, #db1a4f);*/
    color:white;
}

.list-group-item:hover {
    background-color: #f5f5f5;
    /*background-image: linear-gradient(#bd0711, #db1a4f);*/
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Smooth transitions for all interactive elements */
.list-group-item,
.btn,
.nav-link,
a {
    transition: all 0.3s ease;
}

/* Fade-in animation for main content sections */
.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; }

/* Fade-in animation for header */
#header-container {
    animation: fadeInDown 0.6s ease-out;
}

/* Fade-in animation for footer */
#footer-container {
    animation: fadeInUp 0.6s ease-out;
}

/* Document items fade-in */
#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; }

/* Date rows fade-in */
#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 section fade-in */
#location-container {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
}

/* Summary detail section fade-in */
#summary-detail-container {
    animation: fadeInUp 0.5s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
}

/* Summary detail content animations */
#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;
}

/* Smooth hover effects for buttons */
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Smooth navigation hover effects */
.nav-link:hover {
    transform: translateY(-1px);
    color: #007bff !important;
}

/* Smooth document link hover effects */
.list-group-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f8f9fa;
}

/* Animation keyframes */
@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);
    }
}

/* Smooth page load animation */
body {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Smooth iframe transitions */
#iframe-container {
    transition: all 0.3s ease;
}

/* Enhanced focus states for accessibility */
.list-group-item:focus,
.btn:focus,
.nav-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    transition: outline 0.2s ease;
}

