﻿.how-we-work .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    margin-bottom: 3rem;
}

@media (min-width: 992px) {
    .how-we-work .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .how-we-work .steps-grid {
        gap: 1.5rem;
    }
}

.how-we-work .step-card {
    background: var(--surface-color);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 90%);
}

    .how-we-work .step-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        border-color: var(--accent-color);
    }

        .how-we-work .step-card:hover .step-icon {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            transform: scale(1.1);
        }

        .how-we-work .step-card:hover .step-arrow {
            transform: translateX(5px);
        }

    .how-we-work .step-card .step-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 80%) 0%, color-mix(in srgb, var(--accent-color), transparent 90%) 100%);
        color: var(--accent-color);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin: 0 auto 1.5rem;
        transition: all 0.3s ease;
    }

    .how-we-work .step-card .step-number {
        background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), #000 20%) 100%);
        color: var(--contrast-color);
        padding: 0.5rem 1rem;
        border-radius: 25px;
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .how-we-work .step-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 1rem;
        color: var(--heading-color);
    }

@media (max-width: 576px) {
    .how-we-work .step-card h3 {
        font-size: 1.2rem;
    }
}

.how-we-work .step-card p {
    font-size: 0.95rem;
    color: var(--default-color);
    line-height: 1.6;
    margin-bottom: 0;
}

.how-we-work .step-card .step-arrow {
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 30px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--contrast-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 2;
}

@media (max-width: 991px) {
    .how-we-work .step-card .step-arrow {
        display: none;
    }
}

.how-we-work .step-card:last-child .step-arrow {
    display: none;
}

@media (max-width: 991px) {
    .how-we-work .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .how-we-work .steps-grid {
        grid-template-columns: 1fr;
    }

    .how-we-work .step-card {
        padding: 2rem 1.5rem;
    }
}


/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features1 .nav-tabs {
    border: none;
    background: color-mix(in srgb, var(--surface-color), transparent 50%);
    border-radius: 16px;
    backdrop-filter: blur(8px);
}

    .features1 .nav-tabs .nav-item {
        margin-bottom: 15px;
    }

        .features1 .nav-tabs .nav-item:last-child {
            margin-bottom: 0;
        }

    .features1 .nav-tabs .nav-link {
        padding: 20px;
        border: none;
        border-radius: 12px;
        background: var(--surface-color);
        transition: all 0.4s ease;
        position: relative;
        overflow: hidden;
        cursor: pointer;
    }

        .features1 .nav-tabs .nav-link .d-flex {
            position: relative;
            z-index: 1;
        }

        .features1 .nav-tabs .nav-link .icon-box {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: color-mix(in srgb, var(--accent-color), transparent 92%);
            transition: all 0.4s ease;
        }

            .features1 .nav-tabs .nav-link .icon-box i {
                font-size: 24px;
                color: var(--accent-color);
                transition: all 0.4s ease;
            }

        .features1 .nav-tabs .nav-link h4 {
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 5px 0;
            color: var(--heading-color);
            transition: all 0.4s ease;
        }

        .features1 .nav-tabs .nav-link p {
            font-size: 14px;
            margin: 0;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            transition: all 0.4s ease;
        }

        .features1 .nav-tabs .nav-link:hover {
            transform: translateY(-2px);
        }

            .features1 .nav-tabs .nav-link:hover::before {
                opacity: 1;
            }

            .features1 .nav-tabs .nav-link:hover .icon-box {
                background: var(--accent-color);
            }

                .features1 .nav-tabs .nav-link:hover .icon-box i {
                    color: var(--contrast-color);
                }

            .features1 .nav-tabs .nav-link:hover h4 {
                color: var(--accent-color);
            }

            .features1 .nav-tabs .nav-link:hover p {
                color: color-mix(in srgb, var(--default-color), transparent 20%);
            }

        .features1 .nav-tabs .nav-link.active {
            background: var(--accent-color);
        }

            .features1 .nav-tabs .nav-link.active::before {
                opacity: 0;
            }

            .features1 .nav-tabs .nav-link.active .icon-box {
                background: color-mix(in srgb, var(--contrast-color), transparent 85%);
            }

                .features1 .nav-tabs .nav-link.active .icon-box i {
                    color: var(--contrast-color);
                }

            .features1 .nav-tabs .nav-link.active h4 {
                color: var(--contrast-color);
            }

            .features1 .nav-tabs .nav-link.active p {
                color: color-mix(in srgb, var(--contrast-color), transparent 20%);
            }

