/* ==========================================================================
   FAQ Section - Modern & Responsive
   ========================================================================== */
:root {
    --faq-primary: #0f45f2;       /* Primary blue from design */
    --faq-primary-light: #e8f0fe;
    --faq-secondary: #009688;     /* Teal accent color */
    --faq-text: #1a202c;         /* Dark text color */
    --faq-text-light: #4a5568;   /* Lighter text */
    --faq-bg: #f8fafc;          /* Light background */
    --faq-card-bg: #ffffff;     /* Card background */
    --faq-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --faq-hover-shadow: 0 10px 25px -5px rgba(15, 69, 242, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --faq-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --faq-border-radius: 12px;  /* Consistent border radius */
}

/* FAQ Container */
.faq {
    padding: 6rem 0;
    background: var(--faq-bg);
    position: relative;
    overflow: hidden;
}

.faq .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

/* Section Header */
.faq .section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.faq .section-title {
    font-size: 2.5rem;
    color: var(--faq-text);
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

.faq .section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--faq-primary);
    border-radius: 3px;
}

.faq .section-description {
    color: var(--faq-text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.7;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

/* FAQ Item */
.faq-item {
    background: var(--faq-card-bg);
    border-radius: var(--faq-border-radius);
    padding: 2.25rem 2rem;
    box-shadow: var(--faq-shadow);
    transition: var(--faq-transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--faq-hover-shadow);
}

/* FAQ Icon */
.faq-icon {
    width: 60px;
    height: 60px;
    background: var(--faq-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    transition: var(--faq-transition);
}

.faq-item:hover .faq-icon {
    background: var(--faq-secondary);
    transform: rotate(5deg) scale(1.05);
}

/* FAQ Content */
.faq-content {
    flex: 1;
}

.faq-item h3 {
    font-size: 1.4rem;
    color: var(--faq-text);
    margin: 0 0 1rem;
    font-weight: 600;
    line-height: 1.3;
}

.faq-item p {
    color: var(--faq-text-light);
    margin: 0 0 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* FAQ Features List */
.faq-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.faq-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--faq-text-light);
}

.faq-features li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--faq-secondary);
    font-size: 1.1rem;
}

/* Price Range */
.price-range {
    background: rgba(15, 69, 242, 0.05);
    border-radius: 8px;
    padding: 1.25rem;
    margin-top: 1.25rem;
    text-align: center;
}

.price-from {
    display: block;
    font-size: 0.9rem;
    color: var(--faq-text-light);
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--faq-primary);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--faq-text-light);
    font-style: italic;
    opacity: 0.8;
}

/* Package Includes */
.package-includes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.include-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    border-radius: 8px;
    background: rgba(0, 150, 136, 0.05);
    transition: var(--faq-transition);
}

.include-item:hover {
    background: rgba(0, 150, 136, 0.1);
    transform: translateY(-2px);
}

.include-item i {
    font-size: 1.5rem;
    color: var(--faq-secondary);
    margin-bottom: 0.75rem;
}

.include-item span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--faq-text);
    line-height: 1.4;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    padding-top: 1.5rem;
}

.faq-cta p {
    font-size: 1.25rem;
    color: var(--faq-text);
    margin-bottom: 1.75rem;
    font-weight: 500;
}

.faq-cta .btn {
    display: inline-flex;
    align-items: center;
    background: var(--faq-primary);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--faq-transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(15, 69, 242, 0.2);
}

.faq-cta .btn:hover {
    background: #0d3ec9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 69, 242, 0.3);
}

.faq-cta .btn i {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.faq-cta .btn:hover i {
    transform: translateX(4px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .faq {
        padding: 5rem 0;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .package-includes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .faq .section-title {
        font-size: 2rem;
    }
    
    .faq .section-description {
        font-size: 1.05rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .faq-item {
        padding: 2rem 1.75rem;
    }
    
    .package-includes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 4rem 0;
    }
    
    .faq .section-title {
        font-size: 1.8rem;
    }
    
    .faq .section-description {
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 1.75rem 1.5rem;
    }
    
    .faq-item h3 {
        font-size: 1.3rem;
    }
    
    .faq-item p {
        font-size: 1rem;
    }
    
    .package-includes {
        grid-template-columns: 1fr;
    }
    
    .faq-cta p {
        font-size: 1.1rem;
    }
    
    .faq-cta .btn {
        padding: 0.8rem 1.75rem;
        font-size: 1rem;
    }
}
   

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--faq-primary);
    opacity: 0;
    transition: var(--faq-transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--faq-hover-shadow);
    border-color: rgba(99, 102, 241, 0.1);
}

.faq-item:hover::before {
    opacity: 1;
}

/* FAQ Icon */
.faq-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--faq-primary-light);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--faq-primary);
    font-size: 1.5rem;
    transition: var(--faq-transition);
    position: relative;
    z-index: 2;
}

