:root {
  --yellow: #f5bf23;
  --black: #111;
  --white: #fff;
  --blue: #2e3092;
  --red: #ff0000;
  --light-color: #666;
  --light-bg: #eee;
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --border: 0.1rem solid rgba(0, 0, 0, 0.3);
}

* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

html::-webkit-scrollbar {
  width: 1rem;
}

html::-webkit-scrollbar-thumb {
  background: var(--red);
}

section {
  padding: 5 rem 2rem;
  margin: 0 auto;
  max-width: 1500px;
}

.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem;
}

.navbar {
  display: flex;
  gap: 20px; /* Menambahkan jarak antara link menu */
}

.navbar a {
  text-decoration: none;
  font-size: 15px;
  font-weight: bold;
}

.icons {
  display: none;
}

@media (max-width: 991px) {
  html {
    font-size: 55%;
  }
  .header .flex #menu-btn {
    display: inline-block;
  }
  .header .flex .navbar {
    position: absolute;
    top: 99%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: var(--border);
    border-bottom: var(--border);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    -webkit-transition: 0.2s linear;
    transition: 0.2s linear;
  }
  .header .flex .navbar.active {
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

/* Tampilan mobile */
@media (max-width: 768px) {
  .navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .navbar a {
    margin-bottom: 10px; /* Add some spacing between navbar links */
  }

  .icons {
    display: block;
  }

  .header .flex {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header .flex img {
    margin-left: 0; /* Reset margin on small screens */
  }

  .header .flex #menu-btn {
    display: block; /* Ensure the menu icon is visible */
  }
}

@media (max-width: 768px) {
  .sub-header {
    text-align: center;
    padding: 10px;
  }

  .sub-header h2 {
    font-size: 38px;
  }

  .sub-header p {
    font-size: 16px;
  }
}

.header .flex .logo {
  font-size: 2.5rem;
  color: var(--black);
  text-transform: capitalize;
}

.header .flex .icons div {
  height: 5rem;
  width: 5rem;
  line-height: 5rem;
  font-size: 2rem;
  color: var(--blue);
  cursor: pointer;
  text-align: center;
  margin-left: 0.3rem;
}

.header .flex .icons div:hover {
  background: var(--red);
  color: var(--white);
}

/*.header .flex #menu-btn {
  /*display: none;
}*/

.header .flex .navbar a {
  margin: 0.5rem 2rem;
  font-size: 15px;
  color: var(--red);
}

.home {
  background-image: url("../images/Beranda-BG.png");
  background-size: cover;
  background-position: center;
  height: 595px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 40px 100px;
}

.aboutus {
  background-image: url("../images/gedung-pmk.png");
  background-size: cover;
  background-position: center;
  height: 595px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 40px 100px;
}

.product {
  background-image: url("../images/Produk-BG.png");
  background-size: cover;
  background-position: center;
  height: 595px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 40px 100px;
}

.contact {
  background-image: url("../images/Kontak-BG.png");
  background-size: cover;
  background-position: center;
  height: 595px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 40px 100px;
}

.sub-header img {
  max-width: 100%;
  max-height: 100%;
}

.sub-header p {
  color: #252a61;
  font-size: 15px;
  display: flex;
}

.about {
  margin: 0 100px;
  padding: 20px;
}

.about .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
}

.content-video {
  margin: 30px 0;
}

.content-video video {
  width: 100%;
  height: auto;
}

.content-index {
  flex: 0 0 58%;
}

.content-index p {
  font-size: 16px;
  text-align: justify;
  margin: 0 50px 0 0;
}

.content {
  flex: 0 0 58%;
}

.content p {
  font-size: 16px;
  text-align: justify;
}

.our-product .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background-color: #ff0000;
  margin-bottom: 20px;
}

.content-gambar {
  position: relative;
  text-align: center;
}

.content-gambar h1 {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 45px;
  color: #eee;
}

.content-gambar img {
  width: 650px;
  height: 270px;
  display: flex;
}

.content-description {
  padding: 0 20px;
}

.content-description h1 {
  font-size: 25px;
  color: #eee;
  margin-bottom: 20px;
}
.content-description p {
  font-size: 15px;
  color: #eee;
  text-align: justify;
}

