
.content-wrapper {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
}

.grey-column {
    background-color: #f2f2f2;
    width: 300px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.termscontent {
    padding: 40px;
    flex-grow: 1;
}

.header-title {
    font-size: 30px;
    font-weight: bold;
    color: #1e1e2c;
    margin-bottom: 40px;
    text-align: left;
}

.header-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 5px;
    background-color: #fbbf24;
    margin-top: 5px;
    border-radius: 5px;
}


.section-number {
    width: 50px;
    height: 50px;
    background-color: #fbbf24;
    color: white;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: 20px;
    position: relative;
    left: -70px;
}

.section-content {
    flex-grow: 1;
    position: relative;
bottom: 50px;
}

.section-title {
    font-weight: bold;
    font-size: 18px;
    color: #1e1e2c;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.section-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column; /* Stack grey sidebar and content vertically */
    }

    .grey-column {
        width: 100%; /* Full width on small screens */
        border-radius: 15px 15px 0 0;
        padding: 10px 0;
    }

    .section {
        flex-direction: column; /* Stack numbers and text vertically */
        align-items: flex-start;
    }
    .section-content{
     left: 65px;
    }
    .section-number {
        margin-bottom: 10px; /* Add spacing below number */
        position: static; /* Remove offset for small screens */
        margin-right: 0;
    }

    .section-title {
        font-size: 16px;
    }

    .section-text {
        font-size: 14px;
    }
}

@media (max-width: 500px) {
    .header-title {
        font-size: 24px; /* Reduce header title font size */
        text-align: center;
    }
    .section{
        padding: 10px;
    }
    .section-content{
        bottom: 0;
        left: 0;
        padding: 10px;
    }
    .termscontent {
        padding: 20px; /* Reduce padding */
    }
}