* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "poppins", sans-serif;
  }
  body {
    color: #ededed;
    background: #081b29;
  }
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: #051129;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  }
  .logo {
    position: relative;
    font-size: 25px;
    color: #fff;
    text-decoration: none;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
  }
  .navbar a {
    display: inline-block;
    font-size: 25px;
    color: #f7f1f1;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: 0.3s;
    opacity: 0;
    animation: slideTop 0.5s ease forwards;
    animation-delay: calc(0.2s * var(--i));
  }
  .navbar a:hover {
    color: #0ef;
    transform: scale(1.1);
  }
  .home {
    position: relative;
    width: 100%;
    justify-content: space-between;
    height: 100vh;
    background: #081b29;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    padding: 70px 10% 0;
  }

  .home-content{
    width: 50%;
  }

  .home-content h3 {
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: 0.7s;
  }
  .home-content h3:nth-of-type(2) {
    margin-bottom: 30px;
    animation: slideTop 1s ease forwards;
    animation-delay: 0.7s;
  }
  .home-content h3 span {
    color: #0ef;
  }
  .home-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin: -3px 0;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
  }
  .home-content p {
    font-size: 20px;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
  }
  .home-Sci a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 2px solid #0ef;
    border-radius: 50%;
    font-size: 20px;
    color: #0ef;
    text-decoration: none;
    transition: 0.5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
    margin: 30px 15px 30px 0;
  }
  .home-Sci a:hover {
    background-color: #0ef;
    color: #081b29;
    box-shadow: 0 0 20px #0ef;
  }
  
  .btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
  }
  .btn-box:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan,
      0 0 200px cyan;
  }
  .about {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 90px;
  }
  
  .about-img img {
    padding-bottom: -14%;
    max-width: 630px;
    height: auto;
    width: 53%;
    border-radius: 8px;
  }
  .about-text h2 {
    font-size: 60px;
  }
  .about-text h2 span {
    color: #0ef;
  }
  .about-text h4 {
    font-size: 29px;
    font-weight: 600;
    color: #fff;
    line-height: 1.7;
    margin: 15px 0 30px;
  }
  .about-text p {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
  }
  #services {
    color: aliceblue;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 4rem;
  }
  .sub-title {
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
  }
  .sub-title span {
    color: 90px;
  }
  .container {
    padding: 90px;
  }
  .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(259px, 1fr));
    grid-gap: 40px;
    margin-top: 50px;
  }
  .services-list div {
    background-color: transparent;
    padding: 40px;
    font-size: 17px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    transition: background 0.5s, transform 0.5s;
    box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;
  }
  .services-list div i {
    font-size: 50px;
    margin-bottom: 30px;
  }
  .services-list div h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
  }
  .services-list div a {
    text-decoration: none;
    color: #000000;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
  }
  .read {
    display: inline-block;
    padding: 12px 28px;
    background: #0ef;
    border-radius: 40px;
    font-size: 16px;
    color: #081b29;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
    /* box-shadow: 0 0 5px #0ef, 0 0 25px #0ef; */
  }
  .read:hover {
    box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan, 0 0 100px cyan,
      0 0 200px cyan;
  }
  .services-list div:hover {
    transform: translateY(-10px);
  }
  section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  /* ************************* 3 *********************************/
  .container1 {
    width: 600px;
    height: 500px;
    padding: 90px 90px;
    margin-left: 120px;
  }
  
  .heading1 {
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 10px;
    text-decoration-thickness: 5px;
    margin-bottom: 50px;
  }
  
  .bar {
    font-size: 23px;
  }
  
  .Technical-bars .bar {
    margin-top: 40px;
  }
  
  .Technical-bars .bar:first-child {
    margin-top: 0;
  }
  
  .Technical-bars .bar:last-child {
    margin-bottom: 0;
  }
  
  .Technical-bars .bar .info {
    margin-bottom: 5px;
  }
  
  .Technical-bars .bar .info span {
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
  }
  
  .Technical-bars .bar .progress-line {
    position: relative;
    border-radius: 1px;
    width: 100%;
    height: 5px;
    background-color: #000;
    animation: animate 1s cubic-bezier(1, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
  }
  
  @keyframes animate {
    100% {
      transform: scaleX(1);
    }
  }
  
  .Technical-bars .bar .progress-line span {
    height: 100%;
    background-color: #0ef;
    position: absolute;
    border-radius: 10px;
    animation: animate 1s 1s cubic-bezier(1, 0, 0.5, 1) forwards;
    transform: scaleX(0);
    transform-origin: left;
  }
  
  .progress-line.html span {
    width: 90%;
  }
  
  .progress-line.css span {
    width: 60%;
  }
  
  .progress-line.javascript span {
    width: 85%;
  }
  
  .progress-line.python span {
    width: 50%;
  }
  
  .progress-line.react span {
    width: 75%;
  }
  
  .progress-line span::after {
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    right: 0; /* Corrected position */
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
  }
  
  .progress-line.html span::after {
    content: "90%";
  }
  
  .progress-line.css span::after {
    content: "60%";
  }
  
  .progress-line.javascript span::after {
    content: "85%";
  }
  
  .progress-line.python span::after {
    content: "50%";
  }
  
  .progress-line.react span::after {
    content: "75%";
  }
  
  .progress-line span::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0;
    border-right-width: 0;
    border-top-color: #000;
    top: -10px;
    right: -3px; /* Corrected position */
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
  }
  
  @keyframes showText {
    100% {
      opacity: 1;
    }
  }
  
  .radial-bars {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center; /* Corrected to 'center' */
  }
  
  .radial-bars .radial-bar {
    width: 50%;
    height: 170px;
    margin-bottom: 10px;
    position: relative;
  }
  
  .radial-bars .radial-bar svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg); /* Corrected 'traslate' to 'translate' */
    width: 120px;
    height: 160px;
  }
  
  .radial-bars .radial-bar .progress-bar {
    stroke-width: 10;
    stop-color: black;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
    animation: animate-bar 1s linear forwards;
  }
  
  @keyframes animate-bar {
    100% {
      stroke-dashoffset: 0; /* Corrected offset */
    }
  }
  
  .path {
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;
  }
  
  .path-1 {
    animation: animate-path1 1s 1s linear forwards;
  }
  
  .path-2 {
    animation: animate-path2 1s 1s linear forwards;
  }
  
  .path-3 {
    animation: animate-path3 1s 1s linear forwards;
  }
  
  .path-4 {
    animation: animate-path4 1s 1s linear forwards;
  }
  
  @keyframes animate-path1 {
    100% {
      stroke-dashoffset: 50;
    }
  }
  
  @keyframes animate-path2 {
    100% {
      stroke-dashoffset: 175;
    }
  }
  
  @keyframes animate-path3 {
    100% {
      stroke-dashoffset: 125;
    }
  }
  
  @keyframes animate-path4 {
    100% {
      stroke-dashoffset: 75;
    }
  }
  
  .radial-bar .percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
  }
  
  .radial-bar .text {
    width: 100%;
    position: absolute;
    text-align: center;
    left: 50%;
    bottom: -20px; /* Corrected to a reasonable value */
    transform: translateX(-50%);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
  }
  /**********************     6      *****************/
  
  .main-text {
    padding-top: 90px;
    /* margin-top: 200px; */
  }
  .main-text h2 {
    font-size: 60px;
    line-height: 1;
    text-align: center;
  }
  .main-text h2 span {
    color: #0ef;
  }
  .portfolio-content {
    /* display: grid;
    grid-template-columns: repeat(auto-fit, minmax(359px, auto)); */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1.5rem;
    padding: 90px;

  }

  .project-image-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .project-image {
    border-radius: 8px;
    max-width: 85%;
    height: auto;
    border: 1px solid white;
    transition: transform 330ms ease-in-out;
    background-color: white;
  }

  .illustr-image {
    border-radius: 8px;
    max-width: 85%;
    height: auto;
    border: 1px solid white;
  }

  .project-image:hover {
    transform: scale(1.2);
  }

  .portfolio-row{
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    font-weight: 13px;
    border-right: 10px;
    border-radius: 20px;
    box-shadow: 1px 1px 20px #012290f7, 1px 1px 40px #0053b8f7;
  }
  
  .row {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
  }
  .row img {
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.1), #0ef);
    position: absolute;
    border-radius: 8px;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: height 0.5s;
  }
  
  .layer h5 {
    color: #FFF;
    font-size: 30px;
    line-height: 1.8;
  }

  .layer {
    font-size: 18px;
  }

  .list-button{
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* margin-top: 20px; */
  }
  /* .layer i {
    color: #ff004f;
    margin-top: 20px;
    font-size: 20px;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  } */
  .row:hover img {
    transform: scale(1.1);
  }
  .row:hover {
    height: 100%;
  }
  
  /*   ************************************           */
  
  @keyframes slideRight {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  }
  @keyframes slideLeft {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }
    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  }
  @keyframes slideTop {
    0% {
      transform: translateY(100px);
      opacity: 0;
    }
    100% {
      transform: translateY(px);
      opacity: 1;
    }
  }
  @keyframes slideBottom {
    0% {
      transform: translateY(-100px);
      opacity: 0;
    }
    100% {
      transform: translateY(px);
      opacity: 1;
    }
  }
  
  
  /* Add this to your stylesheet.css */
  .footer {
    position: relative;
    background: #081b29;
    padding: 100px 0 30px;
    color: #fff;
    overflow: hidden;
  }
  
  /* Animated Waves */
  .footer-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
  }
  
  .wave {
    position: absolute;
    opacity: 0.4;
    width: 100%;
    height: 143px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%230ef'/%3E%3C/svg%3E");
    animation: wave 25s linear infinite;
  }
  
  #wave1 {
    z-index: 1000;
    opacity: 1;
    animation: moveWave 3s ease-in-out infinite alternate;
  }
  
  #wave2 {
    z-index: 999;
    opacity: 0.5;
    animation: moveWave 5s 1.2s ease-in-out infinite alternate;
  }
  
  #wave3 {
    z-index: 998;
    opacity: 0.2;
    animation: moveWave 7s 2.4s ease-in-out infinite alternate;
  }
  
  #wave4 {
    z-index: 997;
    opacity: 0.7;
    animation: moveWave 9s 3.6s ease-in-out infinite alternate;
  }
  
  @keyframes moveWave {
    0% {
      transform: translateX(-25%) translateY(3px);
    }
    100% {
      transform: translateX(25%) translateY(0);
    }
  }
  
  /* Footer Content */
  .footer-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
    text-align: center;
  }
  
  .footer-section h3 {
    color: #0ef;
    font-size: 24px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
  }
  
  .footer-section h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0ef;
    transform: scaleX(0);
    transition: transform 0.3s ease;
  }
  
  .footer-section h3:hover::after {
    transform: scaleX(1);
  }
  
  /* Social Icons */
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
  }
  
  .social-icon:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.5);
  }
  
  .social-icon i {
    font-size: 24px;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover i {
    transform: scale(1.2);
  }
  
  @keyframes float {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
      transform: translateY(0);
    }
  }
  
  /* Footer Links */
  .footer-links {
    list-style: none;
    padding: 0;
  }
  
  .footer-links li {
    margin: 10px 0;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
  }
  
  .footer-links a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #0ef;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
  }
  
  .footer-links a:hover {
    color: #0ef;
  }
  
  .footer-links a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
  }
  
  /* Contact Info */
  .footer-section p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .footer-section p i {
    color: #0ef;
    font-size: 20px;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
  }


