#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--industrial-black);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader-spinner {
  border: 5px solid #333;
  border-top: 5px solid var(--primary-yellow);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

.hero-carousel .carousel-item {
  height: 80vh;
  min-height: 600px;
  background: #000;
  overflow: visible !important;
}
.carousel-inner {
  overflow: visible !important;
}

.hero-carousel img {
  object-fit: cover;
  height: 100%;
  opacity: 0.5;
  filter: contrast(1.1);
}

.hero-caption {
  bottom: 25%;
  left: 10%;
  text-align: left;
  max-width: 700px;
  z-index: 30 !important;
}
.hero-caption h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.9);
}

.quick-search-container {
  background: var(--primary-yellow);
  padding: 30px 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.cat-card {
  position: relative;
  overflow: hidden;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.cat-card img {
  height: 220px;
  object-fit: cover;
  transition: 0.5s;
}
.cat-card-featured img {
  height: 450px;
}
.cat-card .card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: white;
  padding: 20px;
}
.cat-card:hover img {
  transform: scale(1.1);
}
.cat-card:hover .card-body h5 {
  color: var(--primary-yellow);
}
.product-item-card {
  border: 1px solid #eee;
  background: #fff;
  transition: 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.product-item-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-yellow);
}
.product-item-card .btn {
  margin-top: auto;
}
.product-img-wrap {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  padding: 20px;
}
.product-img-wrap img {
  max-height: 100%;
  max-width: 100%;
}
.stock-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #28a745;
  color: white;
  padding: 3px 10px;
  font-size: 0.7rem;
  border-radius: 20px;
  font-weight: bold;
}
.content-section-img {
  min-height: 400px;
  background-size: cover;
  background-position: center;
}
.tech-table thead th {
  background-color: var(--industrial-dark-gray);
  color: var(--primary-yellow);
  border: none;
}
.tech-table tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.05);
}

@media (max-width: 768px) {
  .hero-caption h1 {
    font-size: 2.5rem;
  }
  .quick-search-container {
    margin-top: 0;
  }
}

.seal-animation-wrapper {
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 750px; /* Enhanced prominence on desktop */
  height: 750px;
  z-index: 20;
  pointer-events: none;
  transform-origin: center center;
}

.svg-visual {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 25px rgba(252, 222, 18, 0.3));
}

/* Randomized Layered Gradients */
.gradient {
  width: 100%;
  height: 100%;
  background: conic-gradient(
    from 180deg,
    var(--primary-yellow) 0%,
    #fff5a3 15%,
    var(--primary-yellow) 30%,
    #ffffff 45%,
    #ffffff 55%,
    var(--primary-yellow) 70%,
    #fff5a3 85%,
    var(--primary-yellow) 100%
  );
}

/* Layer Rotations - Moving the physical arcs in a circle */
.seal-layer {
  transform-origin: 400px 400px;
}

.layer-outer {
  animation: rotate-random-1 35s ease-in-out infinite;
}
.layer-mid {
  animation: rotate-random-2 25s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}
.layer-inner {
  animation: rotate-random-3 50s linear infinite;
}

@keyframes rotate-random-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotate-random-2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes rotate-random-3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Outer Ring Animations (r=344) */
.circle-line-outer-long {
  stroke-dasharray: 2162;
  stroke-dashoffset: 2162;
  transform-origin: center;
  transform: rotate(-120deg);
  animation: draw-outer-long 6s cubic-bezier(0.65, 0, 0.35, 1) infinite
    alternate;
}

.circle-line-outer-short {
  stroke-dasharray: 2162;
  stroke-dashoffset: 2162;
  transform-origin: center;
  transform: rotate(60deg);
  animation: draw-outer-short 4s cubic-bezier(0.65, 0, 0.35, 1) infinite
    alternate;
}

/* Middle Ring Animation (r=260) */
.circle-line-mid-long {
  stroke-dasharray: 1634;
  stroke-dashoffset: 1634;
  transform-origin: center;
  transform: rotate(45deg);
  animation: draw-mid 8s cubic-bezier(0.7, 0, 0.3, 1) infinite alternate-reverse;
}

/* Inner Ring Animation (r=180) */
.circle-line-inner-short {
  stroke-dasharray: 1131;
  stroke-dashoffset: 1131;
  transform-origin: center;
  transform: rotate(-30deg);
  animation: draw-inner 5s cubic-bezier(0.6, 0, 0.4, 1) infinite alternate;
}

@keyframes draw-outer-long {
  0% {
    stroke-dashoffset: 2162;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 800;
  }
}

@keyframes draw-outer-short {
  0% {
    stroke-dashoffset: 2162;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 1600;
  }
}

@keyframes draw-mid {
  0% {
    stroke-dashoffset: 1634;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 600;
  }
}

@keyframes draw-inner {
  0% {
    stroke-dashoffset: 1131;
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 400;
  }
}

.seal-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; /* Substantially bigger in desktop mode */
  height: 220px;
  background: var(--industrial-black);
  box-shadow:
    0 0 50px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(252, 222, 18, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 25;
  border: 4px solid var(--primary-yellow);
}

.seal-core img.indoz-logo {
  opacity: 1;
  max-width: 70%;
  height: auto !important;
}

.seal-core::after {
  content: "";
  position: absolute;
  top: -16px;
  left: -16px;
  right: -16px;
  bottom: -16px;
  border-radius: 50%;
  border: 2px solid var(--primary-yellow);
  border-right-color: transparent;
  border-left-color: transparent;
  animation: spin-pure 8s linear infinite reverse;
}

@keyframes spin-pure {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1366px) {
  .seal-animation-wrapper {
    width: 650px;
    height: 650px;
    right: 0%;
    bottom: -10%;
  }
  .seal-core {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 991.98px) {
  .seal-animation-wrapper {
    display: block !important;
    width: 480px;
    height: 480px;
    right: -240px; /* Half of width to center the logo at edge */
    top: -240px; /* Half of height to center the logo at top */
    bottom: auto;
    transform: none;
    opacity: 0.85;
    z-index: 10;
  }
  .seal-core {
    width: 130px;
    height: 130px;
    border-width: 3px;
  }
  .seal-core::after {
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
  }
}

@media (max-width: 575.98px) {
  .seal-animation-wrapper {
    width: 420px;
    height: 420px;
    right: -140px; /* Half of width */
    top: -30px; /* Half of height */
  }
  .seal-core {
    width: 110px;
    height: 110px;
  }
}

/* Sales Contact Modal Styles */
#contactModal .modal-content {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

#contactModal .list-group-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
}

#contactModal .list-group-item:hover {
  background-color: #f8f9fa;
  transform: translateX(8px);
}

#contactModal .list-group-item:hover .whatsapp-icon-btn {
  background-color: #25d366 !important;
  color: white !important;
  transform: scale(1.1);
}

#contactModal .whatsapp-icon-btn {
  transition: all 0.3s ease;
}

#contactModal .transition-all {
  transition: all 0.3s ease;
}

/* Animation for list items */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#contactModal .list-group-item {
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

#contactModal .modal-header .bg-yellow {
  background-color: var(--primary-yellow) !important;
}

#contactModal .bg-success.bg-opacity-10 {
  background-color: rgba(40, 167, 69, 0.1) !important;
}

#contactModal .avatar-wrap .bg-success {
  background-color: #28a745 !important;
}
