/* colors */
:root{
    --main-color: 
    #020202;
    --color:#fff;
    --pink:#ff3b3b;
}
html{
    scroll-behavior: smooth;
}
header{
    position: relative;
    width: 100%;
    min-height:20vh;
  
}


/* 
.header.sticky{
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    animation: fixed 0.5s forwards;
} */


/* Slide down animation */
@keyframes fixed {
    from {
        top: -100px; /* Start from above the viewport */
    }
    to {
        top: 0; /* Slide down to the top */
    }
}

*{
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
}

body{
   background-color: var(--main-color);
}

/* first header */
.first-header{
    display: flex;
    justify-content: space-between;
    padding: 10px 7%;
   
    min-height: 7vh;
    align-items: center;
    
    
}
.f-col{
    display: flex;
    gap: 2rem;
}

.first-header a{
    color: var(--color);
}
.menu{
    color: var(--color);
    cursor: pointer;
    font-size: 1.5rem;
    display: none;
    z-index: 200;
}


/* second-header */
.second-header{
    padding: 10px 10%;
   background-color: #580183;
    min-height: 10vh;
    display: flex;
    align-items: center;
    gap: 2rem;
    justify-content: space-between;   
    position: relative;
}


.nav-links{
  
    display: flex;
    gap: 2rem;
   
}
.nav-links a{
    color: var(--color);
    font-weight: 800;
}

.logo a{
font-size: 2.3rem;
font-weight: bolder;
color: var(--color) ;
}


