* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html{
    scroll-behavior: smooth;
}

  body {
   
    font-family: Arial, sans-serif;
    background-image:url(images/images.jpeg) ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
  }

  @media (max-width: 480px){
    body{
        width: 90%;
    }

   
}
  
  /* Header */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background-color: #1a1b1c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
  }
  
  .logo {
    font-weight: bold;
    font-size: 1.2em;
    padding-left: 68px;
  }

    @media (max-width: 768px){
        .logo{
          padding-left: 40%;
          padding-bottom: 30px;
        }
    }
  
    .nav{
        padding-right: 30px;
    }

  .nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
  }
  
  .nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
  }

  
  
  /* Main */
  .container {
    padding: 80px 10px 80px; /* top for header, bottom for footer */
    width: 100%;
    color: #333;
    min-height: 100vh;
    background-image: url(images/images.jpeg) ;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    
  }

 @media (max-width: 480px){
      .container{
        width: 100%;
      }
 }



                                             /**HOME PAGE**/



.logo{
    font-size: 32px;
    font-family: 'poppins',sans-serif;
    color: #fff;
    
    
}

.content{
    display: flex;
    justify-content: space-evenly;
    font-family: 'poppins',sans-serif;
    width: 500px;
    color: #fff;
    flex-direction: column;
    margin-top: 7%;
    margin-left: 7%;
    
}

.content h2{
      font-size: 45px;
      font-weight: bold;
      padding-bottom: 10px;
}

.content h2 span{
    color: orangered;
}
.content h3{
    font-size: 30px;
    padding-bottom: 20px;
}
.content p{
    font-size: 18px;
    line-height: 1.4;
}
.content img{
    position: absolute;
    width: 320px;
    margin-bottom:10% ;
    margin-left: 55%;
    margin-top: 9%;
}

 .iconss {
   display: flex;
   padding-top: 20px;
   gap: 10px;
   font-size: 24px;
   color: orangered;
}

.iconss a{
    color: orangered;
}

.content button{
    background-color:transparent;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    border: 2px solid orangered;
    margin-top: 20px;
    font-size: 19px;
}

.content button i{
    font-size: 17px;
    padding-right: 6px;
}

.content button:hover{
    background-color:orangered;
}

@media only screen and (max-width: 480px) {
    .container{
        width: 110%;
    }
    .container nav {
        padding: 15px 10px;
        
    }

    .navbar{
        background-color: #141414;
        margin-top: -40px;
       
    }
    .logo {
        font-size: 24px;
        margin-left: -40%;
        padding-top: 40px;
    }

    
    .nav ul {
        
        display:none;
        padding-right: 10px;
    }

    .nav ul li {
        margin: 8px 10px;
    }

    .content {
        width: 110%;
        margin-left: -10%;
        margin-top: 70%;
        margin-bottom: -50px;
    }

    .content img{
        justify-content: center;
        object-fit: cover;
        border-radius: 50%;
        width: 20px;
        height: 150px;
        margin-top: -175%;
        margin-left: -80px;
        margin-bottom: -30px;
        border: 2px solid white;
        background-color: orangered;
        
        
    }

    .content h2 {
        padding-left: 55px;
        font-size: 28px;
    }

    .content h3 {
        padding-left: 55px;
        font-size: 20px;
    }

    .content p {
        padding-left: 55px;
        font-size: 16px;
        line-height: 1.6;
    }

    .content img {
        width: 150px;
        margin-left: 36%;
        
    }

    .content button {
        margin-left: 43%;
        font-size: 16px;
        padding: 6px 12px;
        margin-bottom: 40px;
    }

     .iconss{
        margin-left: 55px;
    }
}


  /**********************************************ABOUT ME********************************/



.container2{
   
    font-family: 'poppins',sans-serif;
    font-size: 16px;
    color: #fff;
    text-align: center;
    padding-top: 20px;
}
.section-container{
  
    width: 100%;
    height: 85vh;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    gap: 10%; 
    padding: 10px 40px;
      
}
.image img{
    width: 300px;
    flex: 1;
    margin-left: 20%;
    overflow: hidden;
    transition: 0.3s ease;
}

