/* AEM Labs Limited - CSS Module: Combined Timeline Section */
/* ======================================================== */

.combined-section {
    padding: 0 0 40px;
}

.combined-container {
    max-width: min(80%, var(--section-max-width));
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

.getting-started-side {
    width: 100%;
}

#getting-started .section-header {
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 24px;
}

#getting-started .section-header h2::after {
    left: 0;
    transform: none;
    width: 30%;
}

#getting-started .section-header p {
    margin: 0;
}

.getting-started-side .steps-timeline {
    position: relative;
    max-width: none;
    margin: 0;
}

.getting-started-side .steps-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-color), #ff6b35);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 80px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #6907c5);
    box-shadow: 0 4px 15px rgba(167, 28, 28, 0.3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
}

.timeline-content {
    background: #ffffff;
    padding: 22px 30px 18px;
    border-radius: 16px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 16px;
}

.step-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.step-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.step-link:hover {
    color: #8a1616;
}

.step-link:hover i {
    transform: translateX(4px);
}

.right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 150px;
    width: 85%;
    margin-right: 0;
    margin-left: auto;
}

.image-container {
    border-radius: 16px;
    transition: all 0.3s ease;
    width: 100%;
    display: flex;
    flex: 1;
}

.support-image {
    max-width: 100%;
    border-radius: 16px;
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: block;
}

.help-cta-side {
    background: #f8f9fa;
    padding: 0;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.help-cta-side:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.help-cta-content {
    padding: 30px;
}

.help-cta-side .help-cta-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.help-cta-side .help-cta-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.help-cta-side .contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.help-cta-side .contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.help-cta-side .contact-btn i {
    margin-right: 8px;
}

.help-cta-side .contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1440px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 20px;
        justify-content: space-between;
    }

    .right-sidebar {
        width: 100%;
    }

    .timeline-item {
        margin-bottom: 18px;
    }

    .timeline-content {
        padding: 18px 24px 14px;
    }


    .timeline-content h4,
    .timeline-content p {
        margin-bottom: 8px;
    }

}

@media (max-width: 992px) {
    .combined-container {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: min(85%, var(--section-max-width));
    }

    .right-sidebar {
        position: static;
        width: 100%;
        order: -1;
        margin: 0;
        flex-direction: row;
        gap: 20px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .image-container {
        flex: 0 0 265px;
        width: 265px;
        height: 265px;
    }

    .help-cta-side {
        flex: 1;
        max-width: 400px;
    }

    .support-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .timeline-item {
        margin-bottom: 25px;
        padding-left: 70px;
    }

    .timeline-marker {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .getting-started-side .steps-timeline::before {
        left: 25px;
    }

    .timeline-content {
        padding: 18px 22px;
    }

    .timeline-content h4 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .timeline-content p {
        font-size: 13px;
        margin-bottom: 12px;
    }
}

@media (max-width: 768px) {
    .combined-container {
        max-width: min(90%, var(--section-max-width));
        gap: 25px;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
    }

    .help-cta-side {
        max-width: 350px;
    }

    .help-cta-content {
        padding: 20px;
    }

    .help-cta-side .contact-options {
        gap: 12px;
    }

    .help-cta-side .contact-btn {
        padding: 10px 16px;
        font-size: 13px;
    }

    .timeline-item {
        margin-bottom: 20px;
        padding-left: 60px;
    }

    .timeline-marker {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .getting-started-side .steps-timeline::before {
        left: 22px;
    }

    .timeline-content {
        padding: 16px 18px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    #getting-started .section-header h2::after {
        width: 20%;
    }

    .combined-section {
        padding: 15px 0;
    }

    .combined-container {
        max-width: 90%;
        gap: 20px;
    }

    .right-sidebar {
        gap: 12px;
        order: 1;
        flex-direction: column;
        align-items: center;
    }

    .image-container {
        flex: 0 0 225px;
        width: 225px;
        height: 225px;
        order: 1;
    }

    .support-image {
        height: 225px;
        width: 225px;
    }

    .help-cta-content {
        padding: 16px;
    }

    .help-cta-side .help-cta-content h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .help-cta-side .help-cta-content p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .help-cta-side .contact-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .timeline-item {
        margin-bottom: 18px;
        padding-left: 45px;
    }

    .timeline-marker {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .getting-started-side .steps-timeline::before {
        left: 16.5px;
    }

    .timeline-content {
        padding: 14px 16px;
    }

    .timeline-content h4 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .timeline-content p {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .step-link,
    .step-link i {
        font-size: 11px;
    }
}