* {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: 'Avenir', 'Poppins', 'sans-serif';
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    /* background-image: url(images/PNG/bgggg.png); */
    background: #000;
    color: #fff;
    /* background-size: cover; */
    /* background-position: center; */
}

/*code to change background color*/
.navbar-nav>.active>a {
    color: #bf4848;
}

#header {
    width: 100%;
    height: 100vh;
    background-image: url(./images/1.png);
    background-size: cover;
    background-position: center;
}

.container {
    padding: 10px 10%;
    /* padding: 5vh 10vw; */
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    height: 100px;
    /* height: 15vh; */
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 20px;

}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    /* font-size: 3vh; */
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    width: 0%;
    height: 3px;
    background: #bf4848;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

.header-text {
    /* margin-top: 15%;
    font-size: 30px; */
    margin-top: 6%;
    font-size: 5vh;
}

.header-text h1 {
    /* margin-top: 20px;
    font-size: 60px; */
    margin-top: 2vh;
    font-size: 9vh;
}

.header-text h1 span {
    color: #bf4848;
}

#side-menu {
    z-index: 2;
}

/* .myPhoto {
    position: relative;
    left: 43%;
    height: 65vh;
    transform: translate(50%, -70%);
} */

.header-col-1 {
    flex-basis: 55%;
}

.header-col-2 {
    flex-basis: 40%;
}

.header-col-2 img {
    width: 100%;
    border-radius: 15px;
}

/* -- -------------------about------------------------ -- */
#about {
    width: 100%;
    /* height: 100vh; */
    height: auto;
    /* background-image: url(/images/2.png);
    background-size: cover;
    background-position: center; */
}

#about {
    padding: 20px 0;
    color: #cccccc;
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-col-1 {
    flex-basis: 35%;
}

.about-col-1 img {
    width: 100%;
    border-radius: 15px;
}

.about-col-2 {
    flex-basis: 60%;
}

.about-col-2 p {
    font-size: 2vh;
    text-align: justify;
}

.sub-title {
    /* font-size: 60px; */
    font-size: 4vw;
    font-weight: 600;
    color: #bf4848;
}

.tab-titles {
    display: flex;
    margin: 10px 0 20px;
}

.tab-links {
    margin-right: 50px;
    /* font-size: 18px; */
    font-size: 2.5vh;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tab-links::after {
    content: '';
    width: 0%;
    height: 3px;
    /* background: #ff004f; */
    background: #bf4848;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

.tab-links.active-link::after {
    width: 50%;
}

.tab-links:hover::after {
    width: 100%;
}

.tab-contents ul li {
    list-style: none;
    margin: 10px 0;
    font-size: 2vh;
}

.tab-contents ul li span {
    /* font-size: 14px; */
    font-size: 2.5vh;
    color: #bf4848;
}

.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;
}

.smiley i {
    color: #bf4848;
}

/* ----------------------services---------------------- */

#services {
    padding: 30px 0px;
    position: relative;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.services-list div {
    background-color: #474747;
    padding: 40px;
    /* font-size: 13px; */
    font-size: 2vh;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}

.services-list div i {
    /* font-size: 50px; */
    font-size: 11vh;
    margin-bottom: 30px;
}

.services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}

.services-list div button {
    text-decoration: none;
    color: #fff;
    /* font-size: 12px; */
    font-size: 2vh;
    margin-top: 20px;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    border: none;
    background: #bf4848;
}

.services-list div button:hover {
    border: 1px solid #fff;
}

.services-list div:hover {
    background: #bf4848;
    transform: translateY(-10px);
}

.service-content-box h3 {
    margin-top: 10px;
}

.tools {
    margin-right: 50px;
    margin-bottom: 10px;
    /* font-size: 18px; */
    font-size: 2.5vh;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}

.tools::after {
    content: '';
    width: 5%;
    height: 3px;
    /* background: #ff004f; */
    background: #ffffff;
    position: absolute;
    left: 0;
    bottom: -3px;
    transition: 0.5s;
}

.tools:hover::after {
    background: #fff;
}

/* ---------------portfolio--------------------- */

#portfolio {
    padding: 50px 0px;
}

.work-list .work img {
    width: 100%;
}

.work-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}

