* {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-transform: capitalize;
}

html {
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #0f172a 0%, #0f172a 50%, #0f172a 100%);
}

/* nav */
nav {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 1);
    height: 60px;
    width: 100%;
    display: flex;
    flex-flow: wrap row;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 9999;
}

nav .i {
    margin-left: 40px;
    color: rgba(228, 222, 231, 0.9);
}

nav .i span {
    font-size: 20px;
    font-weight: 400;

}

nav .links a {
    padding: 0 15px;
    text-decoration: none;
    color: rgba(228, 222, 231, 0.9);
    transition: all .7s .4s linear;
}

nav .links a:hover {

    color: rgb(88, 47, 0);
}

nav .res {
    margin-right: 40px;
}

nav .res a {
    text-decoration: none;
    color: rgba(228, 222, 231, 0.9);
    transition: all .7s .4s linear;
}

.fa-bars {
    display: none;
}

nav .res a:hover {
    border-bottom: solid 3px;
    color: rgb(88, 47, 0);
}

/* header */
header {

    height: 150vh;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;


}

header .text {
    width: 40%;
    color: rgb(248, 250, 252);
    line-height: 30px;
    margin-top: 50px;
    opacity: 0;
    transform: translateX(-100px);
    animation: fox 2s ease-in forwards;
}

header .text #span {
    font-size: 24px;
    font-weight: 400;
    animation-delay: 0.3s;
}

header .text h1 {
    font-size: 50px;
    font-weight: 500;
    padding: 10px 0;
    animation-delay: 0.6s;
}

header div p #typed {
    color: rgb(192, 137, 199);

}

@keyframes fox {
    to {
        opacity: 1;
        transform: translateX(0);
    }

    from {}
}

header .text h1,
header .text #span,
header .text #p,
header .text #pp,
header .text button,
header .i-header i {
    opacity: 0;
    transform: translateX(-100px);
    animation: fox 2s ease-in forwards;
}




header .text #p {
    font-size: 18px;
    line-height: 30px;
    animation-delay: 0.9s;
}

#pp {
    font-size: 14px;
    color: rgba(148, 163, 184, 0.525);
}

header .i-header i {
    animation-delay: 1.3s;
    font-size: 24px;
    /* padding-top: 20px; */
    margin-top: 20px;
    padding-left: 40px;
    transition: all .1s .1s linear;
    height: 0;
    border-radius: 50%;

}

.fa-facebook {
    color: rgb(47, 111, 202);

}

