/* Tab Styles */
.tab-button {
    padding: 0.75rem 1.5rem;
    margin: 0 0.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #0A3D62;
    background-color: #F5F5F5;
    transition: all 0.3s ease;
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: #0A3D62;
    color: white;
}

/* Service Card Styles */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* FAQ Accordion Styles */
.faq-question {
    cursor: pointer;
}

.faq-question i {
    transition: transform 0.3s ease;
}

/* Testimonial Card Styles */
.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Ripple effect for back to top button */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Methodology Timeline */
@media (min-width: 768px) {
    .methodology-timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background-color: rgba(10, 61, 98, 0.2);
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (prefers-reduced-motion: reduce) {
    #backToTop {
        transition: opacity 0.1s linear;
    }
    
    #backToTop i,
    #backToTop .ripple-effect {
        transition: none;
        animation: none;
    }
}

/* Resources Section Styles */
#resources .bg-white {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#resources .bg-white:hover {
    transform: translateY(-5px);
}

/* Modal Animation Styles */
#modalContent {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#modalContent.scale-100 {
    transform: scale(1);
    opacity: 1;
}

/* Download Button Hover Effect */
.download-resource:hover i {
    animation: bounce 0.5s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Form Input Focus Styles */
#resourceForm input:focus {
    box-shadow: 0 0 0 2px rgba(10, 61, 98, 0.2);
    outline: none;
}

/* Checkbox Custom Styling */
#consent {
    accent-color: #0A3D62;
}

/* Success Message Animation */
#successMessage {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Resource Card Badge */
.resource-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: rgba(244, 165, 0, 0.9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}