/* ==========================================================================
   Triune Foundation — Premium Landing Page Theme (Montserrat)
   Scoped to guest/index.html only. Loaded after the base theme stylesheet
   so these rules refine typography, spacing, and depth without touching
   icon fonts (all icons are rendered on <i> tags, which are deliberately
   excluded from every selector below).
   ========================================================================== */

:root {
  --tf-primary: #0274be;
  --tf-primary-dark: #045a94;
  --tf-ink: #12213b;
  --tf-ink-soft: #5b6472;
  --tf-gold: #f2b134;
  --tf-line: rgba(18, 33, 59, 0.08);
  --tf-shadow-sm: 0 10px 30px rgba(18, 33, 59, 0.08);
  --tf-shadow-md: 0 24px 60px rgba(18, 33, 59, 0.14);
  --tf-ease: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Type system: Montserrat everywhere except icon glyphs ---- */
body,
h1, h2, h3, h4, h5, h6,
p, a, span, li, label, input, textarea, button,
.theme-btn, .view-cart-btn, .newbutton,
.navigation-bar ul li a {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

body {
  color: var(--tf-ink-soft);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  color: var(--tf-ink);
  letter-spacing: -0.02em;
}

/* Eyebrow / kicker text — swap the handwriting font for tracked uppercase */
.section-title span,
.funfact-section .content h2 {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tf-primary) !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-title span::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--tf-gold);
  display: inline-block;
}

.section-title h2 {
  font-weight: 800;
  line-height: 1.15;
}

.section-title h2 span {
  font-weight: 800;
}

/* ---- Buttons ---- */
.theme-btn, .view-cart-btn, .newbutton {
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px !important;
  box-shadow: var(--tf-shadow-sm);
  transition: transform var(--tf-ease), box-shadow var(--tf-ease);
}

.theme-btn:hover, .view-cart-btn:hover, .newbutton:hover {
  transform: translateY(-3px);
  box-shadow: var(--tf-shadow-md);
}

/* ---- Header structure ---- */

/* The topbar ships with all its content commented out in the markup, so it
   was rendering as a bare strip. It carries no information, so drop it. */
.topbar {
  display: none;
}

@media (max-width: 991px) {
  /* Promote the logo + hamburger row above the stacked contact info so the
     primary nav trigger is reachable without scrolling past it first. */
  header#header {
    display: flex;
    flex-direction: column;
  }

  header#header .wpo-site-header {
    order: 1;
  }

  header#header .midbar {
    order: 2;
  }
}

header#header {
  box-shadow: 0 2px 24px rgba(18, 33, 59, 0.08);
  position: relative;
  z-index: 30;
}

/* ---- Midbar: slimmed to a single utility row (logo + quick contact) ---- */
/* Hours and address duplicated the footer and added ~120px of dead weight
   above the actual navigation — a global-standard header carries only the
   logo and, at most, one quick-contact affordance. */
.midbar {
  padding-top: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--tf-line);
}

.midbar ul li:nth-child(1),
.midbar ul li:nth-child(2) {
  display: none;
}

.midbar ul li:nth-child(3) {
  margin-left: 0;
}

.midbar ul li .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(2, 116, 190, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 0;
  margin-right: 12px;
}

.midbar ul li .icon i {
  font-size: 16px !important;
  color: var(--tf-primary);
}

.midbar ul li .text h3 {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--tf-ink-soft);
  margin-bottom: 2px;
}

.midbar ul li .text span,
.midbar ul li .text a {
  font-weight: 700;
  font-size: 14px;
  color: var(--tf-ink);
}

/* ---- Main nav row: one clean band, no pill, typography-led ---- */
/* A solid-color pill wrapping every link reads as a template accent, not a
   global-standard org. Let whitespace and type carry it; save color for the
   single Donate action. */
.wpo-site-header {
  background: #fff;
}

.wpo-site-header .navigation-bar {
  height: 82px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.wpo-site-header .navigation-bar .ullist {
  background: transparent;
  width: auto;
  height: auto;
  border-radius: 0;
  padding-left: 0;
  gap: 38px;
}

.navigation-bar ul li a {
  position: relative;
  color: var(--tf-ink) !important;
  letter-spacing: 0.03em;
  font-size: 14px !important;
  font-weight: 600 !important;
  transition: color var(--tf-ease);
}

.navigation-bar ul li a:hover {
  color: var(--tf-primary) !important;
}

.wpo-site-header .newbutton {
  height: 48px;
  width: auto;
  padding: 0 34px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--tf-gold), #d99424) !important;
  color: var(--tf-ink) !important;
}

