.section{
    margin-bottom: 50px;
    padding: 0 60px;
}
.section h2{
    text-align: center;
    font-size: 45px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: capitalize;
}

.sec1 {
    background-image: linear-gradient(45deg, #172542, #a4b0c92a), url('../images/bacground.png');
    background-size: cover, contain;
    background-position: center, right bottom;
    background-repeat: no-repeat, no-repeat;
    height: 400px;
    color: white;
    margin: 60px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    padding: 0 60px;
}
h1{
    font-size: 48px;
    font-weight: 600;

}
.sec1 input{
    padding: 10px 20px;
    width: 500px;
    font-size: 17px;
    border-radius: 7px;
    border: none;
    outline: none;
    margin-top: 30px;
    margin-right: 5px;
}
.sec2{
    background: var(--secd-bg-white);
    padding: 60px;
}
.sec2-boxs{
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}
 .icon-box {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 13px;
    padding: 30px 0px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 350px;
}
.icon-box:hover {
    color: white;
    background: var(--secd-bg-green1);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

.icon-box:hover img {
    transition: .5s;
    transform: scale(1.05);
}

.icon-box .icon-img img {
    margin-bottom: 5px;
    width: 90px;
    transition: .5s;
    
}

.icon-box-text {
    text-align: center;
}
.icon-box-text span {
    font-size: 22px;
    font-weight: 500;
    text-align: center;
}
.sec3{
    margin-top: 60px;
}
.sec3-boxs{
    margin-top: 30px;
    padding: 10px;
    height: 350px;
    overflow-x: scroll;

}
.bookslider{
    width: 2040px;
    height: 100%;
    display: flex;
}
.bookslider .book-slide{
    background-color: var(--secd-bg-white);
    width: 260px;
    height: 100%;
    padding: 20px 10px 0 10px;
    border-radius: 17px;
    margin-right: 30px;
}
.bookslider .book-slide .book-img{
    overflow: hidden;
    height: 80%;
    width: 100%;
    text-align: center;
    border-radius: 13px;

}
.bookslider .book-slide .book-img img{
    height: 90%;
}
.bookslider .book-slide .book-title{
    height: 20%;
    text-align: center;
}
.sec4{
    padding: 0 80px;
}

.sec4 .sec4-boxs{
    margin-top: 30px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.sec4 .sec4-boxs .catg-box{
    width: 280px;
    height: 80px;
    background: var(--secd-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    position: relative;
    overflow: hidden;
    font-size: 18px;
}
.sec4 .sec4-boxs .catg-box::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 15px;
    background-color: var(--secd-bg-black);
    transition: 0.5s;
}
.sec4 .sec4-boxs .catg-box:hover::after{
    width: 100%;
}
.sec4 .sec4-boxs .catg-box:hover a {
    color: white;
    z-index: 11;
}
.sec5{
    height: 300px;
    background: var(--secd-bg-black);
    color: var(--secd-bg-white);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    margin-top: 60px;
}
.sec5 .btn{
    padding: 10px 60px;
    margin-top: 30px;
}

.sec6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 100px;
}

.sec6 p {
    text-align: center;
    font-size: 20px;
}

.sec6 .subcribe-form {
    margin-top: 40px;
}

.sec6 .subcribe-form input {
    padding: 10px 15px;
    font-size: 18px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    outline: none;
    border-radius: 10px;
}

.sec6 .subcribe-form input:focus {
    border: 1px solid var(--secd-bg-black);
}

.sec6 .subcribe-form .btn {
    background: var(--secd-bg-black);
    color: white;
    border: 1px solid var(--secd-bg-black);
    margin-left: 10px;
}

.sec6 img {
    width: 70px;
    position: absolute;
}

.sec6 .img1 {
    top: 70px;
    left: 140px;
}

.sec6 .img2 {
    top: 70px;
    right: 140px;
}

.sec6 .img3 {
    top: 270px;
    left: 250px;
}

.sec6 .img4 {
    top: 270px;
    right: 250px;

}
@media(max-width:1024px){
    .sec2-boxs{
        gap: 20px;
    }
    .sec2-boxs .icon-box{
        width: 300px;
    }
    .sec6 .img2{
        right: 70px;
    }
    .sec6 .img1{
        left: 90px;
    }
    .sec6 .img3{
        left: 175px;
    }
    .sec6 .img4{
        right: 175px;
    }
    .sec4 .sec4-boxs{
        justify-content: center;
    }
    .sec4 .sec4-boxs .catg-box{
        width: 260px;
    }
}
@media(max-width:780px){
    .sec6 .img1,.sec6 .img2,.sec6 .img3,.sec6 .img4{
        display: none;
    }
    .sec2-boxs .icon-box{
        width: 220px;
    }
    h1{
        font-size: 40px;
    }
    .sec1 input{
        width: 350px;
    }
    .section h2{
        font-size: 40px;
    }
    .sec1{
        height: 350px;
    }
    .icon-box .icon-img img{
        width: 70px;
    }
}
@media(max-width:450px){
    .sec1{
        width: 100%;
        margin: 0;
        border-radius: 0;
        margin-bottom: 20px;
    }
    .sec1 input{
        margin-bottom: 10px;
    }
    .sec2-boxs{
        flex-wrap: wrap;
    }
    .sec2-boxs .icon-box{
        width: 350px;
    }
    .section{
        padding: 0 30px;
    }
    .sec3,.sec3-boxs{
        padding: 0 20px;
        margin-top: 10px;
    }
    .section h2{
        font-size: 35px;
    }
    .sec6 p{
        font-size: 14px;
        margin-top: 30px;
    }
    .sec6 .subcribe-form{
        text-align: center;
    }
    .sec6 .subcribe-form input{
        margin-bottom: 20px;
    }
}
@media(max-width:450px){
    h1{
        font-size: 24px;
    }
    .sec2-boxs .icon-box,.sec1 input{
        width: 270px;
    }
    .section h2{
        font-size: 24px;
    }
}