@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-size: 16px;
    font-family: "DM Sans", sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
a,
li,
button,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "DM Sans", sans-serif;
    /* text-align: right; */
}

/* .container	100%	540px	720px	960px	1140px	1320px */

@media (min-width: 576px) {
    .container {
        width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container {
        width: 1320px;
    }
}

/* ===============================nav=============================== */

nav {
    position: fixed;
    width: 100vw;
    height: 100px;
    display: flex;
    justify-content: space-around;
    padding: 10px 50px;
    align-items: center;
    border-bottom: 1px solid black;
    z-index: 999;
    transition: background 0.5s;
    -webkit-transition: background 0.5s;
    -moz-transition: background 0.5s;
    -ms-transition: background 0.5s;
    -o-transition: background 0.5s;
}
nav.trans {
    background-color: transparent;
}

nav.colored {
    background-color: #1d1f22;
}
.logo img {
    width: 100px;
}
nav .menu span {
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
nav .menu span i {
    width: 20px;
    border: 1.5px solid white;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}

nav .menu span i:nth-child(2) {
    width: 12.5px;
}

nav .menu span:hover i,
nav .menu span.active i {
    width: 20px;
}

nav .menu-links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    background-color: #1d1f22;
    border-top: 0.5px solid rgba(255, 255, 255, 0.542);
    color: white;
    z-index: -1 !important;
    display: flex;
    padding: 10px 50px;
    justify-content: space-around;
    align-items: center;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    opacity: 0;
    flex-wrap: wrap;
    height: 80px;
}
.menu-links.active {
    display: flex;
    top: 100px;
    opacity: 1;
}
@media (max-width: 576px) {
    nav .menu-links {
        height: calc(100vh - 100px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 22px;
    }
}
nav .menu-links a {
    text-decoration: none;
    text-transform: uppercase;
    height: 70px;
    display: flex;
    align-items: center;
    color: white;
    transition: border 0.5s;
    -webkit-transition: border 0.5s;
    -moz-transition: border 0.5s;
    -ms-transition: border 0.5s;
    -o-transition: border 0.5s;
    border-bottom: 3px solid transparent;
}
nav .menu-links a:hover {
    height: 69px;
    border-bottom: 2px solid rgb(255, 255, 255);
}
@media (max-width: 768px) {
    nav {
        justify-content: space-between;
    }
}
/* =============================== Main =============================== */

main {
    width: 100vw;
    height: 100vh;

    position: relative;
}

main .main-warpper {
    min-width: 100vw;
    min-height: 100vh;
}
main .main-warpper .image {
    background-image: url("img/main.jpg");
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
    z-index: -1;
}

main .main-warpper .cover {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), transparent 50%, rgba(0, 0, 0, 0.5));
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
main .main-warpper .text-container {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 100vw;
    text-align: center !important;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

main .main-warpper .text-container h2 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: white;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(0deg, black, black 50%, white 50%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    opacity: 0;
}
main .main-warpper .text-container h2.during {
    opacity: 1;
}

@media (max-width: 576px) {
    main .main-warpper .text-container h2 {
        font-size: 2rem;
    }
}
/* =============================== Section info =============================== */

section.info {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 0 150px;
    background-color: rgb(249, 247, 242);
}
section.info .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

section.info h2 {
    font-size: 2rem;
    text-transform: uppercase;
}
section.info h2,
section.info p {
    text-align: center !important;
}

section.info p {
    margin-top: 25px;
    padding: 0px 35px;
    font-size: 1.2rem;
}

section.info .end-title.during {
    opacity: 0;
}
section.info .svg {
    opacity: 1;
    color: #ebc03f;
    fill: #ebc03f;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
}
section.info .svg.during {
    opacity: 0;
}
/* =============================== Section Services =============================== */

section.services {
    background-color: rgb(240, 93, 33);
    color: white;
    padding: 80px 50px;
}
section.services h2.title {
    text-transform: uppercase;
}
section.services .cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
section.services .cards-container .cards {
    padding: 25px;
    flex: 1;
    min-height: 250px;
    min-width: 300px;
}
section.services .cards-container .cards i {
    font-size: 2rem;
    margin-bottom: 10px;
}
section.services .cards-container .cards .title {
    margin-bottom: 10px;
}
/* =============================== Section img =============================== */

section.img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    background-color: rgb(249, 247, 242);
}
section.img .container {
    padding: 10px;
}

section.img h2.title {
    text-transform: uppercase;
    color: #1d1f22;
}
section.img h2 i {
    color: #ebc03f;
    font-size: 2rem;
}
@media (max-width: 576px) {
    section.img h2 {
        text-align: center !important;
    }
}
.swiper-wrapper {
    display: flex;
    align-items: center;
}
.swiper-slide img {
    width: 100%;
}
.swiper-button-next,
.swiper-button-prev {
    background-color: rgb(255, 255, 255);
    padding: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    top: 7%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    content: "";
}
.swiper-button-prev,
.swiper-rtl .swiper-button-next {
    left: auto;
    right: 80px;
}

.swiper-button-next i,
.swiper-button-prev i {
    color: black;
}
@media (max-width: 576px) {
    .swiper-slide {
        width: 100% !important;
    }
}
/* =============================== Section goals =============================== */
section.goals {
    background: rgb(240, 93, 33);
    padding: 50px 30px 50px 60px;
    position: relative;
    color: white;
}
section.goals .title {
    text-transform: uppercase;
}
.card-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    margin-top: 30px;
}
@supports (-webkit-text-stroke: 1px black) {
    section.goals .cards .no {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px rgb(255, 255, 255);
    }
}
.card-container .cards {
    position: relative;
}
section.goals .cards .no {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}
section.goals .cards p {
    margin-top: 10px;
}
@media (min-width: 768px) {
    .card-container {
        flex-direction: row;
        height: 350px;
        gap: 0;
        margin-top: 0;
    }
    .card-container .cards {
        overflow-y: hidden;
        cursor: pointer;
        height: 220px;
        padding: 20px;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-direction: column;
        flex: 1;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
    }
    .card-container .cards::before {
        content: "";
        position: absolute;
        height: 451px;
        top: -566px;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, 0.319);
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
    }
    .card-container .cards:hover:before {
        top: 0;
    }
    section.goals .title {
        position: absolute;
    }
    section.goals .cards .no {
        position: absolute;
        top: 0;
    }

    section.goals .cards h2 {
        position: absolute;
        top: 70px;
        margin: 25px 0;
    }
    section.goals .cards p {
        position: absolute;
        bottom: -160px;
        margin-top: 0px;
        width: 90%;
        transition: all 0.5s;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
    }

    .card-container .cards:hover {
        height: 450px;
    }

    section.goals .cards:hover p {
        bottom: 25px;
    }
}
/* =============================== Section Contact =============================== */

