* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "poppins", "sans-serif";
}
body {
  color: #ededed;
  background: #081b29;
}
.home{
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}
.home::before{
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    linear-gradient(
      rgba(4, 10, 18, 0.65),
      rgba(4, 10, 18, 0.65)
    ),
    radial-gradient(circle at 30% 30%, rgba(255, 96, 200, 0.12), rgba(0, 188, 212, 0.04) 60%, transparent 70%),
    repeating-linear-gradient(
      115deg,
      rgba(0, 188, 212, 0.0) 0%,
      rgba(0, 188, 212, 0.0) 7%,
      rgba(255, 96, 200, 0.06) 8%,
      rgba(0, 188, 212, 0.0) 11%
    );
  opacity: 0.52;
  transform: translateX(-20%) rotate(0.01deg);
  animation: lightStreaks 18s linear infinite;
  backdrop-filter: blur(8px);
  pointer-events: none;
  z-index: 0;
}
.home::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 12, 20, 0.28) 0%,
      rgba(6, 12, 20, 0.0) 30%,
      rgba(6, 12, 20, 0.32) 55%,
      rgba(6, 12, 20, 0.0) 80%,
      rgba(6, 12, 20, 0.22) 100%
    );
  background-size: 100% 140px;
  background-position: 0 0;
  opacity: 0.24;
  filter: blur(4px);
  animation: waveDrift 26s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.home-content,
.home-img{
  position: relative;
  z-index: 1;
}
.home-content h1{
  text-shadow: 0 12px 40px rgba(0,238,255,0.2);
}
.home-content h3 span{
  text-shadow: 0 0 18px rgba(0,238,255,0.7);
}
.home-content p{
  color: #cdd6df;
}
.home-img img{
  box-shadow:
    0 0 28px rgba(255, 64, 191, 0.25),
    0 0 70px rgba(0, 188, 212, 0.22);
  animation: floatY 6s ease-in-out infinite;
}
.home-sci a{
  backdrop-filter: blur(4px);
}
.btn-box{
  position: relative;
  overflow: hidden;
}
.btn-box::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,255,255,0.2), transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-box:hover::after{
  transform: translateX(0);
}
@keyframes floatY{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}
@keyframes floatGlow{
  0%,100%{ transform: translateY(0) translateX(0); }
  50%{ transform: translateY(20px) translateX(-20px); }
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: linear-gradient(90deg, rgba(5,17,41,0.95), rgba(8,27,41,0.9));
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 238, 255, 0.12);
}
.logo {
  position: relative;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  cursor: default;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  text-shadow: 0 6px 18px rgba(0, 238, 255, 0.2);
}
.navbar a {
  display: inline-block;
  font-size: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  margin-left: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: 0.3s;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2 * var(--i));
  position: relative;
  background: rgba(0, 238, 255, 0.08);
  border: 1px solid rgba(0, 238, 255, 0.15);
}
.navbar a:hover {
  color: #0ef;
  background: rgba(0, 238, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 238, 255, 0.2);
}
.navbar a::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: #0ef;
  transition: width 0.3s ease;
  border-radius: 999px;
}
.navbar a:hover::after{
  width: 100%;
}
.navbar a.active {
  color: #081b29;
  background: #0ef;
  border-color: #0ef;
  box-shadow: 0 10px 28px rgba(0, 238, 255, 0.35);
}
.home {
  position: relative;
  justify-content: space-around;
  height: 100vh;
  background: url(trail_wallp.webp);
  background-size: cover;
  background-position: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 70px 10% 0;
}

.home-content {
  max-width: 600px;
}
.home-content{
  animation: fadeUp 0.9s ease both;
  animation-delay: 0.3s;
  transform-style: preserve-3d;
}
.home-img{
  animation: fadeIn 1.2s ease both;
  animation-delay: 0.5s;
  transform-style: preserve-3d;
}
.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-img{
    display: flex;
    align-items: center;
}
.home-img img{
    width: 500px;
    height: 500px;
    position: relative;
    left: 30%;
    border-radius: 50%;
    object-fit: cover;
    transition: box-shadow 0.4s ease, filter 0.4s ease;
    filter: brightness(0.92);
    transform: translateZ(30px);
}
.home-img img:hover{
    box-shadow:
      0 0 32px rgba(255, 64, 191, 0.32),
      0 0 90px rgba(0, 188, 212, 0.3);
    filter: brightness(0.98);
}
.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;
  transform-style: preserve-3d;
}
.home-sci a:hover {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 20px #0ef;
  transform: translateY(-3px) translateZ(10px);
}
.home-sci a:active {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 20px #0ef;
  transform: translateY(-2px) scale(0.98);
}
.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;
  transform-style: preserve-3d;
}
.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;
  transform: translateY(-2px) translateZ(8px);
}
.btn-box:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 0 5px cyan,
    0 0 25px cyan;
}
.about{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    gap: 1.5rem;
    margin: 5%;

}
.about{
    background: rgba(5,17,41,0.35);
    border: 1px solid rgba(0,238,255,0.08);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}
