/* FAQ Specific Styles */
.faq-hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    position: relative;
    overflow: hidden;
}

.faq-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.1;
    z-index: -1;
}

.faq-hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.faq-hero .hero-content {
    flex: 1;
}

.faq-hero .hero-content h1 {
    margin-bottom: 20px;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.2;
}

.faq-hero .hero-content h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.faq-hero .hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(67, 97, 238, 0.2);
    z-index: -1;
    transition: var(--transition);
}

.faq-hero .hero-content:hover h1 span::after {
    height: 15px;
}

.faq-hero .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--gray-color);
    max-width: 600px;
}

.faq-hero .hero-image {
    flex: 1;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.faq-hero .hero-image:hover {
    transform: perspective(1000px) rotateY(0deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.faq-hero .hero-image img {
    transition: var(--transition);
    width: 100%;
    height: auto;
    display: block;
}

.faq-hero .hero-image:hover img {
    transform: scale(1.05);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background-color: white;
}

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

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center;
    cursor: pointer;
    background-color: #f5f7ff;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: rgba(67, 97, 238, 0.1);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
    flex: 1;
    text-align: left !important;
}

.faq-question i {
    color: var(--primary-color);
    transition: var(--transition);
    margin-left: auto !important;
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 20px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0;
    padding-left: 20px;
}

.faq-answer ul li {
    margin-bottom: 8px;
    color: var(--gray-color);
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-item.active .faq-question {
    background-color: rgba(67, 97, 238, 0.1);
}

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

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 30px;
    padding-top: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: var(--border-radius);
    color: white;
}

.faq-cta h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.faq-cta p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
    color: white; !important;
}

.faq-cta .btn {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: var(--transition);
}

.faq-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .faq-hero .container {
        flex-direction: column;
    }
    
    .faq-hero .hero-content {
        margin-bottom: 50px;
        text-align: center;
    }
    
    .faq-hero .hero-image {
        width: 80%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.95rem;
    }
    
    .faq-cta h3 {
        font-size: 1.5rem;
    }
    
    .faq-cta p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .faq-hero {
        padding: 120px 0 60px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
        padding-top: 0;
    }
    
    .faq-cta {
        padding: 30px 20px;
    }
}

/* Force left alignment for FAQ questions */
.faq-container .faq-item .faq-question {
    justify-content: flex-start !important;
    text-align: left !important;
}

.faq-container .faq-item .faq-question h3 {
    text-align: left !important;
    text-align-last: left !important;
}

.faq-container .faq-item .faq-question i {
    margin-left: auto !important;
    flex-shrink: 0;
}