*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
/* scroll button*/
#progress{
    position: fixed;
    bottom: 20px;
    right: 10px;
    width: 45px;
    height: 45px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0,0,10px rgb(225, 222, 216);
    cursor: pointer;
}
#progress-value{
    display: block;
    height: calc(90% - 3px);
    width: calc(90% - 3px);
    background-color: rgb(241, 145, 0);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 24px;
}
/*styling top-footer */
.top-footer{
    background: black;
    height: 32px;
}
.top-footer .box{
    position: relative;
    padding: 10px 0;
    display: flex;
    
}
.top-footer .box .icon{
    min-width: 60px;
    height: 15px;
    color: rgb(230, 2, 2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}
.top-footer .box .text{
    display: flex;
    font-size: 14px;
    color: #fff;
    height: 10px;
    text-overflow: ellipsis;
}
.social-link-list{
    display: flex;
    margin-left: 740px;
    align-items: center;
    gap: 20px;
}
.social-link-list .social-link{
    color: bisque;
    font-size: 16px;
}
.social-link-list .social-link:hover{
    color: orange;
}
/*styliing the header*/
header{
    width: 100%;
    min-height: 60px;
    background: url(../Images/bg.jpg);
    background-position: bottom;
    padding: 0 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}
header .logo{
    width: 90px;
}
header ul{
    position: relative;
}
header ul li{
    position: relative;
    list-style: none;
    float: left;
}
header ul li a{
    color: white;
    font-size: 18px;
    padding: 20px 25px;
    display: flex;
    text-decoration: none;
    justify-content: space-between;
}
header ul li a:hover{
    background: orange;
    color: black;
}
/*heros about*/
.hero-section{
    background: url(../Images/pexels-misael-garcia-832776-1707823.jpg);
    background-position: right;
    height: 50vh;
}
.content{
    text-align: center;
    position: absolute;
    top: 40%;
    left: 10%;
}
.content h2{
    color: rgb(255, 115, 0);
    font-size: 50px;
    font-family: Ancizar Sans, sans-serif;
    bottom: 90px;
}
.content p{
    color: #fff;
    font-size: 20px;
    font-family: Ancizar Sans, sans-serif;
}
/* styling service */
.container{
    unicode-bidi: isolate;
    padding: 60px 9%;
    scroll-margin-top: 80px;
    overflow: clip;
    background-color: #ffffff;
}
.box-container{
    display: flex;
     --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x)* .5);
    padding-left: calc(var(--bs-gutter-x)* .5);
    margin-left: auto;
    margin-right: auto;
    gap: 50px;
}
.container .box-content{
    box-shadow: 0px 2px 20px rgb(10, 10, 10);
    background: rgb(255, 255, 255);
    padding: 20px;
    display: block;
    margin-top: 20px;
}
.container .box-container .box-content h3{
    font-size: 28px;
    color: #1f1f1f;
    font-family: Ancizar Sans, sans-serif;
}
.container .box-container .box-content a{
    color: rgb(0, 0, 0);
    background-color: #66666694;
    display: flex;
    align-items: center;
    padding: 10px 70px;
    margin-top: 15px;
    font-size: 16px;
    font-family: Ancizar Sans, sans-serif;
}
.container .box-container .box-content a:hover{
    background-color: #0000008d;
    color: white;
}
.container .box-container .box-content a.active{
    background-color: #d0d1ff;
    color: #000000;
}
.container .box-container .box-content a.active:hover{
    background-color: rgba(0, 0, 0, 0.575);
    color: white;
}
.container .box-container .box-content a.active i{
    color: #c30000;
}
.container .box-container .box-content a i{
    margin-right: 50px;
    font-size: 19px;
    color: #c30000;
}
.container .box-container .box-content i::before,::after{
    box-sizing: border-box;
}
.container .info{
    text-align: left;
}
.container .info h2{
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Ancizar Sans, sans-serif;
}
.container .info h3{
    margin-left: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: Ancizar Sans, sans-serif;
}    
.container ul{
    list-style: none;
    padding: 0;
    margin-top: 10px;
    margin-bottom: 1rem;
    font-size: 16px;
    font-family: Ancizar Sans, sans-serif;
}
.container ul li{
    display: flex;
    padding: 5px 0;
    align-items: center;
}
.container ul i{
    color: rgb(255, 81, 0);
    margin-right: 8px;
}
.container .info .open-text{
    font-size: 16px;
    font-family: Ancizar Sans, sans-serif;
    text-align: justify;
    
}
.container .info-image{
    margin-bottom: 20px;
    margin-top: 20px;
}
.info-image{
    max-width: 100%;
    height: auto;
}
/*styling book-section*/
.book-section{
    background-image: url(../Images/pexels-misael-garcia-832776-1707823.jpg);
    text-align: center;
    height: 60vh;
    padding: 70px;
    border: 50px;
}
.book-section .book{
    margin-top: 10px;
    margin-bottom: 40px;
}
.book-section .book h2{
    margin-bottom: 20px;
    color: white;
    font-family: Ancizar Sans, sans-serif;
    font-size: 28px;
}
.book-section .book p{
    margin-bottom: 20px;
    color: white;
    font-size: 18px;
    font-family: Ancizar Sans, sans-serif;
}
.close-text{
    color: white;
    font-size: 18px;
    font-family: Ancizar Sans, sans-serif;
}
.button{
    padding: 10px 26px;
    border: 2px solid transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    border-color: white;
    background: transparent;
}
.button:hover{
    border-color: rgb(14, 0, 214);
    color: rgb(0, 0, 0);
    background:rgb(255, 124, 36) ;
}
/* styling footer */
footer{
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    background: black;
    padding: 70px 10px;
}
ul{
    list-style: none;
    text-align: center;
    
}
.list{
    padding: 0;
}
.list li{
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
}
.list li::before{
    content: "";
    position: absolute;
    transform: translate(-50px -50px);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background: #0004f8;
    transition-duration: .5s;
}
.list li:hover::before{
    width: 70px;
}
.footer-col{
    width: 25%;
}
 .footer-col h2{
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
    color: #ff8801;
    font-family: 'Times New Roman', Times, serif;
 }  
