*{
    margin: 0;
    padding: 0;
}
body{
    background-image: url('images/bg.jpg');
    background-size: cover;
    background-attachment: fixed;
}
.nav1{
    color: white;
    display: flex;
    width: 1533px;
    height: 65px;
    margin-top: -10%;
    position: fixed;
    z-index: 1000;
    display: flex;
    margin-top: 0%;
    /* border: solid 2px yellow; */
}
.nav1.scrolled {
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s, backdrop-filter 0.3s;
}
.nav1 h3{
    width: 105px;
    padding-left: 40px;
    display: flex;
    padding-top: 23px;
    left: 52%;
    /* border: solid 2px lightcoral; */
}
.nav1 a{
    text-decoration: none;
    color: white;
    display: flex;
}
.nav1 img{
    height: 18px;
    width: 18px;
    padding-right: 10px;
    /* border: solid 2px lightblue; */
}

.underline{
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.underline::after{
    content: "";
    position: absolute;
    left: 37px;
    bottom: 10px;
    width: 0;
    height: 4px;
    border-radius: 5px;
    background-color: rgb(204,94,246);
    transition: 0.3s ease-in;
}
.underline:hover::after{
    width: 65%;
}
    .container1 {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      padding-top: 80px;
      flex-wrap: wrap;
    }

    .container1 img {
      height: 400px;
      width: 500px;
      margin: 140px 100px 0 0;
    }

    .content1 {
      max-width: 600px;
      margin-left: 50px;
    }
    .container2 .content1, h1{
      margin-left: 480px;
    }
    .container2 .content2, h1{
      margin-left: -20px;
    }

    .content1 h1 {
      color: white;
      font-size: 35px;
      margin-top: 60px;
      margin-left: 245px;
    }

    .content1 h4 {
      color: white;
      font-size: 22px;
      width: 700px;
      margin-top: 50px;
      margin-left: 50px;
      line-height: 1.6;
    }

    .content1 h4 img {
      height: 20px;
      width: 20px;
    }

    .activities {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-left: 80px;
    /* border: 2px solid lightslategrey; */
}
.activities li {
    color: white;
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center; 
    font-weight: normal;
    gap: 10px;
}
.activities li img {
    width: 18px;
    height: 18px;
    margin: 0; 
    padding: 0;
}

    /* Skillset */
    .container2 .content1,
    .container2 .content2 {
      color: white;
      text-align: center;
      margin-top: 100px;
    }

    .logo1, .logo2, .logo3 {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 40px;
      margin: 50px auto;
    }

    .logo1 img, .logo2 img, .logo3 img {
      height: 120px;
      width: 120px;
      padding: 60px;
      border-radius: 10px;
      border: solid 3px rgb(204, 94, 246);
      transition: transform 0.3s ease;
    }

    .logo1 img:hover,
    .logo2 img:hover,
    .logo3 img:hover {
      transform: scale(1.1);
      cursor: pointer;
    }

    /* Footer */
    .container3 {
      display: flex;
      justify-content: space-around;
      align-items: center;
      height: 60px;
      background-color: black;
      margin-top: 200px;
      flex-wrap: wrap;
    }

    .container3 .one, .two, .three {
      color: white;
      font-size: 17px;
      text-align: center;
      padding: 10px;
    }

    /* Scrollbar */
    ::-webkit-scrollbar-thumb {
      background-color: #b148c9;
      border-radius: 10px;
      border: 2px solid #312958;
    }

    * {
      scrollbar-width: thin;
      scrollbar-color: #b148c9 #312958;
    }

    /* Responsive */
    @media screen and (max-width: 900px) {
      .nav1 {
     flex-direction: column;
     align-items: center;
     width: 100%;
     height: auto;
     padding: 10px 0;
     position: static;
     }

     .nav1 h3 {
     padding: 10px 0;
     width: auto;
     padding-left: 0;
     justify-content: center;
     }
      .container1 {
        flex-direction: column;
        align-items: center;
      }

      .container1 img {
        width: 90%;
        height: auto;
        margin: 40px auto;
      }

      .content1 {
        margin-left: 0;
        padding: 20px;
        text-align: center;
      }

      .content1 h1 {
        margin-left: 0;
        font-size: 28px;
      }

      .content1 h4 {
        width: 100%;
        font-size: 18px;
        margin: 30px 0;
        margin-bottom: 100px;
        text-align: left;
      }

      .activities {
        margin-left: 0;
        padding: 0;
        margin-bottom: 50px;
      }

      .container2 .content1,
      .container2 .content2 {
        margin: 80px 20px 20px;
        font-size: 24px;
      }

      .logo1, .logo2, .logo3{
        width: 400px;
      }

      .logo1 img, .logo2 img, .logo3 img {
        padding: 30px;
        height: 90px;
        width: 90px;
      }

      .container3 {
        flex-direction: column;
        /* height: auto; */
        padding: 10px 0;
        margin-top: 130px;
        height: 150px;
        margin-bottom: 0px;
        /* border: solid 2px lightcyan; */
      }

      .container3 .one, .two, .three {
        width: 90%;
      }
      .container3 .one{
        margin-top: 10px;
      }
      .container3 .two{
        margin-top: 0px;
      }
      .container3 .three{
        margin-bottom: 20px;
      }
      
      .activities li img{
        margin: 5px 5px;
      }
      .activities li{
        margin-top: 20px;
        margin-left: 65px;
      }
      .nav1 h3.underline::after {
      display: none !important; /* Disables underline on mobile */
      }
    }
    .menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  cursor: pointer;
}
.bgc {
    display: none; /* Hidden by default */
    background-color: #1c182f;                   
    height: 80px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

/* Mobile view nav */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
    cursor: pointer;
    padding: 8px;
  }

  .menu-toggle img {
    height: 30px;
    width: 30px;
    transition: all 0.3s ease;
  }

  .close-icon {
    position: absolute;
    top: 8px;
    right: 8px;
  }

  .nav1 {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.85);        
    width: 50%;
    position: fixed;
    z-index: 1000;
  }

  .nav1.show {
    display: flex;
    padding-right: 210px;
  }

  .nav1 h3 {
    padding: 15px 0;
    justify-content: center;
  }

  .nav1 a {
    justify-content: center;
    width: 100%;
  }
  .underline img{
    height: 18px;
    width: 18px;
  }
  .bgc {
        display: block; /* Only visible on mobile */
  }
}