.about:hover{
    box-shadow: 0 25px 55px rgba(0,0,0,0.35);
}
.about-img{
  display: flex;
  align-items: center;
}
.about-img img{
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    margin: 0 auto;
    display: block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    filter: brightness(0.92);
}
.about-img img:hover{
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0,238,255,0.25);
}
.about-img img:active{
    transform: translateY(-3px) scale(0.99);
}
.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;
    margin-left: 50px;
}
.sub-tittle{
    text-align: center;
    font-size: 60px;
    padding-bottom: 70px;
}
.sub-tittle span{
    color: #0ef;
}
.container{
    padding: 90px;
}
.services-list{
    display: grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-gap: 40px;
    margin-top: 50px;
    margin-right: 5%;
}

.services-list div{
    background-color: transparent;
    padding: 40px;
    font-size: 13px;
    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{
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,238,255,0.12);
    backdrop-filter: blur(4px);
}
.services-list div::after{
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0,238,255,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.services-list div:hover::after{
    opacity: 1;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;

}
.services-list div h2 {
    font-size: 30px;
    font-weight: 500px;
    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);
}
.services-list div:active{
    transform: translateY(-6px) scale(0.99);
}

section{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 80px 6%;
}
.container1{
    width: min(520px, 100%);
    height: auto;
    padding: 75px 90px;
    margin: 0;
    flex: 1 1 460px;
}
.container1{
    background: rgba(5,17,41,0.35);
    border: 1px solid rgba(0,238,255,0.08);
    border-radius: 22px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.container1:hover{
    box-shadow: 0 24px 55px rgba(0,0,0,0.35);
}
.container1 .radial-bars{
    min-height: 360px;
    align-content: center;
}
.container1#skills,
.container1 .radial-bars{
    position: relative;
}
.container1 .heading1{
    letter-spacing: 1px;
    text-shadow: 0 6px 18px rgba(0, 238, 255, 0.25);
}
.container1:hover .heading1{
    text-shadow: 0 10px 26px rgba(0, 238, 255, 0.35);
}
.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: 40px 0;

}
.Technical-bars .bar{
    padding: 10px 0 6px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.Technical-bars .bar:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 238, 255, 0.15);
}
.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: 10px;
    width: 100%;
    height: 5px;
    background-color: #000000;

}
.Technical-bars .bar .progress-line::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: linear-gradient(90deg, rgba(0,238,255,0.15), rgba(0,238,255,0));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.Technical-bars .bar:hover .progress-line::after{
    opacity: 1;
}
@keyframes animate{
    100%{
        transform: scaleX(1);
    }
}
.Technical-bars .bar .progress-line span{
    top: 0;
    left: 0;
    height: 100%;
    background-color: #0ef;
    position: absolute;
    border-radius: 10px;
    width: var(--percent, 0%);
    animation: animate 1s 1s cubic-bezier(1,0,0.5,1) forwards;
    transform: scaleX(0);
    transform-origin: left;
    box-shadow: 0 0 10px rgba(0, 238, 255, 0.6);
}
.progress-line span::after{
    position: absolute;
    padding: 1px 8px;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    top: -28px;
    left: 100%;
    transform: translateX(-50%);
    animation: showText 0.5s 1.5s linear forwards;
    opacity: 0;
}
.progress-line span::after{
    content: attr(data-percent);
}
.progress-line span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-bottom-width: 0px;
    border-right-width: 0px;
    border-top-color: #000;
    top: -10px;
    left: 100%;
    transform: translateX(-50%);
    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: flex-start;
}
.radial-bars .radial-bar{
    width: 50%;
    height: 200px;
    margin-bottom: 10px;
    position: relative;
    transition: transform 0.3s ease;
}
.radial-bars .radial-bar:hover{
    transform: translateY(-6px);
}
.radial-bars .radial-bar svg{
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 120px;
    height: 120px;
}
.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: -1;
    }
}
.path {
    stroke-width: 10;
    stroke: #0ef;
    fill: transparent;
    stroke-dasharray: 502;
    stroke-dashoffset: 502;
    stroke-linecap: round;

}
.radial-bars .radial-bar:hover .path{
    filter: drop-shadow(0 0 8px rgba(0, 238, 255, 0.6));
}
.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: 75;
    }
}
@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:hover .percentage{
    text-shadow: 0 0 10px rgba(0, 238, 255, 0.7);
}
.radial-bar .text{
    width: 100%;
    position: absolute;
    text-align: center;
    bottom: -5px;
    transform: translateX(-50);
    font-size: 17px;
    font-weight: 500;
    animation: showText 0.5s 1s linear forwards;
    opacity: 0;
}
.main-text{
    padding-top: 130px;
    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));
}
.row{
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px; 
    background: transparent; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.row:hover{
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35);
}
.row:active{
    transform: translateY(-3px) scale(0.99);
}
.row img{
    width: 80%;
    border-radius: 8px;
    display: block;
    transition: transform 0.5s;
}
.layer {
    width: 0; /* Start at 0 width */
    height: 0; /* Start at 0 height */
    background: linear-gradient(rgba(0,0,0,0.1), #0ef);
    position: absolute;
    border-radius: 8px;
    
    /* The centering logic */
    top: 100%;
    left: 50%;
    transform: translate(-50%, -100%); 
    
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 40px;
    transition: all 0.5s ease; /* Smooth transition for width and height */
    opacity: 0; /* Keep it invisible until hover */
}
.layer h5{
    color: #000;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;

}
.layer p{
    color: #000;
    font-size: 1rem;
    line-height: 1.8;
}
.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 .layer {
    height: 100%; /* Adjust these to control the size of the center box */
    width: 88%;
    opacity: 1;
}


.contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 3rem;
    padding-left: 30px;
    margin-top: 130px;

}
.contact{
    background: rgba(5,17,41,0.35);
    border: 1px solid rgba(0,238,255,0.08);
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}
.contact-text h2{
    font-size: 90px;
    line-height: 1;
    text-align: center;

}
.contact-text h2 span{
    color: #0ef;
}

