@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


:root {
    --main-color: #00abf0;
    --second-bg-color: #081b29;
    --text-color: #fff;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    color: white;
    background-color: #081b29;
}

header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background-color: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    transition: .3s;
}

.header .sticky{
    background: #081b29;
}

.logo{
    position: relative;
    font-size: 25px;
    color: #ededed;
    text-decoration: none;
    font-weight: 600;
}

.logo::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: .4s;
}
.navbar a{
    font-size: 18px;
    color: #ededed;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active{
    color: #00abf0;
}



/*home*/
.home{
   /* background: url('10_14_2023\ 1_26_13\ PM.png') no-repeat;*/
    background-size: cover;
    background-position: center;
    height: 100vh;
    display:flex;
    align-items: center;
    padding: 0 10%;
}

.home-content{
    max-width: 600px;
}

.home-content h1{
    position: relative;
    font-size: 56px;
    font-weight: 700;
    line-height: 1.4;
}

.home-content h1::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 1s;
}
.home-content h3{
    position: relative;
    font-size:32px ;
    font-weight: 700;
    color: #00abf0;
}

.home-content h3::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 1.3s;
}



.home-content p::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 1.6s;
}

.home-content .btn-box{
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 345px;
    height: 50px;
}

.home-content .btn-box::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 1.9s;
    z-index: 2;
}

.btn-box a{
    position:relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 100%;
    background: #00abf0;
    border: 2px solid #00abf0;
    border-radius: 8px;
    font-size: 19px;
    color: #081b29;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.btn-box a:hover{
    color: #00abf0;
}
.btn-box a:nth-child(2){
    background: transparent;
    color: #00abf0;
}
.btn-box a:nth-child(2):hover{
    color: #081b29;
}
.btn-box a:nth-child(2)::before{
    background: #00abf0;
}
.btn-box a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #081b29;
    z-index: -1;
    transition: .5s;
}
.btn-box a:hover::before{
    width: 100%;
}

.home-sci{
    position: absolute;
    bottom: 40px;
    width: 170px;
    display: flex;
    justify-content: space-between;
}


.home-sci::before{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 2.5s;
    z-index: 2;
}


.home-sci a{
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #00abf0;
    border-radius:50%;
    font-size: 20px;
    color: #00abf0;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
    transition: .5s;
}

.home-sci a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #00abf0;
    z-index: -1;
    transition: .5s;
}

.home-sci a:hover{
    color: #081b29;
}

.home-sci a:hover::before{
    width: 100%;
}

.home-imgHover{
    position: absolute;
    top: 0;
    right: 0;
    width: 510px;
    height: 100%;
    background: transparent;
    transition: 3s;
    animation: maniActiveHover .1s forwards;
    animation-delay: 4s;
    pointer-events: none;
}

.home-imgHover:hover{
    background: #081b29;
    opacity: 0.8;
}


.home-imgHover::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120%;
    height: 100%;
    background: #081b29; 
    animation: showRight 1s ease forwards;
    animation-delay: 3s;
    z-index: 100;
}


@keyframes showRight{
    100%{
        width: 0;
    }
}

@keyframes maniActiveHover{
    100%{
        pointer-events: auto;
    }
}


/*about*/
.about{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background: var(--second-bg-color);
    padding-bottom: 6rem;
}

.heading{
    font-size:5rem;
    margin-bottom: 3rem;
    text-align: center;
}
span{
    color: var(--main-color);
}