.features1 .tab-content .content-box {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

    .features1 .tab-content .content-box h3 {
        font-size: 28px;
        font-weight: 700;
        color: var(--heading-color);
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 15px;
    }

        .features1 .tab-content .content-box h3::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 50px;
            height: 3px;
            background: var(--accent-color);
            border-radius: 3px;
        }

    .features1 .tab-content .content-box p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 20px;
        font-size: 16px;
        line-height: 1.6;
    }

        .features1 .tab-content .content-box p.highlight {
            background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 92%), color-mix(in srgb, var(--accent-color), transparent 95%));
            padding: 20px;
            border-radius: 12px;
            position: relative;
        }

    .features1 .tab-content .content-box .features1-list {
        list-style: none;
        padding: 0;
        margin: 30px 0 0 0;
    }

        .features1 .tab-content .content-box .features1-list li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-left: 8px;
            transition: all 0.3s ease;
        }

            .features1 .tab-content .content-box .features1-list li:last-child {
                margin-bottom: 0;
            }

            .features1 .tab-content .content-box .features1-list li i {
                font-size: 20px;
                color: var(--accent-color);
                margin-right: 12px;
            }

            .features1 .tab-content .content-box .features1-list li span {
                color: color-mix(in srgb, var(--default-color), transparent 20%);
            }

            .features1 .tab-content .content-box .features1-list li:hover {
                transform: translateX(5px);
            }

                .features1 .tab-content .content-box .features1-list li:hover span {
                    color: var(--default-color);
                }

    .features1 .tab-content .content-box .image-box {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    }

        .features1 .tab-content .content-box .image-box img {
            transition: all 0.6s ease;
        }

        .features1 .tab-content .content-box .image-box:hover img {
            transform: scale(1.05);
        }

        .features1 .tab-content .content-box .image-box::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.05) 100%);
            pointer-events: none;
        }

.features1 .tab-pane {
    transition: all 0.4s ease;
}

    .features1 .tab-pane.fade {
        transform: translateY(10px);
        opacity: 0;
    }

    .features1 .tab-pane.show {
        transform: translateY(0);
        opacity: 1;
    }

@media (max-width: 991px) {
    .features1 .nav-tabs {
        margin-bottom: 30px;
    }

        .features1 .nav-tabs .nav-link {
            padding: 15px;
        }

            .features1 .nav-tabs .nav-link .icon-box {
                width: 40px;
                height: 40px;
            }

                .features1 .nav-tabs .nav-link .icon-box i {
                    font-size: 20px;
                }

    .features1 .tab-content .content-box {
        padding: 30px;
    }

        .features1 .tab-content .content-box h3 {
            font-size: 24px;
        }
}

@media (max-width: 767px) {
    .features1 .nav-tabs .nav-item {
        margin-bottom: 10px;
    }

    .features1 .nav-tabs .nav-link h4 {
        font-size: 15px;
    }

    .features1 .nav-tabs .nav-link p {
        font-size: 13px;
    }

    .features1 .tab-content .content-box {
        padding: 25px;
    }

        .features1 .tab-content .content-box h3 {
            font-size: 22px;
        }

        .features1 .tab-content .content-box p {
            font-size: 15px;
        }
}


/* Banner */

#posts {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

    #posts .inner {
        margin: 0 auto;
    }

    #posts .button.icon {
        padding: 0;
        width: 3em;
        height: 3em;
        line-height: 3em;
        border-radius: 100%;
        text-align: center;
    }

        #posts .button.icon:before {
            margin-right: 0;
            color: #FFF;
        }

        #posts .button.icon.fa-chevron-left:before {
            margin-left: -3px;
        }

        #posts .button.icon.fa-chevron-right:before {
            margin-left: 3px;
        }

    #posts ul.actions li {
        width: 49.5%;
        margin: 0;
        padding: 0;
    }

        #posts ul.actions li:first-child {
            text-align: left;
        }

        #posts ul.actions li:last-child {
            text-align: right;
        }

@media screen and (max-width: 736px) {

    #posts {
        background-attachment: scroll;
        background-size: cover;
    }

        #posts h2 {
            font-size: 1.5em;
        }
}

@media screen and (max-width: 480px) {

    #posts ul.actions li {
        display: inline-block;
        width: 49%;
        margin: 0;
        padding: 0;
    }
}

