/*----------------------------------------------

[ALL CONTENTS]

1. Root

----------------------------------------------*/

/*----------------------------------------------
1. Root
----------------------------------------------*/

/* #region Root */

:root {
    --primary-color: #19365d;
    --primary-light-color: #314c6f;
    --primary-dark-color: #142743;
    --secondary-color: #fbba15;
    --secondary-light-color: #fcc844;
    --secondary-dark-color: #e2a713;
}

/* #endregion Root */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
}

/* Focus styles for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

.btn:focus-visible,
button:focus-visible,
a.btn:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

.navbar-nav .nav-link:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-radius: 4px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
    border-color: var(--secondary-color);
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 10px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white-color) !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 10px;
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

.cookie-notice,
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

[data-aos] {
    will-change: transform, opacity;
}

section.section-1 {
    margin-top: 155px;
}

.section-1 .intro {
    margin: 25px 0;
}

.section-1 .gallery {
    z-index: 1;
    padding: 15px;
}

.section-1 .gallery:before {
    position: absolute;
    top: -10px;
    right: 0;
    bottom: 0;
    left: -10px;
    z-index: -1;
    content: '';
    width: calc(50% + 10px);
    height: calc(50% + 10px);
    border: none;
    background-image: -webkit-linear-gradient(45deg, var(--secondary-color) 15%, var(--secondary-dark-color) 65%);
    background-image: linear-gradient(45deg, var(--secondary-color) 15%, var(--secondary-dark-color) 65%);
}

.section-1 .mask-radius {
    bottom: 15px;
}

.youtube-video-section {
    margin-top: 130px;
}

.youtube-video-item .video-thumb {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

.youtube-video-item .video-thumb img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.youtube-video-item .video-thumb:hover img {
    transform: scale(1.05);
}

.youtube-video-item .youtube-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
}

.youtube-video-item .youtube-play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--white-color);
}

#toolkit ul {
    list-style: none;
}

#toolkit .items {
    display: flex;
    flex-wrap: wrap;
}

#toolkit .item {
    display: flex;
}

#toolkit .card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

#toolkit .card h4 {
    margin-bottom: 1rem;
}

#toolkit .card .youtube-video-link {
    margin-top: auto;
}

#toolkit .card:not(.youtube-video-item) img {
    max-width: 160px;
}

#toolkit .card img.gif-banner {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
}

#about .gallery img {
    max-width: 550px;
    width: 100%;
    height: auto;
}

#about .item {
    transition: transform 0.3s ease;
}

#about .item:hover {
    transform: scale(1.05);
}

#about .supported-by {
    border-top: 2px solid rgba(251, 186, 21, 0.2);
}

#about .supported-by h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

/* FAQ styles */

#faq.highlights .items .item {
    margin-bottom: 0;
}

#faq .faq-card {
    background: var(--card-bg-color);
    border-radius: 12px;
    padding: 18px 22px;
    border: none;
}

#faq .faq-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    padding: 0;
}

#faq .faq-header:focus {
    outline: none;
}

#faq .faq-header:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
    border-radius: 8px;
}

#faq .faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary-color);
}

#faq .faq-toggle {
    font-size: 1.75rem;
    margin-left: 10px;
    color: #3b557f;
    transition: transform 0.25s ease;
}

#faq .faq-header[aria-expanded='true'] .faq-toggle {
    transform: rotate(45deg);
}

#faq .faq-body {
    margin-top: 16px;
}

#faq .faq-body p {
    margin-bottom: 12px;
}

#faq .faq-body p:last-child {
    margin-bottom: 0;
}

#faq .faq-body ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

#faq .faq-body li {
    margin-bottom: 8px;
}

footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer .copyright a:not(.btn) {
    color: var(--white-color);
    text-decoration: underline;
}

#disclaimer .modal-body {
    flex-direction: column;
}

.gdpr-cookie-notice-modal-title {
    color: var(--secondary-color) !important;
}

.gdpr-cookie-notice-modal-close:before,
.gdpr-cookie-notice-modal-close:after {
    background-color: var(--primary-color) !important;
}

@media (max-width: 767px) {
    .section-1 {
        padding-top: 40px;
    }
}

@media (min-width: 992px) {
    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-100 {
        width: 100% !important;
    }
}