.menu-toggle{
  display: none;
  background-color: transparent;
  color: white;
  font-weight: 700;
  font-size: large;
  border: none;
}

  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
    }
  
    .footer-section {
      margin: 20px 0;
    }
  }
  
/* Mobile styles */
@media (max-width: 768px) {
  .navbar {
    display: none; /* Initially hidden */
    flex-direction: column;
    background-color: #051129;
    position: absolute;
    top: 60px;
    right: 5%;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 146, 172);
    border-radius: 8px;
    padding: 10px 0;
    text-align: center;
  }

  .navbar a {
    padding: 10px 0;
    border-bottom: 1px solid #0b314d;
    margin-left: 0;
  }

  .navbar a:last-child {
    border-bottom: none;
  }

  .menu-toggle {
    display: block; /* Show toggle button */
  }

  /* Show the navbar when active */
  .navbar.active {
    display: flex;
  }

  h1, .home-content h1{
    font-size: 30px;
  }

  h2, .main-text h2{
    font-size: 35px;
  }

  h3, .home-content h3{
    font-size: 20px;
  }

  .sub-title{
    font-size: 44px;
  }

  .home{
    width: 100%;
    height: 200vh;
    flex-direction: column;
  }

  .home-content{
    text-align: center;
    width: 100%;
    height: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .container{
    padding: 30px;
  }

  .portfolio-content{
    padding: 0;
    margin: 30px;
    grid-template-columns: none;
  }

  .about{
    padding: 0;
    margin: 30px;
    grid-template-columns: none;
  }
}


