/* ─── Theme Variables ────────────────────────────────── */
:root {
  --th-primary: #1a365d;
  --th-primary-dark: #0f2440;
  --th-accent: #c8a35f;
  --th-accent-dark: #7d6118;
  --th-white: #ffffff;
}

/* ─── Announcement Bar ──────────────────────────────── */
.th-announcement-bar {
  position: relative;
  z-index: 10;
  background: var(--th-accent);
  color: var(--th-primary-dark);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  overflow: hidden;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.th-announcement-bar a {
  color: var(--th-primary-dark);
  text-decoration: none;
}
.th-announcement-bar a:hover {
  text-decoration: underline;
}

/* Marquee */
.th-marquee-track {
  display: flex;
  width: max-content;
  animation: th-marquee-scroll 12s linear infinite;
  white-space: nowrap;
}
.th-marquee-content {
  display: inline-block;
}
.th-marquee-track:hover {
  animation-play-state: paused;
}
@keyframes th-marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Hero Section ──────────────────────────────────── */
.th-hero {
  position: relative;
  background: var(--th-primary);
  color: var(--th-white);
  overflow: hidden;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
}
.th-announcement-bar {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  max-width: none;
}
.th-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.th-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26,54,93,0.95), rgba(26,54,93,0.75), transparent);
}

/* Content */
.th-hero-content {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  padding: 112px 16px 56px;
  box-sizing: border-box;
}
.th-hero-text {
  max-width: 768px;
}
.th-hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  color: #ffffff !important;
  animation: th-heroSlideOnly 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.th-hero-subtitle {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(229, 231, 235, 1);
  margin: 0 0 24px;
  animation: th-heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.2s;
}
.th-hero-desc {
  font-size: 1rem;
  color: rgba(209, 213, 219, 1);
  margin: 0 0 32px;
  line-height: 1.625;
  animation: th-heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s;
}

/* ─── Hero CTA Button ───────────────────────────────── */
.th-hero-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: #06C755 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2) !important;
  transition: background 0.3s, box-shadow 0.3s, transform 0.15s !important;
  border: none !important;
  line-height: 1.4 !important;
}
.th-hero-cta:hover {
  background: #05a149 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}
.th-hero-cta:active {
  transform: scale(0.97);
}
.th-hero-cta svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
  display: inline-block;
}

/* ─── StatsBar ──────────────────────────────────────── */
.th-statsbar {
  position: relative;
  background: rgba(26,54,93,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--th-white);
}
.th-statsbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}
.th-statsbar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.th-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 24px 16px;
  text-align: center;
}
.th-stat-icon {
  width: 28px;
  height: 28px;
  color: var(--th-accent);
  margin-bottom: 4px;
}
.th-stat-label {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}
.th-stat-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.th-stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--th-accent);
  font-variant-numeric: tabular-nums;
}

/* Borders — mobile */
.th-stat-border-r {
  border-right: 1px solid rgba(255,255,255,0.1);
}
.th-stat-border-t {
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ─── Animations ────────────────────────────────────── */
@keyframes th-heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes th-heroSlideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes th-heroSlideOnly {
  from { transform: translateY(18px); }
  to   { transform: translateY(0); }
}

/* ─── Responsive — Desktop ──────────────────────────── */
@media (min-width: 768px) {
  .th-hero-content {
    padding: 80px 24px;
  }
  .th-hero-title {
    font-size: 3rem;
  }
  .th-hero-subtitle {
    font-size: 1.25rem;
  }
  .th-statsbar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .th-stat-border-t {
    border-top: none;
  }
  .th-stat-border-r-md {
    border-right: 1px solid rgba(255,255,255,0.1);
  }
  .th-stat-number {
    font-size: 1.875rem;
  }
  .th-stat-label {
    font-size: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .th-hero-content {
    padding: 80px 32px;
  }
  .th-hero-title {
    font-size: 3.75rem;
  }
}
