/* ===================================================
   MUKONO FM 92.7 - Official Design System
   Primary:  #7B2FBE (Logo Purple)
   Accent:   #F4A016 (Logo Orange)
   Dark BG:  #1A0A2E (Deep Plum)
   Card BG:  #26103F (Rich Plum)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Colors from Mukono FM Logo */
  --primary: #7B2FBE;
  /* Logo purple */
  --primary-dark: #5A1E90;
  /* Darker purple for hovers */
  --primary-deep: #3A1060;
  /* Very deep for backgrounds */
  --accent: #F4A016;
  /* Logo orange */
  --accent-hover: #E08C00;
  /* Darker orange */
  --accent-light: #FFB84D;
  /* Light orange */

  /* Backgrounds */
  --bg-dark: #0F0720;
  /* Page background */
  --bg-card: #1D0C38;
  /* Card/section background */
  --bg-glass: rgba(123, 47, 190, 0.15);
  /* Glass panels */
  --bg-navbar: #0F0720;
  /* Navbar */

  /* Text */
  --text-main: #F0EBF8;
  /* Off-white, easier on eyes */
  --text-muted: #A89BC4;
  /* Muted purple-grey */
  --text-dark: #0F0720;

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Misc */
  --radius: 12px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --border-accent: 1px solid rgba(244, 160, 22, 0.3);
  --border-purple: 1px solid rgba(123, 47, 190, 0.4);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =================== BASE =================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  padding-bottom: 80px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

img {
  max-width: 100%;
}

/* =================== SCROLLBAR =================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* =================== NAVBAR =================== */
.navbar-custom {
  background: linear-gradient(135deg, #0F0720 0%, #1D0C38 100%);
  border-bottom: 0px solid var(--accent);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.navbar-brand img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(244, 160, 22, 0.4));
  transition: var(--transition);
}

.navbar-brand img:hover {
  transform: scale(1.04);
}

.navbar-custom .nav-link {
  color: var(--text-main) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--accent) !important;
}

/* Live Badge in Navbar */
.navbar-live-badge {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse-badge 2s infinite;
  margin-left: 8px;
}

@keyframes pulse-badge {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 160, 22, 0.4);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(244, 160, 22, 0);
  }
}

/* =================== OFFCANVAS =================== */
.offcanvas-custom {
  background: linear-gradient(180deg, #0F0720 0%, #1D0C38 100%);
  border-left: 2px solid var(--accent);
}

.offcanvas-custom .nav-link {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.offcanvas-custom .nav-link:hover,
.offcanvas-custom .nav-link.active {
  color: var(--accent);
  padding-left: 24px;
}

/* =================== PAGE HEADER =================== */
.page-header {
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--bg-card) 100%);
  padding: 60px 0 40px;
  margin-bottom: 0;
  border-bottom: 3px solid var(--accent);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* =================== BUTTONS =================== */
.btn-mbs {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(123, 47, 190, 0.4);
}

.btn-mbs:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-deep));
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(123, 47, 190, 0.5);
}

.btn-mbs-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(244, 160, 22, 0.4);
}

.btn-mbs-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 160, 22, 0.6);
  color: var(--text-dark);
}

/* Keep legacy btn-warning compatibility for Bootstrap pills */
.btn-warning {
  font-weight: 700;
  color: #0F0720 !important;
}

/* =================== CARDS =================== */
.card-custom {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(29, 12, 56, 0.8) 100%);
  border: var(--border-purple);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--text-main);
}

.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(244, 160, 22, 0.4);
}

.card-custom .card-title {
  color: var(--accent);
}

.card-custom .card-text {
  color: var(--text-muted);
}

/* Glass card variant */
.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: var(--border-purple);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card-glass:hover {
  border-color: rgba(244, 160, 22, 0.5);
  transform: translateY(-4px);
}

/* =================== SECTION DIVIDERS =================== */
.section-accent-bar {
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 12px auto 20px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.section-label {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* =================== HERO SLIDER =================== */
.ken-burns-item {
  height: 90vh;
  min-height: 500px;
  max-height: 800px;
  overflow: hidden;
  position: relative;
}

.ken-burns-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1);
  transition: transform 10s ease-in-out;
  z-index: 0;
}

