@import url("https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;700&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://cdn.web-fonts.ge/fonts/bpg-quadrosquare-2013/css/bpg-quadrosquare-2013.min.css");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  --first-color: rgb(235, 187, 85);
  --first-color-alt: rgb(210, 165, 65);
  --beige-color: hsl(40, 45%, 86%);
  --beige-color-light: hsl(40, 45%, 94%);
  --beige-color-alt: hsl(40, 35%, 72%);
  --brown-color: hsl(18, 15%, 24%);
  --title-color: hsl(0, 0%, 6%);
  --text-color: hsl(0, 0%, 40%);
  --white-color: hsl(0, 0%, 98%);
  --body-color: hsl(0, 0%, 100%);
  --container-color: hsl(0, 0%, 96%);
  --border-color: hsl(0, 0%, 85%);

  --body-font: "BPG QuadroSquare 2013", sans-serif;
  --second-font: "BPG QuadroSquare 2013", sans-serif;
  --biggest-font-size: 1.875rem;
  --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;
  --smaller-font-size: .75rem;

  --font-regular: 400;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (width >= 1150px) {
  :root {
    --biggest-font-size: 4rem;
    --big-font-size: 3rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body,
input,
button {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}

body {
  background-color: var(--body-color);
  color: var(--title-color);
}

input,
button {
  background: none;
  border: none;
  outline: none;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-family: var(--second-font);
  font-weight: var(--font-bold);
  line-height: 120%;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}
.section_title {
  text-align: center;
  font-size: var(--big-font-size);
  margin-bottom: 1.5rem;
}

.main {
  overflow: hidden;
}

/*=============== HEADER & NAV ===============*/
.header{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: transparent;
    z-index: var(--z-fixed);
    transition: background-color .4s, box-shadow .4s;
}

.nav{
    position: relative;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav_logo{
    color: var(--white-color);
    font-family: var(--second-font);
    font-weight: var(--font-bold);
    transition: color .4s;
}

.nav_toggle{
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color .4s;
}

@media (width <= 1150px) {
    .nav_menu{
        position: fixed;
        top: 0;
        right: -120%;
        background-color: var(--body-color);
        width: 300px;
        height: 100%;
        box-shadow: -8px 0 16px hsla(0, 0%, 0%, .15);
        padding: 7rem 0 2rem 2rem;
        z-index: var(--z-fixed);
        transition: right .4s;
    }
}

.nav_list{
    display: flex;
    flex-direction: column;
    row-gap: 2.5rem;
}

.nav_link{
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    transition: color .4s;
}

.nav_link:hover{
    color: var(--first-color);
}

.nav_button{
    background-color: var(--first-color);
    padding: 1rem 2rem;
    border-radius: .5rem;
    display: inline-flex;
    transition: background-color .4s;
}

.nav_button:hover{
    background-color: var(--first-color-alt);
    color: var(--title-color);
}

.nav_close{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    color: var(--title-color);
    cursor: pointer;
}

.show-menu{
    right: 0;
}

.scroll-header{
    background-color: var(--body-color);
    box-shadow: 0 8pz 16px hsla(0, 0%, 0%, .15);
}

.scroll-header :is(.nav_logo, .nav_toggle){
    color: var(--title-color);
}

.active-link{
    color: var(--first-color);
}

.active-link.nav_button{
    color: var(--title-color);
}

/*=============== HOME SECTION ===============*/
.home{
    position: relative;
    height: 800px;
    overflow: hidden;
}

.home_bg,
.home_shadow{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.home_bg{
    object-fit: cover;
    object-position: center;
}

.home_shadow{
    background: linear-gradient(180deg, hsla(0, 0%, 0%, 0) 20%, hsl(0, 0%, 0%) 100%);
}

.home_container{
    height: 100%;
    place-items: center;
}

.home_data{
    z-index: 10;
    text-align: center;
}

.home_logo{
    width: 120px;
    margin-inline: auto;
    margin-bottom: 1rem;
}

.home_title{
    color: var(--white-color);
    font-size: var(--biggest-font-size);
}

.home_description{
    color: var(--white-color);
    margin-block: 1rem 3rem;
}

/*=============== BUTTON ===============*/
.button{
    display: inline-flex;
    background-color: var(--first-color);
    color: var(--title-color);
    font-weight: var(--font-semi-bold);
    padding: 1rem 2rem;
    border-radius: .5rem;
    transition: background-color .4s;
}

.button:hover{
    background-color: var(--first-color-alt);
}

/*=============== ABOUT SECTION ===============*/
.about{
    background-color: var(--brown-color);
}

.about_container{
    row-gap: 4rem;
    padding-bottom: 2.5rem;
}

.about .section_title{
    color: var(--white-color);
}

.about_description{
    color: var(--white-color);
    text-align: center;
    margin-bottom: 3rem;
}

.about_info{
    display: flex;
    justify-content: center;
    column-gap: 4.5rem;
}

.about_number{
    color: var(--first-color);
    font: var(--font-bold) var(--h1-font-size) var(--second-font);
    margin-bottom: .5rem;
}

.about_subtitle{
    font-size: var(--small-font-size);
    color: var(--white-color);
}

.about_img{
    width: 320px;
    border-radius: 1.5rem;
    justify-self: center;
}

/*=============== WORKS SECTION ===============*/
.work{
    background-color: var(--beige-color);
}

.work_container{
    row-gap: 4rem;
}

.work_description{
    text-align: center;
}

.work_img, 
.work_card{
    width: 250px;
    height: 280px;
    object-fit: cover;
    border-radius: 1.5rem;
}

.work_swiper{
    width: 100%;
    border-radius: 1.5rem;
}

.work_data{
    padding-bottom: 7rem;
}

.work .swiper-pagination-fraction{
    font-weight: var(--font-semi-bold);
    bottom: 3rem;
}

.work .swiper-navigation-icon{
    display: none;
}

.work :is(.swiper-button-prev, .swiper-button-next){
    top: initial;
    left: initial;
    bottom: .5rem;
    width: initial;
    height: initial;
    margin: initial;
    color: var(--title-color);
    font-size: 1.5rem;
}

.work .swiper-button-prev{
    left: calc(50% - 3rem);
}

.work .swiper-button-next{
    right: calc(50% - 3rem);
}

/*=============== SERVICES SECTION ===============*/
.service{
    background-color: var(--beige-color);
}

.service_container{
    row-gap: 4rem;
    padding-bottom: 2.5rem;
}

.service .section_title{
    margin-bottom: 3rem;
}

.service_prices{
    display: grid;
    row-gap: 1rem;
}

.service_plan{
    display: flex;
    justify-content: space-between;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--beige-color-alt);
}

.service_plan:last-child{
    border-bottom: none;
}

.service_name{
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
}

.service_price{
    font: var(--font-medium) var(--h3-font-size) var(--second-font);
}

.service_swiper{
    background-color: var(--first-color);
    border-radius: 1.5rem;
    padding: 2rem 1rem;
}

.service_testimonial-description{
    margin-bottom: 6rem;
}

.service_testimonial-name{
    font-size: var(--normal-font-size);
}

.service_swiper{
    width: 100%;
}

.service .swiper-pagination-bullets{
    position: absolute;
    top: initial;
    left: 0;
    right: 0;
    bottom: 6rem;
    display: flex;
    justify-content: center;
    column-gap: .25rem;
}

.service .swiper-pagination-bullet{
    width: 24px;
    height: 3px;
    border-radius: .5rem;
    background-color: var(--title-color);
    transition: opacity .4s, width .4s;
}

.service .swiper-pagination-bullet-active{
    width: 32px;
}

.service .swiper-pagination-bullet{
    display: none;
}

.service :is(.swiper-button-prev, .swiper-button-next){
    width: 24px;
    height: 24px;
    border: 2px solid var(--title-color);
    border-radius: 50%;
    color: var(--title-color);
    font-size: 1rem;
    top: initial;
    left: initial;
    bottom: 2rem;
    margin: initial;
}

.service .swiper-button-prev{
    right: 3.5rem;
}

.service .swiper-button-next{
    right: 1rem;
}

/*=============== EXPERTS SECTION ===============*/
.expert_container{
    row-gap: 4rem;
}

.expert_description{
    text-align: center;
}

.expert_content{
    display: flex;
    justify-content: center;
    gap: 3.5rem;
    flex-wrap: wrap;
}

.expert_img{
    width: 120px;
    transition: scale .4s;
    transform-origin: left bottom;
}

.expert_card{
    background-color: var(--beige-color-light);
    width: 300px;
    padding: .5rem 2rem, 0 2rem;
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.expert_data{
    display: grid;
    row-gap: 1.5rem;
}

.expert_name{
    font-size: var(--h2-font-size);
}

.exper_professional{
    font-size: var(--smaller-font-size);
    color: var(--text-color);
}

.expert_social{
    display: flex;
    column-gap: .5rem;
}

.expert_link{
    font-size: 1.25rem;
    color: var(--text-color);
    transition: color .4s;
}

.expert_link:hover{
    color: var(--title-color);
}

.expert_card:hover .expert_img{
    scale: 1.1;
}

/*=============== CONTACT SECTION ===============*/
.contact_container{
    row-gap: 4rem;
    padding-bottom: 3rem;
}

.contact_map iframe{
    width: 100%;
    height: 100%;
}

.contact_map{
    width: 320px;
    height: 445px;
    justify-self: center;
    border-radius: 1.5rem;
    overflow: hidden;
}

.contact_data{
    text-align: center;
}

.contact_description{
    margin-bottom: 2.5rem;
}

.contact_content{
    display: grid;
    row-gap: 3rem;
}

.contact_card{
    display: flex;
    align-items: center;
    column-gap: 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.contact_card:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.contact_icon{
    width: 64px;
    height: 64px;
    background-color: var(--title-color);
    border-radius: .75rem;
    color: var(--white-color);
    font-size: 2.5rem;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
}

.contact_info{
    display: grid;
    row-gap: .5rem;
}

.contact_title{
    font-size: var(--h2-font-size);
}

.contact_address{
    font-style: initial;
}

.contact_address :is(span, a){
    display: block;
    color: var(--title-color);
}

/*=============== FOOTER ===============*/
.footer{
    padding-block: 2rem;
}

.footer_container{
    row-gap: 4rem;
}

.footer_logo{
    font: var(--font-bold) var(--h2-font-size) var(--second-font);
    color: var(--title-color);
}

.footer_description{
    margin-block: 1rem .5rem;
}

.footer_email{
    font-style: initial;
}

.footer_email a{
    color: var(--title-color);
}

.footer_content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 2.5rem;
}

.footer_title{
    font-size: var(--h3-font-size);
    margin-bottom: 1rem;
}

.footer_links{
    display: grid;
    row-gap: .5rem;
}

.footer_link{
    color: var(--text-color);
    transition: color .4s;
}

.footer_link:hover{
    color: var(--title-color);
}

.footer_social{
    display: flex;
    column-gap: .75rem;
}

.footer_social-link{
    font-size: 1.5rem;
    color: var(--title-color);
    transition: color .4s;
}

.footer_social-link:hover{
    color: var(--text-color);
}

.footer_copy{
    display: block;
    margin-top: 6rem;
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color);
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar{
    width: .6rem;
    background-color: hsl(0, 0%, 20%);
}

::-webkit-scrollbar-thumb{
    background-color: hsl(0, 0%, 60%);
}

::-webkit-scrollbar-thumb:hover{
    background-color: hsl(0, 0%, 70%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
    position: fixed;
    right: 1rem;
    bottom: -50%;
    background-color: var(--body-color);
    box-shadow: 0 4px 16px hsla(0, 0%, 0%, .15);
    display: inline-flex;
    color: var(--title-color);
    font-size: 1.25rem;
    padding: 6px;
    border-radius: .25rem;
    z-index: var(--z-tooltip);
    transition: bottom .4s, transform .4s;
}

.scrollup:hover{
    transform: translateY(-.5rem);
}

.show-scroll{
    bottom: 3rem;
}

/*=============== MEDIA QUERIES ===============*/
@media (width <= 350px){
    .expert_card{
        flex-direction: column;
        padding: 1rem 3rem 0 3rem;
    }

    .expert_img{
        order: 1;
    }

    .expert_info{
        text-align: center;
    }

    .expert_social{
        justify-content: center;
    }

    .contact_map{
        width: 100%;
    }

    .footer_content{
        grid-template-columns: 1fr;
    }
}

@media (width >= 540px){
    .home_container, 
    .about_container,
    .service_container,
    .expert_container,
    .contact_container{
        grid-template-columns: 400px;
        justify-content: center;
    }

    .work_data{
        width: 400px;
        margin-inline: auto;
    }
}

@media (width >= 768px){
    .expert_content{
        grid-template-columns: repeat(2, max-content);
    }

    .footer_content{
        grid-template-columns: repeat(3, max-content);
        justify-content: space-between;
    }
}

@media (width >= 1150px){
    .container{
        margin-inline: auto;
    }

    .section{
        padding-block: 7rem 5rem;
    }

    .nav{
        height: calc(var(--header-height) + 2rem);
    }

    .nav_toggle,
    .nav_close{
        display: none;
    }

    .nav_list{
        flex-direction: row;
        align-items: center;
        column-gap: 4rem;
    }

    .nav_link{
        color: var(--white-color);
    }

    .nav_button{
        color: var(--title-color);
    }

    .active-link{
        color: var(--first-color);
    }

    .scroll-header .nav_link, 
    .scroll-header .active-link .nav_button{
        color: var(--title-color);
    }

    .scroll-header .active-link,
    .scroll-header .nav_link:hover{
        color: var(--first-color);
    }

    .scroll-header .nav_button:hover{
        color: var(--title-color);
    }

    .home{
        height: 870px;
    }

    .home_container{
        grid-template-columns: 665px;
    }

    .home_logo{
        width: 150px;
    }

    .home_description{
        margin-bottom: 4rem;
    }

    .about_container{
        grid-template-columns: 500px 480px;
        align-items: center;
        column-gap: 8rem;
        padding-block: 3rem;
    }

    .about_img{
        width: 400px;
        order: -1;
    }

    .about_data .section_title{
        text-align: initial;
    }

    .about_description{
        margin-bottom: 4rem;
        text-align: initial;
    }

    .about_info{
        justify-content: initial;
    }

    .about_number{
        font-size: var(--big-font-size);
        margin-bottom: 1rem;
    }

    .about_subtitle{
        font-size: var(--h3-font-size);
    }

    .work{
        padding-bottom: 2rem;
    }

    .work_container{
        grid-template-columns: 300px 740px;
        column-gap: 5rem;
        padding-top: 4rem;
    }

    .work_data{
        width: initial;
        padding-bottom: 12rem;
    }

    .work_data .section_title,
    .work_description, 
    .work .swiper-pagination{
        text-align: initial;
    }

    .work .swiper-button-prev{
        left: 0;
    }

    .work .swiper-button-next{
        left: 4.5rem;
        right: initial;
    }

    .work_img,
    .work_card{
        width: 320px;
        height: 355px;
        object-fit: cover;
    }

    .service_container{
        grid-template-columns: repeat(2, 450px);
        align-items: center;
        column-gap: 12rem;
        padding-top: 4rem;
    }

    .service_swiper{
        order: -1;
        padding: 3rem;
    }

    .service_testimonial-description{
        margin-bottom: 9rem;
    }

    .service_testimonial-name{
        font-size: var(--h3-font-size);
    }

    .service .swiper-pagination-bullets{
        bottom: 10rem;
    }

    .service .swiper-button-prev{
        right: 5.5rem;
        bottom: 3rem;
    }

    .service .swiper-button-next{
        right: 3rem;
        bottom: 3rem;
    }

    .service_data .section_title{
        text-align: initial;
    }

    .service_prices{
        row-gap: 1.5rem;
    }


    .expert{
        padding-bottom: 2rem;
    }

    .expert_container{
        grid-template-columns: initial;
        row-gap: 5rem;
    }

    .expert_description{
        width: 550px;
        margin-inline: auto;
    }

    .expert_content{
        grid-template-columns: repeat(4, 232px);
    }

    .expert_card{
        padding: 1.5rem 1.5rem 0;
        flex-direction: column;
        width: 250px;

    }

    .expert_img{
        order: 1;
        width: 200px;
    }

    .expert_data{
        width: 100%;
        grid-template-columns: 1fr max-content;
        column-gap: 1rem;
    }

    .expert_name{
        font-size: var(--h3-font-size);
    }

    .expert_social{
        flex-direction: column;
        justify-self: flex-end;
    }

    .contact_container{
        grid-template-columns: 533px 320px 355px;
        column-gap: 2.5rem;
        align-items: center;
        padding-top: 4rem;
    }

    .contact_data, 
    .contact_data .section_title{
        text-align: initial;
    }

    .contact_description{
        margin-bottom: 7rem;
    }

    .contact_title{
        font-size: var(--h3-font-size);
    }

    .footer_container{
        grid-template-columns: repeat(2, max-content);
        justify-content: space-between;
    }

    .footer_logo{
        font-size: var(--h3-font-size);
    }

    .footer_description{
        margin-top: 1.5rem;
    }

    .footer_content{
        column-gap: 10rem;
    }

    .footer_title{
        margin-bottom: 1.5rem;
    }

    .scrollup{
        right: 3rem;
    }
}

@media (width >= 2048px){
    body {
        zoom: 1.2;
    }
}