/*-----------------
  [ALL CONTENTS]

1. Google Fonts
2. Variableas CSS
3. General
4. Reusable CSS Classes
5. Buttons
6. Scroll Up Arrow
7. Pop-up Window
8. Fixed Navigation
9. Social Media Icons
10. Scroll Down Arrow
------------------
--- Main Pages ---
------------------
11. Home Section
12. About Section
13. Services Section
14. Portfolio Section 
15. Testimonial Section 
16. Blog Section
17. Contact Section 
------------------
------------------
18. Media Queries

------------------*/

/* ---------------------------------------------- 
 * 1. Google Fonts
/* ---------------------------------------------- */

/* Ubuntu */
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;700&display=swap');

/* Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* ---------------------------------------------- 
 * 2. Variableas CSS
/* ---------------------------------------------- */

:root {
    --header-height: 80px;

    /* Gradient colors for buttons (RGBA) */
    --primary: 230, 0, 129, 1;
    --secondary: 181, 36, 215, 1;

    /* Gradient colors fot text, icons... */
    --color-1: #E60081;
    --color-2: #B524D7;

    /* Colors */
    /* --bg-color: #1B1B1B;*/
    --bg-color: #200723;
    --bg-color-card: #222325;
    --text-color: #d1d1d1b3;
    --text-color-white: #FFF;
    --green-color: #8CFFAD;
    --red--color: #F15656;

    /* Font and typography */
    --title-font: 'Ubuntu', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --h1-font-size: 60px;
    --h2-font-size: 45px;
    --h3-font-size: 35px;
    --h4-font-size: 22px;
    --h5-font-size: 18px;
    --big-font-size: 16px;
    --normal-font-size: 15px;
    --small-font-size: 14px;
    --smaller-font-size: 12px;

    /* Font weight */
    --font-regular: 400;
    --font-bold: 700;

    /* Margenes */
    --mb-10: 10px;
    --mb-15: 15px;
    --mb-20: 20px;
    --mb-25: 25px;
    --mb-30: 30px;
    --mb-35: 35px;
    --mb-40: 45px;
    --mb-45: 45px;
    --mb-50: 50px;
}

/* ---------------------------------------------- 
 * 3. General
/* ---------------------------------------------- */

* {  
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    padding: 0;
    margin: 0;
    outline-offset: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 0 var(--header-height) 0;
    font-family: var(--body-font);
    font-weight: var(--font-regular);
    font-size: var(--normal-font-size);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--title-font);
    color: var(--text-color-white);
    font-weight: var(--font-bold);
}

h1 {
    font-size: var(--h1-font-size);
    line-height: 74px;
}

h2 {
    font-size: var(--h2-font-size);
}

h3 {
    font-size: var(--h3-font-size);
}

h4 {
    font-size: var(--h4-font-size);
}

h5 {
    font-size: var(--h5-font-size);
    line-height: 26px;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

p {
    font-weight: var(--font-regular);
    line-height: 23px;
}

/* ---------------------------------------------- 
 * 4. Reusable CSS Classes
/* ---------------------------------------------- */

.section__title {
    font-size: 30px;
    margin-top: var(--mb-10);
    margin-bottom: var(--mb-50);
}

.section__subtitle {
    font-size: 20px;
    color: var(--green-color);
}

/* Small devices (landscape phones, 576px and up) */
@media screen and (min-width: 576px) {
    .section__title {
        font-size: 45px;
    }
    .section__title, .section__subtitle {
        text-align: left;
        display: block;
    }
}

/* ---------------------------------------------- 
 * 5. Buttons
/* ---------------------------------------------- */

.button {
    display: inline-block;
    background-image: linear-gradient(90deg, rgba(var(--primary)) 0%, rgba(var(--secondary)) 100%);
    color: #fff;
    border-radius: 100px;
    font-weight: var(--font-bold);
    font-size: var(--big-font-size);
    box-shadow: 0 0 25px 0px rgb(222 6 144 / 40%);
    transition: all 0.3s ease-in-out 0s;
    border: 0;
    justify-content: center;
    padding: 18px;
    width: -webkit-fill-available;
    width: -moz-available;
    max-width: 270px;
}

.button:hover  {
    color: #fff;
    box-shadow: 0 0 25px 0px rgb(222 6 144 / 80%);
    transition: all 0.3s ease-in-out 0s;
}

.button:hover .fa-arrow-right {
    color: #fff;
    transform: translateX(4px);
}

.button__icon {
    font-size: 14px;
    margin-left: var(--mb-10);
    transition: all 0.3s ease-in-out 0s;
}

.button--flex {
    display: inline-flex;
    align-items: center;
}

.button--link {
    background-color: transparent;
    box-shadow: none;
    padding: 0;
    text-transform: none;
}

.button--link:hover {
    box-shadow: none;
    background-color: transparent;
    color: var(--first-color-alt);
}

/* =================== . Preloader =================== */

.preloader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all 0.3s ease-in-out 0s;
    -moz-transition: all 0.3s ease-in-out 0s;
    -ms-transition: all 0.3s ease-in-out 0s;
    -o-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s;
}