/* Active link state */
.navigation-bar ul li.active a {
  color: var(--tf-primary) !important;
}

.navigation-bar ul li.active a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  background: var(--tf-gold);
  border-radius: 2px;
}

.wpo-site-header #navbar > ul > li.active > a {
  color: var(--tf-gold) !important;
}

/* ---- Mobile off-canvas nav panel ---- */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 26, 0.65);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-menu-backdrop.show {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-lock {
  overflow: hidden;
}

@media (max-width: 991px) {
  .wpo-site-header #navbar {
    width: 320px;
    background: linear-gradient(180deg, var(--tf-ink) 0%, #0a1730 100%) !important;
    box-shadow: var(--tf-shadow-md);
  }

  .wpo-site-header #navbar > ul {
    padding: 100px 10px 20px;
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 20px !important;
  }

  .wpo-site-header #navbar > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .wpo-site-header #navbar > ul > li:last-child {
    border-bottom: 0;
  }

  .wpo-site-header #navbar > ul > li > a {
    padding: 16px 20px !important;
    letter-spacing: 0.08em;
  }

  .wpo-site-header #navbar > ul > li.active > a {
    color: var(--tf-gold) !important;
  }

  .wpo-site-header .menu-close {
    border-radius: 50%;
    border-color: rgba(255, 255, 255, 0.3);
    transition: background var(--tf-ease), transform var(--tf-ease);
  }

  .wpo-site-header .menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
  }

  .mobile-nav-cta {
    padding: 10px 30px 30px;
  }

  .mobile-nav-cta .theme-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
}

/* ---- Hero slider ---- */

/* Remove the dated decorative blob/svg shapes for a cleaner, premium look */
.wpo-hero-slider .bg-shape,
.wpo-hero-slider .shape-1,
.wpo-hero-slider .shape-2,
.wpo-hero-slider .shape-3,
.wpo-hero-slider .shape-4,
.wpo-hero-slider .shape-5 {
  display: none;
}

.wpo-hero-slider {
  overflow: hidden;
}

.wpo-hero-slider .swiper-slide {
  overflow: hidden;
}

/* Subtle, slow Ken Burns zoom on the background image */
.wpo-hero-slider .slide-inner.slide-bg-image {
  overflow: hidden;
}

.wpo-hero-slider .slide-inner.slide-bg-image::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  animation: tf-hero-kenburns 16s ease-in-out infinite alternate;
}

@keyframes tf-hero-kenburns {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}

@media (prefers-reduced-motion: reduce) {
  .wpo-hero-slider .slide-inner.slide-bg-image::before {
    animation: none;
  }
}

/* Cinematic gradient scrim for legibility over any photo */
.wpo-hero-slider .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(100deg, rgba(6, 12, 26, 0.94) 0%, rgba(6, 12, 26, 0.8) 28%, rgba(6, 12, 26, 0.42) 52%, rgba(6, 12, 26, 0.08) 75%),
    linear-gradient(0deg, rgba(6, 12, 26, 0.55) 0%, rgba(6, 12, 26, 0) 40%);
}

.wpo-hero-slider .container-fluid {
  position: relative;
  z-index: 3;
}

/* Eyebrow badge */
.wpo-hero-slider .slide-title span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 20px 9px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.wpo-hero-slider .slide-title span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tf-gold);
  box-shadow: 0 0 0 4px rgba(242, 177, 52, 0.25);
  flex-shrink: 0;
}

.wpo-hero-slider .slide-sub-title {
  margin-top: 28px;
}

.wpo-hero-slider .slide-sub-title h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.wpo-hero-slider .slide-sub-title h2 span {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.wpo-hero-slider .slide-sub-title h2 .text-blue {
  color: var(--tf-gold) !important;
}

.wpo-hero-slider .slide-btns {
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  max-width: none;
}

.wpo-hero-slider .slide-btns .theme-btn {
  padding: 20px 48px;
}

.wpo-hero-slider .slide-btns .call {
  margin-left: 0;
  padding: 12px 26px 12px 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--tf-shadow-md);
  transition: transform var(--tf-ease), background var(--tf-ease);
}

.wpo-hero-slider .slide-btns .call:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.wpo-hero-slider .call .icon {
  background: linear-gradient(135deg, var(--tf-primary), var(--tf-primary-dark));
  box-shadow: 0 8px 20px rgba(2, 116, 190, 0.45);
}

.wpo-hero-slider .call .text h3 {
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.8;
  font-size: 11px;
}

