/* ============================================
   Compact About Hero Section with GIF Background
   ============================================ */

/* Compact Hero Section */
.about-hero-compact {
  position: relative;
  overflow: hidden;
  margin-top: 80px; /* Space for sticky header */
  padding: 0;
}

.hero-banner-compact {
  position: relative;
  height: 320px; /* Compact height - not too tall */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Breadcrumb - Inside Hero Section */
.hero-breadcrumb {
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  z-index: 10;
  animation: fadeInDown 0.8s ease-out;
}

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

.hero-breadcrumb .breadcrumb {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin: 0;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-breadcrumb .breadcrumb-item {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
}

.hero-breadcrumb .breadcrumb-item a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.hero-breadcrumb .breadcrumb-item a:hover {
  color: #00A8E8;
  transform: translateX(-2px);
}

.hero-breadcrumb .breadcrumb-item.active {
  color: #ffffff;
  font-weight: 600;
}

.hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding: 0 10px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

/* GIF/Image Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.about-hero-gif,
.about-hero-image,
.about-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}

/* Overlay - lighter for better readability */
.hero-overlay-compact {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(1, 78, 154, 0.88) 0%,
    rgba(1, 112, 191, 0.88) 100%
  );
  z-index: 2;
  animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
}

/* Subtle pattern overlay */
.hero-overlay-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  z-index: 1;
  animation: particleFloat 15s ease-in-out infinite;
}

@keyframes particleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Content */
.hero-content-compact {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 40px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
}

.hero-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00A8E8;
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 168, 232, 0.12);
  border-radius: 25px;
  border: 1px solid rgba(0, 168, 232, 0.25);
  margin-bottom: 15px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

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

.hero-title-compact {
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-title-compact .highlight {
  background: linear-gradient(135deg, #00A8E8 0%, #0170BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.3);
  }
}

.hero-desc-compact {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablet */
@media (max-width: 991px) {
  .hero-banner-compact {
    height: 280px;
  }

  .hero-title-compact {
    font-size: 36px;
  }

  .hero-desc-compact {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-hero-compact {
    margin-top: -10px;
  }

  .breadcrumb-wrapper {
    padding: 10px 0;
  }

  .breadcrumb {
    font-size: 11px;
  }

  .hero-banner-compact {
    height: 240px;
  }

  .hero-content-compact {
    padding: 35px 15px;
  }

  .hero-label {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 5px 14px;
    margin-bottom: 12px;
  }

  .hero-title-compact {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hero-desc-compact {
    font-size: 14px;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding: 0 6px;
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .about-hero-compact {
    margin-top: -10px;
  }

  .hero-banner-compact {
    height: 220px;
  }

  .hero-title-compact {
    font-size: 24px;
  }

  .hero-desc-compact {
    font-size: 13px;
  }
}

/* Landscape Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-banner-compact {
    height: 200px;
  }

  .hero-content-compact {
    padding: 25px 15px;
  }
}