.loader {
    width: 50px;
    height: 50px;
}

/* ---------------------------------------------- 
 * 6. Scroll Up Arrow
/* ---------------------------------------------- */

.scrollup {
    position: fixed;
    right: 16px;
    bottom: -20%;
    background-image: linear-gradient(90deg, rgba(var(--secondary)) 0%, rgba(var(--primary)) 100%);
    padding: 8px 11px 6px;
    border-radius: 10px;
    z-index: 10;
    transition: all 0.3s ease-in-out 0s;
}

.scrollup:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease-in-out 0s;
}

.scrollup__icon {
    font-size: 16px;
    color: #fff;
}

/* Show scroll */
.show-scroll {
    bottom: 42px;
}

/* ---------------------------------------------- 
 * 7. Pop-up Window
/* ---------------------------------------------- */

.box-modal {
    position: relative;
    width: auto;
    padding: 35px 20px;
    background: var(--bg-color-card);
    max-width: 410px;
}
  
.box-modal .form__input {
    width: -webkit-fill-available;
    width: -moz-available;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 18px 20px;
    margin-bottom: var(--mb-20);
    background: transparent;
    color: var(--text-color-white);
    opacity: 0.5;
}
  
.form__input:active {
    border-bottom: 1px solid #000;
}

.form__additional {
    margin: 16px 0 var(--mb-30);
}

.form {
    text-align: center;
}
  
.box-modal .form__btn {
    justify-content: center;
    align-items: center;
    padding-top: 18px;
    width: -webkit-fill-available;
    width: -moz-available;
    margin-top: var(--mb-15);
}

.form-icon {
    font-size: 13px;
    margin-right: var(--mb-10);
}

/* ---------------------------------------------- 
 * 8. Fixed Navigation
/* ---------------------------------------------- */

.nav {
    position: fixed;
    width: 100%;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-color-card);
    z-index: 9999;
}

nav.sticky {
    background: var(--bg-color-card);
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    position: fixed;
  }

.nav__logo {
    letter-spacing: 0.05rem;
}

.nav__btns {
    display: flex;
    padding-right: 15px;
}

.nav__phone {
    margin-right: var(--mb-35);
    background-image: linear-gradient(90deg, rgba(var(--primary)) 0%, rgba(var(--secondary)) 100%);
    display: flex;
    padding: 11px 7px 0 16px;
    border-radius: 100%;
    box-shadow: 0 0 15px 2px rgb(222 6 144 / 50%);
    font-size: var(--normal-font-size);
    color: var(--text-color-white);
    transition: all 0.3s ease-in-out 0s;
}

.nav__phone:hover {
    color: var(--text-color);
    transition: all 0.3s ease-in-out 0s;
}

.fa-phone-alt {
    font-size: 11px;
    margin-right: 8px;
    padding-top: 4px;
}

.nav__phone-number {
    display: none;
}

.nav__toggle {
    color: var(--text-color-white);
    font-size: 28px;
    cursor: pointer;
}

