* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

#div1{
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("../imgs/img1.jpg"); 
  background-size: cover;      
  background-position: center;  
  background-repeat: no-repeat;
   height: 80vh; 
  width: 100%;
  position: absolute;
}

 #parent2{
    position: fixed;
    top: 20px;
    left: 5%;
    width: 90%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.45),
        rgba(15, 23, 42, 0)
    );

} 
#h2{
    color: white;
    font-weight: 700;
    font-size: 37px;
}
.a1{
    color: white;
    text-decoration: none;
    font-size: 20px;
    padding: 10px;
}

#parent3{
    position: relative;
    text-align: center;
    padding: 250px;
}
#h1{
    color: white;
    font-size: 40px;
}
#para1{
    color: white;
    font-size: 20px;
    padding: 10px;
}
#btn1{
    display: inline-block;
    padding: 14px 30px;
    background-color: #6366f1;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}
#btn1:hover {
    background-color: #4f46e5;
}


.img1{
    width: 50px;
   opacity: 0.6;
}
#parent4{
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.img1:hover{
   opacity: 1;
}
#about{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
#img1{
    width: 600px;
    padding: 10px;
}
#div2{
    padding: 20px;
    margin: 10px;
    
}
.h1{
    color: #007bff
}

#ul1 {
  list-style: none; 
  padding-left: 0;
}

#ul1 li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px; 
  font-weight: 500;
}

#ul1 li::before {
  content: "•";
  color: #007bff; 
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

#img1 {
    animation: floating 3s ease-in-out infinite;
}


#div3{
    text-align: center;
}

.h1_ser{
    color: #007bff;
}
.line{
    width: 100px;
    height: 4px;
    background-color:#007bff;
    margin: 10px auto; 
    border-radius: 2px
}

.img2{
    width: 100px;
    opacity: 0.6;
}

.img2:hover{
    opacity: 1;
}
.di4{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.div5:hover{
    transform: translateY(-8px);
}
.head1{
    color:#007bff;
}
.btn2{
    display: inline-block;
    padding: 14px 30px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}
.btn2:hover{
    background-color:#6366F1;
}


#parent5{
    text-align: center;
    background-color: #0F172A;
    color: white;
    height: 200px;
    padding: 25px;
}
.btn3{
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    background-color: #6366F1;
    color: #FFFFFF;
      border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}
.btn:hover{
    background-color:#6366F1;
}

#div6{
    text-align: center;
}


.img3{
    width: 400px;
}
#div8 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: space-around;
    margin: 30px;
}

.project-info{
    opacity: 0;
    transition: 0.3s;
}

#div8 :hover .project-info{
    opacity: 1;
}

.head2{
    color: #007bff;
}

.a2{
    text-decoration: none;
    color: #007bff;
    font-size: 20px;
}
#parent6{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: space-around;
    margin: 30px auto; 
    padding: 0 50px;  
    max-width: 1200px;

}
.img4{
     width: 400px;
}

.parent8{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.img5{
    opacity: 0.6;
    transition: 0.3s;
    width: 50px;
    padding: 5px;
}

.img5:hover{
opacity: 1;
}
.head3{
    color: #007bff;
}

#parent7{
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.parent8{
    padding: 20px;
    margin: 10px;
}

.inp1{
    width: 700px;
    height: 50px;
    padding: 5px;
}
.text1{
    width: 700px;
    height: 140px;
    padding: 5px;
}

.btn-div{
    text-align: center;

}

#btn{
    display: inline-block;
    padding: 14px 30px;
    border: 0;
    background-color: #007bff;
    color: #FFFFFF;
      border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;

}
#btn:hover{
    background-color: #6366F1;

}
.footer {
     background-color: #0F172A; color: white; padding: 50px 8% 20px;
    }

.footer-content {
     display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; padding-bottom: 35px;
    } 

.footer h2 {
     margin-bottom: 15px; 
    }

 .footer h3 {
     margin-bottom: 18px; 
    } 

 .footer p {
     color: #bbb; line-height: 1.7;
     }
  .footer-links, .footer-social {
     display: flex; flex-direction: column; gap: 10px;
    }

 .footer a {
     color: #bbb; text-decoration: none; transition: 0.3s;
    }

  .footer a:hover {
    color: white;
 } 

  .footer-bottom {
     border-top: 1px solid #333; text-align: center; padding-top: 20px;
     }








@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}
@media (max-width: 768px) {

    #parent2 {
        left: 0;
        width: 100%;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    #h2 {
        font-size: 30px;
    }

    .a1 {
        font-size: 15px;
        padding: 5px;
    }

    #parent3 {
        padding: 220px 20px 100px;
    }

    #h1 {
        font-size: 32px;
    }

    #para1 {
        font-size: 17px;
    }

    #parent4 {
        flex-wrap: wrap;
        gap: 30px;
        padding: 30px 20px;
    }

    #about {
        flex-direction: column;
        padding: 30px 20px;
    }

    #img1 {
        width: 100%;
        max-width: 500px;
    }

    #div2 {
        width: 100%;
        margin: 0;
        padding: 20px 0;
    }
}
