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

* {
    box-sizing: border-box;
}

:root {
    --first-color: rgb(252, 146, 39);
    --title-color: #4c4c54;
    --text-color: #4e4d50;
    --button-color: #fcc100;
    --shadow-color: rgba(0, 0, 0, 0.05);

    --body-color: #fbf8f5;
    --section-color: #f5eeea;

    --body-font: 'Roboto Slab', sans-serif;
    --title-font: 'Alata', sans-serif;

    --bigger-font-size: 2rem;
    --big-font-size: 1.5rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
}

html {
    scroll-behavior: smooth;
}

@media screen and (min-width: 968px) {
    :root {
        --bigger-font-size: 3rem;
        --big-font-size: 2rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: .875rem;
    }
}

body,
button,
input {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

body {
    margin: auto;
    background-color: var(--body-color);
    color: var(--text-color);
    transition: .3s;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: 600;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.section {
    padding: 4.5rem 1rem;
}

.section__title {
    font-size: var(--h2-font-size);
    margin-bottom: 2.5rem;
    text-align: center;
}

.nav {
    background-color: var(--body-color);
    box-shadow: 0 1px 7px rgba(40, 37, 37, 0.1);
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    padding: 0 4rem;
    /* gap: 55rem; */
    width: 100%;
    z-index: 91;
}

.nav__logo,
.nav__close,
.nav__toggle {
    color: var(--text-color);
}

.nav__logo--img {
    width: 20%;
    min-width: 80px;
}

.nav__logo--img img {
    width: 100%;
}

.nav__toggle {
    display: inline-flex;
    font-size: 1.25rem;
    cursor: pointer;
}

.nav__toggle .bx {
    font-size: 28px;
}

.nav__buttons {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.contact__button {
    background: rgb(252, 146, 39);
    background: linear-gradient(90deg, rgba(252, 146, 39, 1) 0%, rgba(252, 195, 0, 1) 100%);
}

.contact__button:hover {
    background: var(--body-color);
    color: rgb(252, 146, 39) !important;
    outline: rgb(252, 146, 39) solid 1px !important;
}

/* .lang__changer {
    font-size: var(--h1-font-size);
    display: flex;
    justify-content: center;
}

.lang__changer:hover {
    color: var(--first-color);
    transition: all .3s ease 0s;
    cursor: pointer;
} */

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.nav__link {
    color: var(--text-color);
    font-weight: 500;
    transition: .3s;
}

.nav__link:hover {
    color: var(--first-color);
    transition: all .3s ease 0s;
}

.nav__item--contact {
    display: none;
}

.nav__close {
    font-size: 2rem;
    position: absolute;
    top: .5rem;
    right: 1rem;
    cursor: pointer;
}

.header {
    display: flex;
    margin: 0;
    background-color: var(--section-color);
}

.header__container {
    padding-top: 1.5rem;
}

.header-img {
    justify-self: center;
    border-radius: 1rem;
}

.header__img img {
    width: 100%;
}

.header__info {
    text-align: center;
}

.header__title {
    font-size: var(--big-font-size);
    line-height: 140%;
    margin: 1.5rem 0;
}

.header__info h1,
.about__data h1,
.services h1,
.faq h1,
.about__page__container h1,
.services__page__container h1,
.contact__page__container h1 {
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.2);
}

.header__description {
    color: var(--text-color);
    line-height: 150%;
    font-size: var(--h3-font-size);
    margin-bottom: 1.5rem;
}

.gradient__button {
    margin-bottom: 1.5rem;
    background: rgb(252, 146, 39);
    background: linear-gradient(90deg, rgba(252, 146, 39, 1) 0%, rgba(252, 195, 0, 1) 100%);
}

.gradient__button:hover {
    background: var(--body-color);
    color: rgb(252, 146, 39) !important;
    outline: rgb(252, 146, 39) solid 1px !important;
}

.button {
    display: inline-block;
    background-color: var(--button-color);
    color: #fff;
    padding: 1.15rem 2.75rem;
    font-weight: 500;
    border-radius: .3rem;
    border: 0;
    transition: all 0.5s ease;
}

.button:hover {
    background-color: var(--body-color);
    color: var(--button-color);
    outline: var(--button-color) solid 1px;
}

.show-menu {
    top: 80px !important;
}

.about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--body-color);
    gap: 2rem;
}

.about__title {
    text-align: center;
    font-size: var(--h1-font-size);
    color: var(--title-color);
    line-height: 150%;
}