.banner-container{
    position: relative;
    width: 100%;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
background: radial-gradient(circle, #DF33DF 0%, #000000 50%, #000000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    text-align: center;
    color: var(--color);
    padding: 0 10px;
}

.banner-container .social {
  margin: 3% 0;
}
.banner-container .social i{
  font-size: 2rem;
  color: #fff;
}




/* .banner-centers{
  position: relative;

  min-height: 30vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(25, 14, 78, 0.7)), url(/img/bannerss.jpg);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color);
  padding: 0 10px;

} */
.banner-center{
  padding: 3% 8%;
}


.graphic-work{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.graphic {
  overflow: hidden;
  position: relative;
}

.graphic img {
  width: 100%;
  height: 50vh;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.graphic:hover img {
  transform: scale(1.1);
}

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup img {
  max-width: 90%;
  max-height: 80%;
  box-shadow: 0 0 10px #fff;
}

.popup button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  user-select: none;
}

#prevBtn { left: 5%; }
#nextBtn { right: 5%; }
#closeBtn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.hidden {
  display: none;
}



.hero-img {
  width: 100%;
    max-width: 900px;
    height: 500px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img img {
    width: 100%;
    border-radius: 15px;
    height: 100%;
  
}



.book-me{
  margin: 2% 0;
  padding: 20px 40px;
  background-color: #ff3b3b;
  color: var(--color);
  border-radius: 10px;
}
.banner-center p{
line-height: 30px;
}




.banner-center h2{
  font-size: 3rem;
}



.banner-container h1{
    font-size: 3rem;
    padding-bottom: 10px;
    color: var(--color);
}
.banner-container h2{
    font-size: 3rem;
    padding-bottom: 10px;
    color:#ff3b3b;
}
.arrow{
    margin: 2% 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.arrow i{
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 1.3rem;
    width: 50px;
    height: 50px;
    background-color: var(--color);
    border-radius: 50%;
    cursor: pointer;
    color: #161616;
    animation: topdown 5s infinite forwards;
}
@keyframes topdown {
    0%{
        transform: translateY(20px);
    }
    
}



/* about-me-containe */
.about-me-container{
    padding: 5% 10%;
  
    background-color:  
    #050a0e;
}

.about-img{
    width: 100%;
    max-width: 60%;
    position: relative;
   
}

.about-img img{
    width: 100%;
    height:auto;
    object-fit: cover;

}

/* .small-img{
    position: absolute;
    top: 40%;
    right: -15%;
    height: 45vh;
}

.small-img img{
    height: 100%;
} */
.heading {
  text-align: center;
  padding: 2% 0;

}

.heading h2 {
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--color);
}

.heading p {
  font-size: 1.2rem;
  color: #555;
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

.about{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--color);

    
   
}
.about-text{
   padding: 2px 10px;
    width: 100%;
}
.about-text p{
    line-height: 25px;
}

/* .experience{
    position: absolute;
    top: -6%;
    left: -6%;
    background-color: var(--color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 2rem;
    border: solid 2px red;
}

.experience h3{
    font-size: 1.6rem;
}
.experience p{
    font-size: 11px;
} */

/* .servic-main-container */

.seehere{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3% 0;
}
.seehere button{
  background-color: #580183;
  width: 300px;
  height: 7vh;
  cursor: pointer;
  color: var(--color);
  border: none;
}
.servic-main-container{
padding: 6% 7%;
}
.service-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}
.service{
    width: 100%;
    max-width: 100%;
 
   position: relative;
   text-align: center;
    border-radius: 10px;
}

.sercive-text h4{
    color: var(--color);
    font-size: 1.5rem;
}
.sercive-text p{
    color: #c3bebe;
    line-height: 24px;
    font-size: 1rem;
    text-align: center;
    padding-top: 10px;
}
.sercive-text i{
    color: var(--color);
    font-size: 3rem;
    padding-bottom: 10px;
}


/* portfolio-container */
.portfolio-container{
    padding: 7% 6%;
    background-color:  
    #050a0e;

}

.portfolio{
    display: grid;
   gap: 3rem;
    grid-template-columns: 1fr 1fr  ;
}
.port{
    width: 100%;
    max-width: 100%;
   
  
 
 gap: 1rem;
    position: relative;
    display: flex;
    align-items: center;
  
}
/* .small-imgs{
  position: absolute;
  right: -55px;
  top: 20%;
  width: 200px !important;
  height: 40vh !important;
  object-fit: contain !important;
} */

.port img{
    width: 100%; 
   height: 50vh;
   object-fit: cover;
}

.check-out{
    width: 100%;
    height: 35vh;
 
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.check-out a{
    color: #cdcbcb;
    font-size: 1.3rem;
    border: solid 1px;
    padding:5px 20px;
    background-color: rgba(0,0,0,0.7);
}



/* gallery-container */



/* blog-post-container */
.blog-post-container{
    padding: 4% 10%;
}
.blog-container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.blog{
    width: 100%;
    max-width: 100%;
    border: solid 1px #343F4F;
    min-height: 40vh;
    padding: 5px;
    border-radius: 10px;
}

.blog img{
    width: 100%;
    height: 30vh;
    object-fit: cover;
}
.blog-text{
    text-align: center;
    padding: 10px 0;
}
.blog h4{
    color: var(--color);
    font-size: 1.5rem;
}
.blog-text p{
    color: #6f6f6f;
    padding: 10px 0;
}

.read-more{
    margin: 10px 0;
    text-align: center;
}

.read-more a{
    color: #545454;
border: solid 1px ;
padding: 10px 30px;
}

.contact-section {
    
      text-align: center;
      padding: 50px 20px;
    }

    .contact-section h1 {
      font-size: 32px;
      margin-bottom: 15px;
      color: #222;
    }

    .contact-section p {
      font-size: 16px;
      color: #555;
      margin-bottom: 30px;
    }

    .icon-grid {
      display:flex;
      grid-template-columns: repeat(4, 1fr); /* 2 per row */
      gap: 20px;
      flex-wrap: wrap;
      justify-items: center;
      justify-content: center;
    }

    .icon-grid a {
      font-size: 28px;
      color: #fff;
  
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      transition: all 0.3s ease;
    }

    .icon-grid a:hover {
      transform: scale(1.1);
    }

    
    .icon-grid i {
      pointer-events: none; /* keep click on the link only */
    }













/* 
.gallery-container{
    padding-bottom: 5%;
}
.wrapper{
    display: flex;
    width: 100%;
    max-width:80%;
    position: relative;
    margin: 0 10%;
 
  }
  .wrapper i{
    top: 50%;
    height: 44px;
    width: 44px;
    color: #343F4F;
    cursor: pointer;
    font-size: 1.15rem;
    position: absolute;
    text-align: center;
    line-height: 44px;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.1s linear;
  }
  .wrapper i:active{
    transform: translateY(-50%) scale(0.9);
  }
  .wrapper i:hover{
    background: #f2f2f2;
  }
  .wrapper i:first-child{
    left: -22px;
    display: none;
  }
  .wrapper i:last-child{
    right: -22px;
  }
  .wrapper .carousel{
    font-size: 0px;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
  }
  .carousel.dragging{
    cursor: grab;
    scroll-behavior: auto;
  }
  .carousel.dragging img{
    pointer-events: none;
  }
  .carousel img{
    height: 60vh;
    object-fit: cover;
    user-select: none;
    margin-left: 14px;
    width: calc(100% / 3);
  }
  .carousel img:first-child{
    margin-left: 0px;
  } */
  @media screen and (max-width: 900px) {
    .carousel img{
      width: calc(100% / 2);
    }
  }
  @media screen and (max-width: 550px) {
    .carousel img{
      width: 100%;
    }
  }


  /* footer */
footer{
    width: 100%;
    min-height: 10vh;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    color: #545454;
    padding: 10px 10%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;

}
.social{
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.social i{
    color: #6f6f6f;
}


/* my-skills-container */
.my-skills-container{

position: relative;
    width: 100%;
    margin-bottom: 2%;
    background-color:  
    #050a0e;
}

  .wrappers{
   
    margin: 0 7%;
    padding: 10px 20px;
    position: relative;
 

  }
  .wrappers .center-line{
    position: absolute;
    height: 100%;
    width: 4px;
    background-color: #ff3b3b;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
  }
  .wrappers .row{
    display: flex;
   
    
  }
  .row section{
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);

  }





  .wrappers .row-1{
    justify-content: flex-start;
   
  }
  .wrappers .row-2{
    justify-content: flex-end;
  }
  .wrappers .row section{
    background: #ffff;
    border-radius: 5px;
    width: calc(50% - 40px);
    padding: 20px;
    position: relative;
  }
  .wrappers .row section::before{
    position: absolute;
    content: "";
    height: 15px;
    width: 15px;
    background: #fff;
    top: 28px;
    z-index: -1;
    transform: rotate(45deg);
  }
  .row-1 section::before{
    right: -7px;
  }
  .row-2 section::before{
    left: -7px;
  }
  .row section .icon,
  .center-line .scroll-icon{
    position: absolute;
    background: #f2f2f2;
    height: 40px;
    width: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
   
    font-size: 17px;
    box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0,0,0,0.08), 0 3px 0 4px rgba(0,0,0,0.05);
  }
  .center-line .scroll-icon{
    bottom: 0px;
    left: 50%;
    font-size: 25px;
    transform: translateX(-50%);
  }
  .row-1 section .icon{
    top: 15px;
    right: -60px;
  }
  .row-2 section .icon{
    top: 15px;
    left: -60px;
  }
  .row section .details,
  .row section .bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .row section .details .title{
    font-size: 22px;
    font-weight: 600;
  }
  .row section p{
    margin: 10px 0 17px 0;
  }
  .row section .bottom a{
    text-decoration: none;
    background: #000000;
    color: #fff;
    padding: 7px 15px;
    border-radius: 5px;
    /* font-size: 17px; */
    font-weight: 400;
    transition: all 0.3s ease;
  }
  .row section .bottom a:hover{
    transform: scale(0.97);
  }
  @media(max-width: 790px){
    .wrappers .center-line{
      left: 40px;
    }
    .wrappers .row{
      margin: 30px 0 3px 60px;
    }
    .wrappers .row section{
      width: 100%;
    }
    .row-1 section::before{
      left: -7px;
    }
    .row-1 section .icon{
      left: -60px;
    }
  }
  @media(max-width: 440px){
    .wrappers .center-line,
    .row section::before,
    .row section .icon{
      display: none;
    }
    .wrappers .row{
      margin: 10px 0;
    }
    .banner-center{
      margin: 5% 0;
      border-radius: 0;
      padding: 20px;
    }
    .banner-center h2{
      font-size: 1.5rem;
    }
    .banner-center p{
      font-size: 1.2rem;
    }
  }




/* smaller screen */

@media (max-width:1080px){
    .second-header{
        padding: 10px 5%;
    }
   
}

@media (max-width:950px){
   .service-container, .portfolio, .blog-container{
    grid-template-columns: 1fr 1fr;
   }
   .nav-links{
    display: none;
    position: absolute;
    background-color: var(--main-color);
    width: 100%;
    min-height: 100vh;
    left: 0;
    top: 0;
    padding: 10px;
    z-index: 100;
    animation: slideIn 0.5s;
}

@keyframes slideIn {
0%{
  transform: translate(-20px);
}
}

.nav-links li{
    padding: 10px 0;
}

.show.nav-links{
    display: block;
}

.menu{
    display: block;
}

.wrappers{
    max-width: none;
}

.servic-main-container,.about-me-container, .portfolio-container,  .blog-post-container, footer{
    padding: 10px 4%;
}
.wrapper{
    margin: 10px 4%;
}

.portfolio{
  grid-template-columns: 1fr;
}
.small-imgs{
  display: none;
}
.big{
  width: auto;
  height: auto;
}
}

@media (max-width:950px){
 
  .graphic-work{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:750px){
    .second-header{
        padding: 10px 2%;
    }

   .experience{
    left: 0;
   }
   .hero-img{
    height: auto;
   }
   

    .logo a{
        font-size: 2rem;
    }
.graphic-work{
  grid-template-columns: 1fr;
}
   
    .about{
        flex-direction: column;
    }
    .about-img{
        max-width: none;
    }
    .small-img{
        display: none;
    }
    .service-container, .portfolio, .blog-container{
        grid-template-columns: 1fr;
    }

    .banner-container h1 {
        font-size: 2rem;
    }
    .heading h2{
        font-size: 2rem;
    }
    .blog img{
        height: auto;
    }
    .small-imgs{
      display: none;
    }
    .port img{
      height: auto;
    }
    .graphic img{
      height: auto;
    }
}

@media (max-width:550px){
 
    .banner-container h2{
        font-size: 1.4rem;
    }  
}



.cont{
  padding: 1% 7%;
}
.contact-form{
 
  display: flex;
  gap: 2rem;
}
.contact-img{
  width: 100%;
  max-width: 40%;
}
.contact-img img{
  width: 100%;
  height: 75vh;
  object-fit: cover;
}
.contact-form-container{
  width: 100%;
  max-width: 60%;
}
form {
  width: 100%;
  
}
.input input{
width: 100%;
border: solid 1px #555;
min-height: 7vh;
padding: 10px;
margin: 1% 0;
background-color: transparent;
}
.input textarea{
width: 100%;
outline: none;
min-height: 15vh;
resize: none;
margin: 1% 0;
padding: 10px;
}
.input{
  margin: 2% 0;
}

.contact-form-container button{
  width: 100%;
  min-height: 7vh;
  background-color:#190e4e;
  outline: none;
  color: #fff;
  cursor: pointer;
}


.brands-container{
  padding: 5% 7%;
  text-align: center;
}
.brands-container h3{
  font-size: 2rem;
  padding: 10px 0;
}
.brands-flex{
  margin-top: 1%;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr ;
  align-items: center;
  justify-content: center;
}

.brand{
  width: 100%;
  max-width: 100%;
  background-color: var(--color);
  box-shadow:  4px 4px 10px rgba(0, 0, 0, 0.5);
  padding: 20px;
  min-height: 20vh;

}

.brand img{
  width: 100%;
  max-width: 80%;
  height: 20vh;
  object-fit:contain;
}


.sorries{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10% 5%;
}
.sorry{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
 height: 50vh;
  width: 100%;
  max-width: 50%;
  padding: 10px;
  text-align: center;
  font-size: 1.5rem;
  box-shadow:  4px 4px 10px rgba(0, 0, 0, 0.5);

}






/* 

.mother-container {
  margin: 50px;
}

.scroll-element {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
 
}

.scroll-element.from-left {
  transform: translateX(-50px);
}

.scroll-element.from-right {
  transform: translateX(50px);
}

.scroll-element.from-bottom {
  transform: translateY(50px);
}

.scroll-element.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
} */

@media (max-width: 768px) {
  /* .scroll-element.from-left,
  .scroll-element.from-right {
    transform: translateY(50px); 
  }
  .from-right{
    padding-bottom: 50px;
  } */
   .banner-container {
    height: 60vh;
  } 
  .banner-container h1{
    font-size: 1.5rem;
  }
  .banner-container h2{
    font-size: 1.1rem;
  }
  .banner-container p{
    font-size: 1rem;
  }
  .contact-form{
    flex-direction: column;
  }
  .contact-form-container, .contact-img{
    max-width: none;
  }

  .contact-img img{
    height: auto;
  }
  .wrappers{
    margin: 2% 0;
  }
  .brands-flex{
    grid-template-columns: 1fr;
  }
  .brand img{
    max-width: none;
    object-fit: cover;
    height: auto;
  }
  .sorry{
    max-width: none;
  }
}

