/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');


*{
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background-color: #070707;
    color: #fff;
}
.logo {
    width: 200px;
    height: auto;
}
#sidemenu {
    background: none;
    position: static;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    gap: 20px;
}
.fas.fa-bars, .fas.fa-times {
    display: none;
}

/* Ensure hero section is not covered */
.hero {
    position: relative;
    z-index: 1;
}

#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/background.jpg) no-repeat center center/cover;
    background-size: cover;
    background-position: center;
}
.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}
nav ul li {
    display: inline-block;
    list-style: none;
    margin: 10px 25px;
}
nav ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 19px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0;
    height: 3px;
    background: #3dffdf;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 10%;
    font-size: 15px;
}
.header-text h1{
    font-size: 55px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #3dffdf;
}

#about{
    padding: 80px 0;
    color: #ffffff;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 60%;
}
.sub-title{
    font-size: 60px;
    font-weight: 600;
    color: #41f537;
}
.tab-titles{
    display: flex;
    margin: 30px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 30px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #a01ff7;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width: 50%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #ff904b;
    font-size: 20px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #6656f8;
    transform: translateY(-10px);
}
#portfolio{
    padding: 50px 0;
}
.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{
    height: 350px;
    width: 590px;
    border-radius: 1%;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rba(0,0,0,0.6), #ff004f);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 900;
    margin-bottom: 15px;
    color: #e35604;
    font-size: 20px;
}
.layer p{
    color: #580075;
    background: rgb(255, 255, 255);
    font-weight: 700;
}
.layer a{
    margin-top: 20px;
    color: #10040a;
    text-decoration: none;
    font-size: 19px;
    line-height: 55px;
    background: #ffff00;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    text-align: center;
}
.hiddenp {
    display: none;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #3dffdf;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #6656f8;
    transition: background 0.5s;
}
.btn:hover{
    background: #e6f636;
}

.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #008ab0f2;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
    text-decoration: none;
    font-size: 30px;
    margin-right: 15px;
    color: #ababab;
    display: inline-block;
    transition: transform 0.5s;
}
.social-icons a:hover{
    color: rgb(0, 9, 184);
    transform: translateY(-5px);
}
.btn1.btn2{
    display: inline-block;
    background: #ff0000;
    color: #ffffff;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    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;
}

/* Header */



/* Hero Section */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('images/background.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Dark Overlay */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.hello {
    color: #ff6f00;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

h1 {
    font-size: 4.5rem;
    font-weight: 700;
}

h1 span {
    color: #ff6f00;
}

.roles {
    font-size: 1.2rem;
    font-weight: 550;
    margin: 10px 0 20px;
}
.roles span{
    display: inline-block;
}
.roles span::after{
    content: "|";
	text-align: center;
	display: inline-block;
	padding: 0 8px 0 14px;
	color: rgba(255, 255, 255, 0.3);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 2px solid #ffe600;
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 20px;
}
.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30vh; 
}

.btn1 {
    display: inline-block;
    padding: 12px 24px;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    background: transparent;
    border: 2px solid #0cce0c;
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 10px;
}

.btn:hover {
    background: #ffe600;
    color: #000;
}
.btn1:hover {
    background: #22ff00;
    color: #000;
}
.intro-info {
	margin-top: 5rem;
	margin-right: 25px;
	margin-left: 25px;
}
.intro-info img {
	height: 20rem;
	width: 20rem;
	border-radius: 50%;
	margin: .9rem 0 0 0;
	float: left;
}
#msg{
    color: #4fec33;
    margin-top: -20px;
    display: block;
}

#skills {
	list-style: none;
	margin: 6rem 0 3rem;
}
#skills li {
	height: .6rem;
	background: #a1a1a1;
	width: 100%;
	margin-bottom: 6rem;
	padding: 0;
	position: relative;
}
#skills li strong {
	position: absolute;
	left: 0;
	top: -3rem;
	font-family: "poppins-bold", sans-serif;
	color: #ff6f00;
	text-transform: uppercase;
	letter-spacing: .2rem;
	font-size: 1.5rem;
	line-height: 2.4rem;
}
#skills li .progress {
	background: #eaba0a;
	position: relative;
	height: 100%;
}
#skills li .progress span {
	position: absolute;
	right: 0;
	top: -3.6rem;
	display: block;
	font-family: "poppins-regular", sans-serif;
	color: white;
	font-size: 1.1rem;
	line-height: 1;
	background: #313131;
	padding: .6rem .6rem;
	border-radius: 3px;
}
#skills li .progress span::after {
	position: absolute;
	left: 50%;
	bottom: -5px;
	margin-left: -5px;
	border-right: 5px solid transparent;
	border-left: 5px solid transparent;
	border-top: 5px solid #313131;
	content: "";
}

#skills li .percent5   { width: 5%; }
#skills li .percent10  { width: 10%; }
#skills li .percent15  { width: 15%; }
#skills li .percent20  { width: 20%; }
#skills li .percent25  { width: 25%; }
#skills li .percent30  { width: 30%; }
#skills li .percent35  { width: 35%; }
#skills li .percent40  { width: 40%; }
#skills li .percent45  { width: 45%; }
#skills li .percent50  { width: 50%; }
#skills li .percent55  { width: 55%; }
#skills li .percent60  { width: 60%; }
#skills li .percent65  { width: 65%; }
#skills li .percent70  { width: 70%; }
#skills li .percent75  { width: 75%; }
#skills li .percent80  { width: 80%; }
#skills li .percent85  { width: 85%; }
#skills li .percent90  { width: 90%; }
#skills li .percent95  { width: 95%; }
#skills li .percent100 { width: 100%; }



/* CSS for small screens */
nav .fas{
    display: none;
}

@media only screen and (max-width:600px){
    #header{
        background-image: url(images/background.jpg);
        background-size: cover;
        background-position: center;
    }
    .header-text{
        margin-top: 100%;
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    .hero {
        height: auto;
        padding: 50px 20px;
        text-align: center;
    }
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #ff904b;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s ease-in-out;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1{
        flex-basis: 100%;
        font-size: 14px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    #sidemenu {
        background: #ff904b;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        z-index: 100;
        transition: right 0.5s ease-in-out;
    }
    #sidemenu li {
        display: block;
        margin: 15px 0;
    }
    .fas.fa-bars, .fas.fa-times {
        display: block;
        font-size: 24px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 20px;
    }
    .fas.fa-times {
        right: 15px;
    }
    .logo {
        width: 150px;
    }
}
