/* Reset default browser styles */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@700&family=Poppins:wght@400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.logo-navbar {
  height: 50px;
  width: auto;
}
body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
  margin: 0;
}
.navbar {
  background-color: #000;
  transition: all 0.3s ease;
}

.navbar .nav-link {
  color: #ffffff;
  margin-right: 1rem;
}

.navbar .nav-link.active {
  color: #0d6efd;
}

.navbar .nav-link:hover {
  color: #0d6efd;
}

.navbar-brand {
  font-weight: bold;
  color: #0d6efd;
}

.navbar-toggler {
  border: none;
}

/* Global Styles */
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #003366; /* Blue */
  color: white;
  padding: 20px 0;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
}

header nav ul li a {
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
}

header nav ul li a:hover {
  color: #f1c40f; /* Mustard Yellow */
}

.hero {
  background: url("../assets/img/hero1.jpg") no-repeat center center;
  background-size: cover;
  height: 650px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10%;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  position: relative;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-style: "Lora", serif;
  font-weight: 700;
}

.home p {
  font-size: 18px;
  margin-top: 20px;
}

.home .cta-button {
  background-color: #f1c40f; /* Mustard Yellow */
  color: black;
  padding: 15px 25px;
  border: none;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
}

.home .cta-button:hover {
  background-color: #d4ac0d; /* Darker Yellow */
}

/* About Us Section */
.about-us {
  background-color: #d6d6d6;
  padding: 80px 0;
}

.section-title h2 {
  border-bottom: #1a00ff 2px solid;
}

.about-us h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 20px;
}

.text-justify {
  text-align: justify;
}

.about-us .content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.about-us .content div {
  flex: 1;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-us .content div h3 {
  font-size: 24px;
  color: #003366;
}

.about-us .content div p {
  font-size: 16px;
  color: #333;
}

#why-choose-us img {
  transition: transform 0.3s ease;
  max-height: 100px;
}
#why-choose-us img:hover {
  transform: scale(1.1);
}

/* Product Section */
.solution {
  background-color: #ffffff;
  padding: 80px 0;
}

.solution h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #007bff;
  margin-bottom: 20px;
}

.solution .solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.solution .solution-item {
  background-color: #e9ecef;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution .solution-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15); /* shadow saat hover */
}

.solution .solution-item img {
  max-width: 100%;
  height: auto;
}

.solution .solution-item h3 {
  font-size: 24px;
  color: #003366;
  margin-top: 20px;
}

.solution .solution-item p {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

.card {
  background-color: #f8f9fa;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-img-top {
  object-fit: cover;
  height: 200px; /* sesuaikan sesuai kebutuhan */
  width: 100%;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.custom-product-btn {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #007bff;
  transition: 0.3s ease;
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
}
.custom-product-btn:hover {
  background-color: #fff;
  color: #007bff;
  text-decoration: none;
  border-color: #007bff;
}

/* Trusted Customers Section */
.trusted-customers {
  background-color: #003366;
  color: white;
  padding: 80px 0;
}

.trusted-customers h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
}

.trusted-customers .customers-list {
  display: flex;
  justify-content: space-evenly;
  gap: 40px;
}

.trusted-customers .customer-item img {
  max-width: 150px;
  height: auto;
}

/* Client Logo Carousel */
.logos {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logos-slide {
  display: flex;
  width: max-content;
  animation: slide 35s linear infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* logo */
.client-section {
  background-color: #fff;
}

.product-logo {
  flex: 0 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-logo img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-logo img:hover {
  transform: scale(1.1);
}

.client-logo {
  max-height: 60px;
  max-height: 100%;
  padding: 5px;
  object-fit: contain;
}

.client-logo:hover {
  transform: scale(1.05);
}

.client-image {
  max-height: 125px;
  max-width: 100%;
  object-fit: contain;
  padding: 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Responsive: adjust spacing & logo size */
@media (max-width: 768px) {
  .client-logo {
    padding: 0 1rem;
  }

  .client-logo img {
    max-height: 40px;
  }
}

@media (max-width: 480px) {
  .client-logo {
    padding: 0 0.5rem;
  }

  .client-logo img {
    max-height: 35px;
  }
}

@media (max-width: 768px) {
  .logos-slide {
    animation: slide 40s linear infinite;
  }
}

/* Contact Section */
.contact {
  background-color: #f0f0f0;
  padding: 80px 0;
}

.contact h2 {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #003366;
  margin-bottom: 40px;
}

.contact form {
  max-width: 600px;
  margin: 0 auto;
}

.contact form input,
.contact form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact form button {
  background-color: #f1c40f; /* Mustard Yellow */
  color: black;
  padding: 15px 25px;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.contact form button:hover {
  background-color: #d4ac0d;
}

.map-container {
  width: 100%;
  height: 300px;
  border: 1px solid #ccc;
  border-radius: 10px;
}
/* map responsive */
.map-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/*scroll to top btn*/
.scroll-top-btn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  font-size: 24px;
  border-radius: 50%;
  z-index: 999;
  display: none;
  line-height: 1;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
  .scroll-top-btn {
    width: 45px;
    height: 45px;
    font-size: 18px;
    bottom: 20px;
    right: 20px;
  }
}

/* tampilan full product */
.product-list-section .client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.product-list-section .client-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-list-section .client-logo img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background-color: #000; /* hitam */
  color: #fff; /* putih */
  font-size: 14px;
  width: 100%;
}

.footer h5 {
  font-weight: 600;
}
.footer p {
  margin: 0;
  line-height: 1.6;
}

.footer i {
  color: #fff;
  font-size: 1rem;
  vertical-align: middle;
}