.about__img--mobile {
    display: none;
    border: var(--button-color) double .3rem;
    outline: var(--first-color) solid .1rem;
    border-radius: 50%;
}

.about__img {
    border: var(--button-color) double .3rem;
    outline: var(--first-color) solid .1rem;
    border-radius: 50%;
    padding: 1rem 4rem;
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about__data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}

.about__item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: var(--section-color);
    border-radius: 1rem;
    padding: 1.5rem;
    width: 320px;
}

.about__num {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--about-box-color);
    color: var(--first-color);
    border-radius: .3rem;
    font-weight: 600;
    width: 5rem;
    height: 3rem;
    font-size: var(--h2-font-size);
}

.about__description {
    color: var(--text-color);
    font-size: var(--normal-font-size);
}

.services {
    background-color: var(--section-color);
    padding: 2rem;
}

.services__cards {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.services__title {
    color: var(--title-color);
    font-size: var(--h1-font-size);
    text-align: center;
}

.services__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.services__item {
    background-color: var(--body-color);
    border-radius: .5rem;
    width: 320px;
    transition: all 0.3s ease-in-out;
    border: 1px solid var(--first-color);
}

.services__item:hover {
    border-color: var(--button-color);
    box-shadow: 0px 0px 7px 2px var(--shadow-color);
    transform: scale(1.05);
}

.services__item--img,
.services__item--img img {
    width: 100%;
    border-radius: .5rem .5rem 0 0;
    background-color: var(--body-color);
}

.services__item__info {
    margin: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.services__item__title {
    font-size: var(--h2-font-size);
    color: var(--first-color);
}

.services__description {
    color: var(--text-color);
    line-height: 150%;
    font-size: var(--small-font-size);
    padding-bottom: 40px;
}

.services__readmore {
    color: var(--first-color);
    text-decoration: underline;
    font-size: var(--normal-font-size);
    font-weight: 500;
}

.services__readmore:hover {
    color: var(--button-color);
}

.services__button {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq {
    margin: 0;
    padding: 5rem;
}

.faq__section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq__title {
    color: var(--title-color);
    font-size: var(--h1-font-size);
    text-align: center;
}

.faq__cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.faq__item {
    background-color: var(--section-color);
    border-radius: 1rem;
    padding: 1rem;
    width: 100%;
}

.accordion .accordion-item {
    border-bottom: 1px solid var(--body-color);
}

.accordion .accordion-item button[aria-expanded='true'] {
    border-bottom: 1px solid var(--first-color);
}

.accordion button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    color: var(--text-color);
    font-size: 1.15rem;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover,
.accordion button:focus {
    cursor: pointer;
    color: var(--first-color);
}

.accordion button:hover::after,
.accordion button:focus::after {
    cursor: pointer;
    color: var(--first-color);
    border: 1px solid var(--first-color);
}

.accordion button .accordion-title {
    padding: 1em 1.5em 1em 0;
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded='true'] {
    color: var(--first-color);
}

.accordion button[aria-expanded='true'] .icon::after {
    width: 0;
}

.accordion button[aria-expanded='true']+.accordion-content {
    opacity: 1;
    max-height: 9em;
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content p {
    font-size: 1rem;
    font-weight: 300;
    margin: 2em 0;
}

.footer {
    background-color: var(--section-color);
    padding: 3rem 0;
}

.footer__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.footer__data {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 2rem;
    gap: 30rem;
}

.footer__social__links {
    display: flex;
    gap: 1rem;
}

.footer__link__item {
    font-size: var(--big-font-size);
    color: var(--text-color);
}

.footer__link__item:hover {
    color: var(--first-color);
    transition: all .3s ease-in 0s;
}

.footer__logo--img img {
    width: 50%;
}

.footer__logo--img a {
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
}

.footer__copyright {
    display: flex;
    justify-content: center;
    align-items: center;
}

.scrollup {
    position: fixed;
    right: 1.5rem;
    bottom: -30%;
    display: inline-flex;
    gap: 20px;
    align-items: center;
    z-index: 100;
}

.scroll,
.author {
    font-size: 1.5rem;
    box-shadow: 0 1px 4px rgba(40, 37, 37, 0.1);
    border: 1px solid var(--first-color);
    background-color: var(--section-color);
    padding: 1rem;
    border-radius: 1rem;
    color: var(--first-color);
    opacity: .8;
    transition: .4s;
}

.scroll:hover {
    opacity: 1;
    color: var(--section-color);
    background-color: var(--first-color);
}

.author {
    font-size: .5rem;
}

.author p {
    padding-top: 5px;
    font-style: italic;
    line-height: 150%;
}

.scrollup__icon {
    font-size: 1.25rem;
    color: var(--first-color);
}

.show-scroll {
    bottom: 3rem;
}

/* Page 2: About */

.about__page__header,
.services__page__header,
.contact__page__header {
    background-image: url(/assets/images/about__bck.jpg);
    height: 50vh;
    background-position: center;
    background-size: cover;
    opacity: .65;
}

.about__page__container,
.services__page__container,
.contact__page__container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__page__title,
.services__page__title,
.contact__page__title {
    color: #000;
    background-color: var(--section-color);
    border-radius: 5rem;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: var(--bigger-font-size);
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1 !important;
}

.motto {
    font-weight: 600;
    color: var(--title-color);
    font-size: var(--h3-font-size);
}

.about__page__info {
    background-color: var(--body-color);
    color: var(--text-color);
    line-height: 150%;
    padding: 3rem;
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
}

.about__page__offering h2 {
    font-size: var(--h2-font-size);
    background-color: var(--section-color);
    padding: 1.5rem;
    border-radius: 1rem;
    outline: 1px dashed var(--first-color);
}

.about__page__offering ul {
    padding: 0.5rem 1.3rem;
}

.about__page__offering {
    gap: .5rem;
    display: flex;
    flex-direction: column;
}

/* Page 3 : Services */

.services__page {
    background-color: var(--body-color);
    padding: 4.5rem;
}

.services__page--item {
    border: 1px dashed var(--first-color);
    opacity: .65;
    background-color: var(--section-color);
}

.services__page--item:hover {
    opacity: 1;
}

/* Page 4 : Contact */

.contact-info {
    position: relative;
    padding: 120px 0;
    background-color: var(--body-color);
}

.contact-info ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    box-shadow: 0px 0px 60px 0px rgba(0, 0, 0, 0.07);
    background: var(--section-color);
    border-radius: 14px;
    overflow: hidden;
}

.contact-info ul li {
    list-style: none;
    display: block;
    width: 33.33%;
    text-align: center;
    padding: 47px 20px 44px;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.contact-info ul li::after {
    transition-duration: 600ms;
    position: absolute;
    width: 100%;
    height: 200%;
    content: "";
    top: 110%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background: rgb(252, 146, 39);
    background: linear-gradient(90deg, rgba(252, 146, 39, 1) 0%, rgba(252, 195, 0, 1) 100%);
}

.contact-info ul li.active::after,
.contact-info ul li:hover::after {
    top: -40%;
}

.contact-info ul li.active .contact-info__icon,
.contact-info ul li:hover .contact-info__icon {
    color: var(--section-color);
}

.contact-info ul li.active .contact-info__icon i,
.contact-info ul li:hover .contact-info__icon i {
    transform: rotateY(360deg);
    color: var(--section-color) !important;
}

.contact-info ul li.active .contact-info__title,
.contact-info ul li:hover .contact-info__title {
    color: var(--body-color);
}

.contact-info ul li.active .contact-info__text,
.contact-info ul li:hover .contact-info__text {
    color: var(--body-color);
}

.contact-info__icon {
    font-size: 45px;
    line-height: 45px;
    color: var(--section-color);
    transition: all 500ms ease;
    margin-bottom: 24px;
}

.contact-info__icon i {
    display: block;
    transition: all 0.6s ease;
}

.contact-info__title {
    font-size: 20px;
    font-weight: 500;
    transition: all 500ms ease;
    margin-bottom: 9px;
}

.contact-info__text {
    font-size: 24px;
    transition: all 500ms ease;
    margin-bottom: 0;
}

.contact-info__text a {
    color: inherit;
}

.contact-info__text a:hover {
    color: var(--section-color);
}

.google-map {
    width: 100%;
    border: .3rem double var(--first-color);
    border-radius: .5rem;
}

.google-map iframe {
    display: block;
    border: none;
    outline: none;
    width: 100%;
    height: 70vh;
}

/* Breakpoints */

@media screen and (max-width:768.1px) {
    .nav {
        /* gap: 5rem; */
        padding: 1rem;
    }

    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: -100%;
        left: 0;
        width: 100%;
        padding: 3rem 0;
        box-shadow: 0 1px 4px rgba(40, 37, 37, 0.1);
        transition: .4s;
        z-index: -1;
    }

    .nav__logo {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav__buttons {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
    }

    .menu-btn{margin: 0;}

    .nav__item--contact {
        display: block;
    }

    .nav__logo--img {
        width: 30%;
    }

    .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .about__img--mobile {
        display: block;
    }

    .about__img--mobile img {
        width: 100%;
    }

    .about__img {
        display: none;
    }

    .about__list {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about__list li {
        width: 100%;
    }

    .services__cards,
    .services__list {
        flex-direction: column;
    }

    .services__page {
        padding: 4.5rem 1rem;
    }

    .services__item {
        opacity: 1;
    }

    .footer__data {
        flex-direction: column;
        gap: 1rem;
    }

    .contact-info {
        padding-bottom: 80px;
    }

    .contact-info ul {
        display: block;
    }

    .google-map iframe {
        height: 450px;
    }
}

@media screen and (max-width:576px) {
    .faq {
        padding: 30px;
    }
}

@media screen and (min-width: 768px) {

    .nav {
        padding: 2rem;
        gap: 2rem;
    }

    .nav__menu {
        margin-left: auto;
        display: inherit;
        gap: 3rem;
    }

    .nav__toggle,
    .nav__close {
        display: none;
    }

    .nav__list {
        flex-direction: row;
        gap: 3rem;
        justify-content: flex-end;
    }

    .nav__item:nth-child(1) {
        width: 5.3rem;
    }

    .header__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 5rem;
    }

    .header__img img {
        width: 380px;
    }

    .about__img--mobile {
        display: block;
        padding: 0;
    }

    .about__img--mobile img {
        width: 100%;
    }

    .about__img {
        display: none;
    }

    .about__list {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .about__list li {
        width: 100%;
    }

    .footer__data {
        gap: 25rem;
    }

    .footer__copyright {
        text-align: right;
        width: 80%;
    }

    .footer__logo--img img {
        width: 80%;
    }

    .footer__link__item {
        font-size: 1.5rem;
    }

    .google-map iframe {
        height: 550px;
    }
}

@media (max-width: 991px) {

    .contact-info ul li {
        width: 100%;
    }
}

@media screen and (min-width: 992px) {

    .header__img img {
        width: 500px;
    }

    .about {
        flex-direction: row;
        justify-content: space-between;
    }

    .about__img--mobile {
        display: none;
    }

    .about__img {
        display: block;
    }

    .about__img img {
        height: 400px;
        width: 350px;
        object-fit: cover;
    }

    .about__item {
        width: auto;
    }

    /* .footer__data {
        gap: 35rem;
    } */

    .footer__logo--img img {
        width: 50%;
    }

    .footer__copyright {
        width: 85%;
    }

    .contact-info ul li {
        height: 252px;
    }

    .google-map iframe {
        height: 650px;
    }
}

@media screen and (min-width: 1024px) {

    .header__container {
        gap: 10rem;
        padding-top: 3.7rem;
    }

    .header__img {
        margin-right: 3.7rem;
    }

    .header__description {
        padding: 0 5rem;
        font-size: var(--h2-font-size);
    }

    .header__title {
        font-size: var(--bigger-font-size);
    }

    .gradient__button {
        padding: 1.5rem 3rem;
        font-weight: 700;
    }

    .header__info h1,
    .about__data h1,
    .services h1,
    .faq h1,
    .about__page__container h1,
    .services__page__container h1,
    .contact__page__container h1 {
        text-shadow: 5.5px 5.5px 0px rgba(0, 0, 0, 0.2);
    }

    .about {
        margin: 0 4rem;
        gap: 0;
    }

    .footer__data {
        /* gap: 45rem; */
        padding-right: 6rem;
    }

    .footer__link__item {
        font-size: 2rem;
    }
}

@media screen and (min-width:1350px) {

    .footer__copyright {
        width: 77%;
    }

    .footer__data {
        gap: 45rem;
    }
}

/* Scroll Bar */

::-webkit-scrollbar {
    width: 0.6rem;
    background: var(--section-color);
    border-radius: 1rem;
}

::-webkit-scrollbar-thumb {
    background: rgb(252, 146, 39);
    background: linear-gradient(90deg, rgba(252, 146, 39, 1) 0%, rgba(252, 195, 0, 1) 100%);
    border-radius: 1rem;
}