@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --white: white;
    --black: black;
    --main-color: #ef4444;
    --background: #161324;
}

span {
    color: var(--main-color);
}

.heading {
    font-size: 4rem;
    text-align: center;
    font-weight: 600;
}

/* all button hover */
.button {
    width: 120px;
    padding: 5px;
    border: 2px solid var(--main-color);
    text-decoration: none;
    color: var(--main-color);
    background-color: transparent;
    position: relative;
    overflow: hidden;
    transition:.8s;
    z-index: 1;
}
.button:hover{
    color: var(--white);
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    z-index: -1;
    transform: scaleY(0);
    transform-origin:top;
    transition: transform 0.5s;
}

.button:hover::before {
    transform: scaleY(1);
    transform-origin:bottom;
    transition: transform 0.5s;
}



/* header-navbar section */
.header {
    height: 100px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    position: sticky;
    top: 0;
    right: 0;
    left: 0;
    z-index: 200;
}

.logo img {
    width: 80px;
    height: 80px;
}

.logo img:hover {
    transform: scale(1.1);
    transition: .4s;
}

.list-bar {
    display: none;
}

.list-bar i {
    font-size: 30px;
    color: var(--main-color);
    display: none;
    cursor: pointer;
}

#xmark {
    display: none;
    color: var(--main-color);
}

.nav {
    margin-right: -150px;
}

.nav a {
    text-decoration: none;
    color: var(--main-color);
    margin: 0 10px;
    font-weight: 500;
    transition: .4s;

}

.nav a:hover {
    color: var(--main-color);
    transform: translateY(-3px);
}


/* side-navbar */
.side-navbar {
    background-color:rgb(252, 228, 228);
    padding: 30px;
    margin-top: -330px;
    transition: .5s;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 150;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;

}

.side-nav a {
    text-decoration: none;
    color: var(--background);
    font-weight: 500;
    transition: .3s;
}

.side-nav a:hover {
    color: var(--main-color);
}

/* service section */
.service-background-img{
    width: 100%;
    aspect-ratio: 15/9;
    position: relative;
}
.service-section{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: url(../service-assets/service/home/service-home.jpg);
    background-repeat: no-repeat;
    background-position:top left;
    background-size: 100% 100%;
}

/* service main-content */
.service-main-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    overflow: hidden;
    z-index: 10;
    margin-top: 15%;
}

.service-main-content {
    overflow: hidden;
    text-align: center;
}


.service-main-content h1 {
    font-size: 5rem;
    color: var(--white);
    animation: slide-bottom 2s ease;
}

/* service-details-icon */
.service-details {
    overflow: hidden;
}

.service-details-container {
    display: flex;
    gap:30px;
    overflow: hidden;
    margin-top: 20px;
    padding: 10px;
}

.service-details-icon:nth-child(2) {
    animation: easeleft 1s forwards;
}

.service-details-icon:nth-child(3) {
    animation: easeleft 1.5s forwards;
}

.service-details-icon:nth-child(4) {
    animation: easeleft 2s forwards;
}

.service-details-icon:nth-child(5) {
    animation: easeleft 2.5s forwards;
}

.service-details-icon:nth-child(6) {
    animation: easeleft 3s forwards;
}

.service-details-icon:nth-child(7) {
    animation: easeleft 3.2s forwards;
}

.service-details-icon:nth-child(8) {
    animation: easeleft 3.4s forwards;
}

.service-details-icon {
    display: flex;
    justify-content: start;
    gap: 10px;
    color: var(--white);
    animation: easeleft .5s forwards;
}

.service-details-icon i {
    margin-top: 20px;
    color: var(--main-color);
    font-size: 16px;

}

.service-details-icon a {
    font-size:16px;
    margin-top: 20px;
    text-decoration: none;
    color: var(--white);
    transition: .3s ease;
}

.service-details-container a:hover {
    color: var(--main-color);
    transform: translateX(15px);
    cursor: pointer;
}

.service-details-container a:hover i {
    color: var(--white);
}

/* services-section */
.services-section {
    margin-top: 5%;
}

.services-main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5%;
}

.services-container {
    width: 400px;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    gap:10px;
    font-weight: 500;
    padding: 10px;
    overflow: hidden;
}

.services-container:hover img {
    transform: scale(1.2);
}


.services-img {
    width: 230px;
    height: 230px;
    border-radius: 100%;
    overflow: hidden;
    border: 4px solid var(--main-color);
}

.services-img img {
    width: 230px;
    height: 230px;
    transition: .5s;


}

.services-content p {
    font-size: 14px;
}

.services-content a {
    font-size: 14px;
    font-weight: bold;
}

.services-content h3 {
    font-size: 17px;
    font-weight: bold;
    color: var(--main-color);
}

/* footer-section */
.footer-section {
    width: 100%;
    height: max-content;
    background-color: var(--background);
    margin-top: 5%;
    padding: 20px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    align-items: center;
}

/* footer-address */
.footer-address {
    width: 300px;
    color: var(--white);
    height: max-content;
}

.footer-address i {
    font-size: 22px;
}

.footer-address p {
    font-size: 14px;
    margin-bottom: 0px;
}

/* footer-social-media links */
.footer-solical-link i {
    font-size: 20px;
    margin: 0 5px;
    border: 2px solid var(--white);
    padding: 5px;
    border-radius: 100px;
    transition: .3s;
    color: var(--white);
}

.footer-solical-link i:hover {
    color: var(--white);
    border: 2px solid var(--main-color);
    transform: translateY(-10px);
    background-color: var(--main-color);
}

/* footer-service */
.footer-service {
    color: var(--white);
}

.footer-services {
    width: 310px;
    display: flex;
    gap: 10px;
    transition: .3s;

}

.footer-services a {
    text-decoration: none;
    color: var(--white);
    transition: .3s;
    font-size: 14px;
}

.footer-services a:hover {
    color: var(--main-color);
}

/* footer-navbar */
.footer-nav-link {
    display: flex;
    flex-direction: column;
}

.footer-nav-link a {
    text-decoration: none;
    transition: .3s;
    color: var(--white);
    font-size: 14px;

}

.footer-nav-link a:hover {
    color: var(--main-color);
    transform: translateX(5px);
}

/* footer-email */
.footer-email input {
    background-color: transparent;
    border: none;
    border: 1px solid var(--white);
    padding: 5px;
    outline: none;
    color: var(--white);
}

.footer-finish {
    text-align: center;
    margin-top: 3%;
}