* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    scroll-behavior: smooth;
    color: #000;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: none;
    color: var(--hover-text);
}

:root {
    --themeColor: #333232;
    --textColor: #FAFAFA;
    --themeStroke: #646464;
    --activeText: #EA4343;
    --containerBg: #3C3C3C;
    --listColor: #919191;
    --hover-background: #f8f8f8;
    --hover-text: #EA4343;
    --background-color: #FAFAFA;
}

.main {
    width: 100%;
    height: auto;
    background-color: #f3f3f3;

}

/* Fullscreen loader style */
#loader {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: #333232;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    transition: transform 1s ease, opacity 0.5s ease;
}

/* Simple spinner */
.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #EA4343;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

.open-portfolio-overlay {
    display: block !important;
}

.body-overflow {
    overflow: hidden;
}

.portfolio-overlay {
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 100000000;
    display: none;
    top: 0;
}


.container-overlay-portfolio {
    width: 100%;
    margin: auto;
    height: 100vh;
    background-color: var(--themeColor);
    position: relative;
    overflow-y: scroll;
    padding-bottom: 50px;


}

.cancel-portfolio {
    position: absolute;
    color: var(--textColor);
    font-size: 20px;
    top: 15px;
    right: 20px;
    cursor: pointer;
    z-index: 1000;
}

.single-port-image {}

.single-portfolio-desc {
    padding: 20px;

    &>p {
        color: var(--textColor);
        margin: 14px 0;
    }
}

.single-portfolio-title {
    margin-bottom: 20px;
    color: var(--textColor);

    & h3 {
        font-size: 24px;
        font-weight: 500;
        color: var(--textColor);
    }

    &>span {
        color: var(--textColor);
    }
}

