* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

:root {
    --bg-color: #fdfdfd;
    /* --bg-color: #333; */
    --text-color: #333;
    /* --text-color: white; */
    /* --main-color: #754ef9; */
    --main-color: #FF5500;
    --white-color: #fdfdfd;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition: all 500ms ease-in-out;
}

.dark-mode {
    /* --bg-color: #0b061f; */
    --bg-color: #333;
    --text-color: white;
    --main-color: #FF5500;
    --shadow-color: rgba(0, 0, 0, 0.7);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    user-select: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 7%;
    /* background: greenyellow; */
    display: flex;
    align-items: center;
    z-index: 100;
    transition: .5s;
}

.header.sticky {
    background-color: var(--bg-color);
    box-shadow: 0 .1rem 1rem var(--shadow-color);
}

.logo {
    font-size: 2.5rem;
    color: var(--main-color);
    font-weight: 600;
    cursor: default;
    margin-right: auto;
}

.navbar a {
    position: relative;
    font-size: 1.7rem;
    color: var(--white-color);
    font-weight: 500;
    margin-right: 3.5rem;
}

.header.sticky .navbar a {
    color: var(--main-color);
}

/* .header.sticky .navbar a.active {
    color: var(--main-color);
} */

.navbar a.active::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: .2rem;
    background: var(--white-color);
}

.header.sticky .navbar a::before {
    background: var(--main-color);
    opacity: 0.7;
}

#darkMode-icon {
    font-size: 2.4rem;
    color: var(--white-color);
    cursor: pointer;
}

.header.sticky #darkMode-icon {
    color: var(--main-color);
    opacity: 0.9;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

.header.sticky #menu-icon {
    color: var(--main-color);
    opacity: 0.9;
}

section {
    position: relative;
    min-height: 100vh;
    padding: 10rem 7% 2rem;
    z-index: 5;
}

.home {
    display: flex;
    align-items: center;
}

.home .home-content {
    max-width: 44rem;
}

.home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: .3;
}

.home-content h1 {
    font-size: 5.1rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.home-content p {
    font-size: 1.6rem;
}

.home-content .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 2rem;
    color: var(--main-color);
    margin: 2.5rem 1.5rem 3rem 0;
    transition: .5s ease;
}

.home-image img {
    position: absolute;
    top: 9%;
    right: 6%;
    /* display: block; */
    /* height: 45rem; */
}


/* ===================================================================================== */
.home-content .social-media a i {
    position: relative;
    right: 40%;
}


.home-content .social-media a:hover {
    background: var(--main-color);
    color: var(--white-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: .6rem;
    box-shadow: 0 .2rem .5rem var(--shadow-color);
    font-size: 1.6rem;
    letter-spacing: .1rem;
    font-weight: 600;
    color: var(--white-color);
    border: .2rem solid transparent;
    transition: .5s ease-in-out;
}

.btn:hover {
    /* background: var(--white-color); */
    background: transparent;
    color: var(--main-color);
    border: .2rem solid var(--main-color);
}

/* ============================ profession ============================== */

.profession-container {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    /* background: red; */
    width: 768px;
    height: 768px;
    overflow: hidden;
    pointer-events: none;
}

.home .profession-container .profession-box {
    position: absolute;
    top: 0;
    right: 0;
    height: 768px;
    width: 768px;
    /* background: yellowgreen; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: professionRotate 25s 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;
    right: 75%;
    display: flex;
    align-items: center;
    flex-direction: column;
    color: var(--main-color);
    transform: rotate(calc(360deg / 4 * var(--i)));
    transform-origin: 384px;
    background-color: var(--bg-color);
    padding: 2rem 0;
}

.home .profession-box .profession:nth-child(1) i {
    margin-left: 15px;
}

.home .profession-box .profession:nth-child(2) h3, i {
    margin-left: 30px;
}

.home .profession-box .profession:nth-child(3) i {
    margin-left: 50px;
}

.home .profession-box .profession:nth-child(3) h3 {
    margin-left: 20px;
}

.home .profession-box .profession:nth-child(4) i {
    margin-left: 30px;
}

.home .profession-box .profession:nth-child(4) h3 {
    margin-left: 20px;
}

.home .profession i {
    font-size: 2.8rem;
    color: var(--main-color);
}

.home .profession h3 {
    font-size: 2.6rem;
    line-height: 1;
    font-weight: 600;
}

.circle {
    height: 560px;
    width: 560px;
    /* background: red; */
    border: thick solid var(--main-color);
    border-radius: 50%;
}

.overlay {
    position: absolute;
    top: 9.89%;
    right: 0;
    width: 0;
    height: 0;
    /* border-top: 344px solid var(--main-color);
    border-right: 344px solid var(--main-color);
    border-bottom: 344px solid var(--main-color);
    border-left: 344px solid transparent; */

    border-top: 310px solid var(--main-color);
    border-right: 310px solid var(--main-color);
    border-bottom: 310px solid var(--main-color);
    border-left: 310px solid transparent;
}


/* ========================== About =========================== */

span {
    color: var(--main-color);
}

.about {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    background: var(--bg-color);
    z-index: 90;
}

.about-img img {
    width: 35vw;
    border-style: dotted;
    border-color: var(--main-color);
    border-width: .5rem;
}

.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;
}