.work {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.work img {
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.layer {
    width: 100%;
    height: 0%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), #bf4848);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    /* font-size: 14px; */
    font-size: 2vh;
    transition: height 0.5s;
}

.layer h3 {
    font-weight: 600;
    /* margin-bottom: 20px; */
    margin-bottom: 1vh;
}

.layer a {
    /* margin-top: 20px;
    color: #bf4848;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center; */
    margin-top: 1vh;
    color: #bf4848;
    text-decoration: none;
    font-size: 2vh;
    line-height: 6vh;
    background: #fff;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    text-align: center;
}

.work:hover img {
    transform: scale(1.1);
}

.work:hover .layer {
    height: 100%;
}

.btn {
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #bf4848;
    padding: 14px 50px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
    background: none;
    cursor: pointer;
}

.btn:hover {
    background: #bf4848;
}

/* ----------------------------contact--------------------------- */

.contact-left {
    flex-basis: 35%;
}

.contact-right {
    flex-basis: 60%;
}

.contact-left p {
    margin-bottom: 10px;
}

.contact-left p i {
    color: #bf4848;
    margin-right: 10px;
    font-size: 25px;
}

.social-icons {
    margin-top: 30px;
}

.social-icons a {
    text-decoration: none;
    margin-right: 20px;
    font-size: 25px;
    color: #cccccc;
    display: inline-block;
    transition: transform 0.5s;
}

.social-icons a:hover {
    color: #bf4848;
    transform: translateY(-5px);
}

.btn.btn2 {
    display: inline-block;
    background: #bf4848;
}

.contact-right form {
    width: 100%;
}

form input,
form textarea {
    width: 100%;
    border: 0;
    outline: none;
    background: #474747;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}

form .btn2 {
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}

/* -----------------------footer----------------------------- */
#footer {
    background: #181818;
    width: 100%;
    padding: 10px 10px;
    /* display: flex;
    justify-content: space-between; */
    text-align: center;
}


#msg {
    color: #088f13;
    margin-top: -40px;
    display: block;
}

/* ---------------------------------modal box--------------------------- */
/* Styling for the popup container */
.popup .overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000a1;
    z-index: 1;
}

.popup .content h2 {
    text-align: center;
    color: #bf4848;
}

.popup .content h3 {
    text-align: left;
    color: #bf4848;
    margin-top: 10px;
}

.popup .content h3::after {
    content: '';
    width: 0%;
    height: 3px;
    /* background: #ff004f; */
    background: #bf4848;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}

.popup .content .paragraph {
    text-align: left;
    margin-left: 28px;
}

/* Styling for the popup box */
.popup .content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80%;
    height: 80vh;
    padding: 40px;
    background-color: #141414;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    text-align: left;
    z-index: 2;
    color: #fff;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: auto;
}

.popup .content-box {
    width: 100%;
    height: 98%;
    overflow: auto;
}

/* Styling for the close button */
.popup .close-btn {
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 16px;
}

.popup.active .overlay {
    display: block;
}

.popup.active .content {
    transition: all 800ms ease-in-out;
    transform: translate(-50%, -50%) scale(1);
}

.tob-bar {
    background: #474747;
}

.softwares {
    background-color: transparent !important;
    padding: 10px 0px !important;
}

.softwares span img {
    height: 25px;
    padding: 0 16px 0 0;
}

.softwares span i {
    height: 40px;
    padding: 0 16px 0 0;
    font-size: 30px;
    color: #cccccc;
    margin-bottom: 0 !important;
}


/* ---------------------------responsive codes--------------------------- */

/* ----------------------mobile-------------------------- */
nav .fas {
    display: none;
}

