.how-it-works-wrapper {
    margin: 60px auto;
    background: #EEF4F3;
}
body.page-how-it-work .main-content {
    background: #EEF4F3;
}
/* Header Section */
.how-it-works-header {
    text-align: center;
    margin-bottom: 60px;
}

.how-it-works-header__title {
    font-size: 45px;
    margin-bottom: 10px;
    font-weight: bold;
}

.how-it-works-header__subtitle {
    color: #666;
}
section.whith-image-inner-banner {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
}
.whith-image-inner-banner {
    background: none;
}
/* Timeline Container */
.how-it-works-timeline {
    position: relative;
}
.how-it-works-image-box {
    overflow: hidden;
    border-radius: 30px;
}

.how-it-works-image-box img {
    width: 100%;
}
/* Center Line */
.how-it-works-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom, #3737372b 0px, #3737372b 5px, transparent 5px, transparent 10px);
    transform: translateX(-50%);
}
.how-it-works-image-section, .how-it-works-content-section {
    width: 100%;
}
/* Step Container */
.how-it-works-steps-container {
    position: relative;
}

/* Individual Step */
.how-it-works-step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

/* Black Dots on Timeline */
.how-it-works-step::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: black;
    border-radius: 50%;
    z-index: 10;
}

/* Reverse Layout for Alternating */
.how-it-works-step--reverse {
    direction: rtl;
}

.how-it-works-step--reverse>* {
    direction: ltr;
}

/* Image Section */
.how-it-works-image-section {
    position: relative;
}

.how-it-works-image-wrapper {
    position: relative;
}

/* Red Frame Border */
.how-it-works-red-frame {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 8px;
    top: -30px;
    left: -30px;
    z-index: 5;
}

.how-it-works-step--reverse .how-it-works-red-frame {
    left: auto;
    right: -30px;
}

/* Image Box */
/* .how-it-works-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ccc, #999);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
    overflow: hidden;
} */

/* Blue Number Badge */
.how-it-works-badge {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #1e3a8a;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    top: 0;
    left: 0;
    z-index: 20;
    border-bottom-left-radius: 0;
    border-top-left-radius: 30px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 14px;
}

.how-it-works-description {
    color: #525252;
}
.how-it-works-title-text__heading {
    max-width: 30rem;
}
/* Content Section */
.how-it-works-content-section {
    padding: 0;
}

/* .how-it-works-content-box {
    max-width: 489px;
} */
/* Title Section */
.how-it-works-title-section {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    align-items: flex-start;
}
.how-it-works-content-badge svg {
    width: 30px;
    height: 30px;
}
.how-it-works-content-badge {
    width: 69px;
    height: 69px;
    background: #CCFF00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 69px;
}

/* Title Text Container */
.how-it-works-title-text {
    flex: 1;
}

.how-it-works-title-text__heading {
    margin-bottom: 10px;

}

.how-it-works-title-text__subtitle {
    font-size: 12px;
    color: #22c55e;
    font-weight: 600;
}
 

/* Responsive */
@media (max-width: 768px) {

    .how-it-works-step {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .how-it-works-image-section {
        order: -1;
    }

    .how-it-works-step--reverse {
        direction: ltr;
    }

    .how-it-works-red-frame,
    .how-it-works-step--reverse .how-it-works-red-frame {
        left: -30px;
        right: auto;
    }


    .how-it-works-header__title {
        font-size: 28px;
    }
.how-it-works-step {
    margin-bottom: 40px;
}
 .how-it-works-timeline::before{
    content: none;
 }
}

