@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

 *{   
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style-type:none;
    box-sizing: border-box;
}
body{
    font-family: 'Poppins';
}
nav{
    background: #ff8c2ded;
    height: 100px;
    width: 100%;   
    position: fixed; 
}
nav img{
    padding: 10px 10px;
    width:100px;
    height:100px;
}

nav ul{
    float: right;
    margin-right: 20px;
}
nav ul.ul-center{
    float:none;
    display: inline-flex;
}
nav ul.ul-center li a{
    color: white;
    font-weight: 500;
    font-size: 30px;
    letter-spacing: 2px;
    padding: 7px 13px;
    text-transform: uppercase;
}
nav ul.ul-center li a:hover{
    color: white;
    background: none;
}
nav ul li{
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
}
nav ul li a{
    color: white;
    font-size: 22px;
    padding: 7px 13px;
    letter-spacing: 1px;
    border-radius: 3px;
    text-transform: uppercase;
}
a.active,a:hover{
    background: #fcba05;
    color: beige;
}
.checkbtn{
    font-size: 30px;
    color: white;
    float: right;
    line-height: 80px;
    margin-right: 40px;
    cursor: pointer;
    display: none;
}

#check{
    display: none;
}

section.hero-section{
    background-image: url(./Images/main-img.jpg) ;
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-section{
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.hero-section .content{
    color: #180a03;
    align-items: center;
    justify-content: center;
}
.hero-section .content h1{
    font-size: 50px;
}
.hero-section .content p{
    font-weight: 500;
    margin-top: 15px;
    font-size: 30px;
    max-width: 800px;
}
.hero-section .content button{
    margin-top: 15px;
    outline:#fcdc9b;
    background: #fc8905;
    color: white;
    padding:12px 30px;
    border-radius: 6px;
    border:#fcdc9b;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all .2s ease-in;
}
.hero-section .content button:hover{
    background: #fe9823;
    color: white;
}

.title h1{
    text-align: center;
    padding: 50px;
    font-size: 40px;
    color: #fc8905;
}
.title h1::after{
    content: "";
    height: 4px;
    width: 230px;
    background-color: #4e2b05;
    display: block;
    margin: auto;
}
.services{
    width: 85%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px auto;
    text-align: center;
}
.card{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    margin: 0px 20px;
    padding: 20px 20px;
    background-color: #ffdbd3;
    border-radius: 10px;
    cursor: pointer;
}
.card h2{
    color: #fc8905;
}
.card p{
    color: #a06f20;
}
.card .icon img{
    margin-bottom: 10px;
    height: 100px;
    width: 110px;
    border-radius:15px;
}
.card a{
    color: white;
    font-size:18px;
    margin: 5px auto;
    border: 2px solid #fc8905;
    background: #fc8905;
    border-radius: 5px;
    padding: 5px 5px;
}
.card a:hover{
    background:#fe5900;
}


/* Nav bar Media Query */

@media(max-width:952px){
    nav{
        position: fixed;
    }
}

@media(max-width:858px){
    .checkbtn{
        display: block;
    }
    nav{
        position: fixed;
    }
    ul{
        position: fixed;
        width: 100%;
        height: 100vh;
        background: hsl(43, 96%, 68%);
        top: 100px;
        left: -100%;
        text-align: center;
        transition: all .5s ease;
    }
    nav ul li{
        display: block;
        margin: 50px 0;
        line-height: 30px;
    }
    nav ul li a{
        font-size:22px;
        color: #872206;
        font-family:sans-serif;
        font-weight: 550;
        letter-spacing: 2px;
    }
    nav ul li a:hover,a:active{
        background: none;
        color: #fc2407;
    }
    #check:checked ~ ul{
        left: 0;
    }
    ul.ul-center{
        height: 0vh;
        top: 0px;
        left: 0%;
        line-height: 0px;
    }
    ul.ul-center li{
        margin: 0px 0px;
    }
    ul.ul-center li a{
        display: none;
    }
    
    .hero-section .content h1{
        font-size: 30px;
    }
    .hero-section .content p{
        font-size: 20px;
    }

    .title h1{
        font-size: 30px;
    }
    .title h1::after{
        width: 160px;
    }
    .services{
        display:block;
    }
    .card{
        margin-top: 20px;

    }
    .card .icon{
        font-size: 35px;
        margin-bottom: 10px;
    }
}