﻿.backgrounds {
    position: absolute;
    width: 100%;
    height: 100vh;
    /* overflow: hidden; */
    z-index: -1;
}

.top-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* adjust height of the background strip */
    z-index: -1;
    /* gradient background */
    background: url("/assets/Group\ 1000003904.png");
    background-repeat: repeat-x;
    /* repeat only along x-axis */
    background-size: 50% auto;
}

.services-projects-background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* adjust height of the background strip */
    z-index: -1;
    top: -40%;
    /* gradient background */
    background: url("assets/Group\ 1000003904.png");
    background-repeat: repeat-x;
    /* repeat only along x-axis */
    background-size: 100% auto;
    opacity: 1;
}

    .services-projects-background img {
        position: absolute;
        right: 0;
    }


.why-choose-us-background {
    position: relative;
    top: 100%;
    left: 0;
    width: 100%;
    height: 122.5%;
    /* adjust height of the background strip */
    z-index: -1;
    /* gradient background */
    background: url("assets/Group\ 1000003904.png");
    background-repeat: repeat-x;
    /* repeat only along x-axis */
    background-size: 100% auto;
    opacity: 1;
}

    .why-choose-us-background .background {
        position: absolute;
        right: 0;
    }

    .why-choose-us-background .ellipse_1 {
        position: absolute;
        top: 75%;
        width: 96px;
        height: 96px;
        right: 2.5%;
        z-index: -1;
    }

    .why-choose-us-background .ellipse_2 {
        position: absolute;
        top: 45%;
        width: 75px;
        height: 75px;
        right: 15%;
        z-index: -1;
    }

.main-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100% - 5rem);
    /* Adjust height based on header height */
    text-align: center;
    padding: 0 2rem;
    margin: 2rem 0;
    overflow: hidden;
}

.main-content {
    max-width: 900px;
    position: relative;
}

    .main-content .img-top-center {
        position: absolute;
        top: 0%;
        right: 50%;
        width: 96px;
        /* Adjust size as needed */
        height: 96px;
        z-index: -1;
        /* Ensure it stays behind text */
        transform: translate(50%, -100%);
    }

.main-heading {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.main-description {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #ccc;
    position: relative;
}

    .main-description .img-bottom-left {
        position: absolute;
        top: 100%;
        left: 0;
        width: 130px;
        /* Adjust size as needed */
        height: 130px;
        z-index: -1;
        /* Ensure it stays behind text */
        transform: translateY(-50%);
    }

    .main-description .img-top-right {
        position: absolute;
        Top: 0%;
        right: 0%;
        width: 96px;
        /* Adjust size as needed */
        height: 96px;
        z-index: -1;
        /* Ensure it stays behind text */
        transform: translate(50%, -25%);
    }

.main-get-started .btn {
    background: linear-gradient(92.51deg, #088FA0 0.48%, #1A4547 100%);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.section-heading {
    font-size: 2.5rem;
}

.services-section {
    padding: 1rem 0rem;
    text-align: center;
    color: white;
    height: 100%;
    position: relative;
}

    .services-section .background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

        .services-section .background img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1;
            z-index: -1;
        }


/* Scrollable Container */
.scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    padding: 1rem;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
}

    .scroll-container:active {
        cursor: grabbing;
    }

    .scroll-container::-webkit-scrollbar {
        display: none;
        /* hide scrollbar */
    }

/* Flip Card */
.flip-card {
    flex: 0 0 auto;
    width: 18rem;
    height: 400px;
    perspective: 1000px;
    /* border thickness + color */
    /* border-radius: 15px; */
    /* curve (bigger value = more curve) */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 5px solid rgba(25, 72, 74, 1);
    text-align: start;
}

.flip-card-front {
    background: #18181c;
    padding: 15px;
}

.flip-card-back {
    background: #f8f9fa;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    background: linear-gradient(to bottom, #059eb1, #1a4546);
    border: none;
    color: white;
}

.card-border-top-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
}

