/* global setting */
img {
    width: 100%;
    display: block;
}

:root {
    --light-color: rgba(247, 247, 247, 1);
    --dark-color: rgba(52, 52, 52, 1);
    --darker-color: rgba(28, 28, 28, 1);
}

html {
    scroll-padding: 3rem;
}

.bg-lightcolor {
    background-color: var(--light-color);
}

.bg-darkercolor {
    background-color: var(--darker-color);
}

.txt-dark-cust {
    color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat';
}

p,
a,
button {
    font-family: 'Poppins';
}

.txt-mont {
    font-family: 'Montserrat';
}

.txt-pop {
    font-family: "Poppins", sans-serif;
}

.progress,
.progress-stacked {
    --bs-progress-height: 1.5rem;
}

.inner-shadow {
    box-shadow: inset 0 0 7px rgba(56, 56, 56, 0.3);
}

/* =========== */
/* navbar */
.navbar {
    .container {
        .navbar-brand {
            font-weight: 700;
        }

        .navbar-collapse {
            ul {
                li {
                    a {
                        font-size: 0.875rem;
                        font-weight: 500;
                        position: relative;

                        &::before {
                            content: '';
                            position: absolute;
                            bottom: 0.4375rem;
                            width: 0;
                            height: 0.0938rem;
                            transition: all 0.3s ease;
                        }

                        &:hover::before {
                            width: 75%;
                        }
                    }

                    a.active {
                        position: relative;

                        &::before {
                            content: '';
                            position: absolute;
                            bottom: 0.4375rem;
                            width: 75%;
                            height: 0.0938rem;
                            background-color: var(--darker-color);
                        }
                    }

                }
            }
        }
    }
}

/* scroll change */
.navbar {
    background-color: transparent;
    transition: background-color 0.5s ease-in-out;
}

.navbar a.nav-link {
    color: #fff !important;

    &::before {
        background-color: #fff !important;
    }
}

.navbar a.navbar-brand {
    color: #fff !important;
}

.navbar.scrolled {
    background-color: #fff;
}

.navbar.scrolled a.nav-link {
    color: #333 !important;

    &::before {
        background-color: #333 !important;
    }
}

.navbar.scrolled a.navbar-brand {
    color: #333 !important;
}

/* ============= */
/* home */
.home {
    min-height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../images-daniels/exam-image01.jpg);
    background-position: center center;
    background-attachment: fixed;
    background-size: cover;

    .container {
        .caption {
            span {
                font-size: 3.125rem;
                font-weight: 800;
            }

            h1 {
                font-size: 3.75rem;
                font-weight: 200;

                span {
                    font-size: 3.75rem;
                    font-weight: 400;
                }
            }
        }

        .home-icons {
            li {
                width: 1.875rem;
                height: 1.875rem;
                display: flex;
                justify-content: center;
                align-items: center;
                border-radius: 50%;

                a {
                    text-decoration: none;
                    color: white;
                }
            }
        }
    }
}

/* ============= */
/* section-header */
.section-header-dark {
    display: flex;
    justify-content: center;

    h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--dark-color);
        background-image: linear-gradient(180deg, var(--light-color)0% 50%, rgba(0, 0, 0, 0)50%), url(../images-daniels/dots.png);
        background-position: center 10%;
    }
}

.section-header-light {
    display: flex;
    justify-content: center;

    h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--dark-color);
        background-image: linear-gradient(180deg, white 0% 50%, rgba(0, 0, 0, 0)50%), url(../images-daniels/dots.png);
        background-position: center 10%;
    }
}

