/* ==========================================================================
   Bienandanza Portal Identity Override
   Aligning Bienandanza.cl with /clases visual language & design ecosystem
   ========================================================================== */

:root {
  --portal-red: #df0913;
  --portal-red-hover: #b8070f;
  --portal-red-glow: rgba(223, 9, 19, 0.35);
  --portal-bg-dark: #151515;
  --portal-bg-card: #181818;
  --portal-bg-hover: #1f1f1f;
  --portal-border: #2d2d2d;
  --portal-border-subtle: rgba(255, 255, 255, 0.08);
  --portal-font-heading: 'Josefin Sans', sans-serif;
  --portal-font-body: 'Rubik', sans-serif;
  --portal-radius-card: 16px;
  --portal-radius-btn: 8px;
  --portal-radius-pill: 50px;
  --portal-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Global Typography & Reset Enhancements
   -------------------------------------------------------------------------- */
body,
p,
li,
div {
  font-family: var(--portal-font-body);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading,
.logo,
.hero-title,
.ftco-heading-2 {
  font-family: var(--portal-font-heading);
  letter-spacing: 0.5px;
}

/* Text Accent Overrides */
.text-portal-red {
  color: var(--portal-red) !important;
}

.icon-red {
  color: var(--portal-red) !important;
}

.tagline-highlight {
  color: var(--portal-red) !important;
  font-weight: 600;
  font-family: var(--portal-font-heading);
}

/* --------------------------------------------------------------------------
   Header & Top Navigation Bar (Sticky / Fixed)
   -------------------------------------------------------------------------- */
.header-portal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 30px;
  background: rgba(21, 21, 21, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--portal-border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-school {
  background: var(--portal-red);
  color: #ffffff !important;
  font-family: var(--portal-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 8px 18px;
  border-radius: var(--portal-radius-pill);
  text-decoration: none !important;
  box-shadow: 0 4px 15px var(--portal-red-glow);
  transition: var(--portal-transition);
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-header-school:hover {
  background: var(--portal-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(223, 9, 19, 0.5);
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Navigation Drawer Enhancements (#colorlib-main-nav)
   -------------------------------------------------------------------------- */
#colorlib-main-nav {
  background: var(--portal-bg-dark);
}

#colorlib-main-nav .logo {
  font-family: var(--portal-font-heading);
  color: #ffffff;
  letter-spacing: 1px;
}

#colorlib-main-nav ul li a {
  font-family: var(--portal-font-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
  transition: var(--portal-transition);
}

#colorlib-main-nav ul li a:hover {
  color: var(--portal-red) !important;
}

#colorlib-main-nav ul li.active a {
  color: var(--portal-red);
}

.btn-portal-highlight {
  background: var(--portal-red);
  color: #ffffff !important;
  font-family: var(--portal-font-heading);
  font-weight: 700;
  border-radius: var(--portal-radius-btn);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px var(--portal-red-glow);
  transition: var(--portal-transition);
  border: none;
}

.btn-portal-highlight:hover {
  background: var(--portal-red-hover);
  transform: translateY(-2px);
}

.highlight-num small {
  color: var(--portal-red) !important;
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Hero Slider Section Enhancements (Harmonious Per-Slide Layouts)
   -------------------------------------------------------------------------- */
.home-slider .slider-item {
  position: relative;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

/* Image 1: Slightly offset from top to frame face & shoulders perfectly */
.home-slider .slider-item-1 {
  background-position: center 40% !important;
}

.home-slider .slider-item-2 {
  background-position: center center !important;
}

.home-slider .slider-item-3 {
  background-position: center center !important;
}

.home-slider .slider-item-4 {
  background-position: center center !important;
}

/* Subtle scrim overlays tuned per slide orientation */
.home-slider .slider-item-1 .overlay {
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.52) 48%, transparent 88%) !important;
}

.home-slider .slider-item-2 .overlay {
  background: linear-gradient(180deg, transparent 35%, rgba(5, 5, 5, 0.85) 100%) !important;
}

.home-slider .slider-item-3 .overlay,
.home-slider .slider-item-4 .overlay {
  background: linear-gradient(270deg, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.78) 42%, rgba(5, 5, 5, 0.3) 78%, transparent 100%) !important;
}

@media (max-width: 767.98px) {
  .home-slider .slider-item .overlay {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.3) 0%, rgba(10, 10, 10, 0.85) 100%) !important;
  }
}

/* Slide 1: Direct Left-Aligned Typography */
.hero-tag-no-card {
  display: inline-block;
  color: var(--portal-red);
  font-family: var(--portal-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95);
}

.hero-title-no-card {
  font-family: var(--portal-font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95), 0 2px 6px rgba(0, 0, 0, 0.9);
}

@media (max-width: 767.98px) {
  .hero-title-no-card {
    font-size: 2.2rem;
  }
}

.hero-subtitle-no-card {
  font-family: var(--portal-font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

@media (max-width: 767.98px) {
  .hero-subtitle-no-card {
    font-size: 1.1rem;
  }
}

.hero-quote-no-card {
  font-family: var(--portal-font-body);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.5;
  color: #ffffff;
  border-left: 3px solid var(--portal-red);
  padding-left: 14px;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
  max-width: 520px;
}

.hero-desc-no-card {
  font-family: var(--portal-font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #e2e2e2;
  margin-bottom: 26px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.9);
  max-width: 520px;
}

.hero-cta-group-no-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Slide 2: Ultra-Minimal Centered Bottom Banner */
.hero-minimal-center-bar {
  background: rgba(15, 15, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 3px solid var(--portal-red);
  border-radius: var(--portal-radius-pill);
  padding: 12px 28px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  margin-bottom: 24px;
}

@media (max-width: 767.98px) {
  .hero-minimal-center-bar {
    flex-direction: column;
    border-radius: 16px;
    padding: 16px 20px;
    gap: 10px;
    width: 100%;
  }
}

.hero-minimal-center-text {
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.5px;
}

.hero-minimal-center-text strong {
  color: var(--portal-red);
}

/* Slide 3 & Slide 4: High-Fashion Editorial Typography (No Boxy Cards) */
.hero-editorial-wrapper {
  position: relative;
  z-index: 10;
  padding: 24px 28px;
  background: radial-gradient(ellipse at right center, rgba(5, 5, 5, 0.84) 0%, rgba(5, 5, 5, 0.48) 60%, transparent 90%);
  border-radius: 20px;
}

@media (max-width: 767.98px) {
  .hero-editorial-wrapper {
    padding: 16px 0;
    background: transparent;
  }
}

.hero-editorial-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--portal-red);
  font-family: var(--portal-font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.98), 0 0 4px rgba(0, 0, 0, 1);
}

.hero-editorial-tag .tag-line {
  width: 28px;
  height: 2px;
  background: var(--portal-red);
  display: inline-block;
  box-shadow: 0 0 8px var(--portal-red-glow);
}

.hero-editorial-title {
  font-family: var(--portal-font-heading);
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px #000000, 0 2px 10px #000000, 0 0 40px rgba(0, 0, 0, 0.95);
}

.hero-editorial-title .text-accent-red {
  color: var(--portal-red);
  text-shadow: 0 0 20px rgba(223, 9, 19, 0.6), 0 2px 10px #000000;
}

@media (max-width: 767.98px) {
  .hero-editorial-title {
    font-size: 2.2rem;
  }
}

.hero-editorial-subtitle {
  font-family: var(--portal-font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
  text-shadow: 0 2px 14px #000000, 0 1px 6px #000000;
}

.hero-editorial-desc {
  font-family: var(--portal-font-body);
  font-size: 1.02rem;
  line-height: 1.65;
  color: #e8e8e8;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px #000000, 0 1px 4px #000000;
  max-width: 480px;
}

.hero-editorial-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Buttons & Call to Action (CTA) Buttons
   -------------------------------------------------------------------------- */
.btn-portal-primary {
  background: var(--portal-red) !important;
  color: #ffffff !important;
  font-family: var(--portal-font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  border-radius: var(--portal-radius-btn) !important;
  border: none !important;
  box-shadow: 0 5px 20px var(--portal-red-glow) !important;
  transition: var(--portal-transition) !important;
  display: inline-block;
  text-decoration: none !important;
}

.btn-portal-primary:hover {
  background: var(--portal-red-hover) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 25px rgba(223, 9, 19, 0.5) !important;
  color: #ffffff !important;
}

.btn-outline-portal {
  background: rgba(15, 15, 15, 0.45) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-family: var(--portal-font-heading) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: var(--portal-radius-btn) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  transition: var(--portal-transition) !important;
  display: inline-block;
  text-decoration: none !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}

.btn-outline-portal:hover {
  background: rgba(223, 9, 19, 0.3) !important;
  border-color: var(--portal-red) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}

.btn-whatsapp-portal {
  background: #25D366 !important;
  color: #ffffff !important;
  font-family: var(--portal-font-heading) !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border-radius: var(--portal-radius-btn) !important;
  border: none !important;
  box-shadow: 0 5px 18px rgba(37, 211, 102, 0.35) !important;
  transition: var(--portal-transition) !important;
}

.btn-whatsapp-portal:hover {
  background: #1ebc57 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5) !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Bio Section Badges & Video Card
   -------------------------------------------------------------------------- */
.bio-badge {
  background: var(--portal-bg-card);
  border: 1px solid var(--portal-border);
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.bio-video-card {
  border-radius: var(--portal-radius-card) !important;
  overflow: hidden !important;
  box-shadow: 0 15px 35px rgba(223, 9, 19, 0.25) !important;
  border: 1px solid var(--portal-border) !important;
}

/* --------------------------------------------------------------------------
   Integrated Portal Banner Callout & Feature Pills
   -------------------------------------------------------------------------- */
.portal-banner-callout {
  background: var(--portal-bg-dark);
}

.portal-banner-inner {
  background: linear-gradient(135deg, #181818 0%, #221516 60%, rgba(223, 9, 19, 0.25) 100%);
  border: 1px solid var(--portal-border);
  border-left: 5px solid var(--portal-red);
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(223, 9, 19, 0.15);
  transition: var(--portal-transition);
}

.portal-banner-inner:hover {
  border-color: rgba(223, 9, 19, 0.5);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 35px rgba(223, 9, 19, 0.25);
}

.portal-badge {
  display: inline-block;
  background: rgba(223, 9, 19, 0.15);
  color: var(--portal-red);
  font-family: var(--portal-font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 14px;
  border-radius: var(--portal-radius-pill);
  border: 1px solid rgba(223, 9, 19, 0.3);
}

.portal-banner-title {
  font-family: var(--portal-font-heading);
  font-weight: 700;
  color: #ffffff;
  font-size: 1.8rem;
  margin-top: 6px;
  margin-bottom: 10px;
}

.portal-banner-desc {
  font-family: var(--portal-font-body);
  color: #b0b0b0;
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.6;
}

.portal-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #d0d0d0;
  font-family: var(--portal-font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--portal-radius-pill);
}

.btn-portal-cta-lg {
  background: var(--portal-red);
  color: #ffffff !important;
  font-family: var(--portal-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 14px 28px;
  border-radius: var(--portal-radius-btn);
  text-decoration: none !important;
  box-shadow: 0 8px 25px var(--portal-red-glow);
  transition: var(--portal-transition);
  display: inline-flex;
  align-items: center;
  border: none;
}

.btn-portal-cta-lg:hover {
  background: var(--portal-red-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(223, 9, 19, 0.55);
}

/* --------------------------------------------------------------------------
   Cards & Grid Components Redesign (Modality Badges & Zoom)
   -------------------------------------------------------------------------- */
.model-entry {
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  position: relative;
  transition: var(--portal-transition);
}

.model-entry .model-img {
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.model-entry:hover .model-img {
  transform: scale(1.04);
}

.modality-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(21, 21, 21, 0.85);
  border: 1px solid var(--portal-red);
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  z-index: 5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

.model-entry .text h3 a {
  font-family: var(--portal-font-heading);
  font-weight: 700;
  color: #ffffff;
}

.model-entry .text h3 a:hover {
  color: var(--portal-red);
}

/* Light Card Section Accents */
.heading-section.bg-light {
  background-color: #181818 !important;
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-card);
}

.title-brand {
  font-family: var(--portal-font-heading);
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
}

.title-brand span {
  color: var(--portal-red) !important;
}

.desc-brand {
  color: #a0a0a0 !important;
  font-family: var(--portal-font-body);
}

.card-cta-entry {
  background: #181818 !important;
  border: 1px solid var(--portal-border) !important;
  height: 430px !important;
  /* border-radius: var(--portal-radius-card) !important; */
}

.btn-view a {
  font-family: var(--portal-font-heading) !important;
  font-weight: 700;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Services & Bio Section Enhancements (Glassmorphism Icons)
   -------------------------------------------------------------------------- */
.services-section-wrapper {
  background-color: #151515 !important;
  color: #ffffff;
}

.services-section-wrapper .heading {
  color: #ffffff !important;
  font-family: var(--portal-font-heading);
  font-weight: 700;
}

.services {
  background: var(--portal-bg-card);
  padding: 20px;
  border-radius: var(--portal-radius-card);
  border: 1px solid var(--portal-border);
  margin-bottom: 16px;
  transition: var(--portal-transition);
}

.services:hover {
  border-color: var(--portal-red);
  transform: translateX(6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.services .icon {
  background: rgba(223, 9, 19, 0.15) !important;
  border: 1px solid rgba(223, 9, 19, 0.3);
  border-radius: 12px;
  width: 55px;
  height: 55px;
  color: var(--portal-red) !important;
  font-size: 1.5rem;
}

.services .info h3 {
  font-family: var(--portal-font-heading);
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 700;
}

.services .info p {
  color: #a0a0a0;
  font-size: 0.92rem;
  margin-bottom: 0;
}

.ftco-section {
  padding: 5em 0;
}

/* --------------------------------------------------------------------------
   Footer & Copyright Section
   -------------------------------------------------------------------------- */
.ftco-footer {
  background-color: #121212 !important;
  border-top: 1px solid var(--portal-border);
  padding: 7em 0 3em 0;
}

.ftco-footer .ftco-heading-2 {
  font-family: var(--portal-font-heading);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.ftco-footer .ftco-heading-2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 3px;
  background: var(--portal-red);
  border-radius: 2px;
}

.ftco-footer-social li a {
  background: #222222 !important;
  color: #ffffff !important;
  transition: var(--portal-transition);
}

.ftco-footer-social li a:hover {
  background: var(--portal-red) !important;
  box-shadow: 0 4px 15px var(--portal-red-glow);
}

.copyright-text {
  color: #888888;
}

.copyright-text a {
  color: #cccccc;
}

.copyright-text a:hover {
  color: var(--portal-red);
}

/* --------------------------------------------------------------------------
   Responsive Rules
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .header-portal-bar {
    padding: 12px 18px;
  }

  .btn-header-school {
    font-size: 0.78rem;
    padding: 6px 14px;
  }

  .portal-banner-title {
    font-size: 1.4rem;
  }

  .btn-portal-cta-lg {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .btn {
    text-align: center;
  }
}

/* ==========================================================================
   Luxury Glassmorphic Carousel Navigation Arrows (Frontend Design)
   ========================================================================== */
.carousel-testimony .owl-dots {
  display: none !important;
}

.carousel-testimony .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 20;
  margin-top: 0 !important;
}

.carousel-testimony .owl-nav .owl-prev,
.carousel-testimony .owl-nav .owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(18, 18, 18, 0.78) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(223, 9, 19, 0.4) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #ffffff !important;
  opacity: 0.95 !important;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  pointer-events: auto;
  outline: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.carousel-testimony .owl-nav .owl-prev {
  left: -26px;
}

.carousel-testimony .owl-nav .owl-next {
  right: -26px;
}

.carousel-testimony .owl-nav .owl-prev svg,
.carousel-testimony .owl-nav .owl-next svg {
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  stroke: #ffffff;
}

.carousel-testimony .owl-nav .owl-prev:hover,
.carousel-testimony .owl-nav .owl-next:hover {
  background: var(--portal-red) !important;
  border-color: #ff3b45 !important;
  color: #ffffff !important;
  box-shadow: 0 0 25px rgba(223, 9, 19, 0.65), 0 8px 20px rgba(0, 0, 0, 0.6);
  transform: translateY(-50%) scale(1.12) !important;
}

.carousel-testimony .owl-nav .owl-prev:hover svg {
  transform: translateX(-3px);
}

.carousel-testimony .owl-nav .owl-next:hover svg {
  transform: translateX(3px);
}

.carousel-testimony .owl-nav .owl-prev:active,
.carousel-testimony .owl-nav .owl-next:active {
  transform: translateY(-50%) scale(0.96) !important;
  box-shadow: 0 0 15px rgba(223, 9, 19, 0.4);
}

@media (max-width: 767.98px) {
  .carousel-testimony .owl-nav .owl-prev {
    left: -10px;
    width: 44px;
    height: 44px;
  }

  .carousel-testimony .owl-nav .owl-next {
    right: -10px;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Footer Bottom Bar & Copyright Styling
   ========================================================================== */
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.footer-bottom-bar .copyright-text {
  color: #909090 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.3px;
}

.footer-bottom-bar .copyright-text strong {
  color: #ffffff !important;
  font-weight: 700;
}

.footer-bottom-bar .credit-text {
  color: #707070 !important;
  font-size: 0.82rem !important;
}

.footer-subtle-link {
  color: #787878 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.footer-subtle-link:hover {
  color: var(--portal-red) !important;
  text-decoration: none !important;
}

/* ==========================================================================
   Full Viewport Screen Height (100vh) for Hero Slider
   ========================================================================== */
.home-slider,
.home-slider .slider-item,
.home-slider .slider-text {
  height: 100vh !important;
  min-height: 100vh !important;
}

.home-slider .slider-item {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

/* ==========================================================================
   Video Box Aspect Ratio & Layout Protection
   ========================================================================== */
.video-box-portal {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  border: 1px solid var(--portal-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.video-box-portal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ==========================================================================
   Course Hero Stage Carousel (Smart Theater Aspect Ratio & Floating Corner Badge)
   ========================================================================== */
.hero-stage-section {
  position: relative;
  background-color: #0b0b0b;
  overflow: hidden;
  border-bottom: 1px solid var(--portal-border);
}

.course-floating-badge {
  position: absolute;
  top: 110px;
  left: 40px;
  z-index: 100;
  background: rgba(12, 12, 12, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 4px solid var(--portal-red);
  border-radius: 14px;
  padding: 14px 24px;
  max-width: 420px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-floating-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.85);
  border-color: rgba(223, 9, 19, 0.4);
}

.course-floating-badge .breadcrumbs {
  font-family: var(--portal-font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--portal-red);
  margin-bottom: 4px;
}

.course-floating-badge .breadcrumbs a {
  color: #a0a0a0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-floating-badge .breadcrumbs a:hover {
  color: #ffffff;
}

.course-floating-badge .course-title {
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  line-height: 1.15;
}

.course-floating-badge .course-subtitle {
  color: #d0d0d0;
  font-family: var(--portal-font-body);
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* Stage Carousel Container */
.hero-stage-carousel {
  width: 100%;
}

.hero-stage-slide {
  position: relative;
  height: 82vh;
  min-height: 720px;
  max-height: 920px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060606;
}

/* Ambient Blurred Background (Matches slide photo for theater atmosphere) */
.hero-stage-blur-bg {
  position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background-size: cover;
  background-position: center center;
  filter: blur(40px) brightness(0.32) saturate(1.25);
  transform: scale(1.1);
  z-index: 1;
}

/* Crisp Uncropped Foreground Photo Stage */
.hero-stage-img-wrapper {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 30px 40px 30px;
}

.hero-stage-img {
  max-height: 100%;
  max-width: 100%;
  width: auto !important;
  height: auto !important;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.4s ease;
}

.hero-stage-slide:hover .hero-stage-img {
  transform: scale(1.018);
}

/* Responsiveness for Mobile Screens */
@media (max-width: 767.98px) {
  .course-floating-badge {
    position: relative;
    top: 0;
    left: 0;
    max-width: 100%;
    margin: 70px 16px 12px 16px;
    border-radius: 12px;
    padding: 12px 16px;
  }

  .course-floating-badge .course-title {
    font-size: 1.45rem;
  }

  .hero-stage-slide {
    height: 52vh;
    min-height: 440px;
  }

  .hero-stage-img-wrapper {
    padding: 15px 12px 25px 12px;
  }
}

/* ==========================================================================
   Contact Page Styling & Form Controls (Dark Ecosystem)
   ========================================================================== */
.contact-card-portal {
  background: var(--portal-bg-card);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-card);
  padding: 24px;
  margin-bottom: 20px;
  transition: var(--portal-transition);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-card-portal:hover {
  border-color: rgba(223, 9, 19, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-card-portal .contact-icon-box {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(223, 9, 19, 0.15);
  border: 1px solid rgba(223, 9, 19, 0.3);
  border-radius: 12px;
  color: var(--portal-red);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-portal .contact-details h4 {
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-card-portal .contact-details p,
.contact-card-portal .contact-details a {
  color: #c0c0c0;
  font-size: 0.95rem;
  margin-bottom: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-portal .contact-details a:hover {
  color: var(--portal-red);
}

.form-box-portal {
  background: var(--portal-bg-card);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-card);
  padding: 36px 30px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.form-group-portal {
  margin-bottom: 20px;
}

.form-group-portal label {
  color: #e0e0e0;
  font-family: var(--portal-font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.form-control-portal {
  width: 100%;
  background: #1c1c1c !important;
  border: 1px solid var(--portal-border) !important;
  border-radius: var(--portal-radius-btn) !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  font-family: var(--portal-font-body);
  font-size: 0.95rem;
  transition: var(--portal-transition) !important;
  outline: none !important;
}

.form-control-portal:focus {
  background: #222222 !important;
  border-color: var(--portal-red) !important;
  box-shadow: 0 0 15px var(--portal-red-glow) !important;
  color: #ffffff !important;
}

.form-control-portal::placeholder {
  color: #707070 !important;
  opacity: 1;
}

.map-wrapper-portal {
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  border: 1px solid var(--portal-border);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  margin-top: 40px;
  margin-bottom: 40px;
}

.map-wrapper-portal iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  filter: contrast(1.05) saturate(1.1);
}

/* ==========================================================================
   Gallery Page Styling & Filter Navigation (Dark Ecosystem)
   ========================================================================== */
.gallery-nav-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.nav-pill-portal {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--portal-border);
  color: #b0b0b0;
  font-family: var(--portal-font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 10px 22px;
  border-radius: var(--portal-radius-pill);
  cursor: pointer;
  transition: var(--portal-transition);
  outline: none;
}

.nav-pill-portal:hover,
.nav-pill-portal.active {
  background: var(--portal-red);
  border-color: var(--portal-red);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--portal-red-glow);
}

.gallery-grid-portal {
  margin-bottom: 40px;
}

.gallery-card-portal {
  position: relative;
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  border: 1px solid var(--portal-border);
  background: var(--portal-bg-card);
  margin-bottom: 24px;
  height: 280px;
  transition: var(--portal-transition);
  display: block;
}

.gallery-card-portal:hover {
  border-color: rgba(223, 9, 19, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transform: translateY(-4px);
}

.gallery-card-portal .gallery-img-bg {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  transition: transform 0.5s ease;
}

.gallery-card-portal:hover .gallery-img-bg {
  transform: scale(1.06);
}

.gallery-card-portal .gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(15, 15, 15, 0.9) 0%, rgba(15, 15, 15, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: var(--portal-transition);
}

.gallery-card-portal:hover .gallery-overlay {
  opacity: 1;
  background: linear-gradient(to top, rgba(223, 9, 19, 0.8) 0%, rgba(15, 15, 15, 0.4) 60%, transparent 100%);
}

.gallery-card-portal .gallery-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.gallery-card-portal:hover .gallery-icon-btn {
  transform: scale(1.1);
  background: #ffffff;
  color: var(--portal-red);
}

.gallery-card-portal .gallery-title {
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.gallery-card-portal .gallery-subtitle {
  color: #d0d0d0;
  font-size: 0.82rem;
  margin-bottom: 0;
}

.video-card-portal {
  background: var(--portal-bg-card);
  border: 1px solid var(--portal-border);
  border-radius: var(--portal-radius-card);
  overflow: hidden;
  margin-bottom: 28px;
  transition: var(--portal-transition);
}

.video-card-portal:hover {
  border-color: rgba(223, 9, 19, 0.5);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
}

.video-card-portal .video-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--portal-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-card-portal .video-card-header h4 {
  color: #ffffff;
  font-family: var(--portal-font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
}

.video-card-portal .video-badge {
  background: rgba(223, 9, 19, 0.15);
  color: var(--portal-red);
  font-family: var(--portal-font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(223, 9, 19, 0.3);
}