.card-border-bottom-left {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.card-description {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: white;
    height: 200px;
}

.card-list {
    padding: 0;
}

.btn-secondary {
    background-color: #18181c !important;
    border: 2px solid #18181c !important;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.projects-section {
    padding: 1rem 0rem;
    text-align: center;
    color: white;
    height: 100%;
    position: relative;
    width: 100%;
}

.project-background {
    position: absolute;
    top: calc(50% + 75px);
    left: 0;
    width: 100%;
    z-index: -1;
    transform: translateY(-50%);
}

.projects-section .container {
    margin: 0 auto;
    padding: 0;
}

.projects-section .section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.projects-section .project-category {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 1.25rem;
}

    .projects-section .project-category li {
        cursor: pointer;
        padding: 10px 25px;
        border-radius: 5px;
        transition: background-color 0.3s;
        background-color: #18181c;
        font-size: 1rem;
    }

        .projects-section .project-category li:hover {
            background: linear-gradient(92.51deg, #088FA0 0.48%, #1A4547 100%);
        }

.projects-section .carousel {
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.projects-section .carousel-track {
    display: flex;
    gap: 20px;
    animation: scroll 20s linear infinite;
}

.projects-section .carousel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.projects-section .stacked-carousel {
    position: relative;
    width: 600px;
    height: 400px;
    perspective: 1200px;
}

    .projects-section .stacked-carousel .card {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 600px;
        height: 350px;
        margin-left: -300px;
        margin-top: -175px;
        transition: transform 0.5s ease, z-index 0.5s, opacity 0.5s;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        border: 5px solid rgba(88, 90, 92, 1);
    }

        .projects-section .stacked-carousel .card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .projects-section .stacked-carousel .card.blur img {
            filter: blur(4px) brightness(0.7);
            /* blur + dim */
        }

.projects-section .carousel {
    padding: 1rem;
}

.why-choose-us-section {
    padding: 7.5rem 0rem;
    text-align: center;
    color: white;
    height: 100%;
}

    .why-choose-us-section .why-choose-us-container {
        display: flex;
        margin: 0 auto;
    }

    .why-choose-us-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .why-choose-us-section .section-image {
        width: 400px;
        height: auto;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .why-choose-us-section .section-list {
        list-style: none;
        padding: 0;
    }

        .why-choose-us-section .section-list li {
            margin-bottom: 1rem;
            font-size: 1rem;
            text-align: left;
        }

            .why-choose-us-section .section-list li .icon-text {
                display: flex;
            }

                .why-choose-us-section .section-list li .icon-text .icon {
                    width: 20px;
                    height: 20px;
                    margin-right: 1rem;
                }

                .why-choose-us-section .section-list li .icon-text p {
                    margin-bottom: 0;
                }

.testimonials-section {
    padding: 1rem 0rem;
    text-align: center;
    color: white;
    height: 100%;
}

    .testimonials-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .testimonials-section .ellipse_3 {
        position: absolute;
        top: -10%;
        width: 130px;
        height: 130px;
        left: 15%;
        z-index: -1;
    }

    .testimonials-section .track {
        cursor: grab;
    }

        .testimonials-section .track.grabbing {
            cursor: grabbing;
        }


    .testimonials-section .carousel-wrap {
        position: relative;
    }

    .testimonials-section .track {
        display: flex;
        gap: 20px;
        padding: 20px 10%;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        cursor: grab;
    }

        .testimonials-section .track:active {
            cursor: grabbing;
        }

    .testimonials-section .card-item {
        flex: 0 0 35%;
        scroll-snap-align: center;
        border-radius: 14px;
        padding: 28px;
        min-height: 240px;
        box-shadow: 0 18px 40px rgba(24, 24, 28, 1);
        user-select: none;
        -webkit-user-drag: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: background 0.3s, transform 0.3s;
        text-align: start;
    }

    /* default (inactive) = dark */
    .testimonials-section .card-item {
        background: linear-gradient(180deg, #161616, #222);
        border: 1px solid rgba(255, 255, 255, 0.05);
    }

        /* active card = blue gradient */
        .testimonials-section .card-item.active-card {
            background: linear-gradient(360deg, #194D51 0%, #03A3B8 100%);
            transform: scale(1.02);
        }

        .testimonials-section .card-item .rating img {
            width: 1rem;
            height: 1rem;
        }

    .testimonials-section .testimonial {
        font-size: 1rem;
        line-height: 1.6;
        opacity: 0.95;
    }

    .testimonials-section .card-item .card-footer-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .testimonials-section .meta {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .testimonials-section .avatar {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        overflow: hidden;
        flex-shrink: 0;
    }

        .testimonials-section .avatar img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .testimonials-section .author {
        font-weight: 600;
        font-size: 1rem;
    }

    .testimonials-section .role {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.6);
        margin-top: 2px;
    }

    .testimonials-section .dots {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 18px;
    }

    .testimonials-section .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        cursor: pointer;
        transition: transform .18s, background .18s;
    }

        .testimonials-section .dot.active {
            background: linear-gradient(360deg, #194D51 0%, #03A3B8 100%);
            transform: scale(1.25);
            box-shadow: 0 6px 18px rgba(0, 198, 255, 0.14);
        }

    .testimonials-section .track::-webkit-scrollbar {
        display: none;
    }

.faq-section {
    padding: 60px 0;
    color: white;
    background: rgba(24, 24, 28, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

    .faq-section .faq-title {
        font-size: 3rem;
        font-weight: 700;
        line-height: 1.2;
    }

    .faq-section .accordion-item {
        margin-bottom: 12px;
        border-radius: 8px;
        overflow: hidden;
        border: none !important;
        background-color: black;
    }

        .faq-section .accordion-item:has(.accordion-button:not(.collapsed)) {
            background: linear-gradient(360deg, #194D51 0%, #03A3B8 100%);
            color: #fff;
        }

    .faq-section .accordion-button {
        background: rgba(48, 48, 56, 1);
        color: #fff;
        font-size: 1rem;
        box-shadow: none !important;
        /* removes the white line/shadow */
        border: none !important;
    }

        .faq-section .accordion-button::after {
            content: url(/assets/plus-sign-fill.png);
            font-size: 1rem;
            color: #fff;
            transform: none !important;
            background-image: none !important;
        }

        /* Change to minus when expanded */
        .faq-section .accordion-button:not(.collapsed)::after {
            content: url(/assets/minus-sign-fill.png);
            font-size: 1.5rem;
        }

        .faq-section .accordion-button:not(.collapsed) {
            background: transparent;
            color: #fff;
        }

    .faq-section .accordion-body {
        color: #ccc;
    }

.contact-us-section {
    width: 100%;
    height: 100%;
    padding: 30px 0;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(to bottom, rgba(24, 24, 28, 1) 0%, rgba(24, 24, 28, 1) 50%, black 50%, black 100%);
}

    .contact-us-section .container {
        background: linear-gradient(360deg, #194D51 0%, #03A3B8 100%);
        border-radius: 20px;
        padding: 40px;
    }

    .contact-us-section .left-side {
        flex: 1;
        padding: 20px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contact-us-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 30px;
    }

    .contact-us-section .left-side p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 20px;
        color: #f0f0f0;
    }

    .contact-us-section .left-side .contact-btn {
        max-width: 10rem;
        background: black;
        outline: none;
        border: none;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
    }

.get-in-touch-section {
    width: 100%;
    height: 100%;
    padding: 30px 0;
    color: white;
    text-align: start;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .get-in-touch-section .container {
        border-radius: 20px;
        padding: 40px;
    }

    .get-in-touch-section .left-side {
        flex: 1;
        padding: 25px;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

        .get-in-touch-section .left-side .ellipse-4 {
            position: absolute;
            top: 5%;
            width: 50px;
            height: 50px;
            left: 5%;
            z-index: -1;
        }

        .get-in-touch-section .left-side .ellipse-5 {
            position: absolute;
            bottom: -10%;
            width: 96px;
            height: 96px;
            right: 0%;
            z-index: -1;
        }

    .get-in-touch-section .section-frame {
        padding: 20px;
    }

    .get-in-touch-section .section-title {
        font-size: 2.5rem;
        margin-top: 20px;
    }

    .get-in-touch-section .section-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 30px;
        color: rgba(158, 158, 158, 1);
    }

    .get-in-touch-section .form-control {
        margin-bottom: 20px;
        background: rgba(24, 24, 28, 1);
        color: white;
        border: none;
        border-radius: 0;
        height: 50px;
    }

        .get-in-touch-section .form-control::placeholder {
            color: rgba(158, 158, 158, 1);
        }

        .get-in-touch-section .form-control:focus {
            box-shadow: none;
            border: 1px solid #03A3B8;
            background: rgba(24, 24, 28, 1);
            color: white;
        }

    .get-in-touch-section textarea.form-control {
        height: 150px;
        resize: none;
    }

    .get-in-touch-section .get-in-touch-btn {
        background: linear-gradient(92.51deg, #088FA0 0.48%, #1A4547 100%);
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s;
        font-size: 1rem;
        margin-top: 15px;
    }

@media (max-width: 768px) {
    .testimonials-section .card-item {
        flex: 0 0 50%;
    }
}

@media (max-width: 576px) {

    .testimonials-section .card-item {
        flex: 0 0 100%;
    }

    .contact-us-section {
        padding: 15px;
    }

        .contact-us-section .container {
            padding: 10px;
        }

    .get-in-touch-section .container {
        padding: 10px;
    }

}
