.offer-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 3rem;
    position: relative;
    max-width: 1100px;
    margin: auto;
    border-radius: 1rem;
    overflow: hidden;
    height: 996px;
    padding-top: 100px;
    padding-bottom: 100px;
}

.offer-text {
    position: relative;
    width: 50%;
    padding-left: 3rem;
}

.offer-textbox {
    background: rgb(255, 255, 255);
    padding-left: 64px;
    border-radius: 1rem;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    width: 636px;
    height: 415px;
    position: absolute;
    left: 5rem;
}

.offer-textbox h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000000;
    margin-top: 93px;
    margin-bottom: 32px;
}

.offer-textbox p {
    font-size: 1rem;
    color: #575757;
    margin-bottom: 0.5rem;
    margin-bottom: 48px;
}

.offer-image {
    width: 50%;
    display: flex;
    justify-content: flex-start;
    width: 796px;  
    height: 796px; 
}

.offer-image img {
    width: 796px;  
    height: 796px; 
    object-fit: cover; 
    border-radius: 1rem;
}


.offer-button {
    margin-top: 1rem;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.offer-textbox-left{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: left;
}

@media (max-width: 1024px) {
    .offer-container {
        padding: 2rem;
        justify-content: space-around;
    }

    .offer-textbox {
        position: relative;
        left: 5rem;
        top: 0;
    }

    .offer-image {
        width: 100%;
        justify-content: center;
    }

    .offer-image img {
        width: 90%;
        min-width: auto;
        height: 300px;
    }
    .offer-textbox h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .offer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem;
    }

    .offer-textbox {
        padding: 1.5rem;
        max-width: 95%;
        margin-bottom: 1rem;
        left: 0;
    }



    .offer-textbox p {
        font-size: 1rem;
    }

    .offer-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .offer-textbox {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .offer-textbox h2 {
        font-size: 1.3rem;
    }

    .offer-textbox p {
        font-size: 0.9rem;
    }

    .offer-image img {
        height: 200px;
    }
}