.faq-item:hover .faq-icon {
    background: var(--faq-primary);
    color: white;
    transform: rotate(5deg) scale(1.1);
}

/* FAQ Content */
.faq-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.faq-item h3 {
    font-size: 1.35rem;
    color: var(--faq-text);
    margin: 0 0 1rem;
    font-weight: 700;
    line-height: 1.4;
    transition: var(--faq-transition);
    position: relative;
    padding-bottom: 0.75rem;
}

.faq-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--faq-primary);
    border-radius: 3px;
    opacity: 0.7;
    transition: var(--faq-transition);
}

.faq-item:hover h3::after {
    width: 60px;
    opacity: 1;
}

.faq-item p {
    color: var(--faq-text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0 0 1.25rem;
    opacity: 0.9;
    transition: var(--faq-transition);
}

/* FAQ Features List */
.faq-features {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}

.faq-features li {
    position: relative;
    padding: 0.4rem 0 0.4rem 2rem;
    margin-bottom: 0.5rem;
    color: var(--faq-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-features li i {
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--faq-primary);
    font-size: 1rem;
    transition: var(--faq-transition);
}

/* Price Range Styling */
.price-range {
    margin-top: 1.25rem;
    padding: 1rem;
    background: rgba(79, 70, 229, 0.05);
    border-radius: 0.75rem;
    text-align: center;
    border: 1px dashed rgba(79, 70, 229, 0.2);
}

.price-from {
    display: block;
    font-size: 0.9rem;
    color: var(--faq-text-light);
    margin-bottom: 0.25rem;
}

.price-amount {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--faq-primary);
    line-height: 1.2;
    margin: 0.25rem 0;
    font-family: 'Poppins', sans-serif;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--faq-text-light);
    opacity: 0.8;
    font-style: italic;
}

/* Package Includes */
.package-includes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.include-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 0.75rem;
    text-align: center;
    transition: var(--faq-transition);
}

.include-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-color: rgba(79, 70, 229, 0.2);
}

.include-item i {
    display: block;
    font-size: 1.5rem;
    color: var(--faq-primary);
    margin-bottom: 0.5rem;
}

.include-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--faq-text);
    font-weight: 500;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--faq-shadow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.faq-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--faq-primary), #6366f1);
    z-index: -1;
}

.faq-cta p {
    font-size: 1.25rem;
    color: var(--faq-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.faq-cta .btn {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: var(--faq-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--faq-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.faq-cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.4);
    background: #4338ca;
}

.faq-cta .btn i {
    transition: transform 0.3s ease;
}

.faq-cta .btn:hover i {
    transform: translateX(4px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .faq {
        padding: 5rem 0;
    }
    
    .faq .section-title {
        font-size: 2.25rem;
    }
    
    .faq-grid {
        gap: 1.5rem;
    }
    
    .faq-item {
        padding: 1.75rem;
    }
    
    .faq-cta {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .faq {
        padding: 4rem 0;
    }
    
    .faq .section-title {
        font-size: 2rem;
    }
    
    .faq .section-description {
        font-size: 1.05rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto 2.5rem;
    }
    
    .faq-item {
        flex-direction: row;
        align-items: flex-start;
        padding: 1.75rem 1.5rem;
    }
    
    .faq-icon {
        margin: 0 1.25rem 0 0;
        flex-shrink: 0;
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }
    
    .faq-item h3 {
        margin-top: 0.25rem;
    }
    
    .faq-cta p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .faq {
        padding: 3.5rem 0;
    }
    
    .faq .section-title {
        font-size: 1.75rem;
    }
    
    .faq .section-description {
        font-size: 1rem;
    }
    
    .faq-item {
        padding: 1.5rem;
        flex-direction: column;
        align-items: flex-start;
    }
    
    .faq-icon {
        margin: 0 0 1rem 0;
    }
    
    .faq-item h3 {
        font-size: 1.15rem;
        margin-bottom: 0.5rem;
    }
    
    .faq-item p {
        font-size: 0.95rem;
    }
    
    .faq-cta {
        padding: 1.75rem 1.25rem;
    }
    
    .faq-cta p {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .faq-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.faq-item {
    animation: fadeInUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    opacity: 0;
    animation-fill-mode: both;
}

/* Staggered animation */
.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }

/* Hover effects */
.faq-item:hover .faq-icon {
    animation: float 2s ease-in-out infinite;
}
