@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

/* Variables */

:root {
    --primary-color: #8692dc;
    --border-radius: 4px;
    --text-color: #5d5d5d;
    --gray-color: #e4e4e4;
}

/* Global style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
    -webkit-tap-highlight-color: transparent;
    list-style: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    scroll-behavior: smooth;
}


/* scroll bar style */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: rebeccapurple;
    border-radius: 8px;
}

/* Max width */

.max__width {
    padding: 0 160px;
    width: 100%;
    height: 100%;
    max-width: 2000px;
    margin: auto;
}

/* Btns styles */

button.primary__btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    color: white;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius);
    max-height: 50px;
    cursor: pointer
}

button.secondary__btn {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--border-radius);
    max-height: 50px;
    cursor: pointer
}


/* Navbar styles */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: .3s ease-in-out;
}

nav.sticky {
    background-color: white;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

nav .nav__container {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .nav__container .logo__container {
    width: 180px;
}

nav .nav__container .logo__container img {
    width: 100%;
}

nav .nav__container .menu {
    display: flex;
    gap: 30px;
    font-weight: 600;
}

nav .nav__container .menu li {
    cursor: pointer;
}

nav .nav__container .menu li a {
    text-decoration: none;
    color: unset;
}

/* Hero styles */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.hero .patterns .pattern1 {
    position: absolute;
    width: 80%;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero swiper-container {
    width: 100%;
    height: 100%;
}

.hero swiper-container .slide__container {
    background-color: white;
    height: 100%;

}

.hero swiper-container .slide__container .max__width {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.hero swiper-container .slide__container .left__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero swiper-container .slide__container .left__side .sub__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
}

.hero swiper-container .slide__container .left__side .title {
    margin-top: 8px;
    font-size: 42px;
    font-weight: 800;
}

.hero swiper-container .slide__container .left__side .text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-color);
    line-height: 20px;
}

.hero swiper-container .slide__container .left__side .btns__container {
    margin-top: 30px;
    display: flex;
    gap: 20px;
}

.hero swiper-container .slide__container .right__side {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero swiper-container .slide__container .right__side img {
    width: 100%;
}

/* About style */

.about__us {
    width: 100%;
}

.about__us .sub__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.about__us .title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;

}

.about__us .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    background-attachment: fixed;
}

.about__us .swiper__container {
    display: flex;
    align-items: center;
    height: 80vh;
    max-height: 700px;
    margin-top: 50px;
    position: relative;
    background: url(../assets/images/Casablanca\ Maroc.jfif);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.about__us .swiper__container swiper-container .about__slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about__us .swiper__container swiper-container .about__slide .title__slide {
    font-size: 18px;
    font-weight: 500;
}

.about__us .swiper__container swiper-container .about__slide .text__slide {
    margin-top: 40px;
    font-weight: 300;
    color: var(--gray-color);
    line-height: 28px;
    max-width: 800px;
    font-style: italic;
}

/* Avantage style */

.avantages {
    margin-top: 100px;
    padding: 240px 0 80px 0;
    background-image: url(../assets/images/pattern-2.png);
    color: white;
}

.avantages .about__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 100px;
}

.avantages .about__container .left__side {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.avantages .about__container .left__side .img__container {
    position: relative;
    width: 90%;
    padding-top: 100%;
}

.avantages .about__container .left__side .img__container img {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.avantages .about__container .left__side .img__container::after {
    content: "";
    position: absolute;
    left: -10px;
    bottom: -10px;
    z-index: 1;
    border-bottom: 200px solid var(--primary-color);
    border-right: 200px solid transparent;
}

.avantages .about__container .left__side .img__container::before {
    content: "";
    position: absolute;
    right: -10px;
    top: -10px;
    z-index: 1;
    border-top: 200px solid var(--primary-color);
    border-left: 200px solid transparent;
}

.avantages .about__container .right__side .sub__title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
}

.avantages .about__container .right__side .title {
    margin-top: 24px;
    font-size: 42px;
    font-weight: 800;
}


.avantages .about__container .right__side .text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 28px;
    color: var(--gray-color);
}

.avantages .about__container .right__side .divider {
    margin: 30px 0;
    width: 100%;
    border: 1px dashed var(--primary-color);
}

.avantages .about__container .right__side .author__container {
    display: flex;
    gap: 40px;
}

.avantages .about__container .right__side .author__container .author {
    display: flex;
    gap: 20px;
    align-items: center;
}

.avantages .about__container .right__side .author__container .author .avatar {
    width: 80px;
    height: 80px;
}


.avantages .about__container .right__side .author__container .author .avatar img {
    border-radius: 100%;
    width: 100%;
}

.avantages .about__container .right__side .author__container .author .info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.avantages .about__container .right__side .author__container .author .info .name {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
    line-height: 18px;
}

.avantages .about__container .right__side .author__container .author .info .role {
    font-size: 14px;
    color: var(--gray-color);
}

.avantages .about__container .right__side .author__container .signature {
    display: flex;
    align-items: center;
}


