.hero {
    position: relative;
    background-color: #092568;
    background-image: linear-gradient(to bottom right, #096668,#092568);
    /* #096668,#092568 */
    height: 98vh;
}
.background {
    position:absolute;
    top:0px;
    bottom:0px;
    z-index:1;
    opacity: 0.35;
    width:100%;
    background-color: #4e6a79;
    background-image: url("/assets/img/hero/mobile-user.webp"), url("/assets/img/hero/mobile-user.jpg");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}
.hero .row {
    z-index: 2;
    position: relative;
    height: 100%;
}
.hero-container,
.hero-main {
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 24px;
    width: 100%;
    height: 100%;
}
.hero-clients {
    margin-bottom: 1rem;

    div.clients {
        margin-top: 0;
    }
}
.hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
}
.hero h2 {
    color: #f8f8f8;
    margin: 36px 0 1%;
    font-weight: 400;
    font-size: 38px !important;
}
.hero img.logo {
    width: 170px;
}
.hero .clients {
    width: 100%;
    overflow: hidden;
    margin-top: 10vh;
}
.hero .clients2 {
    display: none;
    overflow: hidden;
}
.hero p {
    color: #f8f8f8;
    max-width: 500px;
    margin: 4px auto;
    font-size: 18px;
    text-shadow: 0px 0px 20px rgba(0,0,0,0.7);
}
.hero-buttons {
    margin-top: 24px;
}
.hero .button {
    font-size: 18px;
    margin: 8px;
    margin-top: 24px;
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;

    &:hover {
        transform: translateY(-2px) scale(1.02);
    }
}
.hero a.button.success {
    background-color: rgba(255, 186, 22, 0.95) !important;

    &:hover {
        background-color: rgb(255, 186, 22) !important;
    }
}
.hero .btn-secondary {
    border: 2px solid rgb(255, 186, 22) !important;
    color: white !important;
    background-color: rgba(255, 186, 22, 0.95) !important;
}

.estimate-btn {
    padding: 0.5rem 1.5rem !important;
}

.estimate-btn {
    padding: 0.5rem 1.5rem !important;
    position: relative;
    z-index: 1;

    /* Pause the animation on hover */
    &:hover::after {
        animation-play-state: paused;
    }
}

.estimate-btn {
    padding: 0.5rem 1.5rem !important;
    position: relative;
    overflow: hidden;

    &::after {
        content: '';
        position: absolute;
        top: 0;
        left: -150%;
        width: 50%;
        height: 100%;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0) 100%
        );
        transform: skewX(-25deg);
        animation: shimmer 6s infinite linear;
    }

    &:hover::after {
        animation-play-state: paused;
    }
}

@keyframes shimmer {
    0% {
        left: -150%;
    }
    20% {
        left: 150%;
    }
    100% {
        left: 150%;
    }
}

@media (max-width: 768px) {
    .hero-container, .hero-main {
        p {
            font-size: 16px;
        }
        img.logo {
            width: 150px;
        }
        .button, .btn-secondary {
            font-size: 16px;
        }
    }
}

@media (max-width: 540px) {
    .hero-container, .hero-main {
        padding: 12px 12px 0 12px;

        h1 {
            font-size: 48px;
        }
        h2 {
            font-size: 32px !important;
            margin-top: 48px;
        }
        p {
            margin-top: 8px;
        }
        img.logo {
            width: 150px;
        }
        .button, .btn-secondary {
            font-size: 14px;
            margin-top: unset;
        }
    }
    .hero-buttons {
        display: flex;
        justify-content: space-around;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 36px;
        gap: 8px;
    }
    .hero-clients {
        display: block; 
        width: 100%;
    }
    
    .hero .clients {
        width: 300px;
        overflow: hidden;
        margin: 8% auto 0;
    }
    
    .hero .clients img {
        max-width: none;
        width: 180%;
        float: left;
    }
    
    .hero .clients2 {
        display: block; /* Un-hides the second row */
        width: 290px;
        overflow: hidden;
        margin: 0 auto 3%;
    }
    
    .hero .clients2 img {
        max-width: none;
        width: 225%;
        float: right;
    }
}