.posts {
    display: -ms-flexbox;
    -ms-flex-pack: center;
    -ms-flex-align: center;
    -moz-align-items: center;
    -webkit-align-items: center;
    -ms-align-items: center;
    align-items: center;
    display: -moz-flex;
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -moz-justify-content: center;
    -webkit-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    /*background-size: 100% auto;*/
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 0;
    min-height: 100vh;
    height: 100vh;
    position: relative;
    text-align: center;
    overflow: hidden;
}

    .posts .box {
        margin: 0;
    }

@-moz-keyframes inner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes inner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes inner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes inner {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.posts .inner {
    -moz-transform: scale(1.0);
    -webkit-transform: scale(1.0);
    -ms-transform: scale(1.0);
    transform: scale(1.0);
    -moz-transition: opacity 1.25s ease, -moz-transform 1s ease;
    -webkit-transition: opacity 1.25s ease, -webkit-transform 1s ease;
    -ms-transition: opacity 1.25s ease, -ms-transform 1s ease;
    transition: opacity 1.25s ease, transform 1s ease;
    opacity: 0;
    position: relative;
    z-index: 2;
}

    .posts .inner.current {
        opacity: 1;
    }

.posts:before {
    -moz-transition: opacity 3s ease;
    -webkit-transition: opacity 3s ease;
    -ms-transition: opacity 3s ease;
    transition: opacity 3s ease;
    -moz-transition-delay: 1.25s;
    -webkit-transition-delay: 1.25s;
    -ms-transition-delay: 1.25s;
    transition-delay: 1.25s;
    /*content: '';*/
    display: block;
    background-color: #000;
    background-size: cover;
    /*background-size: 100% auto;*/
    height: 100%;
    left: 0;
    opacity: 0.45;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

@-moz-keyframes more {
    0% {
        bottom: -3em;
    }

    100% {
        bottom: 2em;
    }
}

@-webkit-keyframes more {
    0% {
        bottom: -3em;
    }

    100% {
        bottom: 2em;
    }
}

@-ms-keyframes more {
    0% {
        bottom: -3em;
    }

    100% {
        bottom: 2em;
    }
}

@keyframes more {
    0% {
        bottom: -3em;
    }

    100% {
        bottom: 2em;
    }
}

.posts .more {
    background-color: rgba(255, 255, 255, 0.15);
    border: 0;
    border-radius: 1em 1em 0 0;
    bottom: -3em;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    height: 3em;
    left: 50%;
    margin-left: -1.5em;
    overflow: hidden;
    position: absolute;
    text-indent: 3em;
    white-space: nowrap;
    width: 3em;
    z-index: 2;
    border-radius: 100%;
    text-decoration: none;
}

    .posts .more:before {
        -moz-osx-font-smoothing: grayscale;
        -webkit-font-smoothing: antialiased;
        font-family: FontAwesome;
        font-style: normal;
        font-weight: normal;
        text-transform: none !important;
    }

    .posts .more.current {
        -moz-transition: height 0.2s ease;
        -webkit-transition: height 0.2s ease;
        -ms-transition: height 0.2s ease;
        transition: height 0.2s ease;
        -moz-animation: more 0.75s ease-out 2s forwards;
        -webkit-animation: more 0.75s ease-out 2s forwards;
        -ms-animation: more 0.75s ease-out 2s forwards;
        animation: more 0.75s ease-out 2s forwards;
    }

    .posts .more:hover {
        background: none;
        color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 1px 0 rgba(255, 255, 255, 0.5);
    }

        .posts .more:hover:before {
            color: rgba(255, 255, 255, 0.5);
        }

    .posts .more:before {
        content: '\f107';
        color: #FFF;
        font-size: 2em;
        position: absolute;
        right: .425em;
        bottom: -.075em;
    }

@media screen and (max-width: 980px) {

    @-moz-keyframes more {
        0% {
            bottom: -3em;
        }

        100% {
            bottom: 1.5em;
        }
    }

    @-webkit-keyframes more {
        0% {
            bottom: -3em;
        }

        100% {
            bottom: 1.5em;
        }
    }

    @-ms-keyframes more {
        0% {
            bottom: -3em;
        }

        100% {
            bottom: 1.5em;
        }
    }

    @keyframes more {
        0% {
            bottom: -3em;
        }

        100% {
            bottom: 1.5em;
        }
    }
}

@media screen and (max-width: 736px) {

    .posts {
        min-height: 0;
        height: auto;
        background-attachment: scroll;
    }

        .posts h2 {
            font-size: 1.5em;
        }
}

@media screen and (max-width: 480px) {

    .posts h2 {
        font-size: 1.25em;
    }

    .posts .more {
        display: none;
    }

    .posts .button {
        width: 100%;
    }
}
