*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-transform: capitalize;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    list-style: none;
    text-decoration: none;
}

body{
    width: 100%;
    height: 100vh;
}

section.home{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

section.home header{
    width: 100%;
    height: 80px;
    background-color: #1a1a1a;
    position: relative;
}

section.home nav{
    width: 85%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

section.home .logo{
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

section.home .logo img{
    width: 65px;
    height: 65px;
    object-fit: cover;
}

section.home .logo span{
    font-size: 25px;
    text-transform: uppercase;
}

section.home .menu{
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

section.home .menu a{
    position: relative;
    color: #fff;
    font-size: 18px;
}

section.home .menu a::before{
    position: absolute;
    content: "";
    left: 50%;
    height: 3px;
    width: 0;
    bottom: -5px;
    background-color: #fff;
    transition: all 0.5s;
}

.imenu{
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff4500;
    background-color: #fff;
    font-size: 18px;
}

section.home .menu a:hover:before{
    left: 0;
    width: 100%;
}

section.home .inner_section{
    width: 100%;
    height: calc(100vh - 80px);
}

.inner_section .slide::before{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.748);
    z-index: -1;
}

.inner_section .slide{
    width: 100%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    background-image: url(img/slide4.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    gap: 25px;
    padding: 45px;
    position: relative;
    z-index: 15;
    color: #fff;
    text-align: justify;
}

.inner_section .slide:nth-child(3){
    background-image: url(img/slide1.jpg);
}

.inner_section .slide:nth-child(4){
    background-image: url(img/slide5.jpg);
}

.inner_section h2{
    font-size: 40px;
    text-transform: uppercase;
}

.inner_section .slide p{
    width: 50%;
    line-height: 2;
}

a.more{
    padding: 12px 25px;
    background-color: #fff;
    border-radius: 25px;
    color: #ff4500;
    transition: all 0.5s;
    display: flex;
}

a.more:hover{
    color: #fff;
    background-color: #ff4500;
}

.social-icons{
    width: 100%;
    height: 80px;
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
    z-index: 1;
    padding: 45px;
}

.social-icons i{
    width: 40px;
    height: 40px;
    color: #fff;
    background-color: #ff4500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.7s;
    border-radius: 25px;
}

.social-icons i a{
    color: #fff;
}

.social-icons i:hover{
    background-color: #fff;
    color: #ff4500;
}

a{
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    overflow-y: scroll;
}

.services-container::-webkit-scrollbar{
    height: 0;
}

.service-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1.5rem;
    transform: translateY(70%);
    transition: transform 0.3s;
}

.service-card:hover .service-content {
    transform: translateY(0);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-content h2 {
    font-size: 17px;
}

.learn-more {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #ff4081;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}


@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 800px){
    section.home nav{
        width: 90%;
    }
    .inner_section .slide p{
        width: 100%;
    }
}

@media(max-width: 645px){
    section.home nav{
        width: 100%;
        padding: 15px;
    }
    section.home .menu{
        width: 100%;
        height: auto;
        position: absolute;
        top: 100%;
        left: -100%;
        flex-direction: column;
        background-color: #1a1a1a;
        padding: 25px;
        align-items: flex-start;
        z-index: 10000;
        transition: all 0.5s;
    }
    section.home .menu.view{
        left: 0;
    }
    .imenu{
        display: flex;
    }
    .inner_section .slide{
        padding: 15px;
    }
}

@media(max-width: 500px){
    section.home .logo img{
        width: 35px;
        height: 35px;
    }
    section.home .logo span{
        font-size: 18px;
    }
    .inner_section h2{
        font-size: 30px;
    }
    .social-icons{
        padding: 15px;
        height: 45px;
    }
}