.footer-col h2::before{
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    background-color: #c02323;
    height: 2px;
    width: 40px;
 }
 .footer-col p{
    color: #fff;
    width: 190px;
    margin: auto;
    padding: 7px;
 }
 .social-icons{
    text-align: center;
    padding: 0;
 }
 .social-icons li{
    display: inline-block;
    text-align: center;
    padding: 5px;
   
 }
 .social-icons i{
    color: white;
    font-size: 20px;
 }
 a{
    text-decoration: none;
    color: #ffffff;
 }
 a:hover{
    color: #f87800;
 }
 .social-icons i:hover{
    color: #f87800;
 }
 .bottom-bar{
    text-align: center;
    padding: 10px 0;
    margin: auto;
    margin-top: 50px;
 }
.bottom-bar p{
    color: #ffffff;
    margin: auto;
    font-size: 18px;
    padding: 7px;
    font-family: 'Times New Roman', Times, serif;
}
/*styling bottom-footer*/
.bottom-footer{
    text-align: center;
    background-color: #4e4d4d;
}
.craft{
    padding: 6px ;
}
.craft p{
    color: #fff;
}
.craft a{
    color: #f87400;
}
.craft a:hover{
    color: red;
}
/* responsiveness*/
@media (max-width: 1115px){
    .social-link-list{
        margin-left: 450px;
    }
    .content{
        width: 85%;
    }
    header .logo{
        width: 85px;
        left: 30px;
    }
    header ul li a{
        font-size: 15px;
        padding: 15px 25px;
    }
    .image-sect img{
        width: 280px;
        height: 40vh;
    }
    .container .info-image{
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .info-image{
        max-width: 100%;
        height: auto;
    }
}
@media (max-width: 900px){
    .top-footer {
        display: none;
    }
    header{
        padding: 10px 20px;
    }
    header .logo{
        width: 95px;
    }
    header nav{
        position: absolute;
        width: 50%;
        top: 115px;
        left: 0;
        background: black;
        background-position: left;
        display: none;
        z-index: 1000;
    }
    header.active nav{
        display: initial;
    }
    header nav ul li{
        width: 100%;
    }
    header nav ul li ul{
        position: relative;
        width: 100%;
        left: 0;
    }
    header nav ul li:hover ul li{
        background: rgb(0, 0, 0);
    }
    .menuToggle{
        position: relative;
        width: 40px;
        height: 50px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .menuToggle::before{
        content: '';
        position: absolute;
        width: 70%;
        height: 1.5px;
        background: white;
        transform: translateY(-12px);
        box-shadow: 0 12px white;
    }
    .menuToggle::after{
        content: '';
        position: absolute;
        width: 70%;
        height: 1.5px;
        background: white;
        transform: translateY(12px);
    }
    header.active .menuToggle::before{
        transform: rotate(45deg);
        box-shadow: 0 0 white;
    }
    header.active .menuToggle::after{
        transform: rotate(315deg);
    }
    .hero-section{
        background-position:left;
        height: 50vh;
    }
    .container{
        scroll-margin-top: 58px;
        padding: 60px 10%;
    }
    .box-container{
        display: inline;
    }
    .container .info-image{
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .info-image{
        max-width: 100%;
        height: auto;
    }
    .footer-col{
        width: 100%;
        margin-bottom: 30px;
        text-align: center;
    }
    .footer-col h2::before{
        all: unset
    }
}