@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap");
*{
   margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
   background: url(bgpng);
   background-repeat: no-repeat;
   background-attachment: fixed;
  background-size: cover;
  background-position: 0px;
    font-family: "Poppins", sans-serif;
}

a{
    text-decoration: none;
}

nav{
    width: 100%;
    position: sticky;
    top: 0;
    background-color: aliceblue;
}

.nav-content{
    max-width: 1200px;
    margin: auto;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav .logo a{
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, #003366, #00509e);
    -webkit-background-clip: text;
    color: transparent;
    transition: 0.3s;
}
nav .logo img{
    width: 100px;
    height: 60px;
    
}
nav .logo a:hover{
    color: #6600ff;
}

nav .checkbox{
    display: none;
}

nav input{
    display: none;
}

nav .checkbox i{
    font-size: 2rem;
    background: linear-gradient(90deg, #003366, #00509e);
    -webkit-background-clip: text;
    color: transparent;
    cursor: pointer;
}

ul{
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
    transition: left 0.3s;
}

ul li a{
    padding: 0.5rem;
    border: 2px solid transparent;
    text-decoration: none;
    font-weight: 600;
    background: linear-gradient(90deg, #003366, #00509e);
    -webkit-background-clip: text;
    color: transparent;
    transition: 0.3s;
}

ul li a:hover{
    border-bottom-color: #ca8a;
}



header.head{
    background: linear-gradient(120deg, #003366, #00509e);
    color: white;
    text-align: center;
    padding: 50px 20px;
   
}

header.head h1{
    margin: 0;
    font-size: 3rem;
}

header.head p{
    font-size: 1.2rem;
    margin-top: 10px;
    
}

section{
    padding: 20px;
    margin: 20px auto;
    max-width: 800px;
    background-color: #00000034;
    border-radius: 20px;
    box-shadow: 2px 2px 5px rgba(4, 4, 4, 0.724);
}

section h2{
    text-align: center;
    background: linear-gradient(90deg, #003366, #00509e);
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

section ul{
    list-style: square;
    padding: 20px;
    display: flex;
   text-align: left;
    flex-direction: column;
}

section.call .btn{
    display: flex;
    background: #003366;
    color: white;
    padding: 10px;
    margin: 0;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 5px;
    justify-content: center;
    align-items: center;
}

section.call .btn:hover{
    background: #00509e;
}
section {
    color: black;
}

footer{
    background: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

.social-icons{
    justify-content: space-evenly;
    align-items: center;
    display: flex;
    font-size: 25px;
   
 }
 .social-icons a{
    color: white;
    transition: 0.3s ease;
    transition-duration: 0.5s;
    text-decoration: none;
 }
 .social-icons a:hover{
  
    transform: scale(1.0) translateY(-10px);
    
}

.admin{
    font-size:13px;
}

.admin a{
    color: white;
}

input[type="text"],
   input[type="email"],input[type="number"],
   textarea{
    width: 100%;
    padding: 10px;
    border: 2px solid #003366;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 10px;
    margin-top: 15px;
   }

   textarea{
    height: 100px;
   }

   
  .submit-btn{
    width: 100%;
    padding: 10px;
    border: 2px solid #00509e;
    border-radius: 4px;
    resize: vertical;
    margin-bottom: 20px;
    margin-top: 5px;
    background: #003366;
    padding:10px;
    color: white;
    font-weight: 300;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    
  }

  .slider{
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  figure{
    position: relative;
    left: 0;
    width: 400%;
    animation: 10s slide infinite;
  }

  .slide{
   
    width: 25%;
    float: left;
  }

  .slide h1{
    position: absolute;
    font-size: 3rem;
    width: 100%;
    text-align: center;
    margin-top: 50px;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  }

  .slide img{
    width: 100%;
    height: 200px;
  }

  .about p{
    margin-top: 20px;
  }

  @keyframes slide{
    0%{left: 0;}
    10%{left: 0;}
    20%{left: -100%;}
    30%{left: -100%;}
    40%{left: -200%;}
    50%{left: -200%;}
    65%{left: -300%;}
    66%{left: -300%;}
    74%{left: -200%;}
    75%{left: -100%}
    85%{left: -100%;}
    90%{left: 0;}
    100%{left: 0;}
  }



@media (width < 750px){
  body{
  background-position: -75px;
  background-size: 150%;
  }
  
  nav .logo img{
    width: 60px;
    height: 40px;
    
}
    nav .checkbox{
        display: block;
         
       
        
    }

    nav ul{
        position: absolute;
        width: 100%;
        height: 100%;
        left: -100%;
        top: 80px;
        background-color: aliceblue;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        position: fixed;
    }

    nav #check:checked ~ ul{
        left: 0;
    }
    header.head {
        font-size: 20px;
        text-align: center;
        grid-template-columns: repeat(1, 1fr);
      }

      header.head h1{
        font-size: 1.2rem;
      }

      header.head p{
        font-size: 10px;
      }

      section{
        margin: 10px;
      }

     .social-icons{
        justify-content: space-evenly;
        align-items: center;
        display: flex;
        font-size: 25px;
       
     }
     .social-icons a{
        color: white;
        transition: 0.3s ease;
        transition-duration: 0.5s;
        text-decoration: none;
     }
     .social-icons a:hover{
      
        transform: scale(1.0) translateY(-10px);
        
    }

    .admin{
        font-size:13px;
    }

    .admin a{
        color: white;
    }
   
}
    

    
