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

.scrolling-text {
    animation: scroll 20s linear infinite;
}

.scrolling-text:hover {
    animation-play-state: paused;
}

/* Individual h1 hover effect */
.scrolling-text h1 {
    transition: color 0.3s ease;
}

.scrolling-text:hover h1 {
    color: white; /* Default cyan color when container is hovered */
}

.scrolling-text h1:hover {
    color:#00ffff!important; /* Red color for the specific h1 being hovered */
}

/* end of slider css */
@keyframes symposium-scroll {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

.symposium-scrolling-text {
    animation: symposium-scroll 20s linear infinite;
}

.symposium-scrolling-text:hover {
    animation-play-state: paused;
}

/* Individual text item hover effect */
.symposium-text-item {
    transition: color 0.3s ease;
}

.symposium-scrolling-text:hover .symposium-text-item {
    color: white;
}

.symposium-text-item:hover {
    color: #00ffff !important;
}
/* left to right */


/* faq style start */

.faq-container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.7);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(34, 211, 238, 0.3);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-question:hover {
    color: #22d3ee;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: #22d3ee;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #cbd5e1;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

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

.search-box {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 12px 20px;
    color: white;
    width: 100%;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.search-box:focus {
    outline: none;
    border-color: #22d3ee;
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.2);
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.category-btn {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover, .category-btn.active {
    background: rgba(34, 211, 238, 0.2);
    color: #22d3ee;
    border-color: #22d3ee;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #94a3b8;
    display: none;
}

@media (max-width: 768px) {
    .faq-question {
        padding: 16px;
        font-size: 1rem;
    }
    
    .faq-answer {
        padding: 0 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 16px 16px;
    }
    
    .category-filter {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 14px;
    }
    
    .faq-answer {
        padding: 0 14px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 14px 14px;
    }
    
    .category-btn {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

/* end of faq style */

html {
    scroll-behavior: smooth !important;
  }