/*=================================================================
  Header + Hero Banner — UI/styling refresh only.
  No copy, links, or images were changed — only how the existing
  content is presented. Brand colors come from the theme's own
  :root variables (--theme-color maroon/red, --title-color navy,
  --smoke-color cream). Scoped to .hero-2 so other hero variants
  in the template are unaffected.
=================================================================*/

/*-----------------------------------------------------------------
  Header — glass surface, animated nav underline, refined controls
-----------------------------------------------------------------*/
.th-header.header-layout11 {
  position: relative;
}

.th-header.header-layout11 .sticky-active {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(10, 3, 60, 0.06);
  transition: background var(--ease, 0.25s ease), box-shadow var(--ease, 0.25s ease);
}

.sticky-wrapper.sticky .sticky-active {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(10, 3, 60, 0.10));
}

.header-logo img {
  filter: drop-shadow(0 2px 6px rgba(10, 3, 60, 0.08));
  transition: transform var(--ease, 0.25s ease);
}

.header-logo:hover img {
  transform: scale(1.02);
}

/* Animated underline on nav links */
.th-header .main-menu > ul > li > a {
  position: relative;
  transition: color var(--ease, 0.25s ease);
}

.th-header .main-menu > ul > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--theme-color);
  transition: width var(--ease, 0.25s ease);
}

.th-header .main-menu > ul > li > a:hover::after {
  width: 100%;
}

.main-menu ul.sub-menu,
.main-menu ul.mega-menu {
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(10, 3, 60, 0.10));
  border-color: rgba(10, 3, 60, 0.06);
}

.th-menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--smoke-color);
  color: var(--title-color);
  transition: background var(--ease, 0.25s ease), color var(--ease, 0.25s ease), transform var(--ease, 0.25s ease);
}

.th-menu-toggle:hover {
  background: var(--theme-color);
  color: var(--white-color);
  transform: rotate(90deg);
}

/*-----------------------------------------------------------------
  Hero — layered gradient background with soft brand-color blobs
-----------------------------------------------------------------*/
.th-hero-wrapper.hero-2 {
  background-color: transparent;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(162, 0, 4, 0.07), transparent 42%),
    radial-gradient(circle at 88% 12%, rgba(10, 3, 60, 0.07), transparent 46%),
    radial-gradient(circle at 90% 85%, rgba(162, 0, 4, 0.05), transparent 40%),
    radial-gradient(rgba(10, 3, 60, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #fff8f6 0%, #fdeeef 55%, #fbe9ef 100%);
  background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
  background-size: auto, auto, auto, 24px 24px, auto;
}

/* Subtitle as a soft pill badge instead of a plain underline */
.hero-2 .hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px 8px 16px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(162, 0, 4, 0.15);
  border-radius: 999px;
  box-shadow: var(--shadow-sm, 0 2px 12px rgba(10, 3, 60, 0.06));
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-2 .hero-subtitle::before {
  content: "";
  position: static;
  height: 8px;
  width: 8px;
  border-radius: 50%;
  background: var(--theme-color);
  transform: none;
  animation: heroDotPulse 2s ease-in-out infinite;
}

.hero-2 .hero-subtitle::after {
  display: none;
}

@keyframes heroDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.8); }
}

/* Gradient headline for the accent title line */
.hero-2 .hero-title.text-theme {
  background: linear-gradient(100deg, var(--theme-color) 0%, #d81e26 55%, var(--theme-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--theme-color);
}

/* Checklist as elevated chips */
.hero-2 .checklist ul {
  gap: 12px;
}

.hero-2 .checklist li {
  background: var(--white-color);
  border: 1px solid rgba(10, 3, 60, 0.06);
  border-radius: 999px;
  padding: 8px 18px 8px 34px !important;
  box-shadow: var(--shadow-sm, 0 2px 12px rgba(10, 3, 60, 0.06));
  transition: transform var(--ease, 0.25s ease), box-shadow var(--ease, 0.25s ease);
}

.hero-2 .checklist li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md, 0 12px 30px rgba(10, 3, 60, 0.10));
}

.hero-2 .checklist li::before {
  left: 12px;
  color: var(--theme-color);
}

/* Hero image — decorative frame with brand-color glow */
.hero-2 .hero-thumb-frame {
  position: relative;
  display: inline-block;
  max-width: 50%;
}

.hero-2 .hero-thumb-frame::before {
  content: "";
  position: absolute;
  inset: -24px -18px -18px -24px;
  background: linear-gradient(135deg, rgba(162, 0, 4, 0.18), rgba(10, 3, 60, 0.14));
  border-radius: calc(var(--radius, 12px) * 2);
  filter: blur(2px);
  z-index: -1;
}

.hero-2 .hero-thumb-img {
  display: block;
  width: 100%;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow-lg, 0 24px 48px rgba(10, 3, 60, 0.16));
  transition: transform 0.5s ease;
}

.hero-2 .hero-thumb-frame:hover .hero-thumb-img {
  transform: scale(1.015);
}

@media (max-width: 991px) {
  .hero-2 .hero-thumb-frame {
    max-width: 100%;
  }
}
