.mainSlide-wrapper {
  position: relative;
  overflow: hidden;
}

/* Vignette / Overlay */
.slide-image-container {
  position: relative;
  width: 100%;
  line-height: 0;
}

.slide-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    transparent 20%,
    transparent 60%,
    rgba(0, 0, 0, 0.7) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.main-slide-normal {
  width: 100%;
  height: 100vh; /* True full-page height */
  object-fit: cover;
}

/* Slide Content */
.slide-content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.slide-text-box {
  max-width: 600px;
  color: #fff;
  padding-bottom: 100px; /* Adjusted for shorter slider */
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.slide-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.1;
  animation: slideUpIn 0.8s ease forwards;
}

.slide-desc {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
  animation: slideUpIn 1s ease forwards;
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating Shortcuts */
.slider-shortcuts {
  position: absolute;
  bottom: 50px; /* Adjusted for shorter slider to stay visible */
  left: 0;
  right: 0;
  z-index: 10;
}

.shortcut-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  width: calc(100% - 60px);
  max-width: 1550px;
  margin: 0 auto;
}

.shortcut-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 15px;
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  color: #334155;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.card-detail-btn {
  position: absolute;
  right: 15px;
  font-size: 20px;
  opacity: 0.1;
  transition: 0.3s;
  color: #2e4190;
}

.shortcut-card:hover {
  background: #fff;
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.shortcut-card:hover .card-detail-btn {
  opacity: 1;
  transform: translateX(5px);
}

.shortcut-card:hover .shortcut-icon {
  background: var(--corporate-blue, #2e4190);
  color: #fff;
}

.shortcut-card:hover .sc-title,
.shortcut-card:hover .sc-desc {
  color: #1e293b;
}

.shortcut-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.5s;
  color: #2e4190;
}

.shortcut-info {
  display: flex;
  flex-direction: column;
}

.sc-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.3px;
  transition: color 0.3s;
}

.sc-desc {
  font-size: 12px;
  opacity: 0.7;
  transition: color 0.3s;
}

/* Owl Nav Custom */
#main-slide .owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #fff !important;
  border-radius: 14px !important;
  font-size: 18px !important;
  opacity: 0.5;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  z-index: 15;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mainSlide-wrapper:hover #main-slide .owl-nav button {
  opacity: 0.8;
}

#main-slide .owl-nav button:hover {
  opacity: 1 !important;
  background: #fff !important;
  color: var(--corporate-blue, #2e4190) !important;
  border-color: #fff !important;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#main-slide .owl-nav .owl-prev {
  left: 20px;
}
#main-slide .owl-nav .owl-next {
  right: 20px;
}

@media (max-width: 1200px) {
  .shortcut-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .mainSlide-wrapper {
    display: none;
  }
  .slider-shortcuts {
    display: none;
  }
  .shortcut-grid {
    width: calc(100% - 30px);
  }
}

@media (max-width: 768px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .slide-title {
    font-size: 32px;
  }
  .slider-shortcuts {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .shortcut-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: calc(100% - 20px);
  }
  .shortcut-card {
    padding: 15px 10px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
    border-radius: 16px;
  }
  .shortcut-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    margin: 0;
  }
  .shortcut-info {
    text-align: center;
  }
  .sc-title {
    font-size: 11px;
    line-height: 1.2;
  }
  .sc-desc {
    display: none;
  }
  .card-detail-btn {
    display: none;
  }
}