.carousel-item.active .ken-burns-bg {
  transform: scale(1.12);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(15, 7, 32, 0.88) 0%,
      rgba(58, 16, 96, 0.7) 50%,
      rgba(15, 7, 32, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Hero indicators */
.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  margin: 0 4px;
  transition: var(--transition);
}

.carousel-indicators .active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* Hero control arrows */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(244, 160, 22, 0.8);
  border-radius: 50%;
  padding: 20px;
  background-size: 16px;
}

/* =================== PROGRAM CARDS =================== */
.program-card-hover {
  transition: var(--transition);
  border-radius: var(--radius);
}

.program-card-bg {
  transition: transform 0.6s ease;
  border-radius: var(--radius);
}

.program-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6) !important;
}

.program-card-hover:hover .program-card-bg {
  transform: scale(1.08);
}

.program-play-btn {
  transition: var(--transition);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
}

.program-card-hover:hover .program-play-btn {
  transform: scale(1.25);
  filter: drop-shadow(0 4px 16px rgba(244, 160, 22, 0.8));
}

/* =================== SCHEDULE / LINEUP =================== */
.schedule-row {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: var(--border-purple);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
  gap: 20px;
}

.schedule-row:hover {
  background: rgba(123, 47, 190, 0.2);
  border-left-color: var(--primary);
  transform: translateX(4px);
}

.schedule-time {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  font-size: 0.95rem;
  min-width: 140px;
  flex-shrink: 0;
}

.schedule-program {
  flex-grow: 1;
}

.schedule-program h5 {
  font-size: 1rem;
  margin-bottom: 2px;
  color: #fff;
}

.schedule-program p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Tab pills for lineup */
#scheduleTabs .nav-link {
  background: var(--bg-card);
  color: var(--text-muted);
  border: var(--border-purple);
  border-radius: 50px !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  transition: var(--transition);
  padding: 10px 24px;
}

#scheduleTabs .nav-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

#scheduleTabs .nav-link.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(244, 160, 22, 0.3);
}

/* =================== ABOUT / NEWS CARDS =================== */
.presenter-card {
  background: var(--bg-card);
  border: var(--border-purple);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
  padding: 24px 16px;
}

.presenter-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.presenter-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--accent);
  margin: 0 auto 14px;
  display: block;
  box-shadow: 0 0 0 6px rgba(244, 160, 22, 0.15);
}

.presenter-name {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.presenter-role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================== CONTACT FORM =================== */
.form-mbs {
  background: var(--bg-card);
  border: var(--border-purple);
  border-radius: var(--radius);
  padding: 36px;
}

.form-control-custom {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(123, 47, 190, 0.4);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
}

.form-control-custom:focus {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(244, 160, 22, 0.2);
  outline: none;
}

.form-control-custom::placeholder {
  color: var(--text-muted);
}

.form-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =================== FOOTER =================== */
.footer-mbs {
  background: linear-gradient(135deg, #0A0418 0%, #12072A 100%);
  border-top: 0px solid var(--accent);
  padding: 48px 0 24px;
}

.footer-mbs h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-mbs p,
.footer-mbs li,
.footer-mbs a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-mbs a:hover {
  color: var(--accent);
}

.footer-mbs .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(123, 47, 190, 0.25);
  border: 1px solid rgba(123, 47, 190, 0.5);
  border-radius: 50%;
  color: var(--text-main);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-mbs .social-icon:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0F0720;
  transform: translateY(-3px);
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin: 32px 0 20px;
}

/* =================== STICKY PLAYER =================== */
.mbs-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0A0418 0%, #160830 50%, #0A0418 100%);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--accent);
  z-index: 1050;
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6);
}

/* Legacy class support */
.kfm-premium-player {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #0A0418 0%, #160830 50%, #0A0418 100%);
  backdrop-filter: blur(12px);
  border-top: 0px solid var(--accent);
  z-index: 1050;
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6);
}

.player-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.player-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.player-play-btn {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(244, 160, 22, 0.4);
  flex-shrink: 0;
}