.content-description h3 {
  margin-top: 20px;
  font-weight: lighter;
}

.content-description h3 a {
  font-size: 15px;
  color: #eee;
}

.vision-mission-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
}

.vision-mission-section-misi {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  padding: 20px;
}

.vision-mission-section img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  margin-bottom: 15px;
}

.vision-mission-section-misi img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  margin-bottom: 15px;
}

.vision-mission-section .content {
  text-align: center;
}

.vision-mission-section h2 {
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
}

.vision-mission-section p {
  color: #333;
  line-height: 1.8;
  font-size: 19px;
  margin-bottom: 15px;
}

.vision-mission-section-misi .content {
  text-align: center;
}

.vision-mission-section-misi h2 {
  color: #333;
  font-size: 20px;
  margin-bottom: 10px;
}

.vision-mission-section-misi p {
  color: #333;
  line-height: 1.8;
  font-size: 19px;
  margin-bottom: 15px;
}

@media (min-width: 769px) {
  .vision-mission-section {
    padding: 70px;
    flex-direction: row;
    justify-content: space-around;
  }

  .vision-mission-section-misi {
    padding: 70px;
    flex-direction: row;
    justify-content: space-around;
  }

  .vision-mission-section img {
    max-width: 450px;
    max-height: 400px;
    margin-bottom: 0;
  }

  .vision-mission-section-misi img {
    max-width: 450px;
    max-height: 400px;
    margin-bottom: 0;
  }

  .vision-mission-section .content {
    max-width: 350px;
    margin-left: 10px;
    text-align: left;
  }

  .vision-mission-section-misi .content {
    max-width: 350px;
    margin-left: 10px;
    text-align: left;
  }
}

.contact-us {
  width: 80%;
  margin: auto;
}

.contact-us .row {
  display: flex;
  justify-content: space-between;
}

.contact-col {
  flex-basis: 48%;
  margin: 40px 0;
}

.contact-col div {
  display: flex;
  align-items: center;
  margin: 40px;
}

.contact-col div p {
  padding-right: 25px;
  font-size: 10px;
}
.contact-col div h5 {
  font-size: 15px;
  margin-bottom: 5px;
  color: var(--red);
  font-weight: bold;
}

.contact-col div h4 {
  font-size: 45px;
  margin-bottom: 5px;
  color: var(--black);
  font-weight: 400;
  font-weight: bolder;
}

.contact-col input,
.contact-col textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 17px;
  outline: none;
  border: 1px solid #ccc;
}

button {
  background-color: var(--red);
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.location {
  width: 100%;
  margin: auto;
  min-height: 300px; /* Atur tinggi minimum yang sesuai dengan konten Anda */
}

.location-background {
  background-color: var(--light-bg);
  min-height: 300px;
}

.location iframe {
  width: 100%;
  min-height: 300px;
}

@media (min-width: 768px) {
  .vision-mission-section {
    flex-direction: row;
  }

  .vision-mission-section-misi {
    flex-direction: row;
  }

  .vision-mission-section img {
    margin-right: 20px;
    margin-bottom: 0;
  }
}

.whatsapp_float {
  position: fixed;
  bottom: 40px;
  right: 20px;
}

.instagram_float {
  position: fixed;
  bottom: 101px;
  right: 20px;
}

.footer {
  background-color: var(--red);
  color: #fff;
  padding: 20px 0;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo img {
  width: 150px;
  height: 100px;
  margin-left: 6rem;
}

.footer-info h2 {
  color: var(--white);
  font-size: 12px;
  padding: 5px;
}

.footer-a {
  color: var(--white);
  font-size: 10px;
  padding: 5px;
}

@media only screen and (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .contact-col {
    width: 100%;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .about {
    margin: 30px;
    padding: 20px;
  }

  .about .row {
    display: flex;
    flex-direction: column-reverse;
  }

  .content-index p {
    margin: auto;
  }

  .contact-video video {
    width: 100%;
    margin-bottom: 20px;
  }

  .content-gambar img {
    width: 100%;
  }

  .content-gambar h1 {
    position: absolute;
    top: 45%;
    left: 50%;
    font-size: 33px;
  }

  .content-description {
    margin: 20px;
  }
}

