/* Resource.css */

/* Responsive specific adjustments for Video Tabs */
@media (max-width: 767.98px) {
    .custom-mission-tabs .nav-link {
        font-size: 16px !important;
        padding: 0.75rem !important;
    }
}

.ratio {
    border-radius: 1rem;
}

/* Downloads Section */
.download-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.08) !important;
}

/* Knowledge Base Section */
.faq-card {
    border: 1px solid transparent;
}

.faq-card:hover {
    background-color: #8982EE !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(137, 130, 238, 0.15);
}

.faq-card .faq-icon-wrapper i {
    color: #8982EE;
    transition: color 0.3s ease;
}

.faq-card:hover .faq-icon-wrapper i {
    color: white !important;
}

.faq-card:hover .faq-title,
.faq-card:hover .faq-text {
    color: white !important;
}

.faq-card:hover .faq-arrow {
    background-color: white !important;
    border-color: white !important;
    color: #8982EE !important;
}

/* Custom Accordion Styling (FAQ Elements) */
.custom-accordion-wrapper {
    background-color: #f8faff;
    padding: 1.5rem;
    border-radius: 1rem;
}

@media (min-width: 992px) {
    .custom-accordion-wrapper {
        padding: 2.5rem;
    }
}

.custom-accordion .accordion-item {
    border: none;
    background-color: white;
    border-radius: 0.5rem !important;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.custom-accordion .accordion-button {
    font-weight: 600;
    color: #1a1a1a;
    background-color: white;
    border-radius: 0.5rem !important;
    box-shadow: none !important;
    padding: 1.25rem 1.5rem;
    padding-right: 3rem;
    /* Make room for custom icon */
    position: relative;
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: white;
    color: #1a1a1a;
    box-shadow: none;
}

/* Remove default Bootstrap chevron */
.custom-accordion .accordion-button::after {
    display: none;
}

/* Add custom + and - icons */
.custom-accordion .accordion-button::before {
    content: "\f067";
    /* FontAwesome Plus */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8982EE;
    font-size: 1.1rem;
    transition: transform 0.3s ease, content 0.3s ease;
}

.custom-accordion .accordion-button:not(.collapsed)::before {
    content: "\f068";
    /* FontAwesome Minus */
}

.custom-accordion .accordion-body {
    padding-top: 0;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 1.5rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Download Card Hover Effect */
.download-card {
    transition: all 0.4s ease !important;
}

.download-card:hover {
    background: linear-gradient(to right, #8982EE, #09031C) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important;
}

.download-card:hover h6,
.download-card:hover p,
.download-card:hover .download-link i {
    color: #ffffff !important;
}

.download-card:hover .d-flex.justify-content-center.align-items-center.rounded-3.flex-shrink-0 {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

.video-card-hover {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* .video-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, .15) !important;
} */

.video-card-hover:hover .video-overlay {
    opacity: 1 !important;
}

.video-card-hover .card-title {
    transition: color 0.3s ease;
}

.video-card-hover:hover .card-title {
    color: #8982EE !important;
}

/* Hero Animations */
.animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.animate-fade-in {
    animation: fadeIn 1.2s ease-out forwards;
    opacity: 0;
}

.animation-delay-100 {
    animation-delay: 0.1s;
}

.animation-delay-200 {
    animation-delay: 0.2s;
}

.animation-delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    visibility: hidden;
}

.scroll-reveal.revealed {
    visibility: visible;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-reveal[data-reveal="left"].revealed {
    animation-name: slideInLeft;
}

.scroll-reveal[data-reveal="right"].revealed {
    animation-name: slideInRight;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

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

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }

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