* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html{
  scroll-behavior:smooth;
}

.navbar {
  width: 100%;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  font-size: 14px;
  position: relative;
  z-index: 1000;
}

.logo {
  width: 100px;
  cursor: pointer;
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 20px;
  position: relative;
  font-size: 16px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.sidebar-only {
  display: none !important;
}

.nav-links li a:hover {
  color: lightblue;
}

.nav-links li:not(.sidebar-only)::after {
  content: '';
  height: 3px;
  width: 0;
  background: lightblue;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.5s;
}

.nav-links li:not(.sidebar-only):hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-links {
    display: none; 
    flex-direction: column;
    width: 70%; 
    height: 100vh;
    background: #232739; 
    position: fixed;
    top: 0;
    right: -70%;
    transition: right 0.4s ease;
    padding: 0;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
    right: 0; 
  }

  .sidebar-only {
    display: block !important;
  }

  .sidebar-title {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .sidebar-title a {
    font-weight: bold;
    font-size: 18px;
    text-transform: none !important;
  }

  .nav-links li {
    margin: 0; 
    width: 100%;
    text-align: left; 
  }

  .nav-links li a {
    display: block;
    padding: 18px 25px;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-links li a:hover, 
  .nav-links li.active a {
    background: #3a86ff; 
    color: white;
  }

  .sidebar-footer {
    margin-top: auto; 
    padding: 20px 25px;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li::after {
    display: none; 
  }

  .hamburger {
    display: block;
    z-index: 1001; 
  }
}
.header-text{
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: white;
  margin-top: 10px;
}

.header-text h1{
  font-size: 90px;
  margin: 10px;
}

.header-text p{
  margin: 20px auto;
  font-weight: 100;
  line-height: 25px;
}

.container {
  width: 100%;
  height: 100vh;
}

.bg_img1 {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("image/ANGKATAN\ 68.jpg");
  background-position: center;
  background-size: cover;
}

#contact {
  width: 80%;
  margin: 60px auto;
  text-align: center;
  color: #333;
}

#contact h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #222;
}

#contact p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.logo-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-image: url("image/logo-sab.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.logo-circle:hover {
  transform: scale(1.05);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.contact-left {
  flex: 1;
  font-size: 18px;
  text-align: left;
}

.wa-button {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit; 
}

.wa-icon {
  width: 22px;        
  height: 22px;
  fill: #25D366;    
}

.contact-link:hover .wa-icon {
  fill: #128C7E;      
}


.contact-logo {
  margin-top: 30px;
}

.contact-logo img {
  width: 180px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.contact-logo img:hover {
  transform: scale(1.05);
}

.contact-right {
  flex: 1;
}

.contact-map {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.contact-map iframe {
  width: 100%;
  height: 500px; 
}

@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
  .contact-left {
    text-align: center;
  }
  .contact-map iframe {
    height: 300px;
  }
}

.contact-us-section .left h3{
  font-weight: normal;
  color: white;
}

.contact-us-section .left a{
  color: white; 
}

footer {
  background: black;
  position: relative;
  width: 100%;
  height: auto;
  padding: 50px 0px;
}

footer .f-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 0.5fr 0.5fr 1fr;
  grid-gap: 5px;
}

.footer-center,
.footer-right {
  padding-top: 50px;
}

footer h2 {
  position: relative;
  color: white;
  font-weight: 500;
  margin-bottom: 30px;
}

footer h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0px;
  width: 150px;
  height: 2px;
  background-color: white;
}

footer li {
  list-style-type: none;
}

.footer-left {
  display: flex;
  align-content: center;
  justify-content: center;
}

.footer-left img {
  margin: auto;
  width: 300px;
  height: 300px;
}

.footer-center li a {
  color: white;
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
  font-size: 20px;
}

.footer-center li a:hover {
  color: lightblue;
}

.icon {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(5, 50px);
  grid-gap: 20px;
}

.icon li {
  list-style-type: none;
}

.icon li a {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: grey;
  display: grid;
  align-content: center;
  justify-content: center;
  border-radius: 40%;
}

.icon li a img {
  width: 30px;
  height: 30px;
}

.icon li a:hover {
  background: lightblue;
}

@media (max-width: 768px) {
  footer .f-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-center, .footer-right {
    padding-top: 10px;
  }
}

.copyright {
  width: 100%;
  background: rgb(27, 27, 27);
  padding: 8px 0px;
  text-align: center;
  color: white;
}

.bg_img1, footer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.show {
  opacity: 1;
  transform: translateY(0);
}