/*!
Theme Name: am
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: am
*/

body {
    padding-bottom: 50px;
}

body,
html {
    scroll-padding: 100px;
    scroll-margin: 100px;
}

#nav {
    position: fixed;
    z-index: 3;
    width: 100%;
    top: 10px;
    right: 0;
    left: 0;
}

#nav .nav-content {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(7px);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

#nav .nav-content .left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative
}

#nav .nav-content .logo {
    max-height: 53px;
}

#nav ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

#nav ul a {
    font-weight: 500;
}

#nav ul a.active,
#nav ul a:hover {
    color: var(--primary-color);
}

#nav .buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

#initiate-demo-form {
    position: relative;
}

#initiate-demo-form .progress {
    background-color: #0000000f;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    border-radius: 6px 0 0 6px;
    transition: width 0.3s;
}

@media (min-width: 992px) {
    #nav {
        top: 14px;
    }

    #nav .nav-content {
        justify-content: space-between;
        flex-direction: row;
        gap: 0;
    }

    #nav .nav-content .left {
        flex-direction: row;
        gap: 0;
    }

    #nav ul {
        padding-left: 60px;
    }
}

#header {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    padding-top: 210px;
}

@media (min-width: 992px) {
    #header {
        padding-top: 160px;
        padding-bottom: 15px;
    }
}

#header .bg {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 1;
    background-image: url(./assets/images/header-bg-min.jpg);
    background-position: center bottom;
    background-size: cover;
    opacity: 0.77;
}

#header .container {
    position: relative;
    z-index: 2;
}

#header .left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#header .left .arrow lottie-player {
    width: 100px;
    height: 100px;
    position: absolute;
    top: -71px;
    left: 100%;
    margin-left: -25px;
    transform: rotate(253deg);
}

@media (max-width: 992px) {
    #header .left .arrow {
        display: none;
    }
}

#header .title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

#header .title span {
    color: var(--primary-color);
}

#header .subtitle {
    font-weight: 300;
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
    line-height: 1.5;
    color: var(--secondary-text-color);
}

@media (min-width: 992px) {
    #header .title {
        text-align: left;
        margin-top: 0;
        margin-bottom: 0;
    }

    #header .subtitle {
        text-align: left;
        margin-top: 20px;
    }
}

.homepage-section {
    padding-top: 40px;
    margin-top: 50px;
    position: relative;
    border-top: 2px solid rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    .homepage-section {
        padding-top: 125px;
        margin-top: 125px;
        padding-bottom: 20px;
    }
}

.homepage-section-content {
    position: relative
}

.homepage-section-content .container {
    position: relative;
    z-index: 2;
}

.homepage-section h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: 600;
}

.homepage-section h3 {
    text-align: center;
    font-weight: normal;
    margin-bottom: 30px;
    font-size: 15px;
    color: #575757;

    &:after {
        content: "";
        display: block;
        height: 1px;
        width: 34px;
        margin: 10px auto 0;
        border-bottom: 1px solid var(--primary-color);
    }
}

.homepage-section .bg {
    background-image: url(./assets/images/section-bg-min.png);
    position: absolute;
    height: calc(100% - 73px);
    opacity: 0.21;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: 100% 100%;
}

.features-section {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 50px;
}

@media (min-width: 992px) {
    .features-section {
        flex-direction: row;
        align-items: flex-start;
    }

}

.features-section .nav {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 311px;
    gap: 10px;
    background: rgba(255, 255, 255, 0.46);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 3px rgb(0 0 0 / 2%);
    padding: 0 20px;
    border-radius: 6px;
    border: 1px solid #eeeeee;
}

.features-section .nav button {
    border: 0;
    padding: 15px 0;
    background: transparent;
    text-align: left;
    color: #8f8f8f;
    font-weight: 500;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.features-section .nav button span {
    font-size: 12px;
    font-weight: 400;
    display: none;
    margin-top: 6px;
}

.features-section .nav button.active {
    color: var(--primary-text-color);
    padding-left: 20px;
    margin-left: -23px;
}

.features-section .nav button.active:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 1px;
    background: linear-gradient(180deg, rgba(247, 141, 167, 1) 0%, #f1e790 100%);
}

.features-section .nav button.active span {
    color: var(--secondary-text-color);
}

.features-section video {
    max-height: 310px;
}

@media (min-width: 1200px) {
    .features-section video {
        max-height: 460px;
    }
}

@media (min-width: 1400px) {
    .features-section video {
        max-height: 530px;
    }
}

#faq-section {
    min-height: 600px;
}

.faq-section {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    align-items: flex-start;
}

.faq-section .faq-item {
    width: 100%;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.02);
    border: 1px solid #e8e8e8;
    padding: 15px 13px;
    border-radius: 6px;
}

@media (min-width: 992px) {
    .faq-section {
        flex-direction: row;
    }

    .faq-section .faq-item {
        width: calc(50% - 8px);
    }
}

.faq-section button {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    text-align: left;
    color: #434343;
    font-weight: 500;
    font-size: 13px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.faq-section button .icon {
    font-weight: 100;
    font-size: 28px;
    margin: -12px 0;
}

.faq-section .faq-answer {
    display: none;
}


.faq-section .faq-answer p {
    margin: 10px 0 0 0;
    font-size: 13px;
    color: #808080;
}


.how-it-works-content {
    background: #f4f5f7;
    border-radius: 8px;
    padding: 40px 30px;
}

.how-it-works-content-steps {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

@media (min-width: 992px) {
    .how-it-works-content {
        padding: 40px 60px 80px 60px;
    }

    .how-it-works-content-steps {
        flex-direction: row;
        gap: 20px;
    }
}

.how-it-works-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
    flex-basis: 0;
}

.how-it-works-step .step-img {
    width: 215px;
    height: 200px;
    background: #f4f5f7;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.how-it-works-step h4 {
    font-size: 18px;
    text-align: center;
}

.how-it-works-step p {
    text-align: center;
    font-weight: 400;
    color: #7a7a7a;
    margin-bottom: 0;
    max-width: 290px;
}

.how-it-works-step .step {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-weight: 300;
    border-radius: 20px;
    font-size: 24px;
    background-color: white;
    box-shadow: 0 5px 15px -5px rgb(0 0 0/.1);
}
