/* Header Navbar */
.submenu {
  position: relative;
}

.submenu-content {
  position: absolute;
  left: 100%;
  top: 0;
  min-width: 220px;
  background: var(--bg-card);
  border-radius: 10px;
  display: none;
}

.submenu:hover .submenu-content {
  display: block;
}

.ml-12 {
  margin-left: 12px;
}

/* Contact Us */
.error-msg {
  color: rgb(212, 80, 80) !important;
}

/* Index Page */
.justify {
  text-align: justify;
}

.pad-30 {
  padding: 30px 30px;
}

.pt-30 {
  padding-top: 30px;
}

/* Footer */
/* Whatsapp */
.sticky-whatsapp {
  position: fixed;
  left: 24px;
  bottom: 80px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.set-whatsapp {
  height: 40px;
  width: 40px;
}

/* Phone */
.sticky-phone {
  position: fixed;
  left: 24px;
  bottom: 25px;
  z-index: 1000;
  transition: transform 0.3s ease;
}

.ft-rocket:hover {
  color: #2d5fa8;
}

/* Product Page */
.oth-pro-card {
  height: 400px !important;
}

/* Inquiry Form */
#exampleModalCenter {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 999999 !important;
  background: rgba(0, 0, 0, 0.7) !important;
  display: none;
  overflow-y: auto !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#exampleModalCenter.show {
  display: flex !important;
}

#exampleModalCenter .modal-dialog {
  position: relative;
  width: 100%;
  max-width: 700px;
  margin: auto;
}

#exampleModalCenter .modal-content {
  width: 100%;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.225);
  border-radius: 10px;
}

#closeModal {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  z-index: 9999;
}

#closeModal::before {
  content: "×";
  font-size: 28px;
  line-height: 35px;
  color: #000;
  display: block;
  text-align: center;
}

/* Inquiry Modal */
.inquiry-text {
  font-size: 24px;
}

.inq-pad {
  padding: 20px;
}

.inform-pad {
  padding: 12px 12px 12px 12px !important;
}

.cus-inq {
  padding: 18px 12px;
}

.modal-head {
  background-color: var(--theme) !important;
}

.close-icon:focus {
  box-shadow: none;
}

.mt-50 {
  margin-top: 50px;
}

/* Responsiv */
@media (max-width: 767px) {
  /* Footer */
  .sticky-whatsapp {
    left: 14px;
  }
  .sticky-phone {
    left: 14px;
  }
  /* Inquiry Form */
  .cus-inq {
    padding: 3px 12px;
  }
  .inq-pad {
    padding: 8px;
  }
  .form-row {
    gap: 0px;
  }
  .form-group {
    margin-bottom: 20px;
  }
  /* Home Page */
  .navbar.scrolled {
    padding: 8px 0;
  }
  .inq-btn {
    display: none;
  }
  .navbar {
    padding: 12px 0px;
  }
  .hero-slider {
    height: 75vh;
  }
  .slide-btns {
    flex-direction: row;
  }
  .arrow {
    width: 35px;
    height: 35px;
  }
  .rp-pad-45 {
    padding: 45px 0px;
  }
  .rp-gap-22 {
    gap: 22px;
  }
  .rp-mb-40 {
    margin-bottom: 40px;
  }
  .rp-mt-20 {
    margin-top: 20px;
  }
  .rp-pb-30 {
    padding-bottom: 30px !important;
  }
  /* Footer */
  .footer {
    padding-top: 30px;
  }
  .footer-grid {
    gap: 30px;
    padding-bottom: 8px;
  }
  .footer-bottom {
    flex-direction: row;
    gap: 6px;
    padding-top: 12px;
  }
  .back-to-top {
    right: 14px !important;
    height: 40px !important;
    width: 40px !important;
  }
  /* Page Banner */
  .page-banner {
    height: 300px;
  }
  .rp-pt-0 {
    padding-top: 0px;
  }
  .rp-mb-60 {
    margin-bottom: 60px;
  }
  .contact-grid {
    gap: 30px;
  }
  .rp-mt-40 {
    margin-top: 40px;
  }
  .about-content h2 {
    font-size: 2.5rem;
  }
  /* Product Detail */
  .product-detail-grid {
    gap: 0px !important;
  }
  .product-detail-content h1 {
    font-size: 2.2rem;
  }
  .pd-btn{
    font-size: 0.7rem;
  }
  /* Mobile Menu */
  .submenu-content {
    position: static;
    display: none;
    width: 100%;
    margin-left: 15px;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .submenu.active .submenu-content {
    display: block;
  }
  .submenu:hover .submenu-content {
    display: none;
  }
  .submenu.active:hover .submenu-content {
    display: block;
  }
}
