.gallery-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.04);
  padding: 1rem;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-section .card-body {
  text-align: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 0 0 1.2rem 1.2rem;
}

.gallery-section .swiper-pagination {
  margin-top: 2.5rem;
}

@media (min-width: 992px) {
  .gallery-media {
    aspect-ratio: 16 / 9;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  height: min(80vh, 640px);
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 1.5rem; */
}

.hero-visual-layer {
  position: absolute;
  inset: 0;
  border-radius: 2rem;
  z-index: 1;
  opacity: 0.35;
  transform-origin: center;
}

.hero-visual-layer.layer-1 {
  background: linear-gradient(145deg, rgba(255, 82, 82, 1), rgba(255, 82, 82, 0.5));
  transform: translate(0, 0) rotate(-3deg);
}

.hero-visual-layer.layer-2 {
  background: linear-gradient(160deg, rgba(34, 197, 94, 1), rgba(34, 197, 94, 0.5));
  transform: translate(0, 0) rotate(-6deg);
}

.hero-visual-layer.layer-3 {
  background: linear-gradient(185deg, rgba(37, 99, 235, 1), rgba(37, 99, 235, 0.5));
  transform: translate(0, 0) rotate(-9deg);
}

.hero-visual-img {
  position: relative;
  z-index: 4;
  max-height: 80vh;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 1.75rem;
  background: rgba(15, 23, 42, 0.04);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
}

.video-embed {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #000;
  border-radius: 1.5rem;
  overflow: hidden;
}

.video-embed iframe,
.video-embed .video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 992px) {
  .video-embed {
    aspect-ratio: 16 / 9;
  }
}

.video-section .row > [class*="col"] {
  width: 100%;
}

.gallery-section .row > [class*="col"] {
  width: 100%;
}

@media (min-width: 992px) {
  .video-section .row > [class*="col"] {
    max-width: 80%;
  }

  .gallery-section .row > [class*="col"] {
    max-width: 80%;
  }

  .hero-visual {
    margin-right: 1.5rem;
  }
}
.hero-section .col-lg-6:last-child {
  padding-left: 5%;
  padding-right: 5%;
}
@media (max-width: 991.98px) {
  .hero-section .col-lg-6:last-child {
    padding-left: 17%;
    padding-right: 17%;
  }
}

.btn-icon.btn-xl {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.navbar .btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
  font-size: 1.15rem;
}

.navbar-youtube {
  margin-left: 0.75rem;
}

.navbar .nav-link {
  position: relative;
  transition: color .2s ease;
}

.navbar .nav-link.active {
  color: var(--bs-primary) !important;
}

.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 3px;
  background: var(--bs-primary);
  border-radius: 999px;
}

.navbar .nav-item.dropdown.active > .nav-link {
  color: var(--bs-primary) !important;
}

.navbar .nav-item.dropdown.active > .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.6rem;
  height: 3px;
  background: var(--bs-primary);
  border-radius: 999px;
}

.navbar .dropdown-item.active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: rgba(var(--bs-primary-rgb, 37, 99, 235), 0.12);
  color: var(--bs-primary) !important;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-primary);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.12);
  letter-spacing: 0.04em;
  border: 1px solid var(--bs-primary);
  /* display: inline; */
  width: fit-content;
}

.custom-accordion {
  --bs-accordion-border-color: rgba(var(--bs-primary-rgb, 37, 99, 235), 0.12);
  --bs-accordion-border-radius: 1rem;
  --bs-accordion-inner-border-radius: 1rem;
  --bs-accordion-bg: transparent;
  --bs-accordion-body-padding-x: 1.5rem;
  --bs-accordion-body-padding-y: 1.25rem;
  --bs-accordion-active-bg: rgba(var(--bs-primary-rgb, 37, 99, 235), 0.08);
  --bs-accordion-active-color: var(--bs-body-color);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-color: var(--bs-body-color);
  --bs-accordion-btn-icon-color: var(--bs-primary);
  --bs-accordion-btn-icon-active-color: var(--bs-primary);
  --bs-accordion-btn-padding-x: 1.5rem;
  --bs-accordion-btn-padding-y: 1.25rem;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb, 37, 99, 235), 0.15);
}

.custom-accordion .accordion-item {
  border: 1px solid rgba(var(--bs-primary-rgb, 37, 99, 235), 0.12);
  border-radius: var(--bs-accordion-border-radius);
  margin-bottom: 1rem;
  background: rgba(var(--bs-body-bg-rgb, 15, 23, 42), 0.25);
  backdrop-filter: blur(8px);
}

.custom-accordion .accordion-button {
  font-weight: 600;
  color: var(--bs-body-color);
}

.custom-accordion .accordion-body {
  color: rgba(15, 23, 42, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
}