@media only screen and (max-width:900px) {
    nav .fas {
        display: block;
        font-size: 25px;
    }

    nav ul {
        background: #bf4848;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }

    nav ul li {
        display: block;
        margin: 25px;
    }
    .navbar-nav>.active>a{
        color: #141414;
    }
    .light-theme nav ul li a{
        color: #fff !important;
    }
    nav ul .fas {
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    body {
        font-size: 3.5vmin;
    }
    #header {
        width: 100%;
        height: auto;
        background-image: none;
        background-size: cover;
        background-position: center;
        border-bottom: 3px solid #abababb0;
    }
    .row {
        justify-content: space-evenly;
    }

    .header-text {
        font-size: 2.5vh;
    }

    .header-text h1 {
        font-size: 4vh;
    }

    .logo {
        height: 6vh;
    }

    .sub-title {
        font-size: 7vw;
    }

    .tab-contents ul li {
        font-size: 2vh;
    }

    .tab-contents ul li span {
        font-size: 2vh;
    }

    .contact-left p {
        display: flex;
    }

    .contact-left p i {
        font-size: 3vw;
    }

    /* .popup .content h2 {
    font-size: 5vw;
    }
    .popup .content h3 {
        font-size: 4vw;
    }
    .popup .content p
    {
        font-size: 3.5vw;
    } */
    .popup .content-box {
        padding: 0 5vw;
    }

    .sub-title {
        font-size: 7vw;
    }

    .contact-left {
        margin: auto;
    }

    .btn2 {
        width: 100%;
        text-align: center;
    }

    .contact-right form {
        width: 80vw;
    }

    .social-icons {
        text-align: center;
    }

    .container {
        padding: 10px 5% !important;
    }

}

/* --------------------laptop----------------------- */

/* @media only screen and (max-width:1920px) {
    .header-text {
        margin-top: 8%;
    }
    .work-list {
        display: grid;
        grid-gap: 40px;
        margin-top: 50px;
    }
} */

/* -------------------------scroll to top btn---------------------- */

#btnScrollToTop {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #bf4848;
    box-shadow: 0 0 10px #18181848;
    border: none;
    outline: none;
    cursor: pointer;
    color: #fff;
    z-index: 2;
}

#btnScrollToTop:hover {
    background: #852323;
}


/* ----------------------------------loader------------------------------------ */

.content-section{
    display: none;
}

.loader{
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background-color: #000;
    position: absolute;
}
.loader>div{
    height: 100px;
    width: 100px;
    border: 15px solid rgb(59, 59, 59);
    border-top-color: #bf4848;
    position: absolute;
    margin: auto;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 50%;
    animation: spin 1.5s infinite linear;
}

@keyframes spin{
    100%{
        transform: rotate(360deg);
    }
}


/* light theme */

body.light-theme {
    background: #f8f8f8;
    color: #333;
}
.light-theme nav ul li a {
    color: #333;
}
.light-theme #about {
    color: #555;
}
.light-theme .services-list div {
    background-color: #e0e0e0;
    color: #333;
}
.light-theme .services-list div button:hover {
    border: 1px solid #333;
}
.light-theme .tools::after {
    background: #555;
}
.light-theme .tools:hover::after {
    background: #333;
}
.light-theme .btn {
    color: #333;
}
.light-theme .social-icons a {
    color: #555;
}
.light-theme form input,
.light-theme form textarea {
    background: #e0e0e0;
    color: #333;
}
.light-theme #footer {
    background: #ddd;
    color: #333;
}
.light-theme .metric-item {
    background-color: #e0e0e0;
}


/* New casestudy */


/* ---------------------------------case study--------------------------- */
.case-study-container {
    padding: 50px 0;
}

.case-study-header {
    text-align: center;
    margin-bottom: 50px;
}

.case-study-header h2 {
    font-size: 3rem;
    color: #bf4848;
    margin-bottom: 20px;
}
.case-study-header h1 {
    font-size: 5rem;
    color: #bf4848;
    margin-bottom: 20px;
}

.case-study-header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

.case-study-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.case-study-section {
    margin-bottom: 40px;
    text-align: center;
}

.case-study-section h3 {
    font-size: 1.8rem;
    color: #bf4848;
    margin-bottom: 15px;
}

.case-study-section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.case-study-image {
    width: 100%;
    /* max-width: 800px; */
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: auto;
    display: block;
    padding-bottom: 3vh;
}
.pointer-section{
    text-align: left;
    width: 50%;
}

.metrics {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
}

.metric-item {
    text-align: center;
    padding: 20px;
    background-color: #474747;
    border-radius: 10px;
    min-width: 200px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.light-theme .metric-item {
    background-color: #e0e0e0;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #bf4848;
    margin-bottom: 10px;
}

.metric-label {
    font-size: 1.1rem;
}


/* --------------------------responsive codes--------------------------- */