.fa-facebook:hover {
    filter: drop-shadow(0 0 8px #1877f2) drop-shadow(0 0 15px #1877f2);
}

.fa-whatsapp {
    color: RGB(37, 211, 102);

}

.fa-whatsapp:hover {
    filter: drop-shadow(0 0 8px #25d366) drop-shadow(0 0 15px #25d366);
}

.fa-github {
    color: rgba(255, 255, 255, 0.539);

}

.fa-github:hover {
    filter: drop-shadow(0 0 8px #ffffff) drop-shadow(0 0 15px rgb(255, 255, 255));
}


.fa-linkedin {
    color: rgba(153, 195, 255, 1);

}

.fa-linkedin:hover {
    filter: drop-shadow(0 0 8px #0a66c2) drop-shadow(0 0 15px #0a66c2);
}

header .img-header {
    width: 30%;
}


header .text button {
    margin-top: 30px;
    border: none;
    border-radius: 10px;
    animation-delay: 1.4s;
    transition: all ease-in-out .7s .4s;
    background: #c2d8f0;
    color: #0a192f;
    box-shadow: 0 5px 15px rgba(5, 24, 64, 0.3);
    padding: 15px 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

header .text button:hover {
    
    text-align: center;
    background: #060f69;
    color: #1b56b5;
    box-shadow: 0 8px 25px rgba(170, 183, 216, 0.5);
    transform: translateY(-2px);
}

header .text button a {
    text-decoration: none;
    color: rgba(35, 57, 219, 0.9);
    font-size: 15px;
}

header .img-header img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 4px solid transparent;
    opacity: 0;
    transform: translateX(100px);
    animation: img forwards 1s ease-in;
    box-shadow:
        0 0 10px rgba(152, 184, 206, 0.6),
        0 10px 30px rgba(183, 187, 204, 0.4);
    transition: all 0.3s ease;
}

header .img-header img:hover {
    box-shadow:
        0 0 20px rgba(78, 148, 210, 0.8),
        0 15px 40px rgba(123, 135, 192, 0.5);

}

@keyframes img {
    to {
        transform: translateX(-20px);
        opacity: 1;
    }

    from {}
}

/* about-me  */
.about-me {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    height: 120vh;
}

.img-about {
    width: 20%;
}

.img-about img {
    width: 400px;
    height: 400px;
    opacity: 1;
    border-radius: 10px;
    border: 2px solid rgba(154, 165, 196, 0.8);
    transition: all .3s .1s ease-in;

}

.img-about img:hover {
    transform: scale(1.01) translateX(-5px);
    box-shadow: 0 0 15px rgba(78, 148, 210, 0.5),
        0 0 15px rgba(123, 135, 192, 0.3);
}


/* text part1*/
.text-about {
    width: 40%;
    line-height: 30px;
}

.text-about h2 {
    font-size: 40.8px;
    font-weight: 500;
    padding-bottom: 30px;
    color: rgb(196, 197, 221);

}

.text-about h2 span {
    color:
        RGB(0, 212, 255);
}

.text-about p {
    padding-bottom: 30px;
    font-size: 15px;
    font-weight: 400;
    color: rgba(136, 146, 176, 1);
}

.text-about button {
    margin-bottom: 30px;
    width: 150px;
    height: 40px;

    background-color: rgba(93, 131, 188, 0.3);
    border: solid rgba(80, 115, 231, 0.8);
    border-radius: 5px;
    transition: all ease-in .4s;
}

.text-about button:hover {
    box-shadow: 0 0 15px rgba(170, 183, 216, 0.8),
        0 0 15px rgba(50, 140, 203, 0.6);
}

.text-about button a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    font-weight: 400;

}

/* part 2  text */
.exp {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;

}

.tap1 {
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: start;


}

.tap1 h3 {
    font-size: 1.3rem;
    color: rgb(186, 209, 237);
    margin-bottom: 25px;
    padding-bottom: 10px;
   color: rgb(171, 193, 242);
    padding-right: 40px;
    position: relative;

}

.tap1 h3::after {
    content: " ";
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 100px;
    height: 2px;
    background: rgba(161, 174, 239, 0.6);
}

.tap11 {
    margin-bottom: 20px;
    width: 200px;

    padding-left: 20px;
    border-left: 2px solid rgba(158, 171, 237, 0.2);
    transition: all 0.3s ease;
}

.tap11:hover {
    border-left-color: #aac0d8c2;
    padding-left: 25px;
}

.tap11 h4 {

    color: rgb(183, 205, 224);
}

.tap11 span {
    color: rgba(136, 146, 176, 1);
    font-size: 14px;
}

.tap111 {
    margin-bottom: 20px;
    width: 200px;
    padding-left: 20px;
    border-left: 2px solid rgba(158, 171, 237, 0.2);
    transition: all 0.3s ease;
}

.tap111:hover {
    border-left-color: #aac0d8c2;
    padding-left: 25px;
}

.tap111 h4 {
    color: rgb(183, 205, 224);
}
    


.tap111 span {
    color: rgba(136, 146, 176, 1);
    font-size: 14px;
}

.tap2 {
    display: flex;
    flex-flow: column nowrap;
    justify-content: start;
    align-items: start;

}

.tap2 h3 {
    font-size: 1.3rem;
   color: rgb(186, 209, 237);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: rgba(124, 138, 194, 0.3) solid 2px;
    padding-right: 40px;
    position: relative;

}

.tap2 h3::after {
    content: " ";
    position: absolute;
    bottom: -2px;
    left: 0px;
    width: 130px;
    height: 2px;
    background: rgba(161, 174, 239, 0.6);
}

.tap22 {
    /* padding-bottom: 10px; */
    margin-bottom: 10px;
    width: 200px;
    padding-left: 20px;

    border-left: 2px solid rgba(158, 171, 237, 0.2);
    transition: all 0.3s ease;
}

.tap22:hover {
    border-left-color: #aac0d8c2;
    padding-left: 25px;
}


.tap22 h4 {

    color: rgba(183, 205, 224, 1);
    padding-bottom: 10px;

}

.tap22 span {
    color: rgba(136, 146, 176, 1);
    font-size: 14px;
}

.tap222 {
    /* padding-bottom: 25px; */
    margin-bottom: 20px;
    width: 220px;
    padding-left: 20px;
    border-left: 2px solid rgba(158, 171, 237, 0.2);
    transition: all 0.3s ease;
}

.tap222:hover {
    border-left-color: #aac0d8c2;
    padding-left: 25px;
}

.tap222 h4 {

  color: rgb(183, 205, 224);
}

.tap222 span {
    color: rgba(136, 146, 176, 1);
    font-size: 14px;
}
/* ser */
.services {
  padding: 100px 10%;
  height: 150vh;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  color: #e5e6ec;
  margin-bottom: 60px;
}

.section-title span {
  color: #65a2c8;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(99, 141, 231, 0.2);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #7a9fe4;
  box-shadow: 0 10px 30px rgba(60, 108, 147, 0.2);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: rgba(0, 212, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 1.8rem;
  color: #6891de;
  border: 2px solid rgba(74, 118, 230, 0.3);
}

.service-card h3 {
  color: #ccd6f6;
  font-size: 1.4rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #8892b0;
  line-height: 1.6;
}

/* skills */
.skills {
  padding: 100px 10%;
  
}

.skills-container {
  max-width: 800px;
  margin: 0 auto;
}

.skill-item {
  margin-bottom: 30px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skill-name {
  color: #ccd6f6;
  font-weight: 600;
}

.skill-percent {
  color: #689adb;
  font-weight: 600;
}

.skill-bar {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, #457bda, #052732);
  border-radius: 10px;
  transition: width 1s ease;
  position: relative;
}

.skill-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
/* project */
.projects {
  padding: 100px 10%;
 
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(99, 141, 231, 0.2);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(60, 108, 147, 0.3);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay a {
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7aa7e2;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-overlay a:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-info {
  padding: 25px;
}

.project-info h3 {
  color: #ccd6f6;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-info p {
  color: #6da5de;
  font-size: 0.95rem;
}
/* fotter */
footer{
    background:#1a1a2e;
    width: 100%;
    height: 190px;
        display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: center;

}
.icon-fotter i{
    
    font-size: 23px;
    padding: 40px;

}
.fa-envelope{
    color: rgb(141, 135, 135);
}
.fa-envelope:hover{
    filter: drop-shadow(0 0 8px #707b85) drop-shadow(0 0 15px #333639);
}
.text-fo{
    margin-top: 15px;
}
.text-fo p{
    text-align: center;
    color: #8892b0;
    font-size: 16px;
}

/* hidden-scroll */
.hidden {

    transform: translateY(80px);
    transition: all 0.8s ease;
    opacity: 0;
}

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

/* +++++++++++++++++++++++++++++++++++++++++@screen+++++++++++++++ */
@media screen and (max-width :576px) {
    nav {
        width: 100%;
    }
    .links{
       display: none;
    }

    .aaa {
        position: absolute;
        right: 10px;
        top: 40px;  
        background-color: #0f0f0f;
        height: 300px;
        display: flex;
        flex-flow: column nowrap;
        justify-content: end;
        align-items: end;
    }
    .links a{
       margin: 10px;
    }
    .res a {
        display: none;
    }

    .fa-bars {
        color: rgb(255, 255, 255);
        display: initial;
        padding-left: 20px;
    }


    /* header */
    header {
        display: flex;
        flex-flow: column-reverse nowrap;
        justify-content: center;
        align-items: center;
        height: 150vh;
        position: relative;
    }

    .img-header {
        position: relative;
        right: 40px;
    }

    header .img-header img {
        width: 250px;
        height: 250px;
    }

    header .text {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: start;
        padding-left: 30px;

        width: 100%;
    }

    .text #span {
        font-size: 20px;
        line-height: 40px;
    }

    header .text h1 {
        font-size: 30px;
    }

    header .i-header {
        padding-left: 75px;
    }

    header .text button {
        margin-left: 100px;
    }

    /* about */
    .about-me {
        display: flex;
        flex-flow: column nowrap;
        justify-content: start;
        align-items: start;
        height: 220vh;
    }

    .img-about {
        width: 50%;
        position: relative;
        left: 100px;
    }

    .img-about img {
        width: 250px;
        height: 300px;
    }

    .text-about {
        margin-top: 50px;
        width: 90%;
        padding-left: 30px;
    }

    .text-about button {
        position: relative;
        left: 100px;

    }

    .exp {
        width: 100%;
        display: flex;
        flex-flow: column wrap;
        justify-content: space-between;
        align-items: start;
        
    }
    .tap1{
        width: 40%;
    }
    .tap2{
        width: 45%;
    }
        .services{
       height: 200vh;
    }
    .icon-fotter i{
padding:30px ;
    }

}

/* ++++++++++++++++++@ screen 768+++++++++++++++++++++ */

@media screen and (min-width:577px) and (max-width:768px) {
    nav {
        width: 100%;
    }

    .res a {
        display: none;
    }

    .fa-bars {
        display: initial;
        color: rgb(255, 255, 255);
    }
       .links{
       display: none;
    }

    .aaa {
        position: absolute;
        right: 10px;
        top: 40px;  
        background-color: #0f0f0f;
        height: 300px;
        display: flex;
        flex-flow: column nowrap;
        justify-content: end;
        align-items: end;
    }
    .links a{
       margin: 10px;
    }

    /* header */
    header {
        display: flex;
        flex-flow: wrap nowrap;
        justify-content: space-evenly;
        align-items: center;

    }

    header .img-header img {
        width: 220px;
        height: 220px;
    }

    header .text {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: start;
        padding-right: 20px;
        width: 45%;
        line-height: 30px;
    }

    .text #span {
        font-size: 23px;
        line-height: 40px;
    }

    header .text h1 {
        font-size: 30px;
    }
    /* abbout */
    .about-me{
        display: flex;
        flex-flow: column nowrap;
        justify-content: start;
        align-items: start;
        height: 150vh;
    }
        .img-about {
        width: 50%;
        position: relative;
        left: 225px;
    }
   .img-about img {
        width: 270px;
        height: 330px;
    }
       .text-about {
        margin-top: 50px;
        width: 90%;
        padding-left: 30px;
    }
    .services{
       height: 180vh;
    }
}

/* ++++++++++++++++++++++++++++@ screen+++++++++++++++++++++ */

@media screen and (min-width:769px) and (max-width:1025px) {
    nav {
        width: 100%;
    }

    .fa-bars {
        display: none;
    }

    /* header */
    header .img-header img {
        width: 250px;
        height: 250px;
    }

    header .text {
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
        align-items: start;
        padding-right: 15px;
        width: 60%;
        line-height: 30px;
    }

    .text #span {
        font-size: 23px;
        line-height: 40px;
    }

    header .text h1 {
        font-size: 35px;
    }
    /* about */
       .about-me{
        display: flex;
        flex-flow: column nowrap;
        justify-content: center;
        align-items:start;
        height: 170vh;
        position: relative;
    }
        .img-about {
        width: 50%;
        position: relative;
        left: 275px;
    }
   .img-about img {
        width: 270px;
        height: 330px;
    }
       .text-about {
        margin-top: 50px;
        width: 90%;
        padding-left: 30px;
    }
}