 /*By Digital Dynamo*/
 * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #081b29;
  color: #ededed;
  overflow-wrap: break-word;
    overflow-x: hidden;


}

.header {
  background: #081b29;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  transition: .5s;


}

.logo img {
  width: 200px;
}

.nav a {
  text-decoration: none;
  font-size: 25px;
  color: #ededed;
  font-weight: 500;
  margin-left: 40px;
  position: relative;

}
.nav a::after{
  position: absolute;
  content: " ";
  width: 0%;
  height: 3px;
  background-color: #fff;
  left: 0;
  bottom: -6px;
  transition: .4s;

}
.nav a.active::after{
  width: 100%;

}
.nav a:hover::after{
  width: 100%;

}

.nav a:hover,
.nav a.active {
  color: #00abf4;
}

.home {
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0 10%;
  overflow-y: hidden;
}

#home {
  background-color: #081b29;
}

#about {

  color: #ededed;
}


.home-content {
  width: 800px;
  line-height: 1.5;
  letter-spacing: 1px;
}

.home-content h2 {
  font-size: 56px;
  color: #00abf4;
}

#profession {
  font-size: 40px;
  color: #ededed;
}

.p {
  font-size: 25px;
  color: #ededed;
  width: 700px;
}

.social {
  position: absolute;
  bottom: 40px;
  width: 400px;
  display: flex;
  justify-content: space-between;
}

.social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 1px solid #00abf4;
  border-radius: 50%;
  font-size: 30px;
  color: #00abf0;
  text-decoration: none;
  padding: 0%;
  transition: 1s;
  cursor: pointer;
}

.social a:hover {
  background: #00abf4;
  color: #081b29;
}

.buttons {
  position: absolute;
  bottom: 20%;
}

.btn {
  background-color: #00abf4;
  color: #000000;
  padding: 10px 20px;
  margin-right: 20px;
  border: .5px solid #00abf0;
  border-radius: 15px;
  cursor: pointer;
  font-size: 18px;
  transition: 1s;
}

.btn:hover {
  background-color: #000000;
  color: #00abf4;
}

a {
  text-decoration: none;
}

#menu-icon {
  font-size: 3.6rem;
  cursor: pointer;
  display: none;
}

#projects {
  background-color: #112e42;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: auto;
  margin-bottom: 20px;
  padding-top: 100px;
}

#projects h1 {
  text-align: center;
  font-size: 60px;
  color: #00abf4;
  width: 100%;
  margin: 20px;
  margin-top: 40px;
}

.hr {
  width: 40%;
}

.container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 10px 2%;
}

