@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&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');




* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 35px 0px;
}

header nav .logo img {
    width: 100%;
}

header nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 100px;
}

header nav ul li a {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 600;
    color: #252B42;
}

header nav ul li a:hover {
    color: #FA4A0C;
    transition: 0.4s;
}

header .center {
    width: 100%;
    height: auto;
    background-image: url(./photos/Rectangle\ 48.png);
    background-size: cover;
    margin-bottom: 600px;
}

header .center .about {
    max-width: 1000px;
    height: auto;
    margin: auto;
    text-align: center;
    padding-bottom: 200px;
    position: relative;
}

header .center .about h3 {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 700;
    color: #F6F6F6;
    padding-top: 100px;
}

header .center .about h1 {
    font-family: 'Poppins';
    font-size: 58px;
    font-weight: 700;
    color: #F6F6F6;
    margin-top: 50px;
}

header .center .about h4 {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    color: #F6F6F6;
    margin-top: 70px;
}

header .center .about .but {
    max-width: 1000px;
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 90px;
    position: relative;
    z-index: 1;
}

header .center .about .but button {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 600;
    width: 236px;
    /* height: 38px; */
    background: none;
    border: 1px solid white;
    color: #F6F6F6;
    border-radius: 50px;
    padding: 15px 0px;
}

header .center .about .but button:hover {
    background-color: red;
    color: white;
    border: none;
}

header .center .about .photo {
    display: flex;
    justify-content: center;
}


header .center .about .photo img {
    display: block;
    margin: auto;
    /* width: 100%; */
    position: absolute;
    bottom: -450px;
    z-index: 2;
}

header hr {
    max-width: 884px;
    height: 3px;
    background-color: rgba(228, 228, 228, 1);
    margin: auto;
    border: none;
}


main {
    max-width: 1000px;
    height: auto;
    margin: auto;
    /* display: flex;
    justify-content: space-between; */
    /* border: 2px solid black; */

}

main>h1 {
    text-align: center;
    font-family: 'Poppins';
    font-size: 44px;
    font-weight: 600;
    margin: 100px 0px;
}

main .card {
    display: flex;
    justify-content: space-between;
    /* border: 2px solid black; */
    box-sizing: border-box;
    margin-top: 100px;
    gap: 100px;
}

main img {
    width: 302px;
    height: 525px;
    box-shadow: 10px 25px 20px #dadada70;
    display: block;
    margin: auto;
}

main .card .info {
    max-width: 568px;
    /* border: 2px solid black; */
    margin-top: 130px;
}

main .card .info h3 {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 700;
    color: rgba(250, 74, 12, 1);
}

main .card .info h1 {
    font-family: 'Montserrat';
    font-size: 40px;
    font-weight: 700;
    line-height: 57px;
    letter-spacing: 0.20000000298023224px;
    color: rgba(37, 43, 66, 1);
    margin: 20px 0px;
}

main .card .info p {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    line-height: 38px;
    letter-spacing: 0.20000000298023224px;
    color: rgba(115, 115, 115, 1);
}

section {
    width: 100%;
    height: auto;
    background-image: url(./photos/Rectangle\ 47.png);
    background-size: cover;
    padding-bottom: 180px;
    margin-top: 200px;
}

section .item {
    max-width: 860px;
    margin: auto;
    text-align: center;
}

section .item h1 {
    font-family: 'Poppins';
    font-size: 40px;
    font-weight: 700;
    color: #F6F6F6;
    padding-top: 170px;
}

section .item h4 {
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    color: #F6F6F6;
    margin: 30px 0px;
}

section .item .but_t {
    max-width: 360px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

section .item button {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 600;
    width: 173px;
    /* height: 38px; */
    background: none;
    border: 1px solid white;
    color: #F6F6F6;
    border-radius: 10px;
    padding: 20px 0px;
    margin-top: 40px;
}

section .item button:hover {
    background-color: red;
    color: white;
    border: none;
}

footer {
    max-width: 1200px;
    margin: 80px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

footer .box img {
    width: 100%;
}

footer .icons {
    display: flex;
    gap: 30px;
}

footer .icons i {
    color: rgba(250, 74, 12, 1);
    font-size: 35px;
}

footer .box p {
    font-family: 'Montserrat';
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.10000000149011612px;
    color: rgba(92, 92, 92, 1);
}



















@media screen and (max-width: 1250px) {
    header nav {
        padding: 30px 20px;
    }
    footer{
        padding: 0px 20px;
    }
}

@media screen and (max-width: 1000px) {
    header>.center>.about {
        padding: 0px 20px 200px 20px;
    }

    main {
        padding: 0px 20px;
    }
}

@media screen and (max-width: 900px) {
    section .item {
        padding: 0px 20px;
    }
}

@media screen and (max-width: 780px) {

    header nav,
    ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    main .card {
        gap: 30px;
    }
}

@media screen and (max-width: 700px) {
    footer{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px;
    }
}

@media screen and (max-width: 650px) {
    main .card {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    main .card .info {
        margin-top: 100px;
    }

    main .card .info h3 {
        font-size: 18px;
    }

    main .card .info h1 {
        font-size: 33px;
        line-height: 50px;
    }

    main .card .info p {
        font-size: 18px;
        line-height: 25px;
    }
}

@media screen and (max-width: 600px) {
    header .center .about h1 {
        font-size: 48px;
    }
}

@media screen and (max-width: 570px) {
    header nav .logo img {
        width: 100%;
    }

    header nav ul {
        gap: 50px;
    }

    header .center .about .photo img {
        width: 100%;
    }
}

@media screen and (max-width: 500px) {
    header .center .about .photo img {
        bottom: -400px;
    }
}

@media screen and (max-width: 450px) {
    header .center .about h4 {
        font-size: 20px;
    }

    heaer .center .about .but {
        margin-top: 10px;
    }

    header .center .about .but button {
        font-size: 20px;
    }

    header .center .about .photo img {
        bottom: -300px;
    }

    header .center {
        margin-bottom: 400px;
    }

    section .item .but_t {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media screen and (max-width: 400px) {
    header .center .about h1 {
        font-size: 40px;
    }
}