/* Header Style */
.header{
    display: flex;
    align-items: center;
    height: var(--size-6xl);
    background: var(--clr-slate900);
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar .navbar__name{
    text-transform: uppercase;
}
.navbar__span{
    color: var(--clr-rose600);
}
.navbar__menus{
    display: flex;
}
.navbar__menu .menu__list{
    margin-right: var(--size-5xl);
}
/* Menu */
.menu__list a{
    text-transform: uppercase;
}
.menu__list a:hover{
    color: var(--clr-rose600);
    transition: 0.3s ease;
}
.menu__list{
    display: none;
}

/* Hamburger start */
.menu-icon {
    display: inline-block;
    cursor: pointer;
    top: 20px; 
    right: 20px; 
  }

  .bar {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background-color: var(--clr-white);
    transition: transform 0.3s, opacity 0.3s;
  }

  #menu__icon.show .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  #menu__icon.show .bar:nth-child(2) {
    opacity: 0;
  }
  
  #menu__icon.show .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile menu */
  .mobile__menu{
    display: none;
    position: absolute;
    background-color: var(--clr-slate900);
    width: 100%;
    height: 240px;
    right: 0;
    top: 3.7rem;
    padding: 0 10px;
    border-top: 1px solid var(--clr-rose600);
  }

.mobile__menu a{
    display: flex;
    flex-direction: column;
    color: var(--clr-white);
    text-transform: uppercase;
    margin: 16px 0;
    font-weight: 500;
}
.mobile__menu.show{
    display: block;
}
.no-scroll {
    overflow: hidden;
  }


.mobile__menu a:hover{
    color: var(--clr-rose600);
    transition: 0.3s ease;
}



  
  /* sm */
@media(min-width: 640px){ 
    .menu__list{
        display: block;
    }
    .bar{
        display: none;
    }
}

/* Section1 */
.section__profile{
    text-align: center;
}
.section__profile img {
    height: 130px;
    width: 130px;
    border-radius: 100px;
    border: 3px solid var(--clr-rose600);
    margin-top: var(--size-xl);
}

.section__name{
    color: var(--clr-white);
    font-size: var(--size-2xl);
    text-transform: uppercase;
}
.section__job{
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    text-transform: uppercase;
    font-weight: bold;
    font-size: var(--size-md);
}
.section__contact__links{
    color: var(--clr-white);
    font-size: 24px;
}
.section__contact__links i{
    margin: 0 8px;
    transition: 0.5s ease;
    transform-origin: center; 
}
.section__contact__links i:hover{
    transform: scale(1.15);
}
.section__span{
    color: var(--clr-rose600);
    margin-left: 8px;
}
.section__introduction h5{
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--size-4xl);
}
.section__introduction{
    text-align: justify;
    margin-top: 0.5rem;
    color: var(--clr-white);
    padding: 0 10px;
}
/* sm */
@media(min-width: 640px){
    .section__profile img {
        height: 140px;
        width: 140px;
    }
}
/* md */
@media(min-width: 768px){
    .section__profile img {
        height: 150px;
        width: 150px;
    }
    .section__name{
        font-size: var(--size-2xl);
        margin-top: var(--size-xl);
    }
    .section__job{
        font-size: var(--size-xl);
    }
    hr{
        margin: 5px 0;
    }
    .section__introduction{
       font-size: var(--size-lg);
    }
}
/* lg */
@media(min-width: 1024px){
    .section__profile img {
        height: 180px;
        width: 180px;
    }
    .section{
        display: flex;
        flex-direction: row;
        align-items: center;
    }
    .section__profile{
        width: 90%;
    }
    .section__profile img{
        max-width: 250px;
        max-height: 280px;
        /* border-radius: 100px; */
    }
    .section__profile{
        margin-top: var(--size-4xl);
    }
    .section__name{
        font-size: var(--size-4xl);
    }
    .section__introduction h5{
        margin-top: var(--size-4xl);
       text-align: center;
    }

    .section__introduction{
        text-align: justify;
        width: 90%;
    }
    hr{
        margin-top: 12px;
    }
}
/* Section1 end */

