.section-1{
    position: relative;
    max-width: 2000px;
    margin: 0 auto;
    width: 100%;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
    transition: all 0.5s ease;
}


.header-bookslot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20rem;
    background-image: url("../../images/book_slot_page/section-1/pattern 1.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: 0;
    transition: all 0.5s ease;
}

.header-bookslot-content {
    max-width: 100%; 
    transition: all 0.5s ease;
}

.header-bookslot h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #000;
    font-family: "Monserrat", sans-serif;
    font-weight: bolder;
    transition: all 0.5s ease;
}

.header-bookslot p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 100;
    transition: all 0.5s ease;
}

.header-bookslot a {
    display: inline-block;
    background-color: #FF6F00;
    color: #fff;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    font-size: 1.1rem;
    transition: background-color 0.3s, color 0.3s;
    transition: all 0.5s ease;
}


.header-bookslot a:hover::after {
    transform: translateX(5px); 
    transition: all 0.5s ease;
}
.header-bookslot a:hover {
    background-color: #ff4500;
    color: white;
    transition: all 0.5s ease;
}

.header-bookslot-image img {
    position: relative;
    width: 500px;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: all 0.5s ease;
}

/* 320px */
@media screen and (min-width: 320px) {
    .header-bookslot {
        display: block;
        padding: 10px;
    }

    .header-bookslot h1 {
        font-size: 1.8rem;
    }

    .header-bookslot p {
        font-size: 1rem;
        width: 300px;
    }

    .header-bookslot-image img {
        width: 250px;
        left: 7rem;
        margin-top: -9rem;
        z-index: -1;
    }
}
/* 375px */
@media screen and (min-width: 375px) {
    .header-bookslot {
        display: block;
        padding: 10px;
    }

    .header-bookslot h1 {
        font-size: 2.1rem;
    }

    .header-bookslot p {
        font-size: 1rem;
        width: 350px;
    }

    .header-bookslot-image img {
        width: 300px;
        left: 8rem;
        margin-top: -8rem;
        z-index: -1;
    }
}
/* 425px */
@media screen and (min-width: 425px) {
    .header-bookslot {
        display: block;
        padding: 10px;
    }

    .header-bookslot h1 {
        font-size: 2.5rem;
    }

    .header-bookslot p {
        font-size: 1.1rem;
        width: 400px;
    }

    .header-bookslot-image img {
        width: 400px;
        left: 8rem;
        margin-top: -8rem;
        opacity: 100%;
        z-index: -1;
    }
}
/* 768px */
@media screen and (min-width: 768px) {
    .header-bookslot {
        display: flex;
        padding: 10px;
        gap: 1rem;
    }

    .header-bookslot h1 {
        font-size: 2.5rem;
    }

    .header-bookslot p {
        font-size: 1.1rem;
        width: 300px;
    }

    .header-bookslot-image img {
        left: 0rem;
        margin-top: 0rem;
        opacity: 100%;
        z-index: -1;
    }
}
/* 1024px */
@media screen and (min-width: 1024px) {
    .header-bookslot {
        display: flex;
        padding: 10px;
        gap: 3rem;
    }

    .header-bookslot h1 {
        font-size: 3rem;
    }

    .header-bookslot p {
        font-size: 1.1rem;
        width: 500px;
    }

    .header-bookslot-image img {
        left: 0rem;
        margin-top: 0rem;
        opacity: 100%;
        z-index: -1;
    }
}
/* 1440px */
@media screen and (min-width: 1440px) {
    .header-bookslot {
        display: flex;
        padding: 10px;
        gap: 10rem;
    }

    .header-bookslot h1 {
        font-size: 3.7rem;
    }

    .header-bookslot p {
        font-size: 1.2rem;
        width: 600px;
    }

    .header-bookslot-image img {
        left: 0rem;
        margin-top: 0rem;
        opacity: 100%;
        z-index: -1;
    }
}