* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  /* background: rgb(104, 103, 103); */
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/tentang-kami.png");
  color: #333;
  min-height: 0vh;
}

/* NAVBAR */

header {
  background: rgba(182, 182, 182, 0.7);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #ffffff;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
}
.logo {
  font-size: 20px;
  font-weight: bold;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo img {
  max-width: 40px;
  height: auto;
}

.navbar .logo .lab-name {
  font-family: poppins;
  font-size: 80%;
  padding-bottom: 0px;
  letter-spacing: 1px;
  margin-left: 10px; /* jarak dari logo */
}

.navbar .logo .lab-name span {
  font-family: poppins;
  font-size: 80%;
  letter-spacing: 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  padding: 10px 18px;
  color: #272727;
  display: block;
  transition: 0.3s;
  font-family: poppins;
}

/* Hover animation */

nav ul li a:hover {
  background: #ff5537;
  color: white;
  border-radius: 6px;
  transform: translateY(-2px);
}

/* DROPDOWN */

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  list-style: none;
  border-radius: 6px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);

  display: none;
  flex-direction: column;
}

/* tampil saat hover */

.dropdown:hover .dropdown-menu {
  display: block;
}

/* item dropdown */

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #333;
  transition: 0.25s;
}

.dropdown-menu li a:hover {
  background: #ff5537;
  color: white;
}
/* HERO */

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("images/background.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 20px;
}

.hero h1 {
  font-size: 30px;
  margin-bottom: 20px;
  font-family: poppins;
  font-weight: 300;
}

.hero h2 {
  font-size: 60px;
  margin-bottom: 10px;
  font-family: poppins;
  font-style: italic;
}
.hero h3 {
  font-size: 40px;
  margin-bottom: 20px;
  font-family: poppins;
  font-weight: 400;
}

.hero p {
  max-width: 600px;
  margin: auto;
  margin-bottom: 25px;
  font-family: poppins;
}

.btn {
  padding: 12px 25px;
  background: #ff5537;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
  font-family: poppins;
}

.btn:hover {
  background: #919191;
  transform: scale(1.05);
}

/* SECTION */

.section {
  padding: 10px 10%;
  text-align: center;
}

.section h1 {
  margin-bottom: 20px;
  color: #ffffff;
  padding-top: 10px;
  font-size: 25px;
}
.section h2 {
  margin-bottom: 40px;
  color: #ffffff;
  padding-top: 100px;
  font-family: poppins;
  letter-spacing: 2px;
}

.section p {
  max-width: 3000px;
  margin: auto;
  margin-bottom: 10px;
  font-family: poppins;
  font-size: 18px;
  color: #ffffff;
  text-align: justify;
}
section .cards h3 {
  margin-bottom: 10px;
}
section .cards {
  color: #ffffff;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 15px;
}

.card {
  background: #ff5537;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  padding-bottom: 30px;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* FOOTER */

footer {
  /* position: sticky; */
  bottom: 0;
  left: 0;
  width: 100%;
  text-align: center;
  padding: 20px 0;
  /* background: #919191; */
  background: rgba(182, 182, 182, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  color: white;
  font-family: poppins;
}

footer .social {
  padding: 1rem;
}
footer .social p {
  font-family: poppins;
  font-weight: bold;
}
footer .social a {
  color: #fff;
  margin: 1rem;
  font-family: poppins;
  font-weight: 200px;
}

footer .social a:hover {
  color: #ff5537;
}

footer .credit {
  padding: 1rem 0;
}

footer .credit a {
  color: #ff5537;
  font-weight: 700;
}

footer .credit p {
  font-family: poppins;
  font-weight: 200px;
}

/* HAMBURGER */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #333;
  margin: 4px;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 20px;
    margin-bottom: 5px;
    font-family: poppins;
    font-weight: 300;
  }

  .hero h2 {
    font-size: 30px;
    margin-bottom: 3px;
    font-family: poppins;
    font-style: italic;
  }
  .hero h3 {
    font-size: 20px;
    margin-bottom: 20px;
    font-family: poppins;
    font-weight: 400;
  }
  .hero p {
    max-width: 600px;
    margin: auto;
    margin-bottom: 25px;
    font-family: poppins;
    font-size: 15px;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  .hamburger {
    display: flex;
  }
}
