
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

 html{
    scroll-behavior: smooth;
} 

/* Default light theme */
:root{
    --primary-color: #ff651C;
    --dark-color:#373737;
    --bg-color: #ffffff;
    --text-color: #555555;
}

  /* Scroll Bar */
  #scroll{
    background-color: orangered;
    color: whitesmoke;
    position: fixed;
    bottom: 20px;
    right: 18px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
 
  }

  #scroll-bar
  {
 display: block; 
height: calc(100% - 15px);
width: calc(100% - 15px);
background-color: white;
border-radius: 50%;
display: grid; 
place-items: center;
color: #212529;
font-size: 35px;
  }

  /* #scroll-bar  */

body{
    font-family: "Jost", sans-serif;
    font-weight: 400;
    background-color: var(--bg-color);
    color: var(--text-color);
}

img{
    max-width: 100%;
}

a{
    color: var(--primary-color);
    text-decoration: none;
}

a:hover{
    /* color: #CB612F; */
    text-decoration: none; 
    color: var(--dark-color);
}

.text-primary{
    color: var(--primary-color) !important;
}

.text-dark{
    color: var(--primary-color);
}


/* Variable dark theme */
body.dark-theme{
    --primary-color: rgb(119, 138, 146);
    --dark-color: rgb(125, 73, 238);
    --bg-color: #212529;
    --text-color: #f8f9fa;
}

/* Apply colors */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    color: var(--primary-color);
}

a:hover {
    color: var(--dark-color);
}

/* Update toggle button color */
#theme-toggle {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 20px;
    cursor: pointer;
}

#theme-toggle:hover {
    color: var(--dark-color);
}

 




/* Header */
.main-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11;
    background: transparent;
    transition: 0.3s background;
}

.main-header .navbar
{
  padding: 15px 0;
}

.main-header .navbar-nav > li {
    padding: 0 10px ;
}

.main-header .navbar-nav > li > .nav-link
{
    padding: 0 5px ;
    line-height: 35px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--dark-color);
    letter-spacing: 3px;
    position: relative;
}


.main-header .navbar-nav > li > .nav-link:after
{
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: auto;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: ease all 0.3s;
}


.main-header .navbar-nav > li > .nav-link:hover
{
  color:  var(--primary-color);
}

.main-header .navbar-nav > li > .nav-link:hover:after
{
  left: 0;
  right: auto;
  width: 100%;
}


@media (max-width:991px)
{
    .main-header .navbar-collapse{
        border-top: 2px solid var(--primary-color);
        border-bottom: 2px solid var(--dark-color);
        position: absolute;
        right: 0;
        left: 0;
        top: 100%;
        background: #ffff;
    }

    .main-header .navbar-nav > li + li {
        border-top: 1px solid rgb(55, 55, 55, 0.1);
    }

    .main-header .navbar-nav > li > .nav-link {
        line-height: 50px;
    }

    .main-header .navbar-nav > li > .nav-link:after {
        display: none;
    }


    .main-header .navbar-toggler{
        display: flex;
        flex-direction: column;
        border: none;
        padding: 4px 9px;
        outline: none;
        box-shadow: none;
    }

    .main-header .navbar-toggler span{
        height: 2px;
        width: 25px;
        margin: 4px 0;
        transition: 0.3s;
        background: var(--dark-color);
    }

    .main-header .navbar-toggler:not(.collapsed) span:nth-child(1)
    {
    transform: translateY(10px) rotate(45deg);
    }

    .main-header .navbar-toggler:not(.collapsed) span:nth-child(2)
    {
    opacity: 0;
    }

    .main-header .navbar-toggler:not(.collapsed) span:nth-child(3)
    {
    transform: translateY(-10px) rotate(-45deg);
    }
}



.colored-btn
{
    padding: 8px 20px;
    border: 2px solid var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    text-transform: uppercase;
    transition: ease all 0.3s;
    display: inline-block;
    background: var(--primary-color);
    color: #ffff;
    box-shadow: 6px 6px 0 -1px var(--dark-color);
}


