/* SouthernLink Official Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #2563eb;       /* Primary Blue like nguyenlethanh.com */
  --primary-hover: #1d4ed8;
  --secondary: #0f172a;     /* Deep Slate */
  --neutral-bg: #f8fafc;
  --neutral-card: #f3f4f6;  /* Sáng xám */
  --surface-white: #ffffff;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* ==========================================================
   Precision Software Style Hero Slider
   ========================================================== */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
  background-color: #0b132b;
}

@media (min-width: 768px) {
  .hero-slider-container {
    height: 680px;
  }
}

@media (min-width: 1280px) {
  .hero-slider-container {
    height: 740px;
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 19, 43, 0.72) 0%, rgba(15, 23, 42, 0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 1.5rem;
}

/* Slide Text Animations */
.hero-slide.active .hero-badge {
  animation: slideInDown 0.8s ease-out forwards;
}

.hero-slide.active .hero-title {
  animation: zoomFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.15s;
}

.hero-slide.active .hero-desc {
  animation: fadeInUp 0.8s ease-out forwards 0.3s;
}

.hero-slide.active .hero-actions {
  animation: fadeInUp 0.8s ease-out forwards 0.45s;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes zoomFadeIn {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   Buttons (NguyenLeThanh Primary Blue Style)
   ========================================================== */
.btn-precision-red,
.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

.btn-precision-red:hover,
.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  color: #ffffff;
}

.btn-precision-outline,
.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 0.7rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-precision-outline:hover,
.btn-outline:hover {
  background-color: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.4);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(37, 99, 235, 0.85);
  border-color: rgba(37, 99, 235, 1);
  transform: translateY(-50%) scale(1.08);
}

.slider-prev {
  left: 1.5rem;
}

.slider-next {
  right: 1.5rem;
}

.slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.6rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 32px;
  background: #ffffff;
}

/* ==========================================================
   Vùng chữ nhật bo góc show thông tin màu sáng xám (Cards)
   ========================================================== */
.info-card-gray {
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
}

.info-card-gray:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Hide scrollbar for technology album carousel */
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