.nav__toggle:hover {
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        left: 100%;
        width: 100%;
        background-color: var(--body-color);
        padding: 80px 4px 30px;
        box-shadow: 0 -1px 4px rgba(0, 0, 0, .15);
        border-radius: 0 0 24px 24px;
        transition: .3s;
        top: 0;
    }
}

.nav__close {
    position: absolute;
    right: 15px;
    top: 30px;
    font-size: 24px;
    cursor: pointer;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav__close:hover {
    color: var(--first-color-alt);
}

.nav__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 13px;
    display: grid;
    padding-left: 0;
}

.nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: var(--normal-font-size);
    color: var(--text-color-white);
    gap: 5px;
    transition: all 0.3s ease-in-out 0s;
}

.nav__link:hover {
    color: var(--text-color);
    transition: all 0.3s ease-in-out 0s;
}

.nav__icon {
    font-size: 20px;
    margin-bottom: var(--mb-4);
}

/* Show menu */
.show-menu {
    left: 0;
    background: var(--bg-color-card);
}

/* Active link */
.active-link {
    color: var(--text-color);
}

/* ---------------------------------------------- 
 * 9. Social Media Icons
/* ---------------------------------------------- */

.social {
    display: block;
    left: 16px;
    bottom: 40px;
    position: fixed;
    z-index: 9999;
}

.social-icon {
    margin-right: var(--mb-15);
    color: var(--text-color-white);
    text-align: center;
    font-size: 17px;
    transition: all 0.3s ease-in-out 0s;
}

.social-icon:hover {
    color: var(--green-color);
    transition: all 0.3s ease-in-out 0s;
}

/* ---------------------------------------------- 
 * 10. Scroll Down Arrow
/* ---------------------------------------------- */

.scroll {
    position: absolute;
    right: 15px;
    bottom: 40px;
}

#wrapper-inner {
    display: table-cell;
    vertical-align:middle;
    width:100%;
    height:100%;
}
  
#scroll-down {
    display: block;
    position: relative;
    padding-top: 82px;
    text-align:center;
}
  
.arrow-down {
    display: block;
    margin: 0 auto;
    width: 10px;
}

.arrow-down:after {
    content: '';
    display: block;
    margin: 0;
    padding: 0;
    width: 8px;
    height: 8px;
    border-top: 1px solid #a5a5a5;
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

#scroll-down::before {
    -webkit-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Safari 4+ */
    -moz-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Fx 5+ */
    -o-animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* Opera 12+ */
    animation: elasticus 1.2s cubic-bezier(1, 0, 0, 1) infinite;
    /* IE 10+, Fx 29+ */
    position: absolute;
    top: 0px;
    left: 50%;
    margin-left: -1px;
    width: 1px;
    height: 90px;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgba(0, 0, 0, 0));
    background-image: -moz-linear-gradient(left, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgba(0, 0, 0, 0));
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgba(0, 0, 0, 0));
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgba(0, 0, 0, 0));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#000000', GradientType=1);
    content: ' ';
}

@-webkit-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@-moz-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@-o-keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

@keyframes elasticus {
    0% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
    50% {
        -webkit-transform-origin: 0% 0%;
        -ms-transform-origin: 0% 0%;
        -moz-transform-origin: 0% 0%;
        -o-transform-origin: 0% 0%;
        transform-origin: 0% 0%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    50.1% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 1);
        -ms-transform: scale(1, 1);
        -moz-transform: scale(1, 1);
        -o-transform: scale(1, 1);
        transform: scale(1, 1);
    }
    100% {
        -webkit-transform-origin: 0% 100%;
        -ms-transform-origin: 0% 100%;
        -moz-transform-origin: 0% 100%;
        -o-transform-origin: 0% 100%;
        transform-origin: 0% 100%;
        -webkit-transform: scale(1, 0);
        -ms-transform: scale(1, 0);
        -moz-transform: scale(1, 0);
        -o-transform: scale(1, 0);
        transform: scale(1, 0);
    }
}

/* ---------------------------------------------- 
 * 11. Home Section
/* ---------------------------------------------- */

.h25 {
    height: 25vh;
}

