@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* -----------------------------UNIVERSAL_PAGE_DESIGN----------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    /* border: 1px dotted green; */
}

.pb {
    position: absolute;
}

.df {
    display: flex;
}

/* -----------------------------GLOBAL_VARIABLE_DESIGN----------------------------- */
:root {
    --bgcol: #fdfdfd;
    --txtcol: #333;
    --maincol: #754ef9;
    --whitecol: #fdfdfd;
    --shadowcol: rgba(0, 0, 0, .2);

}

/* -----------------------------DARK_MODE_DESIGN----------------------------- */
.dark-mode {
    --bgcol: #0b061f;
    --txtcol: #fdfdfd;
    --shadowcol: rgba(0, 0, 0, .7);

}

/* -----------------------------ALL_HTML_SECTION_DESIGN----------------------------- */
html {
    font-size: 62.5%;
    overflow-x: hidden;
}

/* -----------------------------BODY_SECTION_DESIGN----------------------------- */
body {
    /* border: 5px solid aqua; */
    background-color: var(--bgcol);
    color: var(--txtcol);
}

/* -----------------------------HEADER_NAVIGATION_BAR_SECTION_DESIGN----------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 2%;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
    /* border: 5px solid red; */

}

.header.sticky {
    background-color: var(--bgcol);
    box-shadow: 0 .1rem 1rem var(--shadowcol);
}

.logo {
    /* font-size: 2.5rem;
    color: var(--maincol);
    font-weight: 600; */
    cursor: default;
    margin-right: auto;
    cursor: pointer;
    height: 50px;
    /* width: 100px; */

}

.dlogo {
    display: none;
}

/* <!--------------------------- NAVIGATION_BAR-SECTION-DESIGN -----------------------------------> */
.navbar a {
    font-size: 1.5rem;
    color: var(--whitecol);
    font-weight: 500;
    margin-right: 3.5rem;
    position: relative;
}

.header.sticky .logo {
    color: var(--maincol);
}

.header.sticky .navbar a {
    color: var(--txtcol);
}

.header.sticky .navbar a.active {
    color: var(--maincol);
}

.navbar a.active::before {
    content: '';
    bottom: -6px;
    position: absolute;
    left: 0;
    width: 100%;
    height: .2rem;
    /* background-color: var(--whitecol); */
    background-color: var(--whitecol);
}

.navbar a.active::before {
    background-color: var(--maincol);
    opacity: .7;
}

#darkmode-icon {
    font-size: 2.4rem;
    color: var(--whitecol);
    cursor: pointer;
}

.header.sticky #darkmode-icon {
    color: var(--txtcol);
    opacity: .9;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--txtcol);
    display: none;
}

section {
    min-height: 100vh;
    padding: 10rem 7% 2rem;

}

/* .home {
    border: 2px solid red;
    min-height: 74vh;
} */
.home {
    display: flex;
    align-items: center;
    /* background-color: yellow; */
    /* border: 10px solid blue; */
}

.home .home-content {
    max-width: 51rem;
}

.home-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: .5;
}

.home-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.home-content p {
    font-size: 1.2rem;
    font-weight: 600;
}

.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--maincol);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadowcol);
    font-size: 2rem;
    color: var(--maincol);
    margin: 2.5rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.home-content .social-media a:hover {
    background-color: var(--maincol);
    color: var(--whitecol);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--maincol);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadowcol);
    font-size: 1.6rem;
    color: var(--whitecol);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    border: .2rem solid transparent;
}

.btn:hover {
    background: transparent;
    color: var(--maincol);
    border-color: var(--maincol);

}

.home .profession-container {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 768px;
    height: 100%;
    /* background: red; */
    overflow: hidden;
    pointer-events: none;

}

.home .profession-container .profession-box {
    position: relative;
    top: 51px;
    right: 0;
    width: 768px;
    /* height: 768px; */
    /* background: yellowgreen; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: professionRotate 10s ease-out infinite;
}

@keyframes professionRotate {

    0%,
    20% {
        transform: rotate(0deg);
    }

    25%,
    45% {
        transform: rotate(-90deg);
    }

    50%,
    70% {
        transform: rotate(-180deg);
    }

    75%,
    95% {
        transform: rotate(-270deg);
    }

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

.home .profession-box .profession {
    position: absolute;
    left: 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--maincol);
    transform: rotate(calc(360deg/4 * var(--i)));
    transform-origin: 384px;
    background-color: var(--bgcol);
    /* background-color: red; */
    padding: 13px 0;
}

.home .profession-box .profession:nth-child(1) i {
    margin-right: 15px;
}

.home .profession-box .profession:nth-child(2),
.home .profession-box .profession:nth-child(4) {
    padding-bottom: 20px;
}

.home .profession i {
    font-size: 3.8rem;

}