section.contact {
    padding: 80px 50px;
    display: flex;
    justify-content: center;
}
section.contact h2 {
    text-align: center !important;

    font-size: 2rem;
    text-transform: uppercase;
}
section.contact h2 span {
    color: #ebc03f;
    font-size: 1.5rem;
}

section.contact h2 div {
    margin-top: 25px;
}

section.contact .flex-container {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 80px;
}
@media (max-width: 576px) {
    section.contact .flex-container {
        flex-direction: column;
        gap: 50px;
    }
    section.contact h2 {
        font-size: 1.7rem;
    }
}

section.contact .flex-container .card {
    text-align: center !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 250px;
}
section.contact .flex-container .icon {
    font-size: 3rem;
    color: #ebc03f;
    text-align: center !important;
}

section.contact .flex-container p {
    font-size: 1rem;
    font-weight: 800;
    text-align: center !important;
}

section.contact .flex-container a {
    text-decoration: underline;
    text-align: center !important;
    color: #ebc03f;
    font-size: 1.8rem;
}

@media (max-width: 768px) {
    section.contact .flex-container p {
        font-size: 0.8rem;
    }
    section.contact .flex-container a {
        font-size: 1.5rem;
    }
}
/* =============================== Footer =============================== */
footer {
    background-color: #1d1f22;
    padding: 80px 50px;

    color: white;
}
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
footer .right p span {
    font-size: 0.7rem;
}
footer .left ul {
    list-style: none;
    text-decoration: none;
    display: flex;
}
footer .left ul a {
    text-decoration: none;
    cursor: pointer;
    font-size: 2rem;
    margin-left: 15px;
    color: #ebc03f;
}
@media (max-width: 576px) {
    footer .container {
        flex-direction: column;
        gap: 50px;
        justify-content: center;
        align-items: center;
    }
    footer .right {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    footer .right p {
        text-align: center !important;
    }
}