.h15 {
    height: 15vh;
}

.home {
    background: url(../img/845x900.png);
                    
    background-repeat: no-repeat;
    background-size: 100vh;
    width: -webkit-fill-available;
    width: -moz-available;
}

.home__content {
    text-align: center;
}

.home__title {
    max-width: 300px;
    font-size: 34px;
    line-height: 42px;
    margin: auto;
}

.home__description {
    font-size: 17px;
    line-height: 25px;
    margin: auto;
    margin-top: var(--mb-30);
    margin-bottom: var(--mb-45);
    max-width: 300px;
}

/* ---------------------------------------------- 
 * 12. About Section
/* ---------------------------------------------- */

.about {
    text-align: center;
}

.about__img {
    display: block;
    width: -webkit-fill-available;
    width: -moz-available;
    max-width: 300px;
    margin: auto;
    margin-bottom: var(--mb-50);
    width: inherit;
    box-shadow: 0 0 100px 0px rgb(140 255 173 / 10%);
}

.about__image:before {
    content: url(../img/circles.webp);
    position: absolute;
    z-index: -1;
    margin-top: -20px;
    margin-left: -5px;    
    display: flex;
}

.about__text {
    text-align: left;
}

.about__btns {
    margin-top: var(--mb-40);
}

.about__link {
    font-weight: var(--font-bold);
    font-size: var(--big-font-size);
    color: #fff;
    background: transparent;
    box-shadow: none;
    border-bottom: 1px solid #fff;
    margin: auto;
    margin-top: var(--mb-35);
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    transition: all 0.3s ease-in-out 0s;
}

.about__link:hover {
    color: var(--text-color);
    border-bottom: 1px solid var(--text-color);
    transition: all 0.3s ease-in-out 0s;
}

.about__info {
    margin-top: var(--mb-40);
    display: grid; 
}

.about__item {
    display: flex;
    justify-content: center;
}

.about__item_number {
    font-family: var(--title-font);
    font-weight: var(--font-bold);
    font-size: 45px;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about__item_text {
    width: 70px;
    margin-bottom: 0;
    text-align: left;
    padding-top: 15px;
    padding-left: 5px;
    line-height: 20px;
}

.row-style {
    justify-content: center;
}

/* ---------------------------------------------- 
 * 13. Services Section 
/* ---------------------------------------------- */

.services {
    text-align: center;
}

.services__card {
    background-color: var(--bg-color-card);
    padding: 30px;
    box-shadow: 0 0 20px 0px rgb(0 0 0 / 20%);
    margin: auto;
    margin-bottom: var(--mb-30);
    max-width: 370px;
    text-align: left;
    transition: all 0.4s ease-in-out 0s;
}

.services__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 10px 10px rgb(0 0 0 / 15%);
    transition: all 0.4s ease-in-out 0s;
}

