*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    background: #080808;
    color: #080808;
}
#header{
    width: 100%;
    height: 100vh;
    background-image: url(images/background.png);
    background-size: cover;
    background-position: center;
}
#follower{
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #ff004f;
    position: absolute;
    margin: -13px 0 0 -13px;
}
/* -----------------Bottom right scroll up button----------------------- */
/* Floating Back to Top Button Styles */
.back-to-top {
    position: fixed;
    bottom: 7px;
    right: 7px;
    background-color: #fff; /* Button background color when not clicked */
    color: #ff004f; /* Arrow color when not clicked */
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.3s ease;
}
/* ----------------------------- */

/* ------------Scroll wheel color and design are changed----------------- */

/* Add a FontAwesome class for the red arrow when not clicked */
.back-to-top i.fa-arrow-up {
    color: #ff004f;
}

/* Styles for the button when it's clicked or hovered */
.back-to-top.clicked {
    background-color: #ff004f; /* Button background color when clicked */
    color: #fff; /* Arrow color when clicked */
}

.back-to-top.clicked i.fa-arrow-up {
    color: #fff; /* Arrow color when clicked */
}

.back-to-top:hover {
    background-color: #ff004f; /* Button background color on hover */
}

/* Change the arrow color to white when hovering */
.back-to-top:hover i.fa-arrow-up {
    color: #fff; /* Arrow color on hover */
    transform: scale(1.1); /* Button scaling on hover */
}

/* Style the scrollbar track (background) */
/* Note: Different browsers may require different vendor prefixes */
::-webkit-scrollbar {
    width: 15px; /* Width of the scrollbar */
}

/* Style the scrollbar thumb (the draggable part) */
::-webkit-scrollbar-thumb {
    background-color: #ff004f; /* Thumb color */
    border-radius: 5px; /* Rounded corners */
}

/* Style the scrollbar track on hover */
::-webkit-scrollbar-track:hover {
    background-color: #616060; /* Track color on hover */
}

/* -------------------------------- */

.container{
    padding: 10px 10%;
}
nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.logo{
    padding-top: 30px;
    width: 200px;
    margin-left: -100px;
}
nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    font-weight: bold;
    color: #080808;
    text-decoration: none;
    font-size: 22px;
    position: relative;
}
nav ul li a::after{
    content: '';
    width: 0%;
    height: 3px;
    background: #ff004f;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}
.header-text{
    margin-top: 20%;
    font-size: 30px;
}
.header-text p{
    margin-left: 5%;
}
.header-text h1{
    font-size: 60px;
    margin-top: 20px;
}
.header-text h1 span{
    color: #ff004f;
    font-size: 66px;
}
#typing-text{
    margin-left: -5%;
}
nav a:hover{
    transform: translateY(-3px);
}


/*-------------------about------------------*/

#about{
    padding: 40px 0;
    color: #ababab;
    background-color: #080808;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 35%;
}
.about-col-1 img{
    margin-top: 110px;
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 60%;
}
.sub-title{
    font-size: 60px;
    margin-bottom: 40px;
    font-weight: 600;
    color: #ffffff;
}
.my-paragraph {
    font-size: 17px;
  }
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-top: 20px;
    margin-right: 50px;
    font-size: 26px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #04a000;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}

/* ---------------Created color and hover design in optoins----------------- */

/* Style for the options */
.tab-links strong {
    font-weight: normal; /* Set the default font weight */
    color: #ffffff; /* Set the default color */
    transition: color 0.3s ease; /* Add a color transition effect */
}

/* Style for the clicked option */
.tab-links.active-link strong {
    font-size: 30px;
    font-weight: bold; /* Change to bold font weight when clicked */
    color: #04a000; /* Change to your preferred color when clicked */
    transition: color 3s ease; /* Add a color transition effect */
}

/* Hover effect */
.tab-links strong:hover {
    color: #ff004f; /* Change to your hover color */
}

/* -------------------------------- */

