﻿@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');

section {
    width: 95%;
    margin: auto;
    height: auto;
}

body {
    width: 100%;
    overflow-x: hidden;
}

h2 {
    text-align: center;
    margin: 50px 0;
}

p {
    font-family: 'poppins';
}

h3 {
    font-size: 24px;
    font-family: 'poppins';
}

.home {
    height: 85vh;
    background-image: url('../img/1ejka5tn.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
}

    .home::after {
        height: 85vh;
        width: 95%;
        border-radius: 10px;
        content: '';
        position: absolute;
        top: 0;
        background-color: rgba(0, 0, 0, 0.453);
        z-index: 1;
    }

.home-txt {
    width: 90%;
    left: 4%;
    top: 50vh;
    position: relative;
    z-index: 2;
    color: white;
}

.about-text {
    width: 50%;
    text-align: center;
    font-size: 18px;
    height: auto;
}

.about {
    width: 80%;
    justify-content: space-between;
    display: flex;
    margin-top: 10vh;
    flex-wrap: wrap;
}

.about-img {
    width: 45%;
    height: 65vh;
}

    .about-img img {
        width: 100%;
        border-radius: 10px;
        height: 100%;
    }

h2 {
    width: 100%;
    font-size: 25px;
    font-weight: 600;
    color: #511edd;
    font-family: 'poppins';
}

h3 {
    font-family: 'poppins';
}

h1 {
    font-family: 'poppins';
    font-weight: 600;
}

.home a {
    text-decoration: none;
    padding: 20px 30px;
    border-radius: 30px;
    position: relative;
    top: 20px;
    color: white;
    font-family: 'poppins';
    background-color: #511edd;
}

.whysec {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.why img {
    width: 35px;
    height: 35px;
}

.why {
    width: 29%;
    padding: 20px;
    border-radius: 10px;
    height: auto;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.216);
    padding: 25px 20px;
}

.servsec {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: space-evenly;
}

.service {
    width: 46%;
    height: 350px;
    margin-bottom: 30px;
    border-radius: 10px;
    font-family: 'poppins';
    background-repeat: no-repeat;
    background-size: cover;
}

    .service::before {
        content: "";
        background-color: rgba(0, 0, 0, 0.284);
        width: 43.7%;
        height: 350px;
        z-index: 1;
        border-radius: 10px;
        position: absolute;
    }

.ex {
    background-image: url(../img/cwbz5ddu.png);
}

.pa {
    background-image: url(../img/g17i8a3z.png);
}

.service h3 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 25px;
    font-weight: 600;
    left: 4%;
    top: 73%;
}

.service p {
    position: relative;
    left: 4%;
    z-index: 2;
    color: white;
    top: 74%;
}

.in {
    background-image: url(../img/pezl5ulo.png);
}

.reviews-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-evenly;
}

.review {
    width: 31%; /* Desktop üçün 3 review yan-yana */
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.282);
    padding: 10px 20px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    background-color: #f4f4f4dd;
    margin-bottom: 20px;
}

    .review h3 {
        font-size: 24px;
    }

.stars {
    width: 100%;
    display: flex;
}

    .stars img {
        width: 20px;
        height: 20px;
    }

.review div {
    width: 70%;
}

.pp {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.review p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
    margin-top: 10px;
}

/* Mobil dizayn üçün */
@media screen and (max-width: 768px) {
    .review {
        width: 100%; /* Mobildə hər review bir-birinin altına düşür */
    }

        .review div {
            margin-left: 0px;
            width: 80%;
        }
}

.contactinf {
    width: 40%;
}

.contactform {
    width: 60%;
    display: flex;
    flex-wrap: wrap;
}
.contf {
    width: 40%;
    display: flex;
    flex-wrap: wrap;
}

.contf a {
    display: flex;
    width: 100%;
    text-decoration:none;
    color:#511edd;
    font-size:17px;
    font-weight:600;
    flex-wrap: wrap;
}
    .contactinf a p {
        margin-left: 20px;
        margin-top:15px;
    }
    .follow img{
        height:24px;
        margin:auto;
    }
    .follow{
        width:40%;
        
    }
        .follow div {
            display: flex;
            flex-wrap: wrap;
        }
    .follow h2{
        height:50px;
        width:100%;
    }
    .follow a{
        width:25%;
        height:30px;
    }
.contsec {
    display: flex !important;
    flex-wrap: wrap;
}

.contf h2 {
    text-align: start;
    font-size: 20px;
    font-weight: 500;
}

form {
    width: 100%;
}

    form input {
        width: 90%;
        border-radius: 5px;
        border: 1px solid #511edd;
        margin-bottom: 30px;
        padding: 20px 10px;
    }

    form textarea {
        border-radius: 5px;
        border: 1px solid #511edd;
        width: 90%;
        margin-bottom: 30px;
        padding: 20px 10px;
    }

    form button {
        position: relative;
        left: 35%;
        width: 20%;
        padding: 15px 30px;
        background-color: transparent;
        border: 1px solid #511edd;
    }