.image img:hover{
    transform: scale(1.2);
}


.about-content p{
    color: #fff;
    font-size: px;
    line-height: 1.4;
    padding-right: 50px;
    padding-top: 40px;
    padding-bottom: 20px;
}
.btn{
    background-color: aqua;
    color: #333;
    font-weight: bold;
    padding: 10px 20px;
    margin-top: 10%;
    border-radius: 5px;
    border: 0;
    outline: none;
    
}

.about-content a{
    background-color: aqua;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 0;
    outline: none;
    font-family: 'poppins',sans-serif;
    font-size: 14px;
}

.about-content a:hover{
    background-color: #fff;
    color: black;
}
.btn:hover{
background-color: #fff;
color: black;
}

/* Initial hidden state *
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Final state when visible *
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
*/

@media screen and ( max-width:460px  ){

    .container2{
        width: 100%;
        height: 10vh;
    }
    .container2 h1{
        padding-top: 30px;
        margin-bottom: 40px;
        font-size: 27px;
    }
    .section-container{
        width: 102%;
        padding: 0px 0px 0px 0px;
        font-size: 16px;
        height: 90vh;
        margin-bottom: -60px;
    }
    
    .image img{      
        width: 200px;
        position: absolute;
        display: none;
    }
    .section-container p{
        
        font-size: 15px;
        width: 109%;  
    }
    .about-content button{
        margin-bottom: 50%;
        margin-left: 10%;
    }

    .about-content{
        width: 100%;
    }

    
}



          /**SERVICES OFFERD**/


.container3{
    background-image: url(images/services.png);
    width: 100%;
    min-height: 100vh;
    justify-content: space-between;
    padding: 10px 20px;
    align-items: center;
}


.hearder{
    font-family: 'poppins',sans-serif;
    justify-content: center;
    color: #f4eeee;
    display: flex;
    padding-top: 30px;

}

.hearder h1{
    font-size: 28px;
}

.container-box{
    margin-top: 35px;
    width: 90%;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-left: 50px;
    
    
}
.box{
   background-color:rgb(38, 59, 80);
   padding: 10px 20px;
   border-radius: 10px;
   transition: transform 0.3s;
}

.box:hover{
    transform: translateY(-10px);
}
.box img{
    width: 70px;
    padding: 5px;
}
.box h3{
    color: aqua;
    padding-top:7px ;
}
.box p{
    font-size: 15px;
    color: #fff;
    padding-top:7px ;
    line-height: i.4;
}
.bttn{
    background-color: transparent;
    color: aqua;
    border-radius: 25px;
    border: 2px solid aqua;
    padding: 10px 20px;
    margin-top: 17px;

}

@media screen and ( max-width:600px  ){
    .container3{
        width: 111%;
        font-size: 16px;
        height: 130vh;
        flex-direction: column;

    }
    .container3 h1{
         font-size: 20px;
    }
    .container-box{
       flex-direction: column;
       font-size: 10px
      
    }
    .box{
        font-size: 16px;
        margin-left: -43px;
        width: 298px;
    }
    .box img{
        width: 50px;
    }
}

/**************************PROJECTS PAGE*********************/

.container7{
    width: 100%;
    min-height: 100vh;
    align-items: center;
    color: #fff192;
    
    
}
.matet h1{
    display: flex;
   text-align: center;
    padding-top: 30px;
}

.projects-container{
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    display: flex;
    gap: 15px;
    padding-bottom: 10%;
    
}
.card{
    background-color:  rgb(38, 59, 80);
    width: 297px;
    height: auto;
    border-radius: 17px;
    color: #fff;
    font-family: 'poppins',sans-serif;
    
}
.card img{
    width: 297px;
    height: auto;
    border-radius: 15px;
}
.card h4{
    color: aqua;
    padding: 10px 10px;
}
.card p{
    font-size: 15px;
    padding: 10px 10px;
    font-family: 'poppins',sans-serif;
}