.data-list {

    &>ul {
        list-style: none;

        &>li {
            padding: 11px 0;
            position: relative;
            display: block;
            width: auto;
            font-size: 16px;
            word-break: break-word;
            text-align: right;
            color: var(--textColor);

            &>strong {
                float: left;
                color: var(--textColor);
            }

        }

        & a {
            color: var(--textColor);
        }

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

.bottom-div-portfolio {
    margin: 30px 0;
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;

    &>p {
        color: var(--textColor);
        line-height: 2.2;
    }

    &>span {

        padding: 6px;

    }

    & .portfolio_tags {
        display: inline-block;
        padding: 3px 6px;
        border: solid 1px var(--activeText);
        margin: 0 5px;
        color: var(--activeText);
    }
}

.portfolio-slider .owl-stage-outer,
.portfolio-slider .owl-stage-outer div {
    height: 300px;
}

.thumb {
    width: 160px !important;
    object-fit: cover;
    cursor: zoom-in;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    margin: auto;
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    z-index: 1200;
}

.lightbox.show {
    display: flex;
}

.lb-inner {
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 12px;
    background: #111;
}

.img-wrap {
    width: 100%;
    height: 100vh;
    overflow: auto;
}

.lightbox img {
    max-width: none;
    height: auto;
}

.close {
    position: absolute;
    right: 10px;
    top: 5px;
    padding: 8px;
    border-radius: 8px;
    background: transparent;
    z-index: 1000;
    cursor: pointer;
    color: var(--activeText);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Hide loader when page is ready */
body.loaded #loader {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.container {
    width: 100vw;
}

.sticky {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;

}

.header {
    padding: 5px;
    width: 100%;
    display: grid;
    grid-template-columns: 85% 1fr;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
    background-color: var(--background-color);


}

header ul li a:hover span,
header ul li a:hover span i,
header ul li a:hover i {
    color: var(--hover-text);
}

.desktop-header {
    display: none;
}

.profile {
    padding: 5px 10px;
}

.title-text {
    font-size: 15px;
    line-height: 1.7;
    font-weight: 500;
}

.title-text-small {
    font-size: 14px;
    line-height: 1.7;
    font-weight: 400;
}

.hamburger {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hamburger>i {
    cursor: pointer;
    font-size: 24px;
}

.hamburger>i:hover {
    color: var(--hover-text);
}

.dropdown {
    position: absolute;
    width: 100%;
    height: auto;
    max-height: 0px;
    overflow: hidden;
    transition: all .75s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .05);
    z-index: 99;
    background-color: var(--background-color)
}

.dropdown::before {
    content: "";
    display: block;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
    /* background: radial-gradient(ellipse at top, rgba(197, 202, 213, 0.15) 0%, rgba(255, 255, 255, 0) 70%); */
    background: -webkit-radial-gradient(top, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: -moz-radial-gradient(top, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(ellipse at top, #ddd 0%, rgba(255, 255, 255, 0) 70%);
}

.open {
    max-height: 500px;
}

.menu-item {
    display: block;
    text-decoration: none;

    transition: all 0.2s ease;
}

.menu-item:hover {
    background-color: var(--hover-background);
}

.menu-item::after {
    content: "";
    display: block;
    top: 0;
    bottom: auto;
    width: 100%;
    height: 1px;
    /* background: radial-gradient(ellipse at top, rgba(197, 202, 213, 0.15) 0%, rgba(255, 255, 255, 0) 70%); */
    background: -webkit-radial-gradient(top, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: -moz-radial-gradient(top, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(ellipse at top, #ddd 0%, rgba(255, 255, 255, 0) 70%);
}

.menu-item>span {
    display: flex;
    padding: 10px 20px;
    align-items: center;
}

.menu-item>span>i {
    margin-right: 15px;
    font-size: 18px;
    transition: all 0.2s ease;
}

.menu-item:hover>span>i {
    color: var(--hover-text);
}

.about-section {
    width: 100%;
    height: auto;
    position: relative;
    background-color: var(--background-color);
    margin-top: 60px;
}

.about-card {
    padding: 30px 40px 25px 40px;
}

.about-img {
    height: 45%;
    width: auto;
    margin: auto;
    border-radius: 10% 10% 10% 10%;
    overflow: hidden;
}

img {
    width: 100%;
    height: 100%;
}

.about-title-div {
    padding: 25px 0;
    text-align: center;
}

.about-name {
    font-size: 25px;
    font-weight: 600;
    padding-top: 10px;
}

.about-profession {
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
}

.icons {
    display: inline-block;
    margin: 0 3px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 16px;
    line-height: 42px;
    text-align: center;

}

.icons>i {
    font-size: 20px;
}

.icons:hover>i {
    color: var(--hover-text);
}

.links {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    flex-direction: row;
    z-index: 10;
    position: relative;
}

.links::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: -moz-radial-gradient(center, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: -webkit-radial-gradient(center, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(ellipse at center, #ddd 0%, rgba(255, 255, 255, 0) 70%);
}

.links>.link-btn {
    display: block;
    height: 70px;
    width: 100%;
    line-height: 70px;
    text-align: center;
    position: relative;
    text-decoration: none;
}

.links>.link-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: -moz-radial-gradient(center, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: -webkit-radial-gradient(center, ellipse cover, #ddd 0%, rgba(255, 255, 255, 0) 70%);
    background: radial-gradient(ellipse at center, #ddd 0%, rgba(255, 255, 255, 0) 70%);
}

.intro-section,
.skill-section,
.services-section,
.project-section,
.experience-section,
.testimonial-section,
.blog-section,
.contact-section {
    margin-top: 15px;
    padding: 25px 30px 25px 30px;
    background-color: var(--background-color);
    position: relative;
    z-index: 100;
}

.title-icon {

    font-size: 14px;
    border-radius: 30px;
    border: solid 1px rgba(0, 0, 0, .05);
    padding: 5px 15px;
    text-align: center;
    font-weight: 300;

    &>i {
        margin-right: 8px;
    }
}

.section-title {
    margin-top: 10px;
    font-size: 24px;
    font-weight: 500;
}

.intro-subtitle {
    font-size: 18px;
    display: inline-block;
    position: relative;
    line-height: 1.2;
    margin-bottom: 15px;
}

.intro-title {
    font-size: 26px;
}

.intro-text {
    margin-top: 25px;
    padding-bottom: 15px;
}

.skill-title,
.services-title,
.project-title,
.experience-title,
.edu-certi-title,
.testimonial-title {
    padding: 17px 0;
}

.skill-list-grid,
.services-list-grid,
.project-list-grid,
.edu-grid,
.blog-list-grid,
.form-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.skill-item,
.services-item,
.project-item,
.blog-item {
    padding: 15px 0;
}

.skill-item-container,
.services-item-container,
.project-item-container,
.blog-item-container {
    position: relative;
    border: solid 1px rgba(0, 0, 0, .05);
    border-radius: 16px;
}

.skill-item-content {
    padding: 30px 30px 0;

}

.skill-item-title {
    margin-bottom: 30px;
    display: flex;
}

.skill-item-img {
    width: 40px;
    margin-right: 20px;
}

.skill-item-progress {
    height: 3px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, .05);

}

.progress {
    width: 60%;
}

.skill-item-value {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 12px;
    border-radius: 30px;
    border: solid 1px rgba(0, 0, 0, .05);
    padding: 3px 10px;
    text-align: center;
}

.progress {
    background-color: #323232;
    display: block;
    height: 100%;
}

.skills-pie-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.skills-pie-item {
    padding: 10px;

}

.pie-item-container {
    border: solid 2px rgba(0, 0, 0, .05);
    border-radius: 5px;
    padding: 15px 20px;
}

.pie-item-text-con {
    margin-top: 25px;
    text-align: center;
}

.skills-pie-progress-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: conic-gradient(#323232 0% 90%, transparent 40% 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.skills-pie-progress-text-container {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pie-content {

    & .image-con {
        width: 32px;
    }

    & div {
        text-align: center;
    }
}

.services-item-content {
    padding: 30px 20px;
}

.service-item-title {
    display: flex;
    align-items: center;

}

.service-title-image {
    max-width: 50px;
    margin-right: 25px;
}

.service-item-pra {
    margin-top: 30px;

    &>p {
        margin: 0 0 25px;
    }
}

.project-item-content {
    padding: 15px;
}

.project-item-image {
    border-radius: 15px;
    overflow: hidden;
}

.project-item-desc {
    padding-top: 20px;
    padding-right: 10px;
    padding-left: 10px;

    &>a {
        padding-right: 50px;
        padding-bottom: 15px;
        display: block;
        font-size: 17px;
        font-weight: 500;
    }

    &>.category {
        margin-bottom: 10px;
        padding: 4px 15px;
        font-size: 12px;
        background: rgba(0, 0, 0, .06);
        color: #646464;
        border: none !important;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        -webkit-transition: all .4s;
        transition: all .4s;

    }

    &::before {
        content: '';
        bottom: -28px;
        right: 0;
        width: 45px;
        height: 45px;
        line-height: 45px;
        font-family: unset;
        font-weight: 400;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }

    &::after {
        content: '';
        border: solid 1px black;
        position: absolute;
        /* background-color: rgba(0, 0, 0, 1); */
        background-image: url('../images/arrow-right-solid.svg');
        background-size: 16px;
        background-repeat: no-repeat;
        background-position: center center;
        transform: rotate(-45deg);
        -webkit-transform:
            rotate(-45deg);
        filter: invert(1);

        bottom: 30px;
        right: 20px;
        width: 35px;
        height: 35px;
        line-height: 45px;
        font-family: unset;
        font-weight: 400;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        text-align: center;
    }
}

.experience-slider {
    position: relative;
    text-align: center;

    & .owl-stage-outer::before {
        content: "";
        width: 100%;
        height: 1px;
        background-color: #000;
        top: 52px;
        position: absolute;
        left: 0;
    }

    & .exp-date {
        margin-bottom: 60px;
        text-align: center;
        position: relative;

        &::before {
            content: "";
            position: absolute;
            width: 10px;
            height: 10px;
            background-color: #000;
            left: calc(50% - 5px);
            bottom: -35px;
            border-radius: 30px;

        }
    }

    & .exp-position {
        margin-bottom: 10px;
    }

    & .exp-desc {
        margin-top: 15px;

    }
}

.edu-certi-slider {


    & .item {
        margin: 30px 0 30px 15px;
        padding: 20px;
        border-radius: 16px;
        -webkit-border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 1);
        background: rgba(255, 255, 255, .02);
    }
}

.cer-edu-date {
    margin: 0 0 11px;
    padding: 0 5px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    font-size: 13px;
    line-height: 18px;
    color: #9a9a9a;
    font-weight: 400;
    border: 1px solid #ddd;
    border-top-color: rgb(221, 221, 221);
    border-right-color: rgb(221, 221, 221);
    border-bottom-color: rgb(221, 221, 221);
    border-left-color: rgb(221, 221, 221);
    border-radius: 4px;
    -webkit-border-radius: 4px
}

.course-desc {
    margin: 10px 0;
}

.edu-grid>.item {
    margin: 30px 0 30px 15px;
    padding: 20px;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, .02);
}

.testimonial-slider {
    & .item {
        background: linear-gradient(120deg, rgba(255, 255, 255, .02), rgba(0, 0, 0, .2));
        border: 1px solid rgba(255, 255, 255, .06);
        padding: 40px;
        border-radius: 16px;

        & .testi-rating {
            margin-bottom: 15px;



        }

        & .testi-text {
            margin-bottom: 30px;
            text-align: left;
        }

        & .testi-user {
            display: grid;
            grid-template-columns: 100px auto;

            &>.user-image {
                margin-right: 30px;
                width: 70px;
                line-height: 0;

                & img {
                    width: 70px;
                    height: 70px;
                    object-fit: cover;
                    object-position: center;
                    border-radius: 50%;
                    -webkit-border-radius: 50%
                }
            }

            & .user-name {
                margin-bottom: 5px;
            }

            & .user-company {
                font-size: 12px;
            }

        }
    }
}


.blog-item-content {
    padding: 15px;
}

.blog-item-image {
    border-radius: 15px;
    overflow: hidden;
}

.blog-item-desc {
    padding-top: 20px;
    padding-right: 10px;
    padding-left: 10px;

    &>div {
        margin-bottom: 10px;
    }

    &>.category {
        margin-bottom: 10px;
        padding: 4px 15px;
        font-size: 12px;
        background: rgba(0, 0, 0, .06);
        color: #646464;
        border: none !important;
        -webkit-border-radius: 30px;
        border-radius: 30px;
        -webkit-transition: all .4s;
        transition: all .4s;

    }

}

.input-group {
    padding: 15px;
}

.input-field {
    border: solid 1px rgba(255, 255, 255, 1);
    border-radius: 10px;
    width: 100%;
    font-size: 15px;
    height: 50px;
    background: transparent;
    padding: 0 10px;
    outline: solid 1px;
}

.text-area-field {
    height: 180px;
    padding: 15px;
}

.text-area-field>textarea {
    padding: 15px;
    height: 100%;
    width: 100%;
    resize: none;
    background: transparent;
    border-radius: 10px;
    outline: none;
    font-size: 15px;
    border: solid 1px;
}

.button-group {
    padding: 15px;
}

.button-group>button {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: white;
    border: solid 1px var(--activeText);
}

.button-group>button:hover {
    padding: 15px;
    font-size: 16px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: var(--activeText);
    color: var(--textColor);
}

.g-recaptcha {
    padding: 15px;
}

@media screen and (min-width:320px) {}

@media screen and (min-width:600px) {}

@media screen and (min-width:768px) {}

@media screen and (min-width:1024px) {

    .portfolio-slider .owl-stage-outer,
    .portfolio-slider .owl-stage-outer div {
        height: 400px;
    }


    .close {
        position: absolute;
        right: 85px;
        top: 35px;
        padding: 8px;
        border-radius: 8px;
        background: transparent;
        z-index: 1000;
        color: var(--activeText);
        cursor: pointer;
    }

    .lb-inner {
        position: relative;
        max-width: 92vw;
        max-height: 92vh;
        border-radius: 12px;
        background: #111;
    }

    .slider-portfolio,
    .slider-portfolio div {
        height: 400px;
    }

    .slider-portfolio img {
        height: 100%;
    }

    .container {
        max-width: 1024px;
        margin: auto;
        min-height: 100vh;
        padding-left: 10px;
        padding: 10px;
    }

    .sticky {
        float: left;
        top: 10px;
        position: sticky;
        width: auto;
    }

    .header {
        /* height: 575px; */
        border-radius: 30px;
        width: 60px;
        /* margin-top: 10px; */
        margin-right: 25px;
        padding: 0;


    }

    .dropdown {
        display: none;
    }

    .desktop-header {
        display: block;

        &>ul {
            list-style: none;
            padding: 25px 0;
            margin: auto;
            text-align: center;
            /* width: 100%; */
            width: 60px;

            &>li {
                font-size: 18px;
                display: block;
                padding: 10px 0;
            }
        }
    }

    .hamburger {
        display: none;
    }

    .profile {
        display: none;
    }

    .about-section {
        background-color: var(--background-color);
        border-radius: 16px;
        width: 360px;
        float: left;
        position: sticky;
        top: 10px;
        margin-top: 0;
    }

    .intro-section,
    .skill-section,
    .services-section,
    .project-section,
    .experience-section,
    .testimonial-section,
    .blog-section,
    .contact-section {
        width: auto;
        padding: 35px 30px;
        background-color: var(--background-color);
        margin-left: 460px
    }

    .intro-box {
        padding: 15px;
    }

    .section-title {
        margin-top: 10px;
        font-size: 32px;
        font-weight: 500;
    }

    .intro-subtitle {
        font-size: 24px;
        display: inline-block;
        position: relative;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .intro-title {
        font-size: 52px;
        font-weight: 500;
    }

    .intro-text {
        margin-top: 25px;
    }

    .skill-title,
    .services-title,
    .project-title,
    .experience-title,
    .edu-certi-title,
    .testimonial-title {
        margin: 30px 0 15px 0;
        padding: 17px;
    }

    .skill-list-grid,
    .services-list-grid,
    .project-list-grid,
    .edu-grid,
    .blog-list-grid,
    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

    }

    .skill-item,
    .services-item,
    .project-item,
    .blog-item {
        padding: 15px;
    }

    .skills-pie-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);

    }

    .skills-pie-item {
        padding: 10px;
        width: 170px;
    }


    .portfolio-overlay {
        width: 100vw;
        height: 100vh;
        position: fixed;
        z-index: 100000000;
        display: none;

    }


    .container-overlay-portfolio {
        width: 760px;
        margin: auto;
        height: 100vh;
        background-color: var(--themeColor);
        position: relative;
        overflow-y: scroll;
        padding-bottom: 0;


    }

    .single-portfolio-desc {
        padding: 40px;

        &>p {
            color: var(--textColor);
        }
    }



}

@media screen and (min-width:1280px) {
    .container {
        max-width: 1140px;
        margin: auto;
        height: auto;
    }



}

@media screen and (min-width:1440px) {
    .container {
        max-width: 1340px;
        margin: auto;
        padding-top: 30px;
    }

    .skills-pie-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);

    }

}

@media screen and (min-width:1600px) {
    /* Styles for ultra-wide displays */
}

@media screen and (min-width:1920px) {
    /* Styles for full HD monitors or ultra-wide displays */
}