/* Color Palette */
/* Black: #141414 */
/* Red: #FC0101 */

body {
    background: #f8f9fa;
    min-height: 100vh;
    color: #141414;
    display: flex;
    flex-direction: column;
}

.navbar-nav>li {
    padding-left: 5px;
    padding-right: 5px;
}

.navbar-collapse {
    text-align: center !important;
    width: 100%;
    margin-right: 1%;
}

.navbar-toggler {
    border: none !important;
}

.navbar-nav .nav-link {
    color: #141414 !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: #FC0101 !important;
}

.active {
    font-weight: 550 !important;
}

.dropdown-menu {
    min-width: 0rem;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #141414 !important;
    background-color: #FFFFFF !important;
}

.dropdown-item:hover {
    color: #FC0101 !important;
}

.dropdown-item:focus {
    background-color: #FFFFFF !important;
}

.dropdown-item.active {
    background-color: #FFFFFF !important;
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(5%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 86px;
}

.sliding-image {
    width: 100%;
    height: auto;
    animation: slideInFromRight 0.9s ease-out forwards;
}

.sliding-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: clamp(1.5rem, 5vw, 4.5rem);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.9);
    width: 90%;
    text-align: center;
    font-weight: 800;
    letter-spacing: 3px;
}

.card-wrapper {
    max-width: 1200px;
    margin: -2rem auto 4rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.card-wrapper .row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0 1rem;
}

.card-wrapper .col-sm-4 {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
}

.card-link {
    text-decoration: none;
    width: 100%;
    display: flex;
}

.card {
    border: none;
    background-color: #FC0101 !important;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: 5px solid #FC0101 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 40%;
    padding: 1.5rem;
    padding: 2.5rem 2rem;
    text-align: center;
}

.card-title {
    text-align: center;
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 1rem;
}

.card-subtext {
    text-align: center;
    color: #ffffff !important;
}

.icon-container {
    text-align: center;
    font-size: 5.25rem;
    color: #FFFFFF !important;
}

.link-body {
    background-color: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.06)
}

.link-header {
    background-color: #FC0101;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.history-wrapper {
    text-align: center;
}

.useful-link-ribbon:hover {
    background-color: #ffffff !important;
    border-left-color: #FC0101 !important;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.useful-link-ribbon:hover .ribbon-arrow {
    color: #FC0101 !important;
    transform: translateX(4px);
}

.footer-styling {
    background-color: #FFFFFF;
    color: #4a4a4a;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    width: 100%;
    margin-top: 8%;
    padding: 1.5rem 1rem 1.25rem 1rem;
}

.shadow-top {
    box-shadow: 0 -0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.footer-text {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #141414;
    margin-bottom: 1rem;
    width: 100%;
    font-size: 1.1rem;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    margin-bottom: 1rem;
    width: 100%;
}

.icon {
    transition: color 0.2s ease;
    padding: 0 2px;
}

.icon svg {
    transition: transform 0.2s ease;
    display: block;
}

.footer-static-text {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555555;
}

.footer-dot-divider {
    color: #FC0101;
    font-weight: 700;
}

.footer-styling a svg {
    margin: 0 0.8rem 0 0 !important;
    transition: transform 0.2s ease, fill 0.2s ease;
    fill: #4a4a4a;
}

.footer-styling a:hover svg {
    transform: scale(1.15);
    fill: #FC0101;
}

@media (max-width: 920px) {
    .card-wrapper .row {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .card-wrapper {
        margin-top: -1rem;
    }

    .icon-container {
        text-align: center;
        font-size: 4.75rem;
        color: #ffffff !important;
    }
}

@media (max-width: 750px) {
    .card-wrapper .row {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }

    .icon-container {
        text-align: center;
        font-size: 4.25rem;
        color: #ffffff !important;
    }
}

@media (max-width: 575px) {
    .footer-styling {
        display: block;
    }

    .footer-styling a {
        display: flex !important;
        justify-content: center;
        margin: 0.75rem auto 0.25rem auto !important;
    }

    .footer-static-text {
        flex-direction: column !important;
        gap: 0.35rem !important;
    }

    .footer-dot-divider {
        display: none !important;
    }
}