.about-image{
    position: relative;
    width: 25rem;
    height: 25rem;
    border-radius:50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img{
    width: 200px;
    height: 200px;
    border-radius:100px;
    border:2px solid #00abf0;
}

.about-image .circle-spin{
    position: absolute;
    top: 50%;
    left:50%;
    transform:translate(-50%, -50%) rotate(0);
    width:230px;
    height:230px;
    border-radius:50%;
    border-top: .2rem solid #081b29;
    border-bottom: .2rem solid #081b29;
    border-left: .2rem solid #00abf0;
    border-right: .2rem solid #00abf0;
}

.about-content{
    text-align: center;
}

.about-content h3{
    font-size:2.6rem ;
}

.about-content p{
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}


.btn-box{
    display: inline-block;
    width: 15rem;
}


.btn-box a::before{
    background: #081b29;
}



/*education*/
.education{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 5rem;
}


.education .education-row{
   display: flex;
   flex-wrap: wrap;
   gap: 5rem; 
}

.education-row .education-column{
    flex:1 1 40rem;
}

.education-column .title{
    font-size: 2.5rem;
    margin: 0;
}

.education-column .education-box{
    border-left: .2rem solid #00abf0;
    margin-left: 30%;
}


.education-box .education-content{
    position: relative;
    padding-left: 2rem;
}


.education-box .education-content::before{
    content: '';
    position: absolute;
    top: 0;
    left: -1.1rem;
    width: 2rem;
    height: 2rem;
    background: #00abf0;
    border-radius: 50%;
}
.education-content .content{
    position: relative;
    padding: 1.5rem;
    border: .2rem solid #00abf0;
    border-radius: .6rem;
    margin-bottom: 2rem;
    width: 100%;
    overflow: hidden;
}

.education-content .content::before{
    content: '';
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #31383d;
    z-index: -1;
    transition: .5s;
}

.education-content .content:hover::before{
    width: 60%;
}

.education-content .content .year{
    font-size: 1.5rem;
    color: #00abf0;
    padding-bottom: .5rem;
}

.education-content .content .year i{
    padding-right: .5rem;
}

.education-content .content h3{
    font-size: 1rem;
}



/*skills*/
.skills {
    min-height: auto;
    padding-bottom: 7rem;
    background: #081b29;
}

.skills .skills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem; /* Reduced the gap for better spacing */
}

.skills-row .skills-column {
    flex: 1;
    margin: 1rem; /* Added margin for better spacing */
    padding: 2rem; /* Added padding for better spacing */
    background-color: #0b283d; /* Changed background color */
    border: 2px solid #00abf0;
    border-radius: 10px; /* Increased border radius */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #fff;
    transition: background-color 0.3s; /* Smooth transition for hover effect */
}

.skills-column:hover {
    background-color: #081b29; /* Change the background color on hover */
}

.skills-column h3 {
    font-size: 2rem; /* Adjusted font size */
    margin: 0 0 1rem;
}

.skills-box .skills-content {
    position: relative;
    padding: 1rem 1.5rem;
    z-index: 1;
    overflow: hidden;
}

.skills-box .skills-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #00abf0; /* Changed background color */
    transition: width 0.5s; /* Transition width for the effect */
    z-index: -1;
}

.skills-content h3 {
    font-size: 1.6rem; /* Adjusted font size */
    margin: 0;
}

.skills-content h3 span {
    color: var(--text-color);
}

/* Corrected hover effect for the ::before pseudo-element */
.skills-box .skills-content:hover::before {
    width: 100%;
}



/*service*/

/* Style for the Service Section */
.services {
    background-color: #081b29;
    padding: 40px 0;
    color: #fff;
  }


  .bio{
    font-size: 25px;
    padding: 0 10px 5px 0;
    margin: 10px 10px 20px 10px;
  }

  .bio p{
    margin-left:10px ;
  }
  .bio #pok{
    padding-top: 30px;
  }
  .service-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .service-column {
    flex: 1;
    background-color: #081b29;
    padding: 20px;
    border: 2px solid #00abf0;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #fff;
  }


  .service-column:hover{
    background:#0b283d;
  }
  
  .service-column h3 {
    font-size: 20px;
    margin: 0 0 10px;
  }
  
  .service-column p {
    font-size: 16px;
    margin: 0 0 20px;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition:  0.3s;
  }
  
  .btn:hover {
    background-color: #081b29;
  }
  



/* Common styles for both mobile and desktop */
.contact {
    background-color: #081b29;
    padding: 20px;
}


.contact .contact-details {
    margin-top: 20px;
}

.contact .contact-detail {
    margin-bottom: 10px;
    font-size: 18px;
}

.contact .contact-detail i {
    margin-right: 10px;
    font-size: 24px;
    vertical-align: middle;
}

.contact .contact-detail a {
    text-decoration: none;
    color: #007BFF;
}

.contact .contact-detail a:hover {
    color: #0056b3;
}



/**mobile and tablet*/


@media (min-width: 768px) and (max-width: 1024px) {
    header {
      padding: 20px 5%;
    }
  
    .home-content h1 {
      font-size: 42px;
    }
  
    .home-content h3 {
      font-size: 28px;
    }
  
    .btn-box {
      width: 180px;
    }
  
    .btn-box a::before {
      background: var(--second-bg-color);
    }
  
    .home-sci {
      bottom: 30px;
      width: 150px;
    }
  
    .home-sci a {
      width: 35px;
      height: 35px;
      font-size: 18px;
    }
    .contact {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .contact .heading {
        font-size: 20px; /* Smaller font size for headings on mobile */
    }

    .contact .contact-detail {
        font-size: 16px; /* Smaller font size for contact details on mobile */
    }

  }
  

  