/* General Reset */
body, html, ul, li, a {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  }
  
  /* Header Styling */
  header {
    width: 100%;
    background-color: #000000;
    color: white;
    
  }
  
  /* Navigation Bar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 10px 20px;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }

  .judul {
    display: flex;
    flex-direction: row;
    margin-left: 50px;
    justify-content: center;
    align-items: center;
  }

  .title {
    margin-left: 10px;
    font-size: 1.5rem;
    font-weight: bold;
  }
  .hero img {
    height:70px;
    width:70px;
  }
  /* Nav Links */
  .nav-links {
    display: flex;
    list-style: none;
    margin-right: 50px;
  }
  
  .nav-links li {
    margin: 0 10px;
  }
  
  .nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: #00bcd4;
  }
  
  /* Burger Menu */
  .burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .burger-menu .line {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
  }
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
    .burger-menu {
      display: flex;
    }

    
  .judul {
    margin-left: 0px;
  }
  
    .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 20px;
      margin-right: 0px;
      background-color: #333;
      border-radius: 5px;
      padding: 10px 20px;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .nav-links li {
      margin: 10px 0;
    }


  }

  .logo1 img{
    height: 70px;
    width: 70px;
  }

main{
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    background-color: #0a0f2c;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    }


    .upper{
        text-align: center;
        height: 70vh;
    }

  /* Body */
  body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0a0f2c;
    color: #ffffff;
  
}
.container {
    text-align: center;
    position: relative;
}
.container img {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}
h1 {
    font-size: 4rem;
    margin: 20px 0;
}
p {
    margin-top: 0%;
    font-size: 1.2rem;
    margin-left: 10px;
    margin-right: 10px;
    
}
.buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.button {
    border: 1px solid #00ffcc;
    padding: 10px 20px;
    color: #00ffcc;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    transition: background-color 0.3s, color 0.3s;
}
.button:hover {
    background-color: #00ffcc;
    color: #0a0f2c;
}
.button i {
    margin-left: 10px;
}

.text{
    margin-left: 20vw; 
    margin-right: 20vw;
}


/* REMMBER TO SET THE RESPONSIVE */
.about{
    display: flex;
    flex-direction: row;
    margin-top: 0vh;
    margin-left: 10vw;
    margin-right: 10vw;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}
.aboutlogo img {
    height: 300px;
    width: 300px;
    margin-left: 20px;
    border-radius: 30px;
    border: 5px solid #7e74f1;

}

.span-about{
    margin-left: 50px;
}

.services{
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 5vh;
}

.ongoing{
    margin-left: 5vw;
    margin-right: 5vw;
    margin-top: 5vh;
}

.contact{
    margin-left: 0vw;
    margin-right: 10vw;
    margin-top: 5vh;
}

.services-list{
    display: flex;
    flex-direction: row;
    height: 80vh;
    
}

.list{
    margin: 20px;
   border: #7e74f1 3px solid;
    border-radius: 20px;
    background-color: #000000;
    color: #ffffff;
    width: 300px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list img{
  border: #7e74f1 1px solid;
    margin-top: 0px;
    height: 200px;
    width: 280px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-radius: 20px;
    object-fit: cover;
}

.title1-h1{
    color: #7e74f1;
    font-size: 4rem;
}

.services-h1{
  font-size: 3.0rem;
}



.contact {
  margin: 50px auto;
  padding: 20px;
  max-width: 85vw;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact h1 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-size: 16px;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #7e74f1;
  box-shadow: 0 0 5px rgba(126, 116, 241, 0.5);
}

.contact-form .submit-button {
  background-color: #7e74f1;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .submit-button:hover {
  background-color: #5e54d1;
}


.footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
  margin-top: 50px;
}

.footer {
  background-color: #333;
  color: white;
  padding: 40px 20px;
  margin-top: 50px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-about,
.footer-links,
.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer h3 {
  font-size: 18px;
  margin-bottom: 10px;
  border-bottom: 2px solid #7e74f1;
  display: inline-block;
}

.footer p {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-nav a {
  color: #7e74f1;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  color: white;
  font-size: 18px;
  text-decoration: none;
  padding: 10px;
  border-radius: 50%;
  background-color: #7e74f1;
  display: inline-block;
  text-align: center;
}

.social-icon:hover {
  background-color: #5e54d1;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
    .text{
        margin-left: 20px; 
        margin-right: 20px;
        font-size: 1rem;
    }

    .title1-h1{
        font-size: 2rem !important;
    }

    .title1-h2{
      font-size: 1rem;
  }
 
  .ongoing{
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 5vh;
}

    .title {
        margin-left: 10px;
        font-size: 1.3rem;
        font-weight: bold;
      }
      .hero img {
        height:50px;
        width:50px;
      }
      main{
        margin-top: 20px;}


        .about{
          display: flex;
          flex-direction: column;
          margin-top: 35vh;
          margin-left: 0px;
          margin-right: 0vw;
          justify-content: center;
          align-items: center;
          height: auto;
      }
      .aboutlogo img {
          height: auto;
          width: 80vw;
          margin-left: 0px;
          border-radius: 30px;
          border: 5px solid #7e74f1;
      
      }
      
      .span-about{
          margin-left: 10vw;
          margin-right: 5vw;
          font-size: 2rem;
      }
      
      .services{
          margin-left: 0px;
          margin-right: 0px;
          margin-top: 5vh;
      }

      .services-h1{
        font-size: 2.0rem;
        margin-left: 5vw;
      }

      .p-services{
        margin-left: 10vw;
        margin-right: 10vw;
      }
      .services-list{
        display: flex;
        flex-direction: column;
        height: auto;
        justify-content: center;
        align-items: center;
        
    }
    
    .list{
        margin: 20px;
       border: #7e74f1 3px solid;
        border-radius: 20px;
        background-color: #000000;
        color: #ffffff;
        width: 85vw;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .list img{
      border: #7e74f1 1px solid;
        margin-top: 5vh;
        height: auto;
        width: 80vw;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        border-radius: 20px;
        object-fit: cover;
    }
    
    .title1-h1{
        color: #7e74f1;
        font-size: 4rem;
    }
    
}


.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 300px;
}

.popup.hidden {
  display: none;
}

.popup-icon {
  font-size: 50px;
  color: #4CAF50; /* Green color for success */
  margin-bottom: 10px;
}

.popup-message {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

body::after {
  content: '';
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* Background overlay */
  z-index: 999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}

body.popup-active::after {
  opacity: 1;
  pointer-events: all;
}