/* Table of Contents
----------------------------------

/*------------------------------ Global CSS ------------------------------*/
/*
0- Global CSS
1- Heading CSS
2- Button CSS
3- Menubar CSS
4- Logo Area CSS
5- Sidebar Area CSS
6- Footer Area CSS
7- Scroll-Top Area CSS
8- Swiper Pagination CSS
*/

/*------------------------------ All Sections CSS ------------------------------*/
/*
1- Home
2- About
3- Skills
4- Experience
5- Services
6- Portfolio
7- Testimonials
8- Blogs
9- Contact
*/



/*--------------------- Global CSS (Start) ---------------------*/

/*----- 0- Global CSS -----*/
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');



:root{
    --main-color: #9F2BDE;
    --secondary-color: #121113;
    --black: #000; 
    --white: #fff;
    --light-grey: #E6E6E6;
    --grey: #666; 
    --border-radius-1: 0.5rem;
    --border-radius-2: 1rem;
    --border-radius-3: 50%;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
}

*{
    font-family: 'Roboto', sans-serif;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: capitalize;
    border: none;
    outline: none;
}

*:not(.portfolio-item){
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

*::-moz-selection{
    color: var(--white);
    background-color: var(--main-color);
}

*::selection{
    color: var(--black);
    background-color: var(--main-color);
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
    background: #f2f3f8;
    overflow-x: hidden;
    padding-left: 30rem;
}

section{
    padding: 2rem 5%;
}

img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

p{
    color: var(--grey);
    font-size: 1.6rem;
    line-height: 1.6;
}

::-webkit-scrollbar{
    width: 0.8rem;
}

::-webkit-scrollbar-thumb{
    border-radius: 1rem;
    background-color: var(--main-color);
}

::-webkit-scrollbar-track{
    background:#222;
}

/*----- 1- Heading CSS -----*/
.heading{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 3rem;
}

.heading h2{
    font-family: "Oswald", sans-serif;
    color: var(--black);
    font-size: 4rem;
    font-weight: 600;
    position: relative;
}

.heading h2 span{
    font-family: "Oswald", sans-serif;
    color: var(--main-color);
}

.heading h2::before{
    content: '';
    position: absolute;
    bottom: -0.5rem; left: 0;
    background: var(--main-color);
    height: 0.2rem;
    width: 110%;
}

/*----- 2- Button CSS -----*/
.btn{
    display: inline-block;
	padding: 1rem 3rem;
	color: var(--main-color);
    background-color: transparent;
	font-size: 1.8rem;
	letter-spacing: 0.1rem;
	border: 0.2rem solid var(--main-color);
	position: relative;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    transition: 1s;
    overflow: hidden;
    border-radius: 5rem;
}

.btn:hover{
	color: var(--white);
    background-color: var(--main-color);
    cursor: pointer;
}

/*----- 3- Menubar CSS -----*/
#menu{
    position: fixed;
    z-index: 10000;
    top: 1rem;
    right: 1rem;
    background-color: var(--main-color);
    color: var(--white);
    cursor: pointer;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    display: none;
}

#menu:hover{
    background-color: var(--black);
}


/*----- 4- Logo Area CSS -----*/
.logo h2{
    font-family: "Oswald", sans-serif;
    color: var(--main-color);
    font-size: 4rem;
    font-weight: 600;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
}

/*----- 5- Sidebar Area CSS -----*/
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    width: 30rem;
    height: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    z-index: 1000;
    background: var(--black);
    padding: 4rem 2rem;
    overflow-y: auto;
    text-align: center;
}

.sidebar .navbar a{
    display: block;
    font-size: 2rem;
    color: var(--white);
    margin: 1rem 0;
}

.sidebar .navbar a:hover,
.sidebar .navbar a.active{
    color: var(--main-color) ;
}

.sidebar .social{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 2rem;
}

