@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600&display=swap');

:root {
    --red: #fa4f09;
    --black: #333;
    --white: #fff;
    --light-color: #444;
    --light-bg: #eee;
}

* {
    font-family: 'Quicksand', sans-serif;
    margin: 0; padding: 0;
    border: none; outline: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    transition: all .2s linear;
    -webkit-transition: all .2s linear;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 8rem;
}

html::-webkit-scrollbar {
    width: 1rem;
}

html::-webkit-scrollbar-track {
    background: transparent;
}

html::-webkit-scrollbar-thumb {
    background: var(--red);
}

body {
    background: var(--white);
}

body.active {
    --black: #fff;
    --white: #111;
    --light-color: #ccc;
    --light-bg: #222;
}

section {
    padding: 3rem 9%;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    border-radius: .5rem;
    background: var(--light-bg);
    cursor: pointer;
    color: var(--black);
    padding: 1rem 3rem;
    font-size: 1.7rem;
}

.btn:hover,
.btn:focus {
    background: var(--red);
    color: #fff;
}

.heading {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 4rem;
    color: var(--black);
}

.heading span {
    color: var(--red);
}

/*==== HEADER ====*/
.header {
    /* position: -webkit-sticky; */
    /* position: sticky; */
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--light-bg);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 2rem 9%;
}

.header.active {
    padding: 1.5rem 9%;
}

.header .logo {
    margin-right: auto;
    color: var(--black);
    font-size: 2.5rem;
}

.header .logo i {
    color: var(--red);
}

.header .navbar a {
    margin-right: 2rem;
    font-size: 1.7rem;
    color: var(--light-color);
}

.header .navbar a:hover,
.header .navbar a:focus {
    color: var(--red);
}

.header #menu-btn,
.header #theme-btn {
    font-size: 2.5rem;
    margin-left: 2rem;
    cursor: pointer;
    color: var(--black);
}

.header #menu-btn:hover,
.header #menu-btn:focus,
.header #theme-btn:hover,
.header #theme-btn:focus {
    color: var(--red);
}

.header #menu-btn {
    display: none;
}

.header #theme-btn.fa-sun {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}

.header .scroll-indicator {
    position: absolute;
    top: 99%; left: 0;
    height: 1rem;
    background: var(--red);
}

/*==== HOME ====*/
.home .box {
    min-height: 70vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;    
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.home .box:nth-child(2) {
    -ms-flex-wrap: wrap-reverse;
    flex-wrap: wrap-reverse;
    padding: 4rem 0;
}

.home .box .image,
.home .box .content  {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}

.home .box .image img {
    width: 100%;
}

.home .box .content h3 {
    font-size: 3rem;
    color: var(--black);
}

.home .box .content p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--light-color);
    margin: 1rem 0;
}

/* TESTIMONIAL */
.testimonial .box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 2rem;
}

.testimonial .box {
    text-align: center;
    background: #fff;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    position: relative;
}

.testimonial .box i {
    position: absolute;
    top: 3rem;
    left: 2rem;
}

.testimonial .box p {
    margin: 5.5rem 1rem 2rem 1rem;
    font-size: 1.7rem;
}

.testimonial .box img {
    max-width: 100%;
    border: 10px #fff solid;
    border-radius: 50%;
}
/*==== SERVICES ====*/
.services .box-container {
    display: -ms-grid;
    /* display: grid;
    -ms-grid-columns: (minmax(31rem, 1fr))[auto-fit];
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 2rem; */
    display: grid;
    grid-template-areas: 
    'one'
    'two'
    'three'
    'four'
    'five'
    'six'
    ;
    gap: 2rem;
}

.services .box-container .box:nth-child(1) {
    grid-area: one;
}

.services .box-container .box:nth-child(2) {
    grid-area: two;
}

.services .box-container .box:nth-child(3) {
    grid-area: three;
}

.services .box-container .box:nth-child(4) {
    grid-area: four;
}

.services .box-container .box:nth-child(5) {
    grid-area: five;
}