/* section2 */
.main__page2{
    overflow: hidden;
    position: relative;
    background: var(--clr-slate900);
    height: 100%;
    padding-bottom: var(--size-2xl);
}
.section2__bg__rocket img{
    width: 900px;
    position: absolute;
    opacity: 5%;
    z-index: 1;
    top: -120px;
    left: 0;
}
.section2__about{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: var(--size-lg);
    color: var(--clr-white);
    gap: 12px;
}
.section2__about h1{
    display: flex;
    justify-content: center;
    align-items: start;
    text-transform: uppercase;
    font-size: var(--size-2xl);
}
.section2__img img{
   display: none;
   max-height: 300px;
   border-radius: 6px;
}

.section1__hr{
    margin-top: var(--size-xl);
}
/* xs */
@media(min-width: 475px){
    .section2__bg__rocket img{
        top: -350px;
    }
}
/* md */
@media(min-width: 768px){
    .section2__about{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .section2__img{
        width: 80rem;
    }
    .section2__img img{
        display: block;
     }
}
/* lg */
@media(min-width: 1024px){
    .section2__about{
        display: flex;
        flex-direction: row;
        align-items: flex-start;
    }
    .section2__img{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 70rem;
    }
    .section2__img img{
        display: block;
     }
    .section2__about h1{
        font-size: var(--size-3xl);
        width: 40%;  
    }
    .section2__about p{
        width: 100%;
    }
    .section2__hr{
        margin: 0 auto;
        width: 100%;
    }
    .ac .ac-header{
        height: 80px;
    }
    .ac .ac-panel .ac-text{
        font-size: 500px;
    }
}


/* Section Services */
.cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--clr-white);
}

.card{
    padding: 20px;
    /* width: 100%; */
    /* height: 100px; */
    background-color: #9b9b9b34;
    border-radius: 10px;
}
.card1 img{
    /* height: 100%; */
    width: 100%;
    border-radius: 10px;
}
.card2 img{
    /* height: 100%; */
    width: 100%;
    border-radius: 10px;
}
.card3 img{
    /* height: 100%; */
    width: 100%;
    border-radius: 10px;
}

.card-content{
    text-align: center;
    text-transform: uppercase;
    font-size: var(--size-sm);
}

/* sm */
@media(min-width: 640px){
    .card-content{
        font-size: var(--size-sm);
    }
}
/* md */
@media(min-width: 768px){
    .card-content{
        font-size: var(--size-sm);
    }
    .cards {
        display: flex;
        flex-direction: row;
    }
    .card{
        width: 100%;
        height: 100%;
    }
    .card2 img{
        height: 100%;
        margin-bottom: 6px;
     }
}
/* lg */
@media(min-width: 1024px){
    .cards {
        display: flex;
        flex-direction: row;
    }
    .card{
        width: 100%;
        height: 100%;
    }
    .card2 img{
       height: 100%;
       margin-bottom: 8px;
    }
}
/* xl */
@media(min-width: 1200px){
    .card-content{
        font-size: var(--size-lg);
    }
}

/* Section skills */
  .section2__main__box {
    display: flex;
    flex-direction: column;
  }
.section2__heading h1{
    text-align: center;
    color: var(--clr-white);
    text-transform: uppercase;
    font-size: var(--size-2xl);
    margin-bottom: var(--size-lg);
}
  .section2__box__item {
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
  }
  .section2__box__link {
    display: block;
    padding: 30px 20px;
    background-color: #9b9b9b34;
    overflow: hidden;
    position: relative;
  }
  .section2__box__link:hover,
  .section2__box__link:hover {
    text-decoration: none;
    color: var(--clr-white);
  }
  .section2__box__link:hover .section2__box__bg {
    transform: scale(10);
  }
  .section2__service {
    position: relative;
    min-height: 80px;
    margin: 0 0 25px;
    overflow: hidden;
    font-weight: bold;
    font-size: 30px;
    color: var(--clr-white);
    z-index: 2;

  }
  .ag-courses-item_date-box {
    position: relative;
    font-size: 18px;
    color: var(--clr-white);
    z-index: 2;

  }
  .section2__box__bg {
    position: absolute;
    height: 128px;
    width: 128px;
    background-color: #f9b234;
    z-index: 1;
    top: -75px;
    right: -75px;
    border-radius: 50%;
    transition: all .5s ease;
  }
  .section2__box__item:nth-child(2n) .section2__box__bg {
    background-color: #3ecd5e;
  }
  .section2__box__item:nth-child(3n) .section2__box__bg {
    background-color: #e44002;
  }
  .section2__box__item:nth-child(4n) .section2__box__bg {
    background-color: #952aff;
  }

  /* sm */
