/* Custom CSS for Quick Make Website */

/* Additional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #C256FA;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #A83FE8;
}

/* Remove focus outline for all elements */
*:focus {
    outline: none !important;
    box-shadow: none !important;
}

*:active {
    outline: none !important;
    box-shadow: none !important;
}

button:focus,
a:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:active,
a:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Navbar link styles - remove focus border and underline */
nav a:not(.bg-orange-primary):not(.bg-purple-primary) {
    position: relative;
    transition: all 0.3s ease;
}

/* Remove underline/border completely */
nav a:not(.bg-orange-primary):not(.bg-purple-primary)::after {
    display: none;
}

/* Remove focus outline for navbar links */
nav a:focus:not(.bg-orange-primary):not(.bg-purple-primary) {
    outline: none;
    box-shadow: none;
}

/* Remove focus outline for all buttons */
nav a.bg-orange-primary:focus,
nav a.bg-purple-primary:focus {
    outline: none !important;
    box-shadow: none !important;
}

nav a.bg-orange-primary:active,
nav a.bg-purple-primary:active {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus outline for footer links */
footer a:focus {
    outline: none;
    box-shadow: none;
}

footer a:active {
    outline: none;
    box-shadow: none;
}

/* FAQ Accordion Styles */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item button {
    outline: none;
    transition: all 0.3s ease;
}

.faq-item button:focus {
    outline: none;
    box-shadow: none;
}

.faq-item button:hover {
    background-color: rgba(249, 250, 251, 0.8);
}

.faq-item.active button {
    background-color: rgba(249, 250, 251, 1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s;
}

.faq-item button svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: rotate(180deg);
}

.faq-item.active button svg {
    transform: rotate(0deg);
}

.faq-item button .faq-icon {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.faq-item.active button .faq-icon {
    transform: rotate(0deg);
}

/* Print styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(194, 86, 250, 0.3);
    border-radius: 50%;
    border-top-color: #C256FA;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utility classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

/* Responsive text sizes */
@media (max-width: 640px) {
    .text-responsive {
        font-size: 1.5rem;
    }
}

@media (min-width: 641px) {
    .text-responsive {
        font-size: 2rem;
    }
}