.home .profession h3 {
    font-size: 3.2rem;
    line-height: 1;
    font-weight: 600;

}

.home .profession-box .circle {
    width: 560px;
    height: 560px;
    /* background: aqua; */
    border: 3px solid var(--maincol);
    border-radius: 50%;

}

.home .profession-container .overlay {
    position: absolute;
    top: 0;
    height: 0;
    width: 0;
    border-top: 360px solid var(--maincol);
    border-right: 385px solid var(--maincol);
    border-bottom: 370px solid var(--maincol);
    border-left: 385px solid transparent;
    /* border: 10px solid yellow; */
}

.home-img img {
    /* border: 5px solid rgb(178, 19, 127);  */
    position: absolute;
    bottom: 0;
    right: 60px;
    /* width: 100%; */
    height: 100%;
    /* pointer-events:; */

}

/* --------------------------- ABOUT-SECTION-DESIGN ----------------------------------- */
.about-img img {
    border: 20px solid var(--maincol);
    width: 40vw;
    /* height: 40rem; */
}

span {
    color: var(--maincol)
}

.about {
    /* background-color: red; */
    gap: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading {
    font-size: 4.5rem;
    text-align: center;
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0.3rem;
    text-align: justify;
    font-weight: 500;
    /* font-style: italic; */
}

.services {
    min-height: auto;
    padding-bottom: 7rem;
    /* background-color: yellow; */
}

.services h2 {
    margin-bottom: 5rem;
}

.services .services-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.services-container .services-box {

    flex: 1 1 30rem;
    background-color: var(--bgcol);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadowcol);
    text-align: center;
    border-top: .6rem solid var(--maincol);
    border-bottom: .6rem solid var(--maincol);
    transition: .5s ease;
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadowcol);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--maincol);
}

.services-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.services-box:hover h3 {
    color: var(--maincol);
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.projects {
    padding-bottom: 10rem;
    /* background-color: yellowgreen; */
}

.projects h2 {
    margin-bottom: 4rem;
}

.projects .projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.projects-container .projects-box {
    position: relative;
    display: flex;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, .1);
    overflow: hidden;
}

.projects-box img {
    width: 100%;
    transform: .5s ease;
}

.projects-box:hover img {
    transform: scale(1.1);
}

.projects-box .projects-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--maincol));
    color: var(--whitecol);
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    justify-content: center;
    opacity: 0;
}

.projects-box:hover .projects-layer {
    opacity: 1;
}

.projects-layer h4 {
    font-size: 3rem;
}

.projects-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.projects-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--whitecol);
    border-radius: 50%;
}

.projects-layer a i {
    font-size: 2rem;
    color: #333;

}

.testimonial-container {
    /* background-color: red; */
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 10rem 1rem;
}

.testimonial-container .testimonial-wrapper {
    position: relative;
    max-width: 90rem;
    width: 100%;
    padding: 5rem;
}

.testimonial-wrapper .testimonial-box {
    /* background: yellowgreen; */
    padding: 1rem;
    border-radius: 2rem;
    overflow: hidden;
}

.testimonial-content .testimonial-slide {
    display: flex;
    align-items: center;
    flex-direction: column;
    background: var(--bgcol);
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadowcol);
    padding: 3rem 5rem;
    border-top: .8rem solid var(--maincol);
    border-bottom: .8rem solid var(--maincol);

}

.testimonial-slide img {
    width: 14rem;
    height: 14rem;
    object-fit: cover;
    border-radius: 50%;
    border: .5rem solid var(--bgcol);
    outline: .5rem solid var(--maincol);
}

.testimonial-slide h3 {
    font-size: 2.5rem;
    margin: 2rem 0;
}

.testimonial-slide p {
    font-size: 1.4rem;
    text-align: center;
}

.testimonial-box .swiper-button-next,
.testimonial-box .swiper-button-prev {
    color: var(--maincol);
}

.testimonial-box .swiper-button-next {
    right: 0;
}

.testimonial-box .swiper-button-prev {
    left: 0;
}

.testimonial-box .swiper-pagination-bullet {
    background: rgba(0, 0, 0, .8);
}

.testimonial-box .swiper-pagination-bullet-active {
    background: var(--maincol);
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-form {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--txtColor);
    background: var(--bgcol);
    border-radius: .8rem;
    margin: .7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadowcol);
}

.contact form .input-box input {
    width: 49%;
    /* justify-content: space-between; */
    border: 1px solid var(--maincol);
}

.contact form .input-box {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form textarea {
    border: 1px solid var(--maincol);
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--maincol);

}

.footer-text p {
    font-size: 1.5rem;
    color: var(--whitecol);
}

.footer-icontop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--whitecol);
    border-radius: 50%;
    border: 10px solid var(--maincol);
    outline: 10px solid transparent;
    transition: .5s ease;
}

