/* Splash Screen Styles */
.glitch-text {
    animation: glitch 1s infinite;
    text-shadow: 
        2px 0 #00ffff,
        -2px 0 #ff00ff;
}

@keyframes glitch {
    0% {
        text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff;
        opacity: 1;
    }
    50% {
        text-shadow: -2px 0 #00ffff, 2px 0 #ff00ff;
        opacity: 0.8;
    }
    100% {
        text-shadow: 2px 0 #00ffff, -2px 0 #ff00ff;
        opacity: 1;
    }
}

#splash-screen {
    animation: fadeOut 0.5s ease-out 2.5s forwards;
}

@keyframes fadeOut {
    from { opacity: 1; visibility: visible; }
    to { opacity: 0; visibility: hidden; }
}

body {
    transition: background-color 0.5s ease;
}

.gradient-transition {
    transition: all 0.5s ease;
    background-size: 200% 200%;
    animation: gradientTransition 0.5s ease forwards;
}

.cyber-button {
    position: relative;
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.5s;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.cyber-button:hover {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.8);
    transform: translateY(-5px);
}

.cyber-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.cyber-button:hover::before {
    left: 100%;
}

@keyframes gradientTransition {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

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

/* Product Carousel Styles */
.product-carousel {
    transition: transform 0.5s ease-in-out;
}

.product-card {
    opacity: 0.7;
    transform: scale(0.95);
    transition: all 0.5s ease-in-out;
}

.product-card.active {
    opacity: 1;
    transform: scale(1);
}

/* Product Slider Styles */
.product-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 1px;
}

.product-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin: 0 -1px;
    user-select: none;
    -webkit-user-drag: none;
}

.product-slider:active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.product-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 8px;
}

.product-slide img {
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Add these styles to your existing CSS */
#hiddenReview {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 1024px) {
    #hiddenReview {
        position: static !important;
        opacity: 0;
        height: 0;
        margin-top: 0;
        overflow: hidden;
    }
    
    #hiddenReview.show {
        opacity: 1;
        height: auto;
        margin-top: 2rem;
    }
}

/* Reviews Slider Styles */
.reviews-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin: 0 -0.5rem;
    padding: 0 0.5rem;
}

.reviews-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.review-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Review Card Animation */
.review-slide .group {
    transform: translateY(20px);
    opacity: 0;
    animation: slideUp 0.5s ease forwards;
}

/* Adjust padding for mobile */
@media (max-width: 640px) {
    .reviews-container {
        margin: 0;
        padding: 0 1rem;
    }

    .review-slide .group {
        padding: 1.5rem;
    }
}

/* Maintain existing animations */
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Stagger animation for cards */
.review-slide .group:nth-child(1) { animation-delay: 0.1s; }
.review-slide .group:nth-child(2) { animation-delay: 0.2s; }
.review-slide .group:nth-child(3) { animation-delay: 0.3s; }

/* Add these styles for FAQ items */
.faq-answer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.5rem;
}

.faq-item button {
    padding-bottom: 1.75rem; /* Increased bottom padding of the button */
}

.faq-answer > div {
    padding-top: 1.5rem; /* Increased top padding of the answer content */
}

/* Brands Slider Styles */
.brands-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.brands-track {
    display: flex;
    animation: scroll 25s linear infinite;
    gap: 2rem;
    width: fit-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    transition: all 0.3s ease;
    flex-shrink: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-item:hover {
    transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .brand-item {
        min-width: 120px;
        height: 60px;
    }
}

/* Add these styles to your existing CSS */
@media (min-width: 1024px) and (max-width: 1536px) {
    /* Adjust hero section image */
    .xl\:scale-125 {
        transform: scale(1) !important; /* Override the xl:scale-125 class */
    }

    /* Ensure the image doesn't overflow */
    #hero-gradient .grid {
        gap: 2rem !important; /* Reduce gap between grid items */
    }

    #hero-gradient img {
        max-width: 90%; /* Reduce maximum width */
        height: auto;
    }
}

/* For smaller laptops */
@media (min-width: 1024px) and (max-width: 1280px) {
    #hero-gradient img {
        max-width: 80%; /* Further reduce size for smaller laptops */
    }
}