.contact-text h4{
    margin: 15px 0;
    color: rgb(228,228,228);
    font-size: 20px;
    font-weight: 600;

}
.contact-text p{
    color: rgb(177,177,177);
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 2 rem;
}
.contact-list{
    margin-bottom: 3rem;

}
.contact-list li{
    margin-bottom: 10px;
    display: block;
}
.contact-list li{
    margin-bottom: 10px;
    display: block;


}
.contact-list i{
    display: inline-block;
    color: #0ef;
    font-size: 20px;
    font-weight: 600;
    transition: all .40s ease;

}
.contact-list a:hover{
    transform: scale(1.01) translateY(-5px);
    color: #0ef;
}
.contact-icons i{
    display: inline-flex;
    justify-content: center;
    align-items: center;
     width: 40px;
     height: 40px;
     background: transparent;
     border: 2px solid #0ef;
     border: 50%;
     font-size: 20px;
     color: #0ef;
     text-decoration: none;
     margin: 30px 15px 30px 0;
     transition: .5s ease;
     opacity: 0;
     animation: slideLeft 1s ease forwards;
     animation-delay: calc(.2s * var(--i));
}
.contact-icons i:hover{
    background: #0ef;
    color: #000;
    box-sizing: 0 0 20px #0ef;
}

.contact-form{
    position: relative;
}
.contact-form form input,form textarea{
    border: none;
    outline: none;
    width: 90%;
    padding: 18px;
    background: #555557;
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.contact-form form input:focus,
.contact-form form textarea:focus{
    box-shadow: 0 0 0 2px rgba(0,238,255,0.35);
    transform: translateY(-2px);
}
.contact-form textarea{
    resize: none;
    height: 220px;
}
.contact-form .send{
    display: inline-block;
    padding: 14px 60px;
    background: #0ef;
    border-radius: 40px;
    font-size: 18px;
    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;
}



.contact-form form .send:hover {
    box-shadow:
    0 0 5px cyan,
    0 0 25px cyan,
    0 0 50px cyan,
    0 0 100px cyan,
    0 0 200px cyan;
}

.last-text p{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: rgb(7,85,91);
    font-weight: 300;
    margin-top: 70px;
}
.top{
    position: fixed;
    bottom: 2.1rem;
    right: 2.1rem;
}
.top i {
    color: #000;
    background: #0ef;font-size: 20px;
    padding: 10px;
    border-radius: 0.5rem;

}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .header {
    padding: 14px 6%;
    flex-direction: column;
    gap: 10px;
  }
  .navbar{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .navbar a {
    font-size: 20px;
    margin-left: 10px;
    padding: 6px 10px;
  }
  .home {
    grid-template-columns: 1fr;
    height: auto;
    padding: 110px 6% 40px;
    row-gap: 32px;
  }
  .home-img {
    justify-content: center;
  }
  .home-img img {
    width: min(70vw, 420px);
    height: auto;
    left: 0;
  }
  .about {
    grid-template-columns: 1fr;
    margin: 6%;
  }
  .services-list {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }
  #services {
    margin-left: 0;
  }
  .services {
    width: 100%;
  }
  .container {
    padding: 60px 6%;
  }
  .container1 {
    width: auto;
    height: auto;
    margin: 0 auto;
  }
  .contact {
    grid-template-columns: 1fr;
    padding: 0 6%;
  }
}