@media (max-width: 420px) {
    .hero-container, .hero-main {
        padding: 8px 8px 0 8px;

        h1 {
            font-size: 42px;
        }
        h2 {
            font-size: 32px !important;
            margin-top: 44px;
            padding: 0 8px;
        }
        p {
            font-size: 15px;
            margin-top: 8px;
        }
        img.logo {
            width: 135px;
        }
        .button, .btn-secondary {
            font-size: 14px;
            margin-top: unset;
        }
    }
}

@media (max-width: 360px) {
    .hero-container, .hero-main {
        padding: 4px 4px 0 4px;
        
        h1 {
            font-size: 40px;
        }
        h2 {
            font-size: 28px !important;
            margin-top: 40px;
        }
        p {
            font-size: 14px;
            padding: 0 8px;
            margin-top: 12px;
        }
        img.logo {
            margin-top: 12px;
        }
        .hero-buttons {
            margin-top: 28px;
        }
    }
}

.services {
    position: relative;
    background-color: #fff;
    padding-bottom: 56px;
}
.services h2 {
    margin-top: 36px;
}
.services-card-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
    height: 100%;

    @media (max-width: 640px) {
        gap: 0;
    }
}
.services .services-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    height: 350px;
    width: 375px;

    div.panel.text-center {
        padding: 16px 24px;
    }
    p {
        padding: 0 8px;
    }

    @media (max-width: 768px) {
        height: 100%;
        width: 90%;

    }
    @media (max-width: 480px) {
        height: 100%;
        width: 95%;
    }
}

.services h3 br {
    display: none;
}
.services .panel {
    border-radius: 3px;
    padding: 1rem 2rem;
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;

    &:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08), 0 3px 6px rgba(0, 0, 0, 0.06);
    }
}
.services .panel img {
    float: none;
    height: 80px;
    margin: 10px auto;
}
.services .panel i {
    display: block;
    font-size: 92px;
    color: #666;
    margin: 0px 0px;
}
@media only screen and (max-width: 40em) { /* Small */
    .services h3 br {
        display: none;
    }
    .services .panel {
        margin: 10px;
    }
    .services .panel i {
        font-size: 72px;
    }
}

.panel {
    background-color: #f8f8f8;
    border-width: 1px;
    border-style: solid;
    border-color: #eee;
    border-radius: 2px;
}
.panel h3 {
    color: #666;
    text-align: center;
}
.panel p {
    font-size: 14px;
}
.panel .button {
    font-size: 13px;
}

.people {
    background-color: #f8f8f8;
}
.team_list {
    width: 1080px;
    max-width: 100%;
    height: 253px;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border-radius: 3px;
    text-align: center;
}
.team_list > div {
    overflow: hidden;
    display: inline-block;
    width: 97px;
    height: 97px;
    margin: 10px;
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;

    &:hover {
        transform: translateY(-4px) scale(1.02);
    }
}
.team_list > div > img {
    display: block;
    width: 100%;
    border-radius: 99px;
}
.team_list + a.button {
    margin-bottom: 36px;
}
@media only screen and (max-width: 1150px) {
    .team_list {
        width: 936px;
    }
}
@media only screen and (max-width: 992px) {
    .team_list {
        width: 702px;
        height: 234px;
    }
    .team_list > div {
        width: 62px;
        height: 62px;
        margin: 8px;
    }
}
@media only screen and (max-width: 768px) {
    .team_list {
        width: 468px;
        height: 324px;
    }
}
@media only screen and (max-width: 500px) {
    .team_list {
        width: 312px;
    }
}


.tools {
    padding-bottom: 8px;
}
.tools h2 {
    margin-bottom: 1.5rem;
}
.tools .row {
    margin-bottom: 24px;
}

.tools-logo-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 48px 24px;
    max-width: 1000px;
    margin: 0 auto 36px auto;
}

.tools-cell {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: calc(25% - 18px);

    h3 {
        margin-top: 0.75rem;
    }
}