.player-play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(244, 160, 22, 0.7);
}

.player-album-art {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.player-album-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-center {
  flex-grow: 1;
  padding: 0 20px;
  overflow: hidden;
}

.live-indicator {
  color: #ff4444;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 2px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: live-pulse 1.5s infinite;
}

@keyframes live-pulse {

  0%,
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 68, 68, 0.7);
  }

  50% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 68, 68, 0);
  }
}

.track-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.track-artist {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.player-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-ctrl-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: var(--transition);
}

.player-ctrl-btn:hover {
  color: var(--accent);
  background: rgba(244, 160, 22, 0.1);
}

.player-volume-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 6px 12px;
  border-radius: 20px;
}

.player-volume-slider {
  width: 80px;
  height: 3px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.player-volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 6px rgba(244, 160, 22, 0.6);
}

/* =================== UTILITY CLASSES =================== */
.text-accent {
  color: var(--accent) !important;
}

.text-primary-mbs {
  color: var(--primary) !important;
}

.text-muted-mbs {
  color: var(--text-muted) !important;
}

.bg-card {
  background: var(--bg-card) !important;
}

.bg-dark-mbs {
  background: var(--bg-dark) !important;
}

.border-accent {
  border-color: var(--accent) !important;
}

/* Legacy compatibility for pages still using old class names */
.text-secondary-custom {
  color: var(--accent) !important;
}

.bg-paper {
  background: var(--bg-card) !important;
}

.btn-custom {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 50px;
}

.btn-custom:hover {
  transform: translateY(-2px);
  color: #fff;
  opacity: 0.9;
}

/* =================== ANIMATIONS =================== */
@keyframes float-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-float-up {
  animation: float-up 0.6s ease forwards;
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

.text-gradient {
  background: linear-gradient(135deg, #fff 0%, var(--accent-light) 50%, var(--accent) 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease infinite;
}

/* =================== RESPONSIVE =================== */
@media (max-width: 768px) {
  .ken-burns-item {
    height: 70vh;
    min-height: 400px;
  }

  .player-volume-wrapper {
    display: none;
  }

  .player-ctrl-btn:not(:first-of-type):not(:last-of-type) {
    display: none;
  }

  .schedule-time {
    min-width: 100px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .ken-burns-item {
    height: 60vh;
    min-height: 350px;
  }

  .player-center .track-artist {
    display: none;
  }
}

/* =================== EXTRA UTILITY PATCHES =================== */
/* Bootstrap border-accent override */
.border-accent {
  border-color: var(--accent) !important;
}

.border-primary-mbs {
  border-color: var(--primary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

/* Override btn-outline-accent */
.btn-outline-accent {
  border: 1px solid var(--accent);
  color: var(--accent);
  background: transparent;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.82rem;
  padding: 6px 16px;
  transition: var(--transition);
}

.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

/* Bootstrap badge fix */
.badge-category {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: 0.72rem;
  border-radius: 50px;
  padding: 4px 12px;
}

/* Schedule special row */
.schedule-row-special {
  border-left-color: var(--primary) !important;
  background: rgba(123, 47, 190, 0.12) !important;
}

/* =================== ABOUT PAGE =================== */
.mission-card {
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.2) 0%, rgba(29, 12, 56, 0.9) 100%);
  border: var(--border-accent);
  border-radius: var(--radius);
  padding: 36px;
}

/* =================== HERO OVERRIDE =================== */
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
}

/* Smooth number/text animation for hero */
@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-item.active .hero-content>.container>* {
  animation: slide-up-fade 0.8s ease forwards;
}

.carousel-item.active .hero-content>.container>*:nth-child(1) {
  animation-delay: 0.1s;
  opacity: 0;
}

.carousel-item.active .hero-content>.container>*:nth-child(2) {
  animation-delay: 0.25s;
  opacity: 0;
}

.carousel-item.active .hero-content>.container>*:nth-child(3) {
  animation-delay: 0.4s;
  opacity: 0;
}

.carousel-item.active .hero-content>.container>*:nth-child(4) {
  animation-delay: 0.55s;
  opacity: 0;
}