/* Sri Lanka FAQs - Modern Animated Design */
#sl-faq-section {
    position: relative;
    padding: 80px 0;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffffff, #f7fbfd);
    overflow: hidden;
}

.sl-faq-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Background Elements */
.sl-faq-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.sl-faq-blob {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(5, 163, 183, 0.03), rgba(3, 122, 222, 0.05));
    top: -400px;
    right: -400px;
    animation: sl-faq-rotate 40s infinite linear;
}

.sl-faq-rings {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(5, 163, 183, 0.1);
    bottom: -300px;
    left: -300px;
}

.sl-faq-rings::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(5, 163, 183, 0.1);
    top: 100px;
    left: 100px;
}

.sl-faq-rings::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 1px solid rgba(5, 163, 183, 0.1);
    top: 200px;
    left: 200px;
}

.sl-faq-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(5, 163, 183, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.3;
}

/* Header */
.sl-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.sl-faq-accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #05a3b7, #037ade);
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.sl-faq-accent-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: sl-faq-shimmer 2.5s infinite;
}

.sl-faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #222;
    margin: 0 0 16px;
}

.sl-faq-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* FAQ Items */
.sl-faq-wrapper {
    max-width: 700px;
}

.sl-faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.sl-faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(5, 163, 183, 0.1);
}

.sl-faq-question {
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.sl-faq-number {
    color: #05a3b7;
    font-size: 16px;
    margin-right: 16px;
}

.sl-faq-question h3 {
    flex: 1;
    margin: 0;
    font-size: 16px;
    font-weight: 200;
}

.sl-faq-toggle {
    font-size: 24px;
    color: #05a3b7;
    transition: transform 0.3s ease;
}

.sl-faq-active .sl-faq-toggle {
    transform: rotate(45deg);
}

.sl-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 20px;
    margin-left: 52px;
    opacity: 0;
}

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

.sl-faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

/* Transport Icons */
.sl-faq-icon-box {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.sl-faq-transport-icon {
    width: 50px;
    height: 50px;
    background: rgba(5, 163, 183, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.sl-faq-transport-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sl-faq-tuktuk::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2305a3b7"><path d="M4 16c0 1.1.9 2 2 2h1v2c0 1.1.9 2 2 2s2-.9 2-2v-2h2v2c0 1.1.9 2 2 2s2-.9 2-2v-2h1c1.1 0 2-.9 2-2v-7h-16v7zm14-9h-2V5h2v2zm-14 0h2V5H4v2zm12-4h-8c-1.1 0-2 .9-2 2H5c-1.1 0-2 .9-2 2v1h18V7c0-1.1-.9-2-2-2z"/></svg>');
}

.sl-faq-train::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2305a3b7"><path d="M12 2c-4 0-8 .5-8 4v9.5C4 17.43 5.57 19 7.5 19L6 20v1h12v-1l-1.5-1c1.93 0 3.5-1.57 3.5-3.5V6c0-3.5-3.58-4-8-4zm0 2c3.71 0 5.13.46 5.67 1H6.43c.6-.52 2.05-1 5.57-1zm6 11.5c0 .83-.67 1.5-1.5 1.5h-9c-.83 0-1.5-.67-1.5-1.5V12h12v3.5zm0-5.5H6V7h12v3z M7.5 14C8.33 14 9 13.33 9 12.5S8.33 11 7.5 11 6 11.67 6 12.5 6.67 14 7.5 14zM16.5 14c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5z"/></svg>');
}

.sl-faq-bus::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2305a3b7"><path d="M4 16c0 1.1.9 2 2 2h1v2c0 1.1.9 2 2 2s2-.9 2-2v-2h2v2c0 1.1.9 2 2 2s2-.9 2-2v-2h1c1.1 0 2-.9 2-2V6c0-3.5-3.58-4-8-4s-8 .5-8 4v10zm3.5 1c-.83 0-1.5-.67-1.5-1.5S6.67 14 7.5 14s1.5.67 1.5 1.5S8.33 17 7.5 17zm9 0c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm1.5-6H6V6h12v5z"/></svg>');
}

.sl-faq-taxi::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2305a3b7"><path d="M18.92 6.01C18.72 5.42 18.16 5 17.5 5H15V3H9v2H6.5c-.66 0-1.21.42-1.42 1.01L3 12v8c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-1h12v1c0 .55.45 1 1 1h1c.55 0 1-.45 1-1v-8l-2.08-5.99zM6.85 7h10.29l1.08 3.11H5.77L6.85 7zM19 17H5v-5h14v5z M7.5 14.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5zM16.5 14.5c-.83 0-1.5.67-1.5 1.5s.67 1.5 1.5 1.5 1.5-.67 1.5-1.5-.67-1.5-1.5-1.5z"/></svg>');
}

/* Festival Cards */
.sl-faq-festivals {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.sl-faq-festival-card {
    background: linear-gradient(135deg, rgba(5, 163, 183, 0.1), rgba(3, 122, 222, 0.1));
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    min-width: 120px;
    border: 1px solid rgba(5, 163, 183, 0.1);
    transition: all 0.3s ease;
}

.sl-faq-festival-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(5, 163, 183, 0.1);
    background: linear-gradient(135deg, rgba(5, 163, 183, 0.15), rgba(3, 122, 222, 0.15));
}

.sl-faq-festival-month {
    font-size: 0.9rem;
    color: #05a3b7;
    font-weight: 600;
    margin-bottom: 5px;
}

.sl-faq-festival-name {
    font-size: 0.85rem;
    color: #333;
}

/* Diving Spots */
.sl-faq-diving-spots {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.sl-faq-spot {
    background: rgba(5, 163, 183, 0.1);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    color: #05a3b7;
    font-weight: 200;
    transition: all 0.3s ease;
}

.sl-faq-spot:hover {
    background: rgba(5, 163, 183, 0.2);
    transform: translateY(-3px);
}

/* Animations */
@keyframes sl-faq-shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

@keyframes sl-faq-fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sl-faq-fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes sl-faq-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes sl-faq-floatUp {
    from { transform: translateY(20px); }
    to { transform: translateY(0); }
}

@keyframes sl-faq-ripple {
    to {
        transform: scale(30);
        opacity: 0;
    }
}

.sl-faq-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(5, 163, 183, 0.1);
    transform: scale(0);
    pointer-events: none;
}

/* Responsive */
@media (max-width: 1100px) {
    .sl-faq-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .sl-faq-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #sl-faq-section {
        padding: 60px 0;
    }
    
    .sl-faq-title {
        font-size: 2rem;
    }
    
    .sl-faq-subtitle {
        font-size: 1rem;
    }
    
    .sl-faq-question {
        padding: 15px 20px;
    }
    
    .sl-faq-answer {
        padding: 0 20px 0 60px;
    }
    
    .sl-faq-number {
        font-size: 1rem;
        margin-right: 10px;
    }
    
    .sl-faq-question h3 {
        font-size: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .sl-faq-blob,
    .sl-faq-accent-line::after,
    .sl-faq-title,
    .sl-faq-subtitle,
    .sl-faq-item,
    .sl-faq-image-wrapper,
    .sl-faq-secondary-image {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
} 