@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&family=Poppins:ital,wght@0,400;0,500;0,600;1,400&family=Roboto:wght@400;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins",serif; 
}

body {
  max-width: 100%;
  background: #f7f7f7;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.navbar img {
  height: 35px;
}

.navbar a {
  text-decoration: none;
  color: black;
  margin: 0 15px;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 5px;
  position: relative;
}

.navbar a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: blue;
  left: 0;
  bottom: 0;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.navbar .active {
  background-color: blue;
  color: white;
}

.menu {
  display: flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 20px;
  height: 15px;
  justify-content: space-between;
  transition: transform 0.3s ease;
  position: absolute;
  top: 12px;
  right: 20px;
}

.hamburger div {
  width: 100%;
  height: 2px;
  background-color: black;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.navbar.active .hamburger div:nth-child(1) {
  transform: rotate(45deg) translate(2px, 2px);
}

.navbar.active .hamburger div:nth-child(2) {
  opacity: 0;
}

.navbar.active .hamburger div:nth-child(3) {
  transform: rotate(-45deg) translate(2px, -2px);
}

@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: white;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
  }

  .navbar a {
    margin: 10px 0;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .navbar.active .menu {
    display: flex;
  }
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s, padding 0.3s;
  padding: 20px 0;
  background-color: white;
}

.navbar.sticky-transparent {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(1px);
  padding: 10px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-nav .nav-link {
  color: black;
  font-weight: bold;
  margin-right: 20px;
}

.navbar .nav-link.active {
  background-color: blue;
  color: white;
  border-radius: 5px;
}

navbar-nav .nav-link {
  color: black;
  font-weight: bold;
  margin-right: 20px;
}

.navbar-nav .nav-link:hover {
  color: white;
  background-color: blue;
}

/* Carousel */
.carousel-item img {
  height: 50%;
  width: 50%;
  object-fit: cover;
}

.carousel {
  width: 100%;
  max-width: 100vw;
  margin-left: auto;
  margin-right: auto;
}

/* style untuk card */
.border-red {
  border: 2px solid red;
}

.card-header {
  background-color: transparent;
  border-bottom: none;
  font-weight: bold;
  color: #f00;
  text-align: center;
}

.card-body {
  color: #333;
  text-align: justify;
}

.title {
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}

.highlight {
  color: #f00;
}

.row-equal-height {
  display: flex;
}

.col-equal-height {
  display: flex;
  flex-direction: column;
  border: 2px solid red;
  margin: 45px;
  transition: transform 0.3s ease;
}

.col-equal-height:hover {
  transform: scale(1.05);
}

/* style untuk carousel bawah */


.content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}

.text-section {
  max-width: 500px;
  margin-right: 50px;
}

.text-section h1 {
  font-size: 48px;
  font-weight: bold;
}

.text-section h1 span {
  color: red;
}

.text-section p {
  font-size: 16px;
  margin-top: 20px;
}

.btn-custom {
  background-color: red;
  color: white;
  border-radius: 10px;
  padding: 10px 20px;
  margin-top: 20px;
  text-decoration: none;
}

.image-section img {
  width: 650px;
  height: 420px;
  border-radius: 10px;
}

.transition-image {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.transition-image:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.text-justify {
  text-align: justify;
}

.visi-misi {
  text-align: center;
  font-size: 50px;
  font-weight: bold;
  color: white;
}

.vision {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
  margin-left: 10px;
}
.vision-text {
  text-align: justify;
  font-size: 20px;
  color: white;
  margin-left: 10px;
}

.mision {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
  margin-left: 10px;
}
.mision-text {
  text-align: justify;
  font-size: 20px;
  color: white;
  margin-left: 10px;
}

/* table */

.profil-perusahaan {
  text-align: center;
  font-weight: bold;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 18px;
  text-align: left;
}
th,
td {
  border: 3px solid #ddd;
  padding: 10px;
}
th {
  background-color: blue;
  color: white;
}
tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* sertifikat */
.sertifikat-iso {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
  margin-top: 30px;
}

/* zoom gambar sertifikat */
.zoomable {
  height: auto;
  width: 200px;
  margin-top: 50px;
  cursor: pointer;
  transition: transform 0.2s;
}

.zoomable:hover {
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 50%;
  max-height: 120%;
  display: block;
  margin: auto;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.sertifikat-penghargaan {
  text-align: center;
  font-size: 30px;
  font-weight: bold;
  color: white;
  margin-top: 30px;
}

/* banner garis miring di experience dan product */
.banner {
  background-color: blue;
  width: 30rem;
  padding: 10px 25px;
  color: white;
  font-weight: bold;
  display: inline-block;
  transform: skewX(-30deg); 
  border-radius: 5px;
}
.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15px;
  width: 40px;
  height: 100%;
  border-radius: 7px;
  background-color: blue;
  transform: skewX(30deg);
}
.banner span {
  display: inline-block;
  transform: skewX(30deg); 
  padding: 5px 20px;  
}


/* footer */
.footer-bg {
  background-color: #001991;
}

 /* Menghindari scroll horizontal */
 /* html, body {
  overflow-x: hidden;
} */

/* Styling section visi dan misi */
.vision-mission-section {
  background-image: url("../assets/background/blues-dark.jpg");
  background-size: cover;
  background-position: center;
  padding: 100px 0;
  border-radius: 10px;
}

/* Responsif untuk layar kecil */
@media (max-width: 768px) {
  .vision-mission-section {
    padding: 50px 15px;
  }
}