.colored-btn:hover
{
  color: #ffff;
  background: var(--dark-color);
  border-color: var(--primary-color);
  box-shadow: 5px 5px 0 -2px var(--primary-color);
}

.bg-gray{
    background-color: rgba(254, 196, 72, 0.1);
}

.bg-dark{
   background-color: var(--dark-color) !important;
}


main{
    position: relative;
    z-index: 1;
}

/* Home section */

.home-section
{
    position: relative;
    overflow: hidden;
    padding-top: 150px;
    padding-bottom: 100px;
}

@media (max-width: 767px) {
    .home-section
    {
    padding-bottom: 70px;  
    }
}


.home-section .container
{
  position: relative;
  z-index: 1;
}

.home-section .home-intro h6
{
  font-weight: 600;
  font-size: 16px;
  color: var(--dark-color);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 30px;
}

@media (max-width: 767px) {
    .home-section .home-intro h6
    {
        margin: 0 0 20px;  
    }
}

.home-section .home-intro h1
{
  font-weight: 600;
  font-size: 70px;
  color: var(--dark-color);
  letter-spacing: 3px;
  line-height: 1;
  margin: 0 0 35px;
}

@media (max-width: 1200px) {
    .home-section .home-intro h1
    {
        font-size: 60px; 
    }
}

@media (max-width: 767px) {
    .home-section .home-intro h1
    {
        margin: 0 0 25px; 
        font-size: 45px; 
    }
}


.home-section .home-intro h1
{
border-bottom: 2px solid #FEC448;
}

.home-section .home-intro p
{
   font-size: 20px;
}

@media (max-width: 767px) {
    .home-section .home-intro p
    {
        
        font-size: 18px; 
    }
}

.socials p{
    margin-top: 40px;
    font-size: 20px;
 }

.socials i {
    margin-right: 25px;
}

.home-image img {
    height: 350px;
    width: 350px;
    object-fit: cover;
    border: 5px solid #ff651C;
    border-radius: 50%;
    position: relative;
    z-index: -2;
    z-index: 1;
}

.animblob{
    position: absolute;
    top: 55%;
    left: 75%;
    height: 30vw;
    width: 30vw;
    background: gray;
    transform: translate(-50%, -50%);
    animation: animate_blob 8s linear infinite;
}

@keyframes animate_blob {
    0%,100% {
     border-radius: 45% 55% 70% 35% / 70% 30% 90% 40%;
    }

    25% {
        border-radius: 55% 45% 30% 35% / 50% 30% 60% 10%;
    }

    50% {
        border-radius: 65% 35% 35% 65% / 40% 60% 30% 70%;
    }

    25% {
        border-radius: 35% 65% 60% 40% / 70% 30% 60% 10%;
    }
}


.anim-elements{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: -1;
}

.anim-elements .anim-element
{
position: absolute;
font-size: 35px;
}

