/* SEO Services FAQs Section Styles */

/* --- Steps Timeline Section --- */
.steps-timeline-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 20px;
}

.steps-timeline-section .faq-container {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    padding: 60px 50px;
}

.steps-timeline-section h2 {
    font-size: 2.75rem;
    font-weight: 700;
    text-align: center;
    color: #1a3a5d;
    margin: 0 0 15px 0;
    letter-spacing: -0.01em;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px;
    font-weight: 500;
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.steps-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.step-marker {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #15d7d4 0%, #0eb3b0 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(21, 215, 212, 0.3);
}

.step-card {
    flex: 1;
    background: #f8fafb;
    border-left: 4px solid #15d7d4;
    border-radius: 8px;
    padding: 25px;
    transition: all 0.3s ease;
}

.step-card:hover {
    background: #eef9f9;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.step-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5d;
}

.step-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
}

/* --- FAQ Section Styles Below --- */
.faq-section {
    background-color: #f4f7f6;
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: auto;
}

/* --- Main Container --- */
.faq-container {
    width: 100%;
    max-width: 1200px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    padding: 40px 50px;
    box-sizing: border-box;
}

/* --- Main Title --- */
.faq-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    color: #1a3a5d;
    margin: 0 0 40px 0;
}

/* --- Tab Navigation --- */
.faq-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-link {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #555;
    background: none;
    border: none;
    padding: 15px 30px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
    border-bottom: 4px solid transparent;
    margin-bottom: -2px;
}

.tab-link:hover {
    color: #007acc;
}

.tab-link.active {
    color: #007acc;
    border-bottom-color: #007acc;
}

/* --- Tab Content Panels --- */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Accordion Styling --- */
.accordion-item {
    border-bottom: 1px solid #e9e9e9;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 25px 10px;
    color: #1a3a5d;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
    font-size: 1.75rem !important;
    font-weight: 600;
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-icon {
    font-size: 2rem;
    font-weight: 400;
    color: #007acc;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    line-height: 1;
    margin-left: 15px;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

/* --- VISUAL HIERARCHY LEVELS (H2, H3, H4) --- */

/* Level H2: Standard Large Bold */
.level-h2 {
    font-size: 1.75rem !important;
    font-weight: 700;
    background-color: #fff;
}

/* Level H3: Slightly Indented, Medium Bold */
.level-h3 {
    font-size: 1.75rem !important;
    font-weight: 700;
    background-color: #fff;
}

/* Level H4: More Indented, Regular Weight */
.level-h4 {
    font-size: 1.75rem !important;
    font-weight: 700;
    background-color: #fff;
    color: #1a3a5d;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 15px;
}

.accordion-content p {
    margin: 0 0 25px 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .steps-timeline-section .faq-container {
        padding: 40px 30px;
    }

    .steps-timeline-section h2 {
        font-size: 2.25rem;
    }

    .section-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .steps-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .step-marker {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .step-card {
        padding: 20px;
    }

    .step-card h3 {
        font-size: 1.1rem;
    }

    .step-card p {
        font-size: 0.9rem;
    }

    .faq-container {
        padding: 30px 25px;
    }

    .faq-main-title {
        font-size: 2.5rem;
    }

    .tab-link {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .steps-timeline-section {
        padding: 40px 15px;
    }

    .steps-timeline-section .faq-container {
        padding: 30px 20px;
    }

    .steps-timeline-section h2 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

    .section-intro {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .step-marker {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
        min-width: 45px;
    }

    .step-item {
        gap: 15px;
    }

    .step-card {
        padding: 15px;
        border-radius: 6px;
    }

    .step-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .step-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .faq-section {
        padding: 30px 1rem;
    }

    .faq-container {
        padding: 30px 20px;
        border-radius: 8px;
    }

    .faq-main-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .faq-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .faq-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-link {
        white-space: nowrap;
        padding: 12px 18px;
    }

    .level-h3 + .accordion-content {
        padding: 0 15px;
    }

    .level-h4 + .accordion-content {
        padding: 0 15px;
    }

    .accordion-header {
        padding: 20px 10px;
    }

    .accordion-content p {
        margin: 0 0 15px 0;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .steps-timeline-section {
        padding: 30px 10px;
    }

    .steps-timeline-section .faq-container {
        padding: 20px 15px;
    }

    .steps-timeline-section h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .section-intro {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .step-marker {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        min-width: 40px;
    }

    .step-item {
        gap: 12px;
    }

    .step-card {
        padding: 12px;
        border-left-width: 3px;
    }

    .step-card h3 {
        font-size: 0.95rem;
    }

    .step-card p {
        font-size: 0.8rem;
    }

    .faq-main-title {
        font-size: 1.5rem;
    }

    .tab-link {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}
