/*
  Map Mysteries — Visual refresh layer
  Works with professional-ui.css for cohesive styling.
*/

:root {
  --brand: #e07a5f;
  --brand-2: #ea9178;
  --ink: #1a2332;
  --muted: #6b7280;
  --paper: #fbfdff;
  --shadow: 0 24px 70px rgba(11, 37, 69, 0.12);
  --soft-shadow: 0 12px 40px rgba(11, 37, 69, 0.08);
}

/* Hero carousel polish */
.center_home .carousel-item img {
  transform: scale(1.02);
  transition: transform 8s ease-out;
}

.carousel-item.active img {
  transform: scale(1.06);
}

.h_line::after {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

/* Image hover — subtle */
.grid figure img {
  transition: transform 0.45s ease, filter 0.45s ease;
}

figure.effect-jazz:hover img {
  transform: scale3d(1.04, 1.04, 1);
}

/* Decorative section glows */
#about_h::before,
#feature::before,
#blog_pg::before,
#overview::before,
#testim::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 122, 95, 0.1), transparent 70%);
  right: -80px;
  top: 60px;
  pointer-events: none;
}

#about_h::after,
#blog_pg::after,
#overview::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 88, 117, 0.08), transparent 70%);
  left: -80px;
  bottom: 40px;
  pointer-events: none;
}

/* Course / blog card polish */
[class*="_1i"],
[class*="_2i"],
.blog_1m,
.course_h2im {
  border-radius: 24px !important;
}

.blog_1i,
.course_1i,
.event_1i,
.contact_1i,
.pdf-card {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(18, 88, 117, 0.1) !important;
  box-shadow: var(--soft-shadow) !important;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog_1i:hover,
.course_1i:hover,
.event_1i:hover,
.contact_1i:hover,
.pdf-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow) !important;
}

/* Inner page hero overlay */
.center_o::after,
.center_about::after,
.center_blog::after,
.center_detail::after,
.center_contact::after,
.center_course::after,
.center_event::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.15), transparent 26rem);
  pointer-events: none;
}

.center_o .container-xl,
.center_about .container-xl,
.center_blog .container-xl,
.center_detail .container-xl,
.center_contact .container-xl,
.center_course .container-xl,
.center_event .container-xl {
  position: relative;
  z-index: 1;
}

/* Pagination */
.pages ul li a {
  border-radius: 50%;
  transition: all 0.25s ease;
}

.pages ul li a:hover,
.pages ul li a.act {
  background: linear-gradient(135deg, var(--brand), var(--brand-2)) !important;
  border-color: var(--brand) !important;
  color: #fff !important;
}

/* Carousel indicators spacing */
.carousel_p {
  padding-bottom: 4.5rem !important;
}

.carousel_p .carousel-indicators {
  bottom: -3rem !important;
}

@media (max-width: 991px) {
  .center_home .carousel-item,
  .center_home .carousel-item img {
    height: 640px;
    min-height: 640px;
  }
}

@media (max-width: 767px) {
  .center_home .carousel-item,
  .center_home .carousel-item img {
    height: 580px;
    min-height: 580px;
  }
}