.display {
  width: 320px;
  height: 350px;
  border: 1px solid #2f2a2a;
  box-shadow: 0px 0px 30px #4b4949;
  background: linear-gradient(45deg, #0a0a0a, #3a4452);
  display: flex;
  align-items: center;
  padding: 5px;
  flex-direction: column;
  margin-bottom: 50px;
  margin-left: 50px;
}
.display .technologies{
  width: 100%;
  margin-top: 10px;
}
.technologies .tech-badge{
  padding: 5px;
  font-size: 12px;
  background-color: #DC3545;
  color: #fff;
  margin-right: 5px;
  border-radius: 20%;
}

.display a {
  text-decoration: none;
}

.display img,
.display video {
  width: 100%;
  height: 210px;
  aspect-ratio: 16/9;
}

.display h2 {
  margin-top: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: #ffffff;
  margin-left: 5px;
  
}

.display p {
  margin-top: 5px;
  font-size: 17px;
  text-align: left;
  margin-left: 5px;
  color: #ffffff;
}

hr {
  width: 80%;
  color: #ffffff;
}

/* contact style */
.contact {
background-color: #081b29;
padding: 100px 20px;
text-align: center;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
height: 120vh;
flex-direction: column;
}


.contact h2 {
font-size: 36px;
margin-bottom: 30px;
color: #00abf4;
}

.contact p {
font-size: 30px;
line-height: 1.6;
margin-bottom: 20px;
}

.social-links {
display: grid;
grid-template-columns: repeat(2, 1fr);
justify-items: center;
align-items: center;
width: 100%;
}

.social-icon {
display: flex;
width: 450px;
flex-direction: row;
align-items: center;
padding: 20px;
background-color: #112E42; 
border-radius: 10px;
text-decoration: none;
color: #fff;
transition: transform 0.3s, box-shadow 0.3s;
margin-bottom: 60px; 


}
.social-links:nth-child(odd){
margin-right: 120px
}

.social-icon:hover {
transform: translateY(-5px); 
box-shadow: 0 10px 20px #112E42; 
}

.social-icon i {
font-size: 36px;
margin-bottom: 10px;
border: 2px solid white;
border-radius: 50%;
padding: 10px;
margin-right: 30px;
}

.social-icon span {
font-size: 28px;
}
.instagram:hover {
background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888, #9317ac, #6e1fd9, #3c22f6, #15b2d3, #07a7c2, #00abf4);
-webkit-background-clip: text;
color: transparent;
}
.facebook:hover {
background: linear-gradient(45deg, #3b5998, #4e69a2, #5b7dbb, #6a93d1, #7dbae6, #a1caf5, #c5e1fa, #e0f1fc, #e0f1fc, #e0f1fc, #e0f1fc); 
-webkit-background-clip: text;
color: transparent;
}

.github:hover {
  background: linear-gradient(to bottom, #194260, #315571);
-webkit-background-clip: text;
color: transparent;
}

.youtube:hover {
background: linear-gradient(45deg, #ff0000, #ff3300, #fff);
-webkit-background-clip: text;
color: transparent;
}
.tiktok:hover {
background: linear-gradient(45deg, #69c9d0, #72b6ce,#333, #666, #be43af, #cb35a4, #d82798); 
-webkit-background-clip: text;
color: transparent;
}
.whatsapp:hover{
background: linear-gradient(135deg, #25D366, #128C7E);
-webkit-background-clip: text;
color: transparent;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background-color:#112E42;
    height: auto;
}

.max-width {
    max-width: 1300px;
    padding: 0 80px;
    margin: auto;
}

.title {
    position: relative;
    text-align: center;
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 60px;
    padding-bottom: 20px;
    color: #00abf4;
}

.title::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 180px;
    height: 3px;
    background: #00abf4;
    transform: translateX(-50%);
}

.title::after {
    content: "what i know";
    position: absolute;
    bottom: -12px;
    left: 50%;
    font-size: 20px;
    color: #00abf4;
    padding: 5px;
    background: #112E42;
    transform: translateX(-50%);
}

.skills-content {
    display: grid;
    grid-template-columns: repeat(3, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 20px;
}

/* Skill Cards */
.skill-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 25px rgba(0, 171, 244, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.card-header i {
    font-size: 3em;
    margin-right: 15px;
    color: #00abf4;
}

.card-header h3 {
    font-size: 1.5em;
    font-weight: 600;
    color: #00abf4;
}

/* Skill Bars */
.skill-box {
    width: 100%;
    margin: 25px 0;
}

.skill-box .skill-title {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ededed;
}

.skill-box .skill-bar {
    height: 8px;
    width: 100%;
    border-radius: 6px;
    margin-top: 6px;
    background: rgba(255, 255, 255, 0.1);
}

.skill-per {
    position: relative;
    display: block;
    height: 100%;
    width: 0%; /* Start at 0 and let GSAP handle the animation */
    border-radius: 10px;
    background: linear-gradient(45deg, #00abf4, #0097da);
    transition: background 0.3s ease;
}

[data-width="95"] { width: 95%; }
[data-width="90"] { width: 90%; }
[data-width="70"] { width: 70%; }
[data-width="40"] { width: 40%; }
[data-width="25"] { width: 25%; }
[data-width="10"] { width: 10%; }
[data-width="0"] { width: 0%; }

.skill-per .tooltip {
    position: absolute;
    right: -14px;
    top: -28px;
    font-size: 9px;
    font-weight: 500;
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    background: #00abf4;
    z-index: 1;
}

.tooltip::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    height: 10px;
    width: 10px;
    z-index: -1;
    background-color: #00abf4;
    transform: translateX(-50%) rotate(45deg);
}

.about {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 20px;
  flex-direction: column;
  height: 120vh;
  padding-bottom: 15px;
  background-color:#081b29;
;
}

.about h2 {
  font-size: 45px;
}

.about span {
  color: #081b29;
}

.about-img {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-img img {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  border: 0.2rem solid #081b29;
  animation: glow 2s infinite alternate;
  cursor: pointer;
}


.about-img .orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border-top: .2rem solid transparent;
  border-bottom: .2rem solid transparent;
  border-left: .2rem solid #0fc5c5;
  border-right: .2rem solid #0fc5c5;
  animation: orbit 8s linear infinite,
      change1 3s linear infinite;
  transform-origin: center;

}

.about-img .orbit2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0);
  width: 110%;
  height: 110%;
  border-radius: 50%;
  border-top: .2rem solid #0fc5c5;
  border-bottom: .2rem solid #0fc5c5;
  border-left: .2rem solid transparent;
  border-right: .2rem solid transparent;
  animation: orbit 8s infinite linear,
      change2 3s infinite alternate;
  transform-origin: center;

}

@keyframes glow {
  0% {
      box-shadow: 0px 0px 0px;
  }


  100% {
      box-shadow: 0px 0px 20px;
  }
}

@keyframes change1 {

  0% {
      border-left: .2rem solid #0fc5c5;
      border-right: .2rem solid #0fc5c5;
  }

  50% {
      border-left: .2rem solid #09e8a1;
      border-right: .2rem solid #09e8a1;

  }

  100% {
      border-left: .2rem solid #0fc5c5;
      border-right: .2rem solid #0fc5c5;
  }
}

@keyframes change2 {
  0% {
      border-top: .2rem solid #09e8a1;
      border-bottom: .2rem solid #09e8a1;
  }

  50% {
      border-top: .2rem solid #0fc5c5;
      border-bottom: .2rem solid #0fc5c5;
  }

  100% {
      border-top: .2rem solid #09e8a1;
      border-bottom: .2rem solid #09e8a1;
  }
}

@keyframes orbit {
  100% {
      transform: translate(-50%, -50%) rotate(360deg);
  }
}

.about-content {
  width: 80%;
  margin-bottom: 10px;
  padding-bottom: 0px;
  line-height: 35px;
}

.intro {
  text-align: center;
}

.about-content h3 {
  text-align: center;
  width: 100%;
  position: relative;
  display: inline-block;
  font-size: 40px;
  color: #00abf4;
}

.about-content p {
  position: relative;
  font-size: 25px;
}

.expertise li {
  font-size: 20px;
}

.scroll-nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  border: .5px solid #ededed;
  width: 80%;
  padding: 7px;
}

.scroll {
  background: transparent;
  border: none;
  color: #ededed;
  font-size: 30px;
  border-radius: 50%;
  cursor: pointer;
  width: 33px;
  height: 33px;
  transition: .5s;
}

.about-content a {
  color: #3d8baa;
  font-size: 20px;
}

.about-content a:hover {
  text-decoration: underline;
  color: #00abf4;
}

.scroll:hover {
  background: #88cfeb;
  color: #171e24;
}

#contentnumber {
  color: #ededed;
  font-size: 25px;
}

.wrapper {
  background-color: #081b29;
  display: none;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

svg {
  font-family: "Ruge Boogie", sans-serif;
  width: 100%;
  height: 100%;
}

svg text {
  animation: stroke 5s 1 alternate;
  stroke-width: 2;
  stroke: #24bae4;
  font-size: 100px;
  white-space: pre-line;
}

@keyframes stroke {
  0% {
      fill: transparent;
      stroke: rgba(54, 95, 160, 1);
      stroke-dashoffset: 30%;
      stroke-dasharray: 0 40%;
      stroke-width: 0;
      opacity: 1;
  }

  70% {
      fill: transparent;
      stroke: rgba(72, 138, 204, 1);
      opacity: 1;
  }

  80% {
      fill: transparent;
      stroke: rgba(72, 138, 204, 1);
      stroke-width: 2;
      opacity: 1;
  }

  95% {

      fill: #00abf0;
      stroke: rgba(72, 138, 204, 1);
      stroke-dashoffset: -21%;
      stroke-dasharray: 40% 0;
      stroke-width: 2;
      opacity: 0.8;

  }

  100% {
      stroke-width: 0;
      opacity: 0.2;
  }
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(to right, #00abf4, #0097da);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00abf4;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #0097da;
    transform: translateY(-5px);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #112E42;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #00abf4;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Project Card Animations */
.display {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.display .visible {
    opacity: 1;
    transform: translateY(0);
}

/* Micro-interactions */
.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social a:hover i {
    transform: translateY(-5px) scale(1.1);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 171, 244, 0.3);
}

#home,
#projects,
#about,
#contact,
.header,
.skills {
  display: none;
}