/* ========== */
/* about */
.about {
    .container {
        .row {
            .col-lg-5 {
                .image-container {
                    position: relative;

                    img {
                        padding-left: 1.875rem;
                        margin-bottom: 1.875rem;
                    }

                    &::after {
                        content: '';
                        position: absolute;
                        background-image: url(../images-daniels/dots.png);
                        background-repeat: repeat;
                        bottom: -1.875rem;
                        left: 0;
                        height: 80%;
                        width: 80%;
                        z-index: -1;

                    }
                }
            }

            .col-lg-7 {
                .about-caption {
                    header {
                        h3 {
                            font-size: 1.875rem;
                            font-weight: 800;
                            margin-bottom: 0;
                            color: var(--dark-color);
                        }
                    }

                    span {
                        font-size: 0.9375rem;
                        color: rgb(153, 153, 153);
                        letter-spacing: 0.125rem;
                    }

                    p {
                        padding-block: 0.9375rem;
                        font-size: 0.9375rem;
                        color: #738182;

                        span {
                            font-weight: 700;
                            color: #738182;
                            letter-spacing: 0;
                        }

                    }

                    .progress-bars {
                        .progress-bar-container {
                            margin-block: 1.875rem;

                            .progress {

                                .progress-bar {
                                    position: relative;

                                    &::before {
                                        content: '';
                                        position: absolute;
                                        color: white;
                                        left: 1%;
                                        font-size: 0.875rem;

                                    }

                                    &::after {
                                        content: '';
                                        position: absolute;
                                        color: white;
                                        right: 1%;
                                        font-size: 0.875rem;
                                    }
                                }

                            }
                        }

                        #web-design {
                            .progress-bar {
                                &::before {
                                    content: 'Web Design';
                                }

                                &::after {
                                    content: '95%';
                                }
                            }
                        }

                        #branding {
                            .progress-bar {
                                &::before {
                                    content: 'Branding';
                                }

                                &::after {
                                    content: '80%';
                                }
                            }
                        }

                        #development {
                            .progress-bar {
                                &::before {
                                    content: 'Development';
                                }

                                &::after {
                                    content: '90%';
                                }
                            }
                        }
                    }

                    .about-buttons {
                        button {
                            font-size: 0.875rem;
                            font-weight: light;
                            border: 0.0625rem solid black;
                            padding-inline: 1.75rem;
                            padding-block: 0.625rem;
                        }

                        #download-btn {
                            color: white;
                            background-color: black;
                            transition: all 0.3s ease;

                            &:hover {
                                color: black;
                                background-color: transparent;
                            }
                        }

                        #contact-btn {
                            color: black;
                            background-color: transparent;
                            transition: all 0.3s ease;

                            &:hover {
                                color: white;
                                background-color: black;
                            }
                        }
                    }
                }
            }
        }
    }
}

/* ============ */
/* services */
.services {
    .container {
        .services-items {
            .col-md-6 {
                .services-item {
                    box-shadow: 0.125rem 0.125rem 0.625rem rgba(0, 0, 0, 0.1);

                    .icon {
                        font-size: 1.875rem;
                        color: var(--dark-color);
                        background-color: var(--light-color);
                        width: 5rem;
                        height: 5rem;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-inline: auto;
                        border-radius: 50%;
                        transition: all 0.5s ease;
                    }

                    &:hover .icon {
                        background-color: var(--dark-color);
                        color: var(--light-color);
                    }

                    h3 {
                        font-size: 1.125rem;
                        font-weight: 800;
                        color: var(--dark-color);
                    }

                    p {
                        font-size: 0.875rem;
                    }
                }
            }
        }
    }
}

/* ============= */
/* portfolio */
.protfolio {
    .container {
        .nav {
            .nav-link {
                background-color: transparent;
                color: var(--darker-color);
                font-weight: bolder;
                position: relative;

                &::before {
                    content: '';
                    position: absolute;
                    width: 0;
                    height: 0.125rem;
                    background-color: var(--darker-color);
                    bottom: 0.1875rem;
                    left: 0.5rem;
                    transition: all 0.3s ease;
                }

                &:focus::before {
                    width: 80%;
                }
            }

            .nav-link.active {
                &::before {
                    content: '';
                    position: absolute;
                    width: 80%;
                    height: 0.125rem;
                    background-color: var(--darker-color);
                    bottom: 0.1875rem;
                    left: 0.5rem;
                    transition: all 0.3s ease;
                }
            }
        }

        .portfolio-items {
            .col-md-6 {
                .portfolio-item {
                    position: relative;
                    overflow: hidden;

                    .icon-layer {
                        position: absolute;
                        inset: 2%;
                        background-color: white;
                        transform: translateY(5%);
                        transition: all 0.5s ease;
                        opacity: 0;

                        p {
                            transform: translateY(-20px);
                            opacity: 0;
                            transition: all 0.5s ease;
                        }

                        ul {
                            transform: translateY(20px);
                            opacity: 0;
                            transition: all 0.5s ease;

                            li {
                                width: 1.875rem;
                                height: 1.875rem;
                                background-color: var(--darker-color);
                                border: 1px solid var(--darker-color);
                                border-radius: 50%;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                margin-inline: 0.3125rem;

                                a {
                                    color: white;
                                }

                                &:hover {
                                    background-color: white;
                                }

                                &:hover a {
                                    color: var(--darker-color);
                                }
                            }
                        }
                    }

                    &:hover .icon-layer {
                        transform: translateY(0);
                        opacity: 1;
                    }

                    &:hover .icon-layer p {
                        transform: translateY(0);
                        opacity: 1;
                    }

                    &:hover .icon-layer ul {
                        transform: translateY(0);
                        opacity: 1;
                    }
                }
            }
        }
    }
}