.tab-links.active-link::after{
    width: 60%;
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #04a000;
    font-size: 20px;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
}
.badge-container {
    display: flex;
    gap: 30px;
}

/* -----------------------services-------------------- */

#services{
    background-color: #080808;
    color: #ffffff;
    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: #444343; padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.fa-solid.fa-circle-check {
    color: green;
}
.fa-solid.fa-magnifying-glass-chart{
    color: rgb(30, 142, 247);
}
.fa-solid.fa-chalkboard-user{
    color: rgb(162, 13, 231);
}
.fa-solid.fa-file-waveform{
    color: orange;
}
.fa-solid.fa-money-bill-trend-up{
    color: yellow;
}
.fa-solid.fa-book-open-reader{
    color: rgb(17, 209, 209);
}
.fa-solid.fa-file-word{
    color: rgb(230, 100, 100);
}
.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: #0b9248;
transform: translateY(-10px);
}

/* -----------------------portfolio-------------------------- */

#portfolio{
    background-color: #080808;
    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{
    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), green);
    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{
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    background-color: #00000069;
    border-radius: 20px;
    padding: 15px 22px;
}
.work .layer h3:hover {
    color: #ff004f; 
    transition: color 1s ease-in-out;
}
.layer p{
    color: #ffffffcc;
    font-size: 16px;
}
.layer a{
    margin-top: 20px;
    color: #ff004f;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #00000069;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    opacity: 0.9;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid rgb(255, 255, 255);
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: background 0.5s;
}
.btn:hover{
    background: green;
    color:#ffffff
}

/* -------------------------hobbies------------------------- */

#hobbies {
    background-color: #080808;
    padding: 0px 0;
}

.hobbies-container{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.hobby{
    width: calc(33.33% - 20px);
    padding: 20px;
    background-color: black;
    border-radius: 8px;
    background: linear-gradient(rgba(0,0,0,0.6), green);
    box-shadow: 0px 2px 5px #0a993a;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 50px;
}

.hobby i{
    color: #0a993a;
}

.hobby h2{
    font-size: 50px;
    margin-bottom: 30px;
}

.hobby img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}

.hobby h3{
    font-size: 30px;
    margin-top: 10px;
    margin-bottom: 10px;
    color: #ffffff;
}

.hobby p{
    font-size: 18px;
    color: black;
}

/* ----------------------------contact--------------------------- */

#contact{
    background-color: #080808;
    margin-top: 70px;
}
.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 13%;
    color: white;
}
.contact-left p i{
    color: #ff004f;
    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: #ff004f;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #080808;
}
.btn.btn2:hover{
    background-color: #ff004f;
    cursor: pointer;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #414040;
    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;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 10px;
}
.copyright p{
    color: rgb(206, 218, 190);
}

/* ----------------------css for small screens----------------------- */

nav .fa-solid{
    display: none;
}
@media only screen and (max-width: 600px){
    #header{
        background-image: url(images/phone-background.png);
    }
    .header-text{
        margin-top: 80%;
        font-size: 18px;
    }
    .header-text p{
    margin-left: 0%;
    }
    .header-text h1 span{
        color: #ff004f;
        font-size: 25px;
    }
    .header-text h1{
        font-size: 30px;
    }
    nav .fa-solid{
        display: block;
    }
    nav a img{
        transform: scale(0.7);
    }
    nav ul{
        background: #ff004f;
        position: fixed;
        top: 0;
        right: -130px;
        width: 130px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.7s;
    }
    nav ul li{
        display: block;
        margin: 25px;
    }
    nav ul li a{
        color: white;
        font-weight: 100;
        font-size: 18px;
    }
    nav ul .fa-solid{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
        color: white;
    }
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-1{
        margin-bottom: 30px;
    }
    .about-col-2{
        font-size: 14px;
    }
    .hobby{
        width: 30%;
    }
    .hobby h3{
        font-size: 18px;
    }
    .hobby p{
        font-size: 13px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}
