/* custom.css – hanya style tambahanmu sendiri */

body {
  font-family: 'Nunito Sans', sans-serif;
}

h1,
h2,
h3 {
  font-family: Orbitron, 'sans-serif';
}

h3,
.mb-2 .text-h3 {
  font-size: 21px;
}

/* Tombol Hijau Stylish */
.btn-primary {
  background-color: #4caf50 !important;
  border: none !important;
  border-radius: 25px;
  color: white !important;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(76, 175, 80, 0.2);
  transform: translateY(0);
}

/* Hover & Fokus: Tombol mengambang */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #43a047 !important;
  box-shadow: 0 12px 24px rgba(76, 175, 80, 0.3);
  transform: translateY(-6px);
}


.services.services-bg,
.services.services-bg.services-darken,
.services.services-bg.services-lighten {
  background: #4caf50 !important;
}

.bg-primary {
  background: #4caf50 !important;
}

.judul-supplier {
  color: #4caf50 !important;
}

.supplier-logo {
  width: 120px;
  height: 80px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.supplier-wrap {
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 20px 10px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.supplier-wrap:hover {
  transform: translateY(-5px);
  border-color: #4caf50;
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.2);
}


.orbitron-green {
  font-family: 'Orbitron', sans-serif !important;
  font-weight: 600 !important;
  color: #4caf50 !important;
}

#ftco-loader img {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.navbar-nav .nav-item.active .nav-link {
  color: #4caf50 !important;
}

body.home-page .navbar-nav .nav-link {
  color: black;
}

.icon-input {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #4caf50;
  font-size: 16px;
  pointer-events: none;
}

.with-icon {
  padding-left: 40px !important;
}

/* Untuk input dan textarea */
.form-control {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 12px 45px 12px 45px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transition: 0.3s ease;
  font-size: 16px;
}

/* Saat input aktif */
.form-control:focus {
  border-color: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.25);
  background-color: #f9fff9;
  outline: none;
}

/* Untuk icon di input */
.icon-input {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #4caf50;
  font-size: 16px;
  z-index: 2;
}

.with-icon {
  padding-left: 40px;
  position: relative;
}

/* Tambahan spacing antar form */
.position-relative {
  margin-bottom: 20px;
}

.ftco-section {
  padding: 3em 0;
  position: relative;
}

@media (max-width: 767.98px) {
  .ftco-section {
    padding: 3em 0;
  }

}

textarea+.icon-input,
.form-group textarea~.icon-input {
  top: 1.2rem;
  /* atau coba 18px jika belum pas */
  transform: none;
}

/* Tombol scroll ke atas */
.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #4caf50;
  color: white;
  font-size: 20px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  text-align: center;
  line-height: 48px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.scroll-to-top:hover {
  background-color: #43a047;
  transform: scale(1.1);
}

.office-label {
  color: #4caf50;
  font-weight: bold;
}

/* css untuk halaman product.html */
:root {
  --primary: #0066b1; /* Siemens blue */
  --secondary: #e31937; /* Acrel red */
  --dark: #2c3e50;
  --light: #f8f9fa;
  --accent: #28a745;
}

/* Navbar */
.navbar-nav .nav-link {
  position: relative;
  color: white !important;
  font-weight: 500;
  padding: 8px 15px;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #4caf50 !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #4caf50;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Filter Buttons */
.filter-buttons {
  margin-bottom: 30px;
}

.filter-btn {
  margin: 5px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-all {
  background-color: var(--dark);
  border-color: var(--dark);
}

.btn-acrel {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-siemens {
  background-color: var(--primary);
  border-color: var(--primary);
}

.active-filter {
  transform: scale(1.05);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Produk */
#products .row {
  margin-left: -15px;
  margin-right: -15px;
}

#products .col-md-6,
#products .col-lg-4 {
  padding: 15px;
}

.product-card {
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card .card-img-top {
  object-fit: contain;
  height: 220px;
  width: 100%;
}

.product-card .card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .card-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.product-card .card-text {
  flex-grow: 1;
  margin-bottom: 15px;
}

.product-card .badge {
  align-self: start;
  margin-bottom: 15px;
}

.product-card .btn {
  margin-top: auto;
}

/* Modal */
.modal-content {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}

.modal-body img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

/* Pagination */
#pagination-numbers {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-number {
  margin: 0 2px; /* Jarak horizontal antar tombol */
}

.page-btn {
  margin: 0 8px;
}

.page-btn,
.page-number {
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  line-height: 40px;
  text-align: center;
  background-color: white;
  color: #4caf50;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.page-btn:hover,
.page-number:hover {
  background-color: #4caf50;
  color: white;
  border-color: #4caf50;
}

.page-number.active {
  background-color: #9bcf93;
  color: white;
  border-color: #9bcf93;
}

.page-btn:focus,
.page-number:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Utilitas */
.preload-hidden {
  display: none !important;
}

.d-none-filter {
  display: none !important;
}


/* CSS untuk halaman contact_l.html */
/* ✅ Tombol Kirim (btn-send) */
.btn-send {
  background-color: #25d366;
  color: white !important;
  font-weight: 600;
  padding: 14px 24px;
  font-size: 18px;
  border: none;
  border-radius: 50px;
  width: 100%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-send i {
  margin-right: 10px;
}
.btn-send:hover {
  background-color: #1ebe5d;
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

/* ✅ Peta */
.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 2px solid #4caf50;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

#map {
  height: 500px;
  width: 100%;
  z-index: 0;
}

@media (max-width: 991.98px) {
  #map {
    height: 300px;
  }
}

#zoom-controls {
  position: absolute;
  bottom: 30px; /* Geser lebih ke bawah */
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

#zoom-controls button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: #4caf50;
  color: white;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: background-color 0.2s ease;
  outline: none;
}

#zoom-controls button:hover {
  background-color: #388e3c;
}

#zoom-controls button:focus {
  outline: none;
  box-shadow: none;
}