.services__icon {
    font-size: 30px;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services__title {
    margin: var(--mb-15) 0;
}

.services__text {
    max-width: 270px;
    margin-bottom: 0;
}

/* ---------------------------------------------- 
 * 14. Portfolio Section 
/* ---------------------------------------------- */

.portfolio {
    text-align: center;
}

.swiper {
    margin-right: auto;
}

.swiper-pagination-bullet {
    background-color: var(--green-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--green-color);
}

.swiper .swiper-pagination-portfolio {
    position: initial;
    margin: auto;
    margin-top: var(--mb-30);
    transform: none!important;
}

.portfolio__card {
    text-align: center; 
}

.portfolio__card:hover .portfolio__overlay {
    opacity: 0.8;
    transition: all 0.5s ease-in-out 0s;
}

.portfolio__img {
    box-shadow: 0 0 20px 0px rgb(0 0 0 / 20%);
    width: -webkit-fill-available;
    width: -moz-available;
    /* max-width: 370px; */
}

.portfolio__overlay {
    height: 100%;
    width: 100%;
    top: 0;
    position: absolute;
    opacity: 0;
    background-image: linear-gradient(90deg, rgba(var(--primary)) 0%, rgba(var(--secondary)) 100%);
    transition: all 0.5s ease-in-out 0s;
}

.portfolio__title {
    position: absolute;
    top: 40px;
    left: 30px;
    width: 100px;
    text-align: left;
}

.portfolio__link {
    position: absolute;
    bottom: 20px;
    right: 30px;
    color: var(--text-color-white);
    transition: all 0.3s ease-in-out 0s;
}

.portfolio__link:hover {
    color: var(--text-color-white);
}

.portfolio__link-icon {
    margin-left: 5px;
    transition: all 0.3s ease-in-out 0s;
}

.portfolio__link:hover .portfolio__link-icon {
    transform: translateX(5px);
    transition: all 0.3s ease-in-out 0s;
}

/* ---------------------------------------------- 
 * 15. Testimonial Section
/* ---------------------------------------------- */

.testimonial {
    text-align: center;
}

.swiper-button-next::after, .swiper-button-prev::after {
    content: '';
}

.swiper-portfolio-icon {
    font-size: 32px;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.swiper-button-prev {
    display: none;
    left: 0;
}

.swiper-button-next {
    display: none;
    right: 0;
}

.swiper-horizontal > .swiper-pagination-bullets {
    bottom: -40px;
}

.swiper-button-prev, 
.swiper-button-next,
.swiper-pagination-bullet {
    outline: none;
}

.swiper .swiper-pagination-testimonial {
    position: initial;
    margin: auto;
    margin-top: var(--mb-30);
    transform: none!important;
}

.testimonial__content {
    margin-right: var(--mb-15);
    margin-left: var(--mb-15);
}

.testimonial__item {
    text-align: center;
}

.testimonial__text {
    margin-bottom: var(--mb-30);
    text-align: left;
}

.testimonial__name {
    font-size: 18px;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    text-align: left;
}

.testimonial__img {
    margin-top: var(--mb-40);
    width: -webkit-fill-available;
    width: -moz-available;
    max-width: 400px;
}

/* ---------------------------------------------- 
 * 16. Blog Section 
/* ---------------------------------------------- */

.blog {
    text-align: center;
}

.blog__card {
    background-color: var(--bg-color-card);
    box-shadow: 0 0 20px 0px rgb(0 0 0 / 20%);
}

.blog__img {
    width: -webkit-fill-available;
    width: -moz-available;
}

.blog__content {
    padding: 20px 25px;
    text-align: left;
}

.blog__info {
    display: flex;
    justify-content: space-between;
}

.blog__info p {
    margin-bottom: 0;
}

.blog__date {
    position: absolute;
    top: 20px;
    right: 20px;
    opacity: 0.5;
}

.blog__title {
    width: 220px;
    margin-top: var(--mb-25);
    margin-bottom:var(--mb-25);
}

.blog__link {
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease-in-out 0s;
}

.blog__link-arrow {
    margin-left: 5px;
    transition: all 0.3s ease-in-out 0s;
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog__link:hover .blog__link-arrow {
    background: -webkit-linear-gradient(var(--color-1), var(--color-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5px);
    transition: all 0.3s ease-in-out 0s;
}

/* ---------------------------------------------- 
 * 17. Contact Section 
/* ---------------------------------------------- */

.contact {
    text-align: center;
}

.contact__input {
    background: transparent;
    border: 0;
    border-bottom: 1px solid #fff;
    opacity: 0.5;
    padding: 18px 20px;
    width: -webkit-fill-available;
    width: -moz-available;
    margin-bottom: var(--mb-30);
    color: var(--text-color-white);
}

textarea {
    width: -webkit-fill-available;
    width: -moz-available;
    height: 59px;
}

:focus-visible {
    outline: 0;
}

.contact__button {
    margin-top: var(--mb-20);
    margin-bottom: 60px;
}

.contact__phone, .contact__email {
    display: flex;
    color: var(--text-color-white);
    justify-content: center;
    transition: all 0.3s ease-in-out 0s;
}

.contact__phone:hover, .contact__email:hover {
    color: var(--text-color);
    transition: all 0.3s ease-in-out 0s;
}

.contact__phone {
    margin-bottom: var(--mb-20);
}

.contact__contacts .fas {
    margin-right: 8px; 
}

.contact__email .fas {
    padding-top: 3px;
}

.contact__img {
    width: 100%;
    /* width: -webkit-fill-available; */
    width: -moz-available;
    margin-bottom: var(--mb-50);
    box-shadow: 0 0 30px 0px rgb(140 255 173 / 10%);
}

.contact__image:before {
    content: url(../img/circles-3.webp);
    position: absolute;
    z-index: -1;
    margin-top: -35px;
    margin-left: -5px;
    display: flex;
}

/* Form errors */
label.error {
    font-size: var(--smaller-font-size);
    color: #F15656;
}

input.error {
    border-bottom: 1px solid #F15656 !important;
    color: #F15656;
}

input.valid {
    border-bottom: 1px solid #8CFFAD !important;
    color: #8CFFAD;
}

/* Form submission progress indication */
#loader-msg {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(254, 254, 254);
    background: rgb(254 254 254);
    overflow: hidden;
    display: none;
}
  
#loader-msg img {
    position: absolute;
    width: 70px;
    height: 70px;
    left: 50%;
    margin-left: -25px;
    top: 50%;
    margin-top: -25px;
}
  
/* Thank you message after submitting the form */
#form__overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(51, 51, 51, 0.9);
    background: #000c;
    left: 0px;
    top: 0px;
    cursor: pointer;
    z-index: 9999;
}
  
#thx {
    background: var(--bg-color-card);
    color: var(--text-color-white);
    position: absolute;
    left: 50%;
    margin-left: -128px;
    top: 50%;
    padding: 30px;
    margin-top: -20px;
    font-weight: var(--font-bold);
}