/* =============== */
/* clients */
.testomin {
    .container {

        .carousel {
            .carousel-indicators {
                button {
                    width: 0.625rem;
                    height: 0.625rem;
                    margin-inline: 0.625rem;
                    border-radius: 50%;
                    background-color: rgb(214, 214, 214);

                    &:focus {
                        background-color: #869691;
                    }
                }
            }
        }



        .client-feedback {
            .image-container {
                width: 8%;
                border-radius: 50%;
                overflow: hidden;
                margin-inline: auto;
            }

            h4 {
                font-size: 1rem;
                font-weight: 600;
            }

            p {
                font-size: 0.9375rem;
            }

            span {
                font-size: 0.75rem;
            }
        }
    }
}

/* =========== */
/* statistics */
.statistics {
    .container {
        .row {
            .col-md-6 {
                .statistic-item {
                    p {
                        font-weight: 900;
                    }
                }
            }
        }
    }
}

/* =========== */
/* our-team */
.our-team {
    .container {
        .row {
            .col-md-6 {
                .team-item {
                    .image-container {
                        position: relative;
                        overflow: hidden;

                        &:hover img {
                            transform: scale(1.1);
                        }

                        img {
                            transition: all 0.5s ease;
                        }

                        .icons-layer {
                            position: absolute;
                            inset: 2%;
                            background-color: rgba(255, 255, 255, 0.9);
                            transform: scale(0.5);
                            opacity: 0;
                            transition: all 0.5s ease;

                            ul {
                                li {
                                    width: 2.5rem;
                                    height: 2.5rem;
                                    margin-inline: 5px;
                                    display: flex;
                                    justify-content: center;
                                    align-items: center;
                                    border: 0.0625rem solid var(--darker-color);
                                    border-radius: 50%;
                                    background-color: var(--darker-color);

                                    &:hover {
                                        background-color: white;
                                    }

                                    &:hover a {
                                        color: var(--darker-color);
                                    }

                                    a {
                                        color: white;
                                        font-size: 1.25rem;
                                    }
                                }
                            }
                        }
                    }

                    .item-caption {
                        background-color: #5B5B5B;

                        p {
                            font-weight: 700;
                            font-size: 1.25rem;
                        }
                    }

                    &:hover .image-container .icons-layer {
                        transform: scale(1) rotateY(360deg);
                        opacity: 1;
                    }
                }
            }
        }
    }
}

/* ============== */
/* contact */
.contact-us {
    .container {
        .contact-details {
            .col-lg-4 {
                .contact-card {
                    .icon {
                        width: 4.5rem;
                        height: 4.5rem;
                        margin-inline: auto;
                        border-radius: 50%;
                        background-color: var(--light-color);
                        color: (var(--dark-color));
                        transition: all 0.3s ease;

                        &:hover {
                            background-color: var(--dark-color);
                            color: var(--light-color);
                        }

                        i {
                            font-size: 1.5625rem;

                        }
                    }
                }
            }
        }

        form {
            input:focus {
                outline: none;
            }

            textarea:focus {
                outline: none;
            }

            .form-btn {
                button {

                    font-size: 0.875rem;
                    font-weight: light;
                    border: 0.0625rem solid black;
                    padding-inline: 2.5rem;
                    padding-block: 0.625rem;



                    color: white;
                    background-color: black;
                    transition: all 0.3s ease;

                    &:hover {
                        color: black;
                        background-color: transparent;
                    }
                }
            }
        }
    }
}

/* ============== */
/* footer */
.daniels-footer .container p {
    font-size: 0.9375rem;
    color: rgb(116, 129, 130);
}

/* =============== */