.anim-elements .anim-element:nth-child(1)
{
 top: 12%;
 left: 15%;
 color: var(--primary-color);
 animation: aniOne 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(2)
{
 bottom: 15%;
 left: 45%;
 color: var(--primary-color);
 animation: aniTwo 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(3)
{
 bottom: 20%;
 left: 30%;
 color: var(--primary-color);
 animation: aniThree 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(4)
{
 bottom: 15%;
 right: 25%;
 color: var(--primary-color);
 animation: aniFour 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(5)
{
 bottom: 15%;
 top: 12%;
 color: var(--primary-color);
 animation: aniFive 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(6)
{
 top: 25%;
 left: 40%;
 color: var(--primary-color);
 animation: aniSix 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(7)
{
 right: 23%;
 left: 35%;
 color: var(--primary-color);
 animation: aniSeven 13s infinite linear alternate;
}

.anim-elements .anim-element:nth-child(8)
{
 bottom: 12%;
 left: 15%;
 color: var(--primary-color);
 animation: aniEight 13s infinite linear alternate;
}



@keyframes aniOne{
    0% {transform: translate(0,0) rotate(0);}
    40% {transform: translate(141px,72px) rotate(75deg);}
    80% {transform: translate(-141px,72px) rotate(145deg);}
    100% {transform: translate(0,0) rotate(0);}
}

@keyframes aniTwo{
    0% {transform: translate(0,0) rotate(0) scale(1);}
    40% {transform: translate(73px,-1px) rotate(36deg) scale(0.9);}
    80% {transform: translate(83px,72px) rotate(122deg) scale(1.2);}
    100% {transform: translate(0,0) rotate(0) scale(1);}
}

@keyframes aniThree{
    0% {transform: translate(-300px,150px) rotate(0) ;}
    100% {transform: translate(250px,-200px) rotate(180deg);}
}


@keyframes aniFour{
    0% {transform: translate(61px,-99px) rotate(0);}
    20% {transform: translate(4px,-190px) rotate(38deg);}
    60% {transform: translate(-263px,-164px) rotate(108deg);}
    100% {transform: translate(-1px,0) rotate(180deg);}
}

@keyframes aniFive{
    0% {transform: translate(45,76) rotate(2) scale(1);}
    40% {transform: translate(141px,72px) rotate(75deg);}
    80% {transform: translate(-141px,72px) rotate(145deg);}
    100% {transform: translate(0,0) rotate(0) scale(1);}
}

@keyframes aniSix{
    0% {transform: translate(-300px,150px) rotate(0) ;}
    100% {transform: translate(250px,-200px) rotate(180deg);}
}

@keyframes aniSeven{
    0% {transform: translate(61px,99px) rotate(0);}
    20% {transform: translate(4px,190px) rotate(38deg);}
    60% {transform: translate(26px,64px) rotate(108deg);}
    100% {transform: translate(11px,90px) rotate(180deg);}
}

@keyframes aniEight{
    0% {transform: translate(61px,19px) rotate(0);}
    20% {transform: translate(4px,70px) rotate(38deg);}
    60% {transform: translate(26px,64px) rotate(45deg);}
    100% {transform: translate(11px,40px) rotate(30deg);}
}




/* ------------ ABOUT ------------- */
 .section{
    padding: 0;
    position: relative;
 }

 @media(max-width:991px){
    .section{
        padding: 80px 0;
    }
 }

 @media(max-width:767px){
    .section{
        padding: 60px 0;
    }
 }


/* ------------ SERVICES ------------- */
.services{
    margin-top: 5rem;
}

.grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 10px;
    margin-left: 100px;
}

.services-container{
    row-gap: 2.5 rem;
    justify-content: center;
   
}

.services-card{
    height: 322px;
    width: 228px;
    position: relative;
    color: #f8f9fa; 
    text-align: center;
    background-color: lightslategray;
    padding: 2.5rem 1rem;
    border-radius: 10%;
    /* border-radius: 7.25rem; */
    box-shadow: 10px 5px 10px rgba(248, 93, 2, 0.938);

}

.services-card i{
   font-size: 1rem;
   display: block;
   color: #f8f9fa;
   margin-bottom: .75rem;
   transition: transform .8s;
}

.services-card:hover i{
    transform: rotateY(360deg);

}

.glance{
    text-align: center;

    h1{
        font-size:50px; 
        margin-top: 40px;
        line-height: 5vw;
    }

}


/* ------------ SKILLS ------------- */

.skills{
    background: blue;
    color: lightgreen;
    font-weight: bold;
    margin-top: 40px;
    margin-left: 80px;
    width: 1200px;
}

.skill-main{
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2,1fr);
    grid-row-gap: 30px;
    grid-column-gap: 50px;
    margin-left: 15px;
}

.main-text
{
    text-align: center;
}
.skill-bar{
    margin-bottom: 2.3rem;
}

.skill-main h3{
    text-align: center;
    margin-bottom: 2rem;
}


.skill-left .skill-bar .info{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.skill-left .skill-bar .bar
{
  height: 12px;
  width: 100%;
  background-color: var(--dark-color);
  border-radius: 25px;
  margin-top: 10px;
  position: relative;
}

.skill-bar .bar span
{
  height: 100%;
  width: 50%;
  position: absolute;
  left: 0;
  border-radius: 25px;
  box-shadow: 1px 1px 1px 1px rgba(5, 212, 248, 0.938);
}

.skill-bar .bar .html{
    width: 70%;
    animation: html 2s;
}

.skill-bar .bar .css{
    width: 65%;
    animation: css 3s;
}

.skill-bar .bar .js {
    width: 60%;
    animation: js 4s;
}

.skill-bar .bar .mern {
    width: 50%;
    animation: js 5s;
}

@keyframes html {
    0%{
        width: 0%;
    }
    100%{
        width: 70%;
    }
}

@keyframes css {
    0%{
        width: 0%;
    }
    100%{
        width: 65%;
    }
}

@keyframes js {
    0%{
        width: 0%;
    }
    100%{
        width: 60%;
    }
}

@keyframes mern {
    0%{
        width: 0%;
    }
    100%{
        width: 50%;
    }
}

 


/* Circle Progress Styling */
 
/* Outer and Inner Circle Styling */
.outer-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(lightgreen calc(var(--percent) * 1%), #282828 0);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    position: relative;
}

.inner-circle {
    width: 90px;
    height: 90px;
    background: #282828;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: lightgreen;
    position: relative;
}

.professional {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto;
}

.box .text {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 15px;
    color: lightgreen;
}

.box .text big {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

@media(max-width:991px){
    .section{
        padding: 80px 0;
    }
 }

 @media(max-width:767px){
    .section{
        padding: 60px 0;
    }
 }


/* ------------ PORTFOLIO ------------- */




.portfolio {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

h1 {
    font-size: 36px;
    color: #ec6a47;
    margin-bottom: 20px;
}

.filter-buttons {
    margin-bottom: 30px;
}

.filter-buttons button {
    background-color: #ec6a47;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.filter-buttons button:hover {
    background-color: blueviolet;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background-color: #f3f5f6;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.gallery-item p {
    margin: 15px 0;
    font-size: 18px;
    color: #333;
}


/* ------------ CONTACT ------------- */

.contact .container{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 4rem;
}

.mail{
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
}

.mail i{
    display: inline-block;
    margin-left: 2px;
    font-size: 1.5rem;
    transform: translateY(3px);
    transition: 0.3s;
}

.mail:hover{
    color:green;
}

.mail:hover i{
    margin-left: 10px;
}

.contact-form{
    background-color:lightslategray;
    border-radius: 20px;
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
}

.contact-info{
    margin-top: 100px;
}

.contact-form h3{
    color: black;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  line-height: 0.9;
  width: 100%;
  font-family: inherit;
  outline: none;
  transition: 0.3s;
}

 h3 i{
    transition: transform .8s;
 }
 
  h3:hover i{
     transform: rotateX(360deg);
 
 } 


.form-input {
    display: inline-block;
    padding: 0.9rem 1.5rem;
    margin-bottom: 1rem;
}

.form-input:hover {
  filter: brightness(97%);
}

.form-input:valid {
    filter: brightness(100%);
  }

textarea.form-input {
    min-height: 170px;
    resize: none;
}



/* ------------ FOOTER ------------- */
.footer{
    margin-top: 20px;
    margin-bottom: 20px;
}

        /* .fa:hover {
            opacity: 0.9;
        }
  */
        
      /* .fa-facebook {
      background: #3B5998;
      color: white;
       }

 
      .fa-twitter {
        background: #55ACEE;
        color: white; 
       }

        .fa-linkedin {
            background: #007bb5;
            color: white;
        }
 
        .fa-pinterest {
            background: #cb2027;
            color: white;
        }
 
        .fa-reddit {
            background: #ff5700;
            color: white;
        } */


        /* .fa {
            padding: 10px;
            font-size: 40px;
            width: 60px;
            text-decoration: none;
            margin: 5px 70px;
        } */

