/*global css*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');
* {
    padding: 0;
    margin: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    font-family: "Sour Gummy", sans-serif;
  }

  nav {
    background: #fff;
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    animation: slideTop 1.5s ease-in;
    animation-fill-mode: forwards;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 0 30px; 
  }

  html {
    scroll-behavior: smooth;
  }
  

  label.logo {
    color: #46b740;
    font-size: 50px; 
    line-height: 80px; 
    padding: 0 30px; 
    font-weight: bold;
}


  nav ul {
    float: right;
    margin-right: 30px;
  }

  nav ul li {
    display: inline-block;
    line-height: 80px;
    margin: 0 5px;
  }

  nav ul li a {
    color: #46b740;
    font-size: 18px;
    padding: 7px 13px;
    border-radius: 3px;
    text-transform: uppercase;
  }

  a.active,
  nav a:hover {
    background: #46b740;
    color: #fff;
    transition: 0.5s;
  }

  .checkbtn {
    font-size: 22px;
    color: #46b740;
    float: right;
    line-height: 80px;
    margin-right: 30px;
    cursor: pointer;
    display: none;
  }

  #check {
    display: none;
  }

  body {
    padding-top: 120px;
    margin: 0;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .profile-section {
    border-radius: 12px;
    padding: 40px 20px;
  }
  
  .profile-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 60px;
    animation: slideRight 1.5s ease-in;
    animation-fill-mode: forwards;
  }
  
  .profile-image img {
    width: 450px;
    border-radius: 12px;
  }
  
  .profile-details {
    max-width: 600px;
  }
  
  .profile-details h1 {
    font-size: 45px;
    margin: 0;
    color: #333;
  }
  
  .profile-details .role {
    font-size: 18px;
    color: #6b8a57;
    margin-bottom: 20px;
  }
  
  .profile-details p {
    font-size: 22px;
    color: #555;
    margin-bottom: 10px;
  }
  
  .social-icons {
    margin-top: 20px;
  }
  
  .social-icons a {
    margin-right: 15px;
  }
  
  .social-icons img {
    width: 30px;
    height: 30px;
  }

  footer{
    display: flex;
    flex-wrap: wrap;
    margin-top: auto;
    background-color: #46b740;
    padding: 60px 8%;
  }
  
  ul{
    list-style: none;
  }
  
  .footer-col{
    width: 15%;
    margin: 0px 30px
  }
  
  
  .footer-col h4{
    position: relative;
    margin-bottom: 30px;
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
  }
  
  
  
  ul li:not(:last-child){
    margin-bottom: 8px;
  }
  
  footer ul li a{
    font-size: 15px;
    text-transform: capitalize;
    color: #fff;
    text-decoration: none;
    font-weight: 200;
    transition: 0.4s;
    padding: 5px;
  }
  
  footer ul li{
    display: block;
    margin: 10px 0px;
  }
  
  footer ul li a:hover{
  border-radius: 5px;
    padding-left: 2px;
  }
  
  
  .input {
    width: 100%;
    margin-top: 20px;
    max-width: 150px;
    height: 15px;
    padding: 12px;
    border-radius: 12px;
    border: 1.5px solid lightgrey;
    outline: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0px 0px 20px -18px;
  }
  
  .firstfooter-p{
    color: #fff;
  }
  
  .secondfooter-p{
    color: #fff;
    margin-top: 15px;
  }
  
  @media (max-width: 920px){
    .footer-col{
        width: 50%;
        margin-bottom: 30px;
        text-align: center;
        margin: auto;
    }
  
    footer ul li a{
        margin: 20px 0px;
    }
  
    .footer-col h4::before{
        all: unset;
    }
  }
  
  @media(max-width: 576px){
    .footer-col{
        width: 100%;
        margin: 20px 0px;
    }

    .profile-details p{
        font-size: 20px;
    }
  }
  
  .copyright{
    display: flex;
    justify-content: center;
    justify-content: space-between;
    border-top: 1px solid lightgray;
    background-color: #46b740;
    padding: 35px;
    text-align: center;
    color: lightgray;
    font-weight: 300;
  }
  
  

  
  @media (max-width: 1200px){
    .profile-details {
        max-width: 100%;
        text-align: center;
      }
  }
  @media (max-width: 768px) {
    .profile-card {
      flex-direction: column;
      text-align: center;
    }
  
    .profile-image img {
      max-width: 80%;
      
    }
  
    .profile-details {
      max-width: 100%;
      text-align: center;
    }
  }


  @keyframes slideTop {
    0% {
      transform: translateY(-100px);
      opacity: 0;
    }

    100% {
      transform: translateY(0px);
      opacity: 1;
    }
  }

  @keyframes slideRight {
    0% {
      transform: translateX(-100px);
      opacity: 0;
    }

    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  }

  @keyframes slideLeft {
    0% {
      transform: translateX(100px);
      opacity: 0;
    }

    100% {
      transform: translateX(0px);
      opacity: 1;
    }
  }

@media (max-width: 890px) {
    nav ul {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background: #46b740;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: all 0.5s ease-in-out;
    }

    nav ul li {
      margin: 20px 0;
    }

    nav ul li a {
      color: #fff;
      font-size: 20px;
    }

    #check:checked ~ ul {
      left: 0;
    }

    .checkbtn {
      display: block;
    } 

    label.logo {
      font-size: 45px; 
      padding: 0; 
      text-align: center; 
  }

  nav ul {
      padding: 0; 
  }
}