body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 170px;
  background: #f4f4f4;
}

header {
  background-color: #002244;
  color: white;
  text-align: center;
  padding: 20px 0;
}

header img {
  display: block;
  margin: 0 auto 10px;
}

main {
  padding: 20px;
}

.product-section {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.product {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 16px;
}

.product img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  cursor: pointer;
}

.product h2 {
  margin: 12px 0 6px;
  font-size: 18px;
}

.product p {
  font-size: 14px;
  color: #555;
}

.product-container {
  background: #fff; /* Putih kemas */
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  max-width: 1200px;
  margin: auto;
}

/* Tajuk */
.product-header {
  text-align: center;
  margin-bottom: 20px;
}

.product-header h2 {
  font-size: 28px;
  color: #001c3c;
  margin-bottom: 10px;
}

.product-header p {
  font-size: 16px;
  color: #555;
  line-height: 1.5;
}

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: red;
}

.close-btn:hover {
  color: red;
}


#productModal {
  transition: opacity 0.3s ease;
}


.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff; /* match your design */
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: opacity 0.3s ease;
}


.header-banner {
  background-color: #002244;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 20px;
}

.logo-area img {
  height: 100px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-area:hover img {
  transform: scale(1.1);
}

.title-area {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.title-area h1 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

.title-area p {
  margin: 4px 0 0;
  font-size: 14px;
  color: #ccc;
}



.navbar {
  background-color: #001c3c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.navbar ul {
  list-style-type: none;
  display: flex;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

.navbar ul li a:hover {
  color: #ffcc00;
}

.navbar .search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  padding: 5px 10px;
  border-radius: 6px;
  max-width: 300px;
}

.navbar .search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.navbar .search-bar button i {
  font-size: 18px;
  color: #001c3c;
}

.navbar .search-bar input[type="text"] {
  border: none;
  outline: none;
  flex: 1;
  padding: 6px;
  font-size: 14px;
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.whatsapp-button:hover {
  background-color: #1ebe5d;
}
 
/* Contact Us Section */
/* Container dua column */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 40px;
  background: #fff; /* Putih */
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Column kiri/kanan */
.contact-left,
.contact-right {
  flex: 1;
  min-width: 250px;
}

/* Teks penerangan */
.contact-left p,
.contact-right p {
  margin-bottom: 15px;
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

/* Butang Contact */
.contact-btn {
  display: inline-block;
  padding: 14px 24px;
  background: #001c3c; /* Biru DMS */
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}

/* Hover effect */
.contact-btn:hover {
  background: #003366;
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }
}




.btn-brochure {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  background: #001c3c;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.btn-brochure:hover {
  background: #004080;
}

.specs {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #333;
}

.detail-image {
  display: block;
  margin: 20px auto;
  width: 100%;
  max-width: 1000px; /* Increase this if needed */
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.detail-image:hover {
  transform: scale(1.02);
}


/* Modal full screen with scroll */
.product-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto; /* Enable scroll */
  background-color: rgba(0, 0, 0, 0.6);
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Inner modal box */
.modal-content {
  background-color: white;
  max-width: 800px;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
}

/* Image utama */
.main-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 8px;
}




/* Tutup button */
.modal-close {
  float: right;
  font-size: 28px;
  font-weight: bold;
  color: #e00;
  cursor: pointer;
}

.dms-footer {
  background-color: #001c3c;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 40px 20px 10px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-left, .footer-center, .footer-right {
  flex: 1 1 250px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-social a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: #00bcd4;
}

.footer-container h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #00bcd4;
}

.footer-container p {
  margin: 5px 0;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #555;
  margin-top: 20px;
  padding-top: 15px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left, .footer-center, .footer-right {
    max-width: 100%;
  }

  .footer-logo {
    margin: auto;
  }
}

.no-underline {
  text-decoration: none;
  color: inherit; /* Keeps the same text color */
}
.no-underline:hover {
  text-decoration: underline; /* Optional: show underline on hover */
}


.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

.slide {
  display: none;
}

.slide img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s;
  user-select: none;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0,0,0,0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots */
.dot-wrapper {
  margin-top: 10px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fade animation */
.fade {
  animation-name: fade;
  animation-duration: 1.2s;
}

@keyframes fade {
  from { opacity: .4 }
  to { opacity: 1 }
}


.about-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: auto;
}

/* About Us + Vision/Mission */
.about-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 1200px;
  margin: auto;
}

/* Untuk tajuk */
.about-section h2, .visi-section h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  color: #002147; /* biru gelap */
}

/* Untuk isi teks */
.about-section p, .visi-section p {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
}

.about-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.about-left, .about-right {
  flex: 1;
  min-width: 300px;
}

.about-left h2, .about-right h2 {
  color: #002b5c;
}

.about-right ul {
  padding-left: 20px;
}

.about-right li {
  margin-bottom: 8px;
}

.about-visi-container {
  display: flex;
  gap: 30px; /* jarak antara kiri dan kanan */
  padding: 20px;
  border-radius: 10px;
  flex-wrap: wrap; /* supaya muat dalam phone */
}

.about-section, .visi-section {
  flex: 1;
  text-align: justify;
}

.about-section h2, .visi-section h2 {
  text-align: center;
  color: #002147;
}

@media (max-width: 768px) {
  .about-visi-container {
    flex-direction: column; /* bila phone jadi menegak */
  }
}

/* Slideshow */
.team-slideshow {
  position: relative;
  margin-top: 30px;
  max-width: 600px; /* kecilkan sikit */
  margin-left: auto;
  margin-right: auto;
}

.team-slide {
  display: none;
}

.team-slide img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

/* Panah kiri/kanan */
.team-slideshow .prev, .team-slideshow .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  margin-top: -20px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  background: rgba(0,0,0,0.4);
  border-radius: 50%;
  user-select: none;
}

.team-slideshow .prev { left: 10px; }
.team-slideshow .next { right: 10px; }

/* Dot navigation */
.dot-container {
  text-align: center;
  margin-top: 10px;
}

.team-dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.team-dot.active {
  background-color: #002b5c; /* warna tema DMS NIAGA */
}

/* Video */
.about-videos {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Supaya stack bila screen kecil */
  justify-content: center;
  max-width: 1200px;
  margin: 20px auto;
}

.video-box {
  flex: 1 1 400px; /* Minimum lebar video */
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.video-box iframe {
  width: 100%;
  height: 250px;
  display: block;
  border: none;
  border-radius: 8px;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
  .video-box iframe {
    height: 200px;
  }
}