/* ======================== services ======================== */

.services {
    min-height: auto;
    padding-bottom: 7rem;
}

.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: var(--bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    text-align: center;
    border-top: .6rem solid var(--main-color);
    border-bottom: .6rem solid var(--main-color);
    transition: .5s ease;
}

.services-container .services-box:hover {
    box-shadow: 0 .1rem 2rem var(--shadow-color);
    transform: scale(1.02);
}

.services-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.services-box h3 {
    font-size: 2.6rem;
    transition: .5s ease;
}

.services-box h3:hover {
    color: var(--main-color);
}

.services-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

/* ======================= portfolio ========================= */

.portfolio {
    padding-bottom: 10rem;
    /* position: relative; */
}

.portfolio h2 {
    margin-bottom: 4rem;
}

.portfolio .portfolio-container {
    /* position: relative; */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.portfolio-container .portfolio-box {
    position: relative;
    display: flex;
    border-radius: 2rem;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 30rem;
}

.portfolio-box img {
    /* position: relative; */
    width: 100%;
    height: 100%;
    /* transition: var(--transition); */
    transition: .5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-box .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), var(--main-color));
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    opacity: 0;
}

.portfolio-box:hover .portfolio-layer {
    opacity: 1;
}


.portfolio-layer h4 {
    
    font-size: 3rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.portfolio-layer a {
    display: inline-block;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background: var(--white-color);
    border-radius: 50%;
}

.portfolio-layer i {
    color: #333;
    z-index: 50;
    font-size: 1.8rem;
    position: relative;
    top: 35%;
    right: 30%;
}

/* ======================= testimonial ======================= */


.testimonial-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 5rem 1rem;
}

.testimonial-container .testimonial-wrapper {
    position: relative;
    /* max-width: 90rem; */
    width: 70%;
    padding: 5rem;
}

.testimonial-container .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(--bg-color);
    border-radius: 2rem;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
    padding: 3rem 5rem;
    border-top: .8rem solid var(--main-color);
    border-bottom: .8rem solid var(--main-color);
    /* margin: .4rem; */
    width: 100%;
    /* outline:  thin solid red; */
    /* margin: .6rem; */
}

.testimonial-slide img {
    width: 14rem;
    height: 14rem;
    object-fit: cover;
    border-radius: 50%;
    border: .5rem solid var(--bg-color);
    outline: .5rem solid var(--main-color);
}

.testimonial-slide h3 {
    font-size: 2.5rem;
    margin: 2rem 0;
}

.testimonial-slide p {
    font-size: 1.4rem;
    text-align: center;
}

.swiper-button-next {
    color: var(--main-color);
}

.swiper-button-prev {
    color: var(--main-color);
}

.swiper-pagination {
    color: var(--main-color);
    /* background: var(--main-color); */
}



/* ======================== contact ========================= */

.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
    /* border: thin solid red; */
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--bg-color);
    border-radius: .8rem;
    margin: 0.7rem 0;
    box-shadow: 0 .1rem .5rem var(--shadow-color);
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}


/* footer */

.footer {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 2rem 7%;
    background: var(--main-color);
    z-index: 50;
}

.footer-text {
    font-size: 1.6rem;
    color: var(--white-color);

}

.footer-iconTop a {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    padding: .6rem 0;
    background: var(--white-color);
    border-radius: .8rem;
    border: .2rem solid var(--main-color);
    outline: .2rem solid transparent;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    outline-color: var(--white-color);
}

.footer-iconTop a i {
    position: relative;
    right: 25%;
    font-size: 2.4rem;
    color: #333;
}



/* BREAKPOINTS */

@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .home .profession-container {
        height: 85.8rem;
    }

    .home .profession-container .profession-box {
        right: -12rem;
        height: 85.8rem;
    }

    .home .profession-container .overlay {
        right: -9rem;
        top: 9%;

    }

    .home-content .social-media a i {
        position: relative;
        right: 45%;
    }

    .portfolio-layer i {
        right: 36%;
    }

    

}

@media (max-width: 1024px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .home .profession-container .profession-box {
        right:  -22rem;
    }

    .home .profession-container .overlay {
        right: -15rem;
        top: 9.1%;

    }
    .home-image img {
        display: none;
    }

    .testimonial-container .testimonial-wrapper {
        width: 80%;
    }

}