.wpo-hero-slider .call .text span {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Nav arrows: glassy, refined */
.wpo-hero-slider .swiper-button-prev,
.wpo-hero-slider .swiper-button-next {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  z-index: 20;
}

.wpo-hero-slider .swiper-button-prev:hover,
.wpo-hero-slider .swiper-button-next:hover {
  background: var(--tf-primary);
  border-color: var(--tf-primary);
}

/* Pagination: pill-shaped active state */
.wpo-hero-slider .swiper-pagination {
  z-index: 20;
}

.wpo-hero-slider .swiper-pagination-bullet {
  border-radius: 6px;
  transition: width var(--tf-ease), background var(--tf-ease);
}

.wpo-hero-slider .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 6px;
  background: var(--tf-gold) !important;
}

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
}

.hero-scroll-cue span {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 14px;
  position: relative;
}

.hero-scroll-cue span::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--tf-gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: tf-scroll-dot 1.8s ease-in-out infinite;
}

@keyframes tf-scroll-dot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 6px; }
}

.hero-scroll-cue small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .hero-scroll-cue {
    display: none;
  }

  .wpo-hero-slider .slide-btns {
    gap: 16px;
  }
}

/* ---- Funfact numbers ---- */
.funfact .count h3 {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.funfact ul li span:last-child {
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--tf-ink-soft);
}

/* ---- About section polish ---- */
.about-image .img-1 img,
.about-image .img-2 img {
  border-radius: 18px;
  box-shadow: var(--tf-shadow-md);
}

.about-content .inner-item h4 {
  font-weight: 700;
}

.about-content .ceo {
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--tf-shadow-sm);
  padding: 10px 18px;
}

.about-content .ceo .image img {
  border-radius: 50%;
}

.about-content .ceo .text h4 {
  font-weight: 700;
  font-size: 14px;
}

.about-content .ceo .text span {
  font-weight: 500;
  color: var(--tf-ink-soft);
}

/* ---- Services ---- */
.service-left ul li a {
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform var(--tf-ease), color var(--tf-ease);
}

.service-left ul li a:hover {
  transform: translateX(6px);
}

.service-image ul li img {
  border-radius: 16px;
  box-shadow: var(--tf-shadow-sm);
  transition: transform var(--tf-ease), box-shadow var(--tf-ease);
}

.service-image ul li:hover img {
  transform: translateY(-6px);
  box-shadow: var(--tf-shadow-md);
}

/* ---- CTA ---- */
.cta-section {
  position: relative;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 33, 61, 0.82), rgba(2, 116, 190, 0.72));
  z-index: 0;
}

.cta-section .content {
  position: relative;
  z-index: 1;
}

.cta-section .content span {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--tf-gold);
}

.cta-section .content h3 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---- Process steps ---- */
.process-section .item .icon {
  border-radius: 50%;
  box-shadow: var(--tf-shadow-sm);
  transition: transform var(--tf-ease), box-shadow var(--tf-ease);
}

.process-section .item:hover .icon {
  transform: translateY(-6px) scale(1.04);
  box-shadow: var(--tf-shadow-md);
}

.process-section .item h2 {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.01em;
}

/* ---- Instagram gallery ---- */
.gallery-main-wrap .img-holder {
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--tf-shadow-sm);
}

.gallery-main-wrap .img-holder img {
  transition: transform var(--tf-ease);
}

.gallery-main-wrap .img-holder:hover img {
  transform: scale(1.08);
}

/* ---- Blog cards ---- */
.blog-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--tf-shadow-sm);
  transition: transform var(--tf-ease), box-shadow var(--tf-ease);
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--tf-shadow-md);
}

.blog-card .content h3 a {
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.4;
}

.blog-card ul li {
  font-weight: 500;
  color: var(--tf-ink-soft);
  font-size: 13px;
}

/* ---- Footer ---- */
.wpo-site-footer .widget-title h3 {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 15px;
}

.wpo-site-footer .link-widget ul li a,
.wpo-site-footer .locations-widget ul li,
.wpo-site-footer .locations-widget p {
  font-weight: 500;
}

.wpo-site-footer .form-fild {
  border-radius: 40px;
  overflow: hidden;
  box-shadow: var(--tf-shadow-sm);
}

.wpo-lower-footer .copyright {
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---- Motion polish ---- */
.theme-btn, .view-cart-btn, .newbutton,
.blog-card, .service-image ul li img,
.about-image .img-1 img, .about-image .img-2 img,
.gallery-main-wrap .img-holder img, .process-section .item .icon {
  will-change: transform;
}