/* ---------------------------------------------- 
 * 18. Media Queries
/* ---------------------------------------------- */

/* Small devices (landscape phones, 576px and up) */
@media screen and (min-width: 576px) {
    /* ==== Home section ==== */
    .nav {
        padding-right: 15px;
        padding-left: 15px;
    }

    .nav__list {
        gap: 25px;
    }

    .home__content {
        text-align: left;
    }

    .home__title {
        margin: 0;
        max-width: 570px;
        font-size: var(--h1-font-size);
        line-height: 74px;
        font-optical-sizing: auto;
        font-family: "Bodoni Moda SC", system-ui;
        font-weight: 500;
        font-style: normal;
    }

    .home__description {
        margin-left: 0;
        font-size: 20px;
        line-height: 28px;
        max-width: 400px;
    }

    .social {
        left: 30px;
    }

    .scroll {
        right: 30px;
    }

    /* ==== About section ==== */
    .about__circles {
        left: 100px;
        max-width: 300px;
    }

    .about__text {
        margin-left: 0;
    }

    .about__btns {
        display: flex;
        justify-content: space-evenly;
    }

    .about__link {
        margin-top: 19px;
        margin-left: var(--mb-50);
    }

    .about__info {
        display: flex;
        justify-content: space-around;
    }

    /* ==== Services section ==== */
    .services__card {
        padding: 38px 30px;
    }

    /* ==== Testimonials Section ==== */
    .testimonial__img {
        box-shadow: 0 0 50px 0px rgb(140 255 173 / 10%);
    }

    .swiper-button-prev, .swiper-button-next {
        display: block;
    }

    /* ==== Contact section ==== */
    .contact__image:before {
        content: url(../img/circles-2.webp);
        margin-top: -60px;
        margin-left: -15px;
    }

    /* Modal window */
    .box-modal {
        padding: 40px!important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media screen and (min-width: 768px) {
    /* ==== Home Section ==== */
    .nav {
        background-color: transparent;
    }

    .nav__menu {
        padding-top: 9px;
    }

    .nav__phone {
        background-image: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
    }

    .nav__phone-number {
        display: block;
    }

    .nav__close, .nav__icon, .nav__toggle {
        display: none;
    }

    .nav__btns {
        order: 1;
        padding-right: 0;
    }

    .nav__list {
        display: flex;
        margin-bottom: 0;
    }

    .home {
        background-position: right;
    }

    /* ==== Active link ==== */
    .active-link .nav-circle {
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background: var(--text-color);
        margin: auto;
    }

    .home__title {
        max-width: 560px;
    }

    /* ==== About Section ==== */
    .about__img {
        max-width: 300px;
    }

    /* ==== Services Section ==== */
    .services__card {
        height: 240px;
    }

    /* ==== Testimonials Section ==== */
    .testimonial__img {
        box-shadow: 0 0 40px 0px rgb(140 255 173 / 10%);
        max-width: 260px;
    }

    .testimonial__content {
        display: flex;
        justify-content: center;
    }
    
    .testimonial__item {
        margin-right: var(--mb-25);
        padding-top: 110px;
    }
    
    .testimonial__text {
        max-width: 320px;
    }

    .swiper-button-next {
        right: -4px;
    }

    .swiper-button-prev {
        left: -4px;
    }
}

/* Large devices (desktops, 992px and up) */
@media screen and (min-width: 992px) {
    /* ==== Home Section ==== */
    .nav {
        padding-right: 30px;
    }

    /* ==== About Section ==== */
    .about__img {
        width: -webkit-fill-available;
        width: -moz-available;
        max-width: 450px;
        margin: 0;
    }

    .about__image:before {
        content: url(../img/circles-2.webp);
        margin-top: -30px;
        margin-left: -50px;
    }

    .about__text {
        max-width: 530px;
    }

    .about__info {
        justify-content: flex-start;
        gap: 50px;
    }

    .row-style {
        justify-content: space-around;
    }

    /* ==== Contact Section ==== */
    .contact__inputs {
        display: flex;
        justify-content: space-between;
    }

    .contact {
        text-align: left;
    }

    .contact__contacts {
        display: flex;
    }

    .contact__phone {
        margin-right: var(--mb-50);
    }

    .mr30 {
        margin-right: var(--mb-30);
    }

    /* ==== Services Section ==== */
    .services__card {
        height: 250px;
    }

    /* ==== Testimonials Section ==== */
    .testimonial__item {
        padding-top: 170px;
        margin-right: 80px;
    }
    
    .testimonial__text {
        max-width: 320px;
    }

    .testimonial__img {
        max-width: 400px;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media screen and (min-width: 1200px) {
    /* ==== Home Section ==== */
    .container {
        padding-left: 100px;
    }

    .nav {
        padding-right: 70px;
        padding-left: 70px;
    }

    .scroll {
        right: 70px;
        bottom: 60px;
    }

    .social {
        display: grid;
        grid-template-columns: max-content;
        row-gap: 16px;
        position: fixed;
        top: 9%;
        left: 75px;
    }

    .social:before {
        content: '';
        background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgb(165, 165, 165));
        background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgb(165, 165, 165));
        background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgb(165, 165, 165));
        background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0), rgb(165, 165, 165), rgb(165, 165, 165));
        width: 1px;
        height: 35vh;
        margin: auto;
    }

    .social:after {
        content: '';
        background-image: -webkit-linear-gradient(top, rgb(165, 165, 165), rgb(165, 165, 165), rgba(0, 0, 0, 0));
        background-image: -moz-linear-gradient(top, rgb(165, 165, 165), rgb(165, 165, 165), rgba(0, 0, 0, 0));
        background-image: -ms-linear-gradient(top, rgb(165, 165, 165), rgb(165, 165, 165), rgba(0, 0, 0, 0));
        background-image: -o-linear-gradient(top, rgb(165, 165, 165), rgb(165, 165, 165), rgba(0, 0, 0, 0));
        width: 1px;
        height: 35vh;
        margin: auto;
    }

    .social-icon {
        padding-right: 0;
        margin-right: 0;
    }

    /* ==== Services Section ==== */
    .services__card {
        height: auto;
    }
    
    /* ==== Contact Section ==== */
    .w270 {
        max-width: 270px;
    }
}


/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {  
    /* ==== Contact Section ==== */
    .w270 {
        min-width: 270px;
    }
}