@media (max-width: 991px) {

    .navbar a:nth-child(1),
    .navbar a:nth-child(2){
        color: var(--main-color);
    }

    .navbar a.active::before {
        background: var(--main-color);
        opacity: .7;
    }

    .home .home-content {
        max-width: 50rem;
    }

    .home .profession-container .profession-box {
        right: -45rem;
    }

    .home .profession-container .overlay {
        right: -39.5rem;
    }

    .services, 
    .portfolio {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }

    .overlay {
        top: 0;
    }
}

@media (max-width: 801px) {
    #menu-icon {
        display: block;
    } 

    #darkMode-icon {
        position: absolute;
        right: 7rem;
        font-size: 2.6rem;
        color: var(--text-color);
        margin-bottom: .1rem;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, 0.2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
        color: var(--text-color);
    }

    .navbar a:nth-child(1),
    .navbar a:nth-child(2) {
        color: var(--text-color);
    }

    .navbar a.active {
        color: var(--main-color);
    }

    .navbar a::before {
        display: none;
    }

    .home {
        padding: 0 3% 23rem;
        justify-content: center;
        text-align: center;
    }

    .home h3 {
        font-size: 2.6rem;
    }

    .home-content h1 {
        font-size: 5rem;
    }

    .home-content .social-media a {
        margin: 2.5rem .75rem 3rem;
    }

    .home .profession-container {
        padding: 0;
        display: flex;
        position: absolute;
        
    }

    /* .home .profession-container {
        left: 0;
        width: 100%;
        height: 100%;
    } */

    .home .profession-container .profession-box {
        position: absolute;
        top: 48%;
        left: 0%;
        border-radius: 0;
        width: 100%;
    }

    /* .home .profession-container .overlay{
        display: none;
    } */

    .home .profession-box .profession {
        position: absolute;
        padding: 0 23px 0 0;
        left: auto;
        transform-origin: 0;
    }

    /* .home .profession-box .profession:nth-child(1) {
        transform: rotate(90deg) translate(-210px, -210px);
    } */

    .home .profession-box .profession:nth-child(1) {
        transform: rotate(91deg) translate(-95px, -650px);
        padding: 0 12px 0 ;
        /* background: red; */
    }

    .home .profession-box .profession:nth-child(1) i {
        margin-right: 0;
    }

    .home .profession-box .profession:nth-child(2) {
        transform: rotate(0deg) translate(310px, -280px);
        margin-right: 20px;
    }

    .home .profession-box .profession:nth-child(3) {
        /* transform: rotate(180deg) translate(-115px, -550px); */
        transform: rotate(-180deg) translate(-480px, -275px);

    }

    .home .profession-box .profession:nth-child(4) {
        transform: rotate(-90deg) translate(-100px, 96px);
    }
    

    

    .home .profession-container .overlay {
        position: absolute;
        top: 70rem;
        left: 50%;
        right: 0;
        transform: rotate(90deg) translate(-50%, 50%) scaleY(1.5);
        /* border-width: 23.9rem; */
        /* border-color: red; */
    }


    /* ======================== about ======================== */

    .about {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about h2 {
        text-align: center;
    }

    .about-img img {
        width: 70vw;
    }

    /* ==================== services ================== */



    /* =================== portfolio ================ */

    .portfolio .portfolio-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    /* ==================== Testimonies ================== */

    .testimonial-container {
        padding: 0 2rem;
    }


    .testimonial-container .testimonial-wrapper {
        padding: 5rem 0;
    }

    .testimonial-content .testimonial-wrapper {
        padding: 3rem 2rem;
    }

    
    .testimonial-box .swiper-button-next,
    .testimonial-box .swiper-button-prev {
        display: none;
    }

    .testimonial-container .testimonial-wrapper {
        width: 100%;
    }

    

}

@media (max-width: 617px) {
    .portfolio .portfolio-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    /* .home .profession-container .overlay {
        display: none;
        visibility: hidden;
    } */

    .home {
        overflow: hidden;
    }

    .home .profession-container {
        position: absolute;
        top: 70%;
        right: -18%;
    }


    .about-img img {
        margin-top: 30px;
    }
    
    

}

@media (max-width: 400px) {
    .footer-iconTop {
        width: 0;
        display: inline-flex;
        float: right;
    }
}

@media (max-width: 400px) {
    .home .profession-container .overlay {
        right: -20%;
    }

    .home .profession-container {
        top: 70%;
        right: -23%;
    }

}


@media (max-width: 380px) {
    /* .home .profession-container .overlay {
        right: -20%;
    } */

    .home .profession-container {
        top: 70%;
        right: -30%;
    }

}













