/* Custom styles for Fake Address Generator */

/* Animation classes */
.card-animated {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left {
    animation: slideInLeft 0.8s forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.delay-2 {
    animation-delay: 0.4s;
}

/* Feature card styling */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Country links styling */
.country-link {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
}

.country-link:hover {
    background-color: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Highlight effect for form when country is selected */
@keyframes highlightPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 123, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 123, 255, 0); }
}

.highlight-card {
    animation: highlightPulse 1.5s ease-out;
    border-color: #007bff;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Gradient backgrounds */
.bg-gradient-info {
    background: linear-gradient(135deg, #17a2b8 0%, #0f8599 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
}

.bg-gradient-purple {
    background: linear-gradient(135deg, #6f42c1 0%, #5a32a3 100%);
}

/* Border colors */
.border-purple {
    border-color: #6f42c1 !important;
}

/* FAQ Accordion styling */
.accordion-button:not(.collapsed) {
    color: #6f42c1;
    background-color: rgba(111, 66, 193, 0.1);
    box-shadow: inset 0 -1px 0 rgba(111, 66, 193, 0.2);
}

.accordion-button:focus {
    border-color: #9a75d6;
    box-shadow: 0 0 0 0.25rem rgba(111, 66, 193, 0.25);
}

.accordion-button::after {
    transition: transform 0.3s ease;
}

.delay-3 {
    animation-delay: 0.6s;
}