.services .box-container .box:nth-child(6) {
    grid-area: six;
}

@media (min-width: 40rem) {
    .services .box-container {
        grid-template-areas: 'one one two'
                            'three four six'
                            'five five five';
    }
}

.services .box-container .box {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: .5rem;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.services .box-container .box img {
    height: 10rem;
    margin-bottom: .5rem;
}

.services .box-container .box h3 {
    padding: 1rem 0;
    font-size: 2rem;
    color: var(--black);
}

.services .box-container .box p {
    font-size: 1.4rem;
    color: var(--light-color);
    line-height: 1.6;
}

/*==== WORK ====*/
.work .box-container {
    -webkit-columns: 3 25rem;
    columns: 3 25rem;
    gap: 2rem;
}

.work .box-container img {
    margin-bottom: 2rem;
    width: 100%;
    border-radius: .5rem;
}

/*==== PRICING ====*/
.pricing .box-container {
    display: -ms-grid;
    display: grid;
    /* -ms-grid-columns: (minmax(31rem, 1fr))[auto-fit]; */
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 2rem;
}

.pricing .box-container .box {
    text-align: center;
    padding: 3rem 2rem;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.pricing .box-container .box:nth-child(2) {
    background: var(--light-bg);
    border-radius: .5rem;
}

.pricing .box-container .box:nth-child(2) .btn {
    background: var(--red);
    color: #fff;
}

.pricing .box-container .box:nth-child(2) .btn:hover,
.pricing .box-container .box:nth-child(2) .btn:focus {
    opacity: .8;
}

.pricing .box-container .box h3 {
    display: inline-block;
    padding: .5rem 1.5rem;
    font-weight: normal;
    font-size: 2rem;
    background: var(--red);
    color: #fff;
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.pricing .box-container .box .price {
    font-size: 5rem;
    font-weight: bolder;
    color: var(--black);
}

.pricing .box-container .box .price span {
    font-size: 3rem;
}

.pricing .box-container .box ul {
    padding: 1rem 0;
    list-style: none;
}

.pricing .box-container .box ul li {
    padding: 1rem 0;
    font-size: 1.5rem;
    color: var(--light-color);
}

.pricing .box-container .box ul li i {
    padding-right: .5rem;
    color: var(--red);
}

/*==== REVIEWS ====*/
.reviews .reviews-container {
    display: -ms-grid;
    display: grid;
    /* -ms-grid-columns: (minmax(31rem, 1fr))[auto-fit]; */
    grid-template-columns: repeat(auto-fit, minmax(31rem, 1fr));
    gap: 2rem;
}

.reviews .reviews-container .box .user {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.5rem;
}

.reviews .reviews-container .box .user img {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.reviews .reviews-container .box .user h3 {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: .5rem;
}

.reviews .reviews-container .box .user .stars i {
    font-size: 1.5rem;
    color: var(--red);
}

.reviews .reviews-container .box .text {
    padding: 2rem;
    border-radius: .5rem;
    background: var(--light-bg);
    font-size: 1.5rem;
    color: var(--light-color);
    position: relative;
    margin-top: 3rem;
    line-height: 1.6;
}

.reviews .reviews-container .box .text::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 2rem;
    height: 2rem;
    width: 2rem;
    background: var(--light-bg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*==== CONTACT ====*/
.contact .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.contact .row .box-container {
    width: 35rem;
}

.contact .row .box-container .box {
    background: var(--light-bg);
    border-radius: .5rem;
    padding: 2rem;
}

.contact .row .box:first-child {
    margin-bottom: 2rem;
}

.contact .row .box h3 {
    font-size: 2rem;
    color: var(--black);
    padding-bottom: 1rem;
}

.contact .row .box p {
    font-size: 1.5rem;
    color: var(--light-color);
    padding-top: 1.5rem;
}

.contact .row .box p span {
    color: var(--red);
    padding-right: .5rem;
}

.contact .row form {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: .5rem;
} 

.contact .row form h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--black);
}
 
.contact .row form .input-box {
    background: var(--white);
    width: 100%;
    margin: .7rem 0;
    border-radius: .5rem;
    font-size: 1.6rem;
    padding: 1.2rem 1.4rem;
    color: var(--light-color);
}

.contact .row form textarea {
    height: 15rem;
    resize: none;
}

.contact .row form .btn {
    background: var(--red);
    color: #fff;
}

.contact .row form .btn:hover,
.contact .row form .btn:focus {
    opacity: .8;
}

/*==== NEWSLETTER ====*/
.newsletter {
    background: var(--red);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.newsletter .content {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
}

.newsletter .content h3 {
    font-size: 6rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: .5rem;
}

.newsletter .content p {
    font-size: 2.2rem;
    color: #fff;
}

.newsletter form {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
    background: #fff;
    border-radius: .5rem;
    padding: 0.7rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.newsletter form .email {
    width: 100%;
    padding: 0 1.4rem;
    font-size: 1.6rem;
}

.newsletter form .btn {
    margin-top: 0;
    background: #333;
    color: #fff;
}

.newsletter form .btn:hover,
.newsletter form .btn:focus {
    background: var(--red);
}

/*==== FOOTER ====*/
.quick-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    background: var(--black);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.quick-links .logo {
    color: var(--white);
    font-size: 2.5rem;
}

.quick-links .logo i {
    color: var(--red);
}

.quick-links .links a {
    margin-left: 2rem;
    font-size: 1.7rem;
    color: var(--white);
}

.quick-links .links a:hover,
.quick-links .links a:focus {
    color: var(--red);
}

.credit {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
    background: var(--light-bg);
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.credit p {
    font-size: 2rem;
    color: var(--light-color);
}

.credit p span {
    color: var(--red);
}

.credit .share a {
    margin-left: 2rem;
    font-size: 2.5rem;
    color: var(--black);
}

.credit .share a:hover,
.credit .share a:focus {
    color: var(--red);
}


/*==== MEDIA QUERIES ====*/
/* Tablet Size */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }
    
    .header {
        padding: 2rem;
    }

    section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .header #menu-btn {
        display: inline-block;
    }

    .header #menu-btn.fa-times {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .header .navbar {
        position: absolute;
        top: 99%; left: 0; right: 0;
        background: var(--light-bg);
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: .4s ease-in;
    }

    .header .navbar.active {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a {
        font-size: 2rem;
        display: block;
        margin: 2rem;
    }

    .newsletter {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .newsletter .content {
        text-align: center;
    }

    .newsletter .content h3 {
        font-size: 4rem;
    }

    .newsletter .content p {
        font-size: 1.8rem;
    }

    .quick-links, 
    .credit {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-flow: column;
        flex-flow: column;
        text-align: center;
    }

    .quick-links .links a {
        margin: 2rem 0;
        display: block;
    }

    .credit .share a {
        margin: 0 1rem;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }
}

/* header*/
.bpw-header-container {
  background: url(images/header.png) no-repeat;
  background-size: 100% 100%;
}
 
.bpw-bot-avatar img,
.bpw-bot-avatar svg {
  background: none;
}
 
/* bot chat bubble*/
.bpw-chat-bubble:first-of-type {
  border-bottom-right-radius: none !important;
  border-bottom-left-radius: none !important;
}
 
.bpw-chat-bubble:last-of-type {
  border-bottom-right-radius: none !important;
  border-bottom-left-radius: none !important;
}
 
.bpw-chat-bubble {
  border-radius: 25px;
  border: 2px solid orangered;
}
 
/* user chat bubble*/
.bpw-from-user .bpw-chat-bubble {
  background-color: orangered;
  color: #ffffff;
}
 
/* keyboard quick reply*/
.bpw-button {
  border: 1px solid orangered;
}
 
.bpw-button:hover {
  background-color: orangered;
  color: #ffffff;
  font-weight: bold;
}