.sidebar .social a{
    color: var(--white);
    font-size: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.sidebar .social a:hover{
    color: var(--main-color);
}

/*----- 6- Footer CSS -----*/
.footer{
    text-align: center;
    width: 100%;
    background-color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
    border-top: 0.4rem solid var(--main-color);
}

.footer p{
    color: var(--black);
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.5;
    padding: 3rem;
}

.footer p span{
    color: var(--main-color);
}

/*----- 7- Scroll-Top Area CSS -----*/
.scroll-top{
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    height: 5rem;
    width: 5rem;
    font-size: 3rem;
    font-weight:lighter;
    color: var(--main-color);
    border: 0.2rem solid var(--main-color);
    border-radius: var(--border-radius-3);
    z-index: 999;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.scroll-top:hover{
    background: var(--main-color);
    color:var(--white);
}

/*----- 8- Swiper Pagination CSS -----*/
.swiper-pagination-bullet{
    height: 1rem;
    width: 3rem;
    border-radius: 50rem;
    background: var(--secondary-color);
    opacity: 0.9;
}

.swiper-pagination-bullet-active{
    width: 6rem;
    background-color: var(--main-color);
    opacity: 0.9;
}

/*------------------------------ Global CSS (End) ------------------------------*/



/*------------------------------ All Sections CSS (Start) ------------------------------*/

/*----- 1- Home -----*/
.home{
    min-height: 100vh;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.home .box-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 4rem;
}

.home .image{
    height: 30rem;
    width: 30rem;
}

.home .image img{
    border-radius: var(--border-radius-3);
    border: 0.5rem solid var(--main-color);
    padding: 1rem;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.home .content{
    -webkit-box-flex: 1;
        -ms-flex: 1 1 40rem;
            flex: 1 1 40rem;
    text-align: center;
}

.home .content h1{
    font-size: 4rem;
    color: var(--secondary-color);
    padding-bottom: 1.5rem;
}

.home .content h1 span{
    color: var(--main-color);
}

.home .content h5{
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--black);
}

.home .content p{
    padding: 2rem 0;
}

/*----- 2- About -----*/
.about .personal-info{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 2rem;
}

.about .image{
    width: 32rem;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.about .image img{
    border: 1rem solid var(--black);
}

.about .content{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 40rem;
        flex: 1 1 40rem;
}

.about .content h2{
    font-size: 3rem;
    color: var(--main-color);
    padding-bottom: 1rem;
}

.about .content p{
    padding-bottom: 1rem;
}

.about-info{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    padding-top: 3rem;
}

.about-info .info-box{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 15rem;
        flex: 1 1 15rem;
    border: 0.2rem solid var(--black);
    text-align: center;
    padding: 1.5rem;
}

.about-info .info-box i{
    font-size: 4rem;
    color: var(--main-color);
}

.about-info .info-box .count{
    font-size: 3rem;
    padding: 1rem 0;
}

.about-info .info-box h5{
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--grey);
}

/*----- 3- Skills -----*/
.skills{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 1.5rem;
}

.skill-item{
    -webkit-box-flex: 1;
        -ms-flex: 1 1 30rem;
            flex: 1 1 30rem;
}

.skill-item .box{
    padding-bottom: 3rem;
}

.skill-item .box h3{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding-bottom: 1rem;
    font-size: 1.7rem;
    color: var(--black);
    font-weight: 400;
}

.skill-item .box .progress-bar{
    width: 100%;
    background: var(--secondary-color);
    overflow: hidden;
    height: 1rem;
    border-radius: 50rem;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.skill-item .box .progress-bar span{
    display:block;
    height:100%;
    background:var(--main-color);
}

/*----- 4- Experience -----*/
.education,
.experience{
    padding-bottom: 0;
}

.experience-item{
    position: relative;
    padding: 0 3rem 2rem 3rem;
    border-left: 0.2rem solid var(--main-color);
    margin-left: 2rem;
}

.experience-item i{
    position: absolute;
    top: 0; 
    left: -2.5rem;
    height:5rem;
    width: 5rem;
    border-radius: var(--border-radius-3);
    line-height: 5rem;
    text-align: center;
    font-size: 2rem;
    color:var(--white);
    background: var(--main-color);
}

.experience-item .content{
    background: var(--white);
    padding: 3rem 2rem;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.experience-item span{
    background: var(--main-color);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 1.8rem;
    font-weight: 500;
    border-radius: 50rem;
}

.experience-item h3{
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.experience-item h5{
    font-size: 2rem;
    font-weight: 600;
    color: var(--main-color);
    margin-bottom: 1rem;
}

/*----- 5- Services -----*/
.service .box-container{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    margin-top: 2rem;
    gap: 1.5rem;
}

.service-item{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 33rem;
        flex: 1 1 33rem;
    background-color: var(--white);
    padding: 4rem 3rem;
    text-align: center;
    cursor: pointer;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.service-item i{
    color: var(--main-color);
    font-size: 4rem;
}

.service-item h3{
    font-size: 2.6rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.service-item:hover{
    background-color: var(--main-color);
}

.service-item:hover i,
.service-item:hover h3,
.service-item:hover p{
    color: var(--white);
}

/*----- 6- Portfolio -----*/
.portfolio .controls{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    list-style-type: none;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.portfolio .controls .button{
    font-size: 1.8rem;
    font-weight: 500;
    padding: 1rem 2.5rem;
    color: var(--main-color);
    border: 0.2rem solid var(--main-color);
    background: transparent;
    text-transform: uppercase;
    text-align: center;
}

.portfolio .controls .button:hover,
.portfolio .controls .button.active{
    color: var(--white);
    background: var(--main-color);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
    cursor: pointer;
}

.portfolio-item{
    width: 50%;
    padding: 0.5rem;
}

.portfolio-content{
    height: 25rem;
    position: relative;
    overflow: hidden;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.portfolio-content::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--main-color);
    opacity: 0.8;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    transition-delay: 0.25s;
    -webkit-transform: translateY(100%);
            transform: translateY(100%);
    z-index: 1;
}

.portfolio-content .content{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 2rem;
}

.portfolio-content .content h4{
    font-size: 2.8rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--white);
    padding-bottom: 0.2rem;
}

.portfolio-content .content p{
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
}

.portfolio-content .view{
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    -webkit-transition: all 0.25s;
    -moz-transition: all 0.25s;
    -o-transition: all 0.25s;
    transition: all 0.25s;
    -webkit-transform: translateY(-2rem);
            transform: translateY(-2rem);
    opacity: 0;
    z-index: 2;
}

.portfolio-content .view a{
    display: inline-block;
    height: 4.5rem;
    width: 4.5rem;
    border-radius: var(--border-radius-3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 2rem;
	color: var(--white);
    background-color: var(--black);
}

.portfolio-content:hover:before{
    -webkit-transform: translateY(0);
            transform: translateY(0);
    -webkit-transition-delay: 0s;
            transition-delay: 0s;
}

.portfolio-content:hover .view{
    opacity: 1;
    -webkit-transition-delay: 0.3s;
            transition-delay: 0.3s;
    -webkit-transform: translateY(0);
            transform: translateY(0);
}

/*----- 7- Testimonials -----*/
.testimonial-slider{
    overflow: hidden;
    position: relative;
    padding: 0.5rem;
    padding-bottom: 4rem;
}

.testi-item {
    padding: 4rem 2rem;
    text-align: center;
    background-color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.testi-item img{
    height: 10rem;
    width: 10rem;
    border-radius: var(--border-radius-3);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

.testi-item h4{
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--secondary-color);
    padding-bottom: 0.3rem;
}

.testi-item h6{
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--main-color);
}

.testi-item p{
    padding: 2rem 0;
}

.testi-item .rating i{
    font-size: 1.6rem;
    color: var(--main-color);
}

/*----- 8- Blogs -----*/
.blog .box-container{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(33rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(33rem, 1fr));
    gap: 1.5rem;
}

.blog-item{
    background-color: var(--white);
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.blog-item .image{
    height: 25rem;
}

.blog-item .content{
    padding: 2rem
}

.blog-item .content .intro{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-bottom: 0.2rem solid var(--main-color);
    padding-top: 0.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 0.5rem;
}

.blog-item .content .intro h5{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 0.7rem;
}

.blog-item .content .intro h5 i{
    font-size: 1.8rem;
    color: var(--main-color);
}

.blog-item .content .intro h5 span{
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--black);
}

.blog-item .content .main-heading{
    display: block;
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    line-height: 1.3;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

.blog-item .content .main-heading:hover{
    color: var(--main-color);
}

.blog-item p{
    padding-bottom: 1.5rem;
}

/*----- 9- Contact -----*/
.contact .alert{
    display: block;
    font-size: 1.8rem;
    color: var(--main-color);
    padding-top: 1rem;
}

.contact-info{
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: (minmax(25rem, 1fr))[auto-fit];
        grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1rem;
}

.contact-info .info-item{
    padding: 3.5rem 2rem;
    background-color: var(--white);
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.contact-info .info-item i{
    height: 6rem;
    width: 6rem;
    font-size: 2.5rem;
    color: transparent;
    -webkit-text-stroke: 0.15rem var(--white);
    background-color: var(--main-color);
    border-radius: var(--border-radius-3);
    margin-bottom: 1rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.contact-info .info-item h3{
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    padding-bottom: 0.4rem;
}

.contact-info .info-item p.gmail{
    text-transform: none;
}

.contact form{
    margin-top: 1.5rem;
    background-color: var(--white);
    padding: 3rem 2.5rem;
    -webkit-box-shadow: var(--box-shadow);
            box-shadow: var(--box-shadow);
}

.contact form input:-webkit-autofill,
.contact form input:-webkit-autofill:hover,
.contact form input:-webkit-autofill:focus,
.contact form input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--secondary-color);
    -webkit-transition: background-color 5000s ease-in-out 0s;
            transition: background-color 5000s ease-in-out 0s;
}

.contact form .input-box{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact form .input-field{
    -webkit-box-flex: 1;
        -ms-flex: 1 1 20rem;
            flex: 1 1 20rem; 
    border: 0.15rem solid rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: var(--border-radius-1);
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 1rem;
}

.contact form .input-field:hover{
    border-color: var(--main-color);
}

.contact form .input-field label {
    color: var(--main-color);
    font-size: 1.6rem;
    width: 2rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.contact form .box{
    width: 100%;
    font-size: 1.6rem;
    color: var(--secondary-color);
    background-color: transparent;
    text-transform: none;
}

.contact form .box::-webkit-input-placeholder{
    text-transform: capitalize;
    color: var(--grey);
}

.contact form .box::-moz-placeholder{
    text-transform: capitalize;
    color: var(--grey);
}

.contact form .box:-ms-input-placeholder{
    text-transform: capitalize;
    color: var(--grey);
}

.contact form .box::placeholder{
    text-transform: capitalize;
    color: var(--grey);;
}

.contact form textarea{
    height: 10rem;
    resize: none;
}

.contact form .text-area {
    -webkit-box-align: start;
    -ms-flex-align: start;
    -ms-grid-row-align: flex-start;
    align-items: flex-start;
    margin-bottom: 1rem;
}


/*------------------------------ All Sections CSS (End) ------------------------------*/