.card button{
     background-color: transparent;
     border: 2px solid aqua;
     border-radius: 29px;
     text-decoration: none;
     color: #fff;
     padding: 10px 10px ;
     margin-left: 58%;
     margin-bottom: 15px;
     font-family: 'poppins',sans-serif;
}

@media (max-width: 480px) {

    .projects-container{
        width: 110%;
        padding-bottom: 70px;
        display: flex;
        flex-direction: column;
    }
    .card {
        width: 100%; /* Make cards take full width */
    }
    .card button {
        margin-left: 50%; /* Center button on mobile */
    }
    .matet h1 {
        padding-bottom: 30px;
        font-size: 24px; /* Adjust heading size for smaller screens */
    }
}


 /*******************   MY SKILLS  ****************************/


.container4{

    width: 100%;
    height: 100vh;
    color: #fff;
    font-family:'poppins',sans-serif;
}
.container4 h1{
    margin-left: 44%;
    position: absolute;
    text-align: center;
    padding-top: 40px;
    margin-bottom: 30px;
   
    
}
.box-container{
    background-color:rgb(17, 19, 25);
    width: auto;
    display: flex;
    gap: 10px;
    margin-left: px;
    padding: 20px 50px;
   
    
}
.skills-box{
    width: 15%;
    background-color: rgb(38, 59, 80);
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding:5px ;
    margin-top: 10%;
    margin-bottom: 10%;
    transition: transform 0.3s;
}

.skills-box:hover{
    transform: translateY(-10px);
}

.skills-box img{
    width: 100px;
    padding: 10px 20px;
}
.skills-box h2{
    color: aqua;
    font-size: 16px;
}
@media screen and ( max-width:460px  ){
    .container4{
       
        font-size: 16px;
        height: 120vh;
        flex-direction: column;
    }
    .container4 h1{
        text-align: center;
        position: absolute;
        font-size: 19px;
        margin-left: 37%;
        margin-top: -20%;
    }
    .box-container{
        gap: 3px;
        width: 297px;
        flex-direction: column;
        margin-left: 10%;
    }
    .skills-box{
        width: auto;
        font-size: 10px;
    }
    .skills-box img{
        width: 80px;
    }

   
}




/******************************************LATEST BLOG CONTAINER 5***************************************************/


.container5{
    width: 100%;
    min-height: 100vh;
    align-items: center;
    
    
}
.matet h1{
    color: #fff;
    display: flex;
    justify-content: space-around;
    padding-top: 30px;
}

.card-container{
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    align-items: center;
    display: flex;
    gap: 15px;
    padding-bottom: 10%;
    
}
.card{
    background-color:  rgb(38, 59, 80);
    width: 297px;
    height: auto;
    border-radius: 17px;
    color: #fff;
    font-family: 'poppins',sans-serif;
    
}
.card img{
    width: 297px;
    height: auto;
    border-radius: 15px;
}
.card h4{
    color: aqua;
    padding: 10px 10px;
}
.card p{
    padding: 10px 10px;
    font-family: 'poppins',sans-serif;
}
.prg{
    width: 100%;
    display: flex;
    gap: 20px;
}
.btttn {
     text-decoration: none;
     color: #fff;
     padding: 10px 20px;
     margin-left: 40px ;
     font-family: 'poppins',sans-serif;
}

@media (max-width: 480px) {
    .matet h1 {
        font-size: 1.5rem;
    }

    .card-container {
        width: 110%;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 5%;
    }

    .card {
        width: 100%;
    }
    .card img{
        width: 100%;
    }

    .btttn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}
/*************************************CONTAINER 6 CONTACT PAGE*****************************/