@media screen and (max-width: 768px) {
    section {
        width: 96% !important;
    }

    .contactinf {
        width: 100%;
    }

    .contactform {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .contf {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

        .contf a {
            display: flex;
            width: 100%;
            text-decoration: none;
            color: #511edd;
            font-size: 17px;
            font-weight: 600;
            flex-wrap: wrap;
        }

    .contactinf a p {
        margin-left: 20px;
        margin-top: 15px;
    }

    .follow img {
        height: 24px;
        margin: auto;
    }

    .follow {
        width: 100%;
    }

        .follow div {
            display: flex;
            flex-wrap: wrap;
        }

        .follow h2 {
            height: 50px;
            width: 100%;
        }

        .follow a {
            width: 25%;
            height: 30px;
        }

    .contsec {
        display: flex !important;
        flex-wrap: wrap;
    }

    .contf h2 {
        text-align: start;
        font-size: 20px;
        font-weight: 500;
    }

    .home {
        height: 80vh;
        padding-bottom: 50px;
        background-image: url(../img/1ejka5tn.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        border-radius: 10px;
    }

        .home::after {
            height: 80vh;
            width: 96%;
            border-radius: 10px;
            content: '';
            position: absolute;
            top: 0;
            background-color: rgba(0, 0, 0, 0.453);
            z-index: 1;
        }

    .home-txt {
        width: 90%;
        left: 4%;
        padding: 0 10px;
        top: 40vh;
        position: relative;
        z-index: 2;
        color: white;
    }

    nav {
        width: 100% !important;
    }

    .about-text {
        width: 90%;
        text-align: center;
        position: absolute;
        left: 5%;
        font-size: 13px;
        z-index: 3;
        height: auto;
        padding: 0;
        color: white;
    }

    .about {
        display: flex;
        margin-top: 50px;
        flex-wrap: wrap;
    }

    .about-img::after {
        content: '';
        position: absolute !important;
        width: 100%;
        left: 0;
        border-radius: 10px;
        height: 40vh;
        z-index: 2;
        background-color: #00000096;
    }

    .about-img {
        width: 100%;
        height: 40vh;
        z-index: 1;
        position: relative;
    }

    .about-text h2 {
        padding: 0;
        color: white;
        margin: 25px 0;
    }

    .about-img img {
        width: 100%;
        border-radius: 10px;
        height: 100%;
    }

    h2 {
        width: 100%;
        font-size: 25px;
        font-weight: 600;
        font-family: 'poppins';
    }

    h3 {
        font-family: 'poppins';
    }

    h1 {
        font-family: 'poppins';
        font-weight: 600;
    }

    .home a {
        text-decoration: none;
        padding: 20px 30px;
        border-radius: 30px;
        position: relative;
        top: 20px;
        color: white;
        font-family: 'poppins';
        background-color: #511edd;
    }

    .whysec {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .why img {
        width: 35px;
        height: 35px;
    }

    .why {
        width: 100%;
        padding: 20px;
        margin-top: 50px;
        border-radius: 10px;
        height: auto;
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.216);
        padding: 25px 20px;
    }

    .servsec {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
    }

    .service {
        width: 100%;
        height: 250px;
        border-radius: 10px;
        font-family: 'poppins';
        background-repeat: no-repeat;
        background-size: cover;
    }

        .service::before {
            content: "";
            background-color: rgba(0, 0, 0, 0.284);
            width: 96%;
            height: 250px;
            z-index: 1;
            border-radius: 10px;
            position: absolute;
        }


        .service h3 {
            position: relative;
            z-index: 2;
            color: white;
            font-size: 25px;
            font-weight: 600;
            left: 4%;
            top: 53%;
        }

        .service p {
            position: relative;
            left: 4%;
            z-index: 2;
            color: white;
            top: 54%;
        }

    .revsec {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .review {
        width: 96%;
        margin: auto;
        box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.282);
        padding: 20px;
        border-radius: 10px;
        display: flex;
        margin-top: 30px;
        justify-content: space-between;
        flex-wrap: wrap;
        height: auto;
    }

        .review h3 {
            width: 85%;
        }

    .stars {
        width: 40%;
        display: flex;
    }

        .stars img {
            width: 20px;
            height: 20px;
        }

    .pp {
        width: 50px;
        border-radius: 100%;
        height: 50px;
    }

    .contactinf {
        width: 100%;
    }

    .contactform {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }

    .contactinf div {
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }

        .contactinf div p {
            margin-left: 20px;
        }

    .contsec {
        display: flex !important;
        flex-wrap: wrap;
    }

    .contactinf h2 {
        text-align: start;
        font-size: 18px;
        font-weight: 500;
    }

    form {
        width: 100%;
    }

        form input {
            width: 95%;
            margin: auto;
            border-radius: 5px;
            border: 1px solid #511edd;
            margin-bottom: 30px;
            padding: 20px 10px;
        }

        form textarea {
            border-radius: 5px;
            border: 1px solid #511edd;
            width: 95%;
            margin: auto;
            margin-bottom: 30px;
            padding: 20px 10px;
        }

        form button {
            position: relative;
            left: 35%;
            width: 30%;
            padding: 15px 30px;
            background-color: transparent;
            border: 1px solid #511edd;
        }
}