@media(min-width: 640px){
    .section2__main__box {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 26px;

      }
      .section2__box__item {
        flex-basis: calc(50% - 20px);
      }
}
/* xl */
@media(min-width: 1280px){
    .section2__box__item {
        flex-basis: calc(25% - 20px);
        /* margin: 10px; */
      }
}

/* Section 4 */
.finished__project{
    text-align: center;
    text-transform: uppercase;
    font-size: var(--size-md);
    margin-bottom: var(--size-sm);
}
.section4__projects img{
    border-radius: 10px;
}
.evsu__system{
    color: var(--clr-white);
    margin: 1rem 0;
}
.evsu__system__info{
    padding: 10px;
    text-align: justify;
    margin: var(--size-lg) 0;
    background: #a1a1a10c;
    color: var(--clr-white);
    border-radius: 10px;
}

/* Swiper */
.project__section{
    margin: 0;
    padding: 0;
  }
  swiper-container {
    width: 100%;
    height: 100%;
  }
  swiper-slide {
    text-align: center;
    font-size: 18px;
    background: var(--clr-slate900);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;

  }
  .autoplay-progress {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--clr-rose600);
  }

  .autoplay-progress svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--clr-rose600);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }
  /* Swiper end */

  .autoplay-progress2 {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 10;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--clr-rose600);
  }

  .autoplay-progress2 svg {
    --progress: 0;
    position: absolute;
    left: 0;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 100%;
    stroke-width: 4px;
    stroke: var(--clr-rose600);
    fill: none;
    stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
    stroke-dasharray: 125.6;
    transform: rotate(-90deg);
  }
/* lg */
@media(min-width: 1024px){
    .project__swiper{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }
    .project__section{
        width: 50%;
        margin: 0 auto;
    }
}

/* section5 menu */
.section5__menu{
    position: sticky;
    display: flex;
    align-items: center;
    height: var(--size-6xl);
    background: var(--clr-rose600);
}
.nav__menu .section5__nav__manu{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}
.section5__nav__manu li a{
    text-transform: uppercase;
    font-size: 14px;
    font-weight: bold;
}
/* md */
@media(min-width: 768px){
    .section5__nav__manu li a{   
        font-size: var(--size-xl);
    }
}


swiper-container {
    width: 100%;
    height: 100%;
  }

  swiper-slide {
    text-align: center;
    font-size: 18px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.website__title{
    text-align: center;
    text-transform: uppercase;
    color: var(--clr-white);
    padding: 10px 0;
}

.website__span__description{
    color: var(--clr-white);
}

.view__website{
    margin: 1rem 0;
}

.main__footer{
    display: flex;
    flex-direction: column;
    text-align: center;
    background-color: #0a0f1d;
    color: var(--clr-white);
    padding: 10px 0;
}

.footer__header h3{
    font-size: var(--size-xl);
}
.footer p{
    font-size: var(--size-sm);
    font-style: italic;
}
.footer__contact h3{
    text-transform: uppercase;
    font-size: var(--size-md);
    margin-bottom: 14px;
}
.footer__contact{
    margin-bottom: 16px;
}

/* lg */
@media(min-width: 1024px){
    .footer__header{
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }
    .footer__contact h3{
        text-transform: uppercase;
        font-size: var(--size-xl);
    }
    .footer__header h3{
        font-size: var(--size-xl);
    }
    .footer p{
        font-size: var(--size-xl);
        font-style: italic;
    }
    .footer__contact .email, i{
        font-size: 18px;
    }
}