.container6{
    background-color: none;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.container6 h2{
    font-family: 'poppins',sans-serif;
    position:absolute;
    padding-bottom: 300px;
    margin-top: -10%;
    color:#ffffff;
    font-size: 32px;
    
}
.contact-right{   
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 10px;
    margin-right: 5%;
}

.contact-right h2{
    color: #222222;
    font-family: 'poppins',sans-serif;
}

.contact-inputs{
    background-color: #353333;
    width: 400px;
    height: 40px;
    border: 0;
    outline: none;
    padding-left:25px ;
    font-weight: 500;
    color: #fff;
    border-radius: 8px;
}

.contact-right textarea{
    height: 130px;
    padding-top: 15px ;
    font-size: 16px;
    
}

.contact-inputs:focus{
    border: 2px solid #4caf50;
}

.contact-inputs ::placeholder{
    color: #fff;
}

.contact-right button{
    width: 100%;
    font-size: 16px;
    color: #fff;
    margin-top: -3px;
    margin-left: -1px;
    border: none;
    border-radius: 3px;
    background: rgb(8, 179, 179);
    text-align: center;
    padding: 10px;
}


.flex{
    display: flex;
    width: 50px;
    gap: 25px;
    }

/*.contact-right textarea{
    height: 140px;
    padding-top: 15px ;
    font-size: 16px;
    
}

.contact-inputs:focus{
    border: 2px solid #4caf50;
}

.contact-inputs ::placeholder{
    color: #fff;
}

.contact-right button{
    width: 100%;
    display: flex;
    align-items: center;
    padding: 15px 170px;
    font-size: 20px;
    color: #fff;
    gap: 10px;
    border: none;
    border-radius: 10px;
    background: orangered;
    text-align: center;
}*/

.contact-left img{
    border-radius: 70%;
    border: 5px solid orangered;
    margin-top: 43%;
    width: 200px;
    box-shadow: #fff;
    margin-left: -10%;
    
}

.contact-left{
    padding-right: 30px;
}
.contact-left i{
    color: rgb(11, 223, 223);
    margin-right: 10px;
}
.contact-left h1{

    padding-bottom: 20px;
    color: rgb(11, 223, 223);
}
.contact-left p{
    padding-top: 20px;
    color: #fff;
   line-height: 1.4;
   font-size: 15px;
}
@media (max-width: 768px) {
    .container6 {
        width: 110%;
        height: 66vh;
        flex-direction: column; 
        padding: 20px;
        
    }

   .container6 h2{
    padding-top: 20px;
    margin-bottom: 50px;
    font-size: 25px;
   }

    .contact-right {
        
        margin-right: 0;
        align-items: center; /* Center the content on smaller screens */
        width: 98%; /* Limit the width */
    }

.contact-left{
    display: none;
}

    .contact-left img {
        display: none;
        width: 80%; 
        margin-left: 0;
    }

    .contact-inputs, .contact-right textarea {
        width: 100%; /* Make input fields take full width on smaller screens */
    }

    .contact-right button {
        font-size: 14px; /* Slightly smaller button text */
    }
}








/* Footer */
footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #2b2f34;
  color: white;
  text-align: center;
  padding: 15px 20px;
  z-index: 1000;
}

@media (max-width: 768px) {
    footer p{
        display: none
    }
}
/* Hide icons by default (on desktop) */
.iconsss {
  display: none;
}

/* Show icons in a row on mobile only */
@media (max-width: 768px) {
  .iconsss {
    display: flex;
    justify-content: center;
    gap: 40px;
  }

  .iconsss a {
    color: rgb(208, 68, 16);
    font-size: 28px;
    text-decoration: none;
  }
}


  /* Responsive */
  @media (max-width: 768px) {
    .nav ul {
      display: none;
      flex-direction: column;
      background: transparent;
      backdrop-filter: blur(20px);
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      padding: 10px 20px;
      border-bottom-left-radius: 17px;
      border-bottom-right-radius: 17px;
    }
  
    .nav ul.active {
      display: flex;
    }
  
    .hamburger {
      display: block;
    }

    .btn2{
    background-color: transparent;
    padding: 2px 20px;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
    outline: 0;
    border: 1px solid #fff;
    border-radius:5px;
  }
  }
  