.tools .logo {
    height: 90px;
    background-size: 80px auto;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 1000px) {
    .tools-cell .logo {
        height: 70px;
    }
    .tools-cell h3 {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .tools-logo-section {
        gap: 36px 24px;
    }
    .tools-cell {
        width: calc(33% - 18px);
    }
    .tools h2 {
        font-size: 36px !important;
    }
}

@media (max-width: 480px) {
    .tools-logo-section {
        gap: 32px 0;
    }
    .tools-cell {
        width: calc(50% - 12px);
    }
    .tools h2 {
        font-size: 32px !important;
    }
}

.tools img[src*="/assets/img/logos"] {
    transition: box-shadow 0.25s ease-in-out, transform 0.25s ease-in-out;

    &:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

.process {
    i[class|="fi"] {
        color: #2199e8;
    }
    .process-card {
        transition: transform 0.25s ease-in-out;
        &:hover {
            transform: translateY(-2px) scale(1.02);
        }
    }
    .get-started-card  {
        transition: transform 0.25s ease-in-out;
        &:hover {
            transform: translateY(-2px) scale(1.02);
        }
    }
}

@media only screen and (max-width: 64em) {
    .tools div.columns.medium-3 > a {
        display: inline-block;
        width: 60%;
    }
    .tools div.columns.medium-3 > a h3 {
        font-size: 20px;
    }
    .tools div.columns.medium-3 > a img {
        height: 60px
    }
}
@media only screen and (max-width: 40em) {
    .tools div.columns.medium-3 > div {
        float: left;
        width: 33.3333%;
        margin-bottom: 0px;
    }
    .tools .logo {
        height: 70px;
    }
    .call-to-action br {
        display: none;
    }
}

a.button {
    transition: transform 0.25s ease-in-out;
    &:hover {
        transform: translateY(-3px) scale(1.02);
    }
}

.portfolio h2 {
    margin-top: 36px;
}
.portfolio h2, .portfolio h3 {
    color: #333;
}
.portfolio .columns > div {
    position: relative;
    height: 430px;
    margin-top: 30px;
    border: 1px solid #ddd;
    background: #f8f8f8;
    text-align: center;
    padding-bottom: 20px;
    border-radius: 1px;
}
.portfolio .columns > div > div {
    /* box-sizing: content-box; */
    border-bottom: 1px solid #ddd;
}
.portfolio .columns > div h4 {
    position: absolute;
    top: 250px;
    width: 100%;
    padding: 0 15px;
    font-size: 18px;
    font-weight: bold;
    color: #555;
    text-align: center;
    transform: translateY(-50%);
}
.portfolio .columns > div p {
    color: #333;
    font-size: 13px;
    text-align: center;
    padding: 0px 20px;
    margin-top: 70px;
    margin-bottom: 15px;
}
.portfolio .columns > div a {
    font-size: 14px;
}
.portfolio .screenshot {
    height: 200px;
}
.portfolio .button {
    margin-top: 16px;
}
.portfolio .columns.large-3.medium-6 {
    margin-top: 8px;
}
.portfolio .columns.large-3.medium-6 div {
    margin-top: 0;
}
@media only screen and (max-width: 75em) {
    .portfolio .screenshot {
        height: 17vw;
    }
}
@media only screen and (max-width: 64em) {
    .portfolio .columns > div {
        margin-bottom: 20px;
    }
    .portfolio .screenshot {
        height: 200px;
    }
    .portfolio .columns > div h4 {
        padding: 0 5px;
    } 
}

.portfolio {
    background-color: #fff;
    padding-bottom: 32px;
    
    .portfolio-row {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
        width: 100%;
    }

    .portfolio-card {
        display: flex;
        flex-direction: column;
        border-radius: 8px !important;
        border: 1px solid #ddd;
        padding: 0;
        height: 464px;
        width: 24%;
        position: relative;
        background: #f8f8f8;
        transition: transform 0.25s ease-in-out;
        overflow: hidden;

        .card-link {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

        .card-img {
            height: 200px;
            object-fit: cover;
        }

        .card-caption {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            height: 250px !important;
            padding: 24px 24px 16px 24px;
            border-top: 1px solid #ddd;
            color: #444;

            .card-title {
                display: flex;
                justify-content: center;
                align-items: center;
                flex-shrink: 0;
                height: 56px;
                margin: 0 0 16px 0;
                font-size: 20px;
                font-weight: bold;
                text-align: center;
            }

            .card-description {
                display: flex;
                justify-content: center;
                align-items: center;
                height: 100%;
                margin: 0;
                padding: 0;
                font-size: 14px;
                text-align: justify;
            }

            .button {
                font-size: 12px;
                margin: 20px 0 0 0;
            }
        }

        &:hover {
            transform: translateY(-2px) scale(1.02);
        }
    }

    @media (max-width: 1200px) {
        .portfolio-row {
            margin: 0 auto;
            width: 90%;
        }

        .portfolio-card {
            flex-direction: row;
            height: 250px !important;
            width: 49%;

            .card-img {
                width: 45%;
                height: 100%;
            }

            .card-caption {
                padding: 24px;
                height: 100%;
                width: 55%;
                border-top: none;
                border-left: 1px solid #ddd;

                .card-title {
                    height: unset;
                    font-size: 18px;
                    margin: 0;
                }

                .card-description {
                    justify-content: flex-start;
                    font-size: 13px;
                }

                .button {
                    margin-top: 0;
                }
            }
        }
    }

    @media (max-width: 1070px) {
        .portfolio-row {
            width: 640px;
        }

        .portfolio-card {
            width: 100%;

            .card-caption {
                justify-content: center;
                height: 100%;

                .card-title {
                    height: unset;
                    font-size: 22px;
                }

                .card-description {
                    justify-content: flex-start;
                }
            }
        }
    }

    @media (max-width: 640px) {
        .portfolio-row {
            width: 90%;
        }

        .portfolio-card {
            .card-caption {
                .card-title {
                    font-size: 20px;
                }
            }
        }
    }

    @media (max-width: 550px) {
        .portfolio-card {
            .card-caption {
                .card-title {
                    font-size: 18px;
                }
            }
        }
    }

    @media (max-width: 520px) {
        .portfolio-row {
            justify-content: center;
            align-items: center;
        }
        .portfolio-card {
            flex-direction: column;
            align-items: center;
            width: 280px;
            height: 464px !important;

            .card-img {
                height: 200px;
                width: 100%;
            }

            .card-caption {
                border-top: 1px solid #ddd;
                border-left: none;
                padding: 24px;
                height: 250px !important;
                width: 100%;

                .card-title {
                    font-size: 20px;
                }

                .card-description {
                    font-size: 14px;
                }

                .button {
                    margin-top: 16px;
                }
            }

            &:nth-child(n+3) .card-caption .card-description {
                margin-top: 16px;
            }
        }
    }
}

.process {
    background-color: #eee;
    text-align: center;
    padding-bottom: 36px;
}
.process h2 {
    margin: 36px 0px 30px;
}
.process h3 {
    font-weight: bold;
}
.process i {
    display: block;
    font-size: 92px;
    color: #888;
    margin: 10px 0px;
}
.process a {
    font-size: 16px;
}
.process .row > .medium-6 {
    border-right: 1px solid #ccc;
    text-align: center;
}
.process .row > .medium-6:last-child {
    border-right: none;
}
.process p {
    padding-left: 20px;
    padding-right: 20px;
}
.process .button {
    margin-top: 12px;
}

.testimonials {
    text-align: center;
    overflow: hidden;
    padding-bottom: 24px;
}
.testimonials h2 {
    margin: 36px 0px 10px;
}
.testimonials i {
    font-size: 64px;
    color: #aaa;
    background-color: #fff;
    padding: 0px 20px;
}
.testimonials hr {
    border-color: #ddd;
    margin-top: -50px;
    margin-bottom: 40px;
}
.testimonials .large-3 {
    margin-bottom: 20px;
}
.testimonials p {
    font-size: 15px;
    padding: 0px 20px 20px;
    margin: 0;
}
.testimonials b {
    display: block;
    color: #444;
}
.testimonials span {
    display: block;
    color: #333;
    font-size: 14px;
}
.testimonials .button {
    margin-top: 16px;
    margin-bottom: 0;
}

.testimonials {
    .quote-card {
        transition: transform 0.25s ease-in-out;
        &:hover {
            transform: translateY(-2px) scale(1.02);
        }
    }
}

@media only screen and (max-width: 40em) {
    .testimonials .small-6:nth-child(4) {
        clear: both;
    }
}

.map {
    position: relative;
    clear:both;
    background-image: url("/assets/img/map.webp"), url("/assets/img/map.png");
    background-position:center center;
    height:600px;
}
.map a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.map a span {
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    background: #f8f8f8;
    color: #222;
    font-family: "Roboto";
    font-size: 13px;
    padding: 1px 8px;
}
.map > div {
    z-index: 99;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    padding: 3% 4%;
}
.map > div iframe {
    background-color: #aaa;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
}
.map > div .close-map {
    text-align: right;
    padding: 0px 20px;
    background-color: #222;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.4);
}
.map > div .close-map .fi-x {
    font-size: 32px;
    color: #fff;
    cursor: pointer;
}

.footer {
    margin-top: 0 !important;
}