/* ✅ Navbar link */
.navbar-nav .nav-link {
  position: relative;
  color: #777777 !important;
  font-weight: 500;
  padding: 8px 15px;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover {
  color: #4caf50 !important;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #4caf50;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* ✅ Box kantor */
.office-box {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
}
.office-box:hover {
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.4),
              0 12px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-8px);
  cursor: pointer;
}

/* ✅ Form */
.contact-form {
  background-color: #f9f9f9 !important;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  padding: 40px;
}
.contact-form .form-group {
  position: relative;
  margin-bottom: 25px;
}
.contact-form .form-control {
  padding-left: 45px;
  border-radius: 10px;
  font-size: 16px;
  height: auto;
  padding-top: 12px;
  padding-bottom: 12px;
  box-shadow: none;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}
.contact-form .form-control:focus {
  border-color: #4caf50;
  box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}
.contact-form textarea.form-control {
  min-height: 140px;
  resize: vertical;
  padding-top: 15px;
}
.contact-form .icon-input {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #4caf50;
}
.contact-form textarea + .icon-input {
  top: 24px;
}

/* ✅ SweetAlert2 Custom */
.swal-popup-custom {
  border-radius: 16px;
  padding: 30px;
  font-family: 'Poppins', sans-serif;
}
.swal-title-custom {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #333;
}

/* ✅ Icon WhatsApp tanpa lingkaran */
.swal2-icon {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.swal2-icon .fa-whatsapp {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  font-size: 48px;
  color: #25D366;
}

/* ✅ Tombol konfirmasi (Yes & Cancel) */
.swal-confirm-custom,
.swal-cancel-custom,
.swal2-confirm {
  background-color: #25D366 !important;
  color: white !important;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 15px;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  transition: all 0.3s ease;
  transform: scale(1);
}
.swal-cancel-custom {
  background-color: #f44336 !important;
  margin-left: 10px;
}
.swal-confirm-custom:hover,
.swal-cancel-custom:hover,
.swal2-confirm:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.swal2-confirm:hover {
  background-color: #1ebe5d !important;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.services-bg {
  background: white !important;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease-in-out;
  transform: translateY(0);
}

.services-bg:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.services-bg h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 16px;
  color: #333;
  margin-top: 20px;
  transition: color 0.3s;
}

.services-bg:hover h3 {
  color: #4caf50;
}

.services-bg .icon img {
  transition: transform 0.3s ease;
}

.services-bg:hover .icon img {
  transform: scale(1.1) rotate(3deg);
}

/* ✅ Polaroid Card */
.polaroid-card {
  background-color: #fff;
  padding: 15px 15px 40px 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  max-width: 100%;
}

.polaroid-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.polaroid-caption {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  color: #333;
  margin-top: 15px;
  line-height: 1.4;
}

.polaroid-caption small {
  font-size: 12px;
  color: #888;
}

.polaroid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/*css untuk view portofolio*/
.custom-btn {
  background: none;
  font-size: 12px;
  border: none;
  padding: 0;
  color: #4caf50;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  cursor: pointer;
  text-decoration: none;
}

.custom-btn:focus,
.custom-btn:active {
  outline: none;        
  text-decoration: none;
}


.custom-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(6px);
}

.custom-modal-content {
  background: #fff;
  margin: 20px auto;
  padding: 30px;
  border-radius: 12px;
  max-width: 900px; 
  text-align: center;
}

.custom-modal-content img {
  max-width: 400px;
  width: 100%;
  height: auto;
  margin: 0 auto 20px;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.close-btn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 28px;
  color: #333;
  cursor: pointer;
}

@keyframes popupBounce {
  0% {
    opacity: 0;
    transform: scale(0.7) translateY(40px);
  }
  60% {
    opacity: 1;
    transform: scale(1.05) translateY(-5px);
  }
  80% {
    transform: scale(0.98) translateY(2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
  
}