.avantages .about__container .right__side .list__avantage {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.avantages .about__container .right__side .list__avantage .item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.avantages .about__container .right__side .list__avantage .item .icon {
    padding-top: 4px;
}

/* Services style */

.services {
    padding-top: 100px;
}

.services .sub__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.services .title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
}

.services .service__container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.services .service__container .card .icon__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services .service__container .card .icon__container img {
    width: 80px;
}

.services .service__container .card .card__title {
    margin-top: 16px;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    color: var(--primary-color);
}

.services .service__container .card .card__text {
    margin-top: 22px;
    font-size: 14px;
    text-align: center;
    line-height: 24px;
}

/* Solutions style */

.solutions {
    padding: 100px 0;
}

.solutions .sub__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
}

.solutions .title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
}

.solutions .solutions__container {
    margin-top: 80px;
    display: grid;
    grid-template-columns: 1fr 240px 1fr;
    gap: 80px;
}

.solutions .solutions__container .img__container img {
    width: 100%;
}

.solutions .solutions__container .right__side,
.solutions .solutions__container .left__side {
    display: flex;
    flex-direction: column;
    gap: 65px;
    justify-content: center;
}

.solutions .solutions__container .right__side .solution,
.solutions .solutions__container .left__side .solution {
    display: grid;
    gap: 20px;
}

.solutions .solutions__container .left__side .solution {
    grid-template-columns: 1fr 50px;
    grid-template-areas: 'solution-content icon-container';
}

.solutions .solutions__container .right__side .solution {
    grid-template-columns: 50px 1fr;
    grid-template-areas: 'icon-container solution-content';
}

.solutions .solutions__container .right__side .solution .icon__container,
.solutions .solutions__container .left__side .solution .icon__container {
    grid-area: icon-container;
}

.solutions .solutions__container .right__side .solution .content,
.solutions .solutions__container .left__side .solution .content {
    grid-area: solution-content;
}

.solutions .solutions__container .left__side .solution .content {
    text-align: right;
}


.solutions .solutions__container .right__side .solution .icon__container,
.solutions .solutions__container .left__side .solution .icon__container {
    width: 50px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.solutions .solutions__container .right__side .solution .content .solution__title,
.solutions .solutions__container .left__side .solution .content .solution__title {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary-color);
}

.solutions .solutions__container .right__side .solution .content .solution__text,
.solutions .solutions__container .left__side .solution .content .solution__text {
    margin-top: 8px;
    font-size: 15px;
    line-height: 24px;
    color: var(--text-color);
}

/* Contact style */

.contact {
    margin-top: 100px;
}

.contact .title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    max-width: 800px;
    margin: auto;
    margin-top: 20px;
}


.contact form input,
.contact form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ccc;
    border-radius: 3px;
    transition: .3s ease-in-out;
}


.contact form input:focus,
.contact form textarea:focus {
    border: 1px solid var(--primary-color);
}

.contact form {
    max-width: 900px;
    margin: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact form .col__2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact form .btn__container {
    display: flex;
    justify-content: center;
}

/* Contact info style */

.contact__info .container {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.contact__info .container .card {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.contact__info .container .card .icon__container {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact__info .container .card .card__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact__info .container .card .text {
    font-weight: 500;
    font-size: 18px;
}

/* footer style */

footer {
    padding-top: 80px;
}

footer .sub__footer {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

footer .sub__footer .item {
    flex: 1;
}

footer .sub__footer .item h5 {
    font-weight: 500;
    font-size: 14px;
}

footer .sub__footer .item .logo {
    width: 100px;
}

footer .sub__footer .item .logo img {
    width: 100%;
}

footer .sub__footer .item ul {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

footer .sub__footer .item ul li p {
    font-size: 12px;
    line-height: 22px;
    color: var(--textColor);
}

footer .sub__footer .item ul li p span {
    font-weight: 500;
}

footer .sub__footer .item .payment__info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

footer .sub__footer .item .payment__info p {
    font-size: 12px;
    font-weight: 500;
}

footer .sub__footer .item .payment__info .icons {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

footer .sub__footer .item .payment__info .icons img:nth-child(1) {
    width: 25px;
}

footer .sub__footer .item .payment__info .icons img {
    width: 35px;
}

footer .sub__footer .item .input__button {
    margin-top: 40px;
    display: flex;
}

footer .sub__footer .item .input__button button {
    background: var(--primary-color);
    color: white;
    padding: 8px 24px;
}

footer .sub__footer .item .input__button input {
    padding: 8px 24px;
}

footer .sub__footer .item .subscribe__info {
    margin-top: 20px;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--textColor);
}

footer .sub__footer .item .follow__us {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

footer .sub__footer .item .follow__us p {
    font-size: 12px;
    font-weight: 500;
}

footer .sub__footer .item .follow__us .icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

footer .sub__footer .item .follow__us .icons img {
    cursor: pointer;
    width: 20px;
}

footer .footer {
    border-top: 1px solid #ededed;
    margin-top: 40px;
    font-size: 12px;
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Responsive styles */

@media screen and (max-width: 550px) {
    footer .footer {
        justify-content: center;
        gap: 10px;
    }
}