.footer-icontop a:hover {
    outline-color: var(--whitecol);
}

.footer-icontop a i {
    font-size: 2rem;
    color: #333;
}


/*--------------------------------- BREAK-POINTS STYLEING ---------------------------------*/
@media only screen and (max-width:1440px) {

    .home .profession-container .overlay {
        border-bottom: 415px solid var(--maincol);
    }
}

@media (max-width:1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container {
        height: 73rem;
    }

    .home .profession-container .profession-box {
        height: 62rem;
        right: -12rem;
    }

    .home .profession-container .overlay {
        right: -10rem;
    }

}

@media (max-width:1024px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .home-content {
        width: 40%;
    }

    .home .profession-container .profession-box {
        right: -24rem;
    }

    .home .profession-container {
        height: 73rem;
    }

    .home .profession-container .overlay {
        right: -15rem;
    }

    .home .home-img img {
        /* border: 2px solid red; */
        top: -10;
        right: 0;
    }
}

@media only screen and (max-width:992px) {

    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--maincol);

    }

    .navbar a:active::before {
        background: var(--maincol);
        opacity: .7;
    }

    .home .profession-container .profession-box {
        right: -40rem;
    }

    .home .profession-container .overlay {
        right: -33rem;
    }

    .home-img img {
        display: none;
    }

    .services,
    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;

    }
}

@media only screen and (max-width:768px) {
    #menu-icon {
        display: block;
    }

    #darkmode-icon {
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        color: var(--maincol);
        margin-bottom: .1rem;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bgcol);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--txtcol);
    }

    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--txtcol);
    }

    .navbar a.active {
        color: var(--maincol);
    }

    .navbar a:before {
        display: none;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
    }

    .home .home-content {
        position: absolute;
        top: 20px;
    }

    .home-content h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .social-media a {
        margin: 2.5rem .75rem 3rem;
        font-size: 2.5rem;
    }

    .home .profession-container {
        left: 0;
        width: 100%;
        height: 100%;
    }

    .home .profession-container .profession-box {
        position: fixed;
        top: 72%;
        left: 0;
        border-radius: 0;
        width: 100%;
    }

    .home .profession-box .profession {
        padding: 0 13px;
        left: auto;
        transform-origin: 0;
    }

    .home .profession-box .profession:nth-child(1) {
        transform: rotate(-90deg) translate(-120px, -210px);
    }

    .home .profession-box .profession:nth-child(1) i {
        margin: 0;
    }

    .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translate(0, -335px);
    }

    .home .profession-box .profession:nth-child(3) {
        transform: rotate(90deg) translate(-115px, -450px);
    }

    .home .profession-box .profession:nth-child(4) {
        transform: rotate(180deg) translate(-220px, -335px);
    }

    .home .profession-box .circle {
        position: fixed;
        width: 670px;
        height: 670px;
        z-index: -1;
    }

    .home .profession-container .overlay {
        position: fixed;
        top: 70rem;
        left: 50%;
        right: 0;
        transform: rotate(90deg) translate(-50%, 50%);
        border-width: 50rem;

    }

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-content h2 {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
        margin-top: -2rem;

    }

    .services h2,
    .projects h2 {
        margin-bottom: 3rem;
    }

    .projects .projects-container {
        grid-template-columns: repeat(2, 1fr);

    }

    .testimonial-container .testimonial-wrapper {
        padding: 5rem 0;

    }

    .testimonial-content .testimonial-slide {
        padding: 3rem 2rem;
    }

    .testimonial-box .swiper-button-next,
    .testimonial-box .swiper-button-prev {
        display: none;
    }
}

@media only screen and (max-width:617px) {
    .projects .projects-container {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------LAPTOP/NOTEBOOK_SCREEN_DESIGN----------------------------- */
@media only screen and (max-width:451px) {

    html {
        font-size: 50%;
    }

    #darkmode-icon {
        right: 6rem;

    }

    .header .navbar a {
        color: var(--whitecol);
    }

    .header .navbar .one {
        color: black;
    }

    .home {
        padding: 0 3% 30rem;
        /* background: yellowgreen; */
    }

    .home .profession-container .profession-box {
        display: none;
    }

    .home .home-content {
        width: 50rem;
        top: 20rem;

    }
}

/* -----------------------------TABLET_SCREEN_DESIGN----------------------------- */
@media only screen and (max-width:376px) {


    .home .profession-container .profession-box {
        display: none;
    }

    .about-img img {
        width: 90vw;
    }
    
}

/* -----------------------------MOBILE_SCREEN_DESIGN----------------------------- */
@media only screen and (max-width: 320px) {
    .home .profession-container .profession-box {
        display: none;
    }

    .footer .footer-text p {
        font-size: xx-small;
    }
}