@media (max-width: 768px) {
  .logo {
    font-size: 20px;
  }
  .navbar a {
    font-size: 18px;
    margin-left: 14px;
  }
  .navbar{
    gap: 6px;
  }
  body {
    padding-top: 110px;
  }
  .header {
    padding: 12px 5%;
  }
  section{
    padding: 60px 6%;
  }
  .home-content h1 {
    font-size: 40px;
  }
  .home-content h3 {
    font-size: 26px;
  }
  .home-content p {
    font-size: 16px;
  }
  .sub-tittle,
  .about-text h2,
  .main-text h2,
  .contact-text h2 {
    font-size: 44px;
  }
  .about-text h4 {
    font-size: 22px;
  }
  .about-text p {
    font-size: 16px;
  }
  
  .about-img img {
    max-width: 360px;
  }
.services-list {
    grid-template-columns: 1fr;
    margin-right: 0;
    margin-top: 24px;
  }
  .container {
    padding: 40px 5%;
  }
  .container1 {
    padding: 60px 30px;
  }
  .portfolio-content {
    grid-template-columns: 1fr;
  }
  .row {
    height: auto;
    padding: 20px 0;
  }
  .row img {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .header {
    padding: 12px 5%;
  }
  .navbar a {
    font-size: 16px;
    margin-left: 10px;
  }
  body {
    padding-top: 125px;
  }
  section{
    padding: 40px 5%;
  }
  .home-content h1 {
    font-size: 32px;
  }
  .home-content h3 {
    font-size: 22px;
  }
  .home-sci a {
    width: 34px;
    height: 34px;
    font-size: 16px;
    margin: 20px 10px 20px 0;
  }
  .btn-box,
  .read,
  .contact-form .send {
    padding: 10px 22px;
    font-size: 14px;
  }
  .sub-tittle,
  .about-text h2,
  .main-text h2,
  .contact-text h2 {
    font-size: 34px;
  }
  
  .about-img img {
    max-width: 280px;
  }
.contact-form form input,
  .contact-form form textarea {
    width: 100%;
  }
  .top {
    right: 1rem;
    bottom: 1rem;
  }
}



























@media (hover: none) {
  .navbar a:hover::after{
    width: 0;
  }
  .services-list div:hover::after{
    opacity: 0;
  }
  .home-sci a:hover,
  .btn-box:hover,
  .services-list div:hover,
  .about-img img:hover,
  .row:hover{
    transform: none;
    box-shadow: none;
  }
}

@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(0px);
    opacity: 1;
  }
}
@keyframes slideBottom {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
@keyframes lightStreaks {
  0% { transform: translateX(-30%) translateY(0); }
  100% { transform: translateX(30%) translateY(0); }
}
@keyframes waveDrift {
  0%, 100% { background-position: 0 0; }
  50% { background-position: 0 70px; }
}
