/* ==================== CORE ==================== */
html {
  scroll-behavior: smooth;
}

#why-us,
#about,
#contact {
  scroll-margin-top: 120px;
}

body.program-contact-open {
  overflow: hidden;
}

.program-contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(3, 17, 32, .76);
  backdrop-filter: blur(8px);
}

.program-contact-modal.show {
  display: flex;
}

.program-contact-dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: calc(100vh - 44px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 48px);
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0%, rgba(212, 175, 55, .14), transparent 36%),
    #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
}

.program-contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #dce3ea;
  border-radius: 50%;
  background: #fff;
  color: #0a2540;
  cursor: pointer;
}

.program-contact-close:hover {
  color: #b58b13;
  border-color: #d4af37;
}

.program-contact-brand img {
  width: min(230px, 72%);
  height: auto;
}

.program-contact-brand h2 {
  margin: 24px 0 10px;
  color: #0a2540;
  font: 700 clamp(30px, 5vw, 42px)/1.08 Georgia, serif;
}

.program-contact-brand p {
  max-width: 510px;
  margin: 0;
  color: #5e6d7c;
  font-size: 15px;
  line-height: 1.75;
}

.program-contact-credentials {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.program-contact-credentials span {
  padding: 8px 11px;
  border-radius: 999px;
  background: #f2f5f8;
  color: #0a2540;
  font-size: 11px;
  font-weight: 800;
}

.program-contact-divider {
  height: 1px;
  margin: 28px 0;
  background: linear-gradient(90deg, #d4af37, rgba(212, 175, 55, .08));
}

.program-contact-eyebrow {
  margin: 0 0 6px;
  color: #b58b13;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
}

.program-contact-details h3 {
  margin: 0 0 16px;
  color: #0a2540;
  font: 700 26px/1.2 Georgia, serif;
}

.program-contact-details a {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 0;
  color: #263a4d;
  font-weight: 700;
  text-decoration: none;
}

.program-contact-details a i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #0a2540;
  color: #fff;
}

.program-contact-details a:hover {
  color: #b58b13;
}

@media (max-width: 520px) {
  .program-contact-modal { padding: 12px; }
  .program-contact-dialog { padding: 30px 22px 24px; border-radius: 22px; }
  .program-contact-brand h2 { margin-top: 18px; }
}

.top-hero {
  min-height: 260px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 45%, rgba(255,255,255,0.15) 100%),
    url("assets/hero-travel.jpg");
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  padding: 40px 6%;
}

.hero-text h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.15;
  letter-spacing: 8px;
  color: #0a2540;
  font-weight: 800;
}

.hero-text h1 span {
  color: #d4af37;
}

.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  color: #0a2540;
  letter-spacing: 7px;
  font-size: 15px;
  font-weight: 700;
}

.hero-subtitle span {
  width: 80px;
  height: 2px;
  background: #0a2540;
}

.hero-subtitle b {
  color: #d4af37;
  font-size: 30px;
}

.home-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  padding: 28px 6% 18px;
  background: #fff;
  align-items: stretch;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: #0a2540;
    font-weight: 500;
    text-decoration: none;
    transition: color .35s ease, transform .35s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d4af37, #f4d77b, #d4af37);
    border-radius: 999px;
    transform: translateX(-50%);
    transition: width .35s ease;
}

.nav-link:hover {
    color: #d4af37;
    transform: translateY(-2px);
}

.nav-link:hover::after {
    width: 100%;
}

/* Navigation search */
.nav-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;
  width: 300px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(10, 37, 64, 0.16);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease,
    transform 0.25s ease;
}

.search-box.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-box input {
  min-width: 0;
  flex: 1;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  color: #0a2540;
  outline: none;
}

.search-box input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.search-box button {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #d4af37;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-box button:hover {
  background: #b99226;
}

/* ===============================
   VIDEO SEARCH BUTTON
================================= */

.search-toggle {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: #0a2540;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.search-toggle:hover {
  color: #fff;
  background: #0a2540;
  border-color: #d4af37;
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.2);
  transform: scale(1.08);
}

/* ===============================
   SEARCH OVERLAY
================================= */

.video-search-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 24px 40px;
  background: rgba(6, 29, 51, 0.82);
  backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.video-search-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-search-panel {
  width: min(1100px, 100%);
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.35);

  opacity: 0;
  transform: scale(0.72) translateY(-30px);
  transform-origin: top center;

  transition:
    opacity 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.video-search-modal.show .video-search-panel {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.video-search-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.video-search-label {
  margin-bottom: 8px;
  color: #d4af37;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
}

.video-search-header h2 {
  color: #0a2540;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}

.video-search-close {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f3f4f6;
  color: #0a2540;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-search-close:hover {
  color: #fff;
  background: #0a2540;
  transform: rotate(90deg);
}

/* Search input */

.video-search-input-wrapper {
  position: sticky;
  top: -34px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  margin-bottom: 28px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(10, 37, 64, 0.08);
}

.video-search-input-wrapper:focus-within {
  border-color: #d4af37;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.12);
}

.video-search-input-wrapper > i {
  color: #d4af37;
  font-size: 20px;
}

.video-search-input-wrapper input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0a2540;
  font-size: 18px;
}

.video-search-input-wrapper input::placeholder {
  color: #9ca3af;
}

#video-result-count {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
}

/* Results */

.video-search-message {
  padding: 50px 20px;
  color: #6b7280;
  text-align: center;
}

.video-search-results {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.video-result-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #0a2540;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.video-result-group h3::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0.7),
    transparent
  );
}

.video-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.video-result-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.video-result-card:hover {
  border-color: rgba(212, 175, 55, 0.7);
  box-shadow: 0 18px 38px rgba(10, 37, 64, 0.13);
  transform: translateY(-5px);
}

.video-result-thumbnail {
  position: relative;
  height: 155px;
  overflow: hidden;
  background: #0a2540;
}

.video-result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.video-result-card:hover .video-result-thumbnail img {
  transform: scale(1.07);
}

.video-result-thumbnail::after {
  content: "\f144";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(6, 29, 51, 0.25);
  font-family: "Font Awesome 6 Free";
  font-size: 42px;
  font-weight: 400;
}

.video-result-content {
  padding: 17px;
}

.video-result-category {
  display: block;
  margin-bottom: 7px;
  color: #d4af37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.video-result-content h4 {
  color: #0a2540;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
}

.video-result-content p {
  margin-top: 8px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
}

body.search-open {
  overflow: hidden;
}

@media (max-width: 800px) {
  .video-search-modal {
    padding: 30px 14px;
  }

  .video-search-panel {
    max-height: calc(100vh - 60px);
    padding: 24px 18px;
    border-radius: 20px;
  }

  .video-result-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-search-input-wrapper {
    top: -24px;
  }
}

/* =====================================
   SHARED STYLES
===================================== */

.section-container {
  width: min(1180px, 88%);
  margin: 0 auto;
}

.gold-action-btn,
.outline-action-btn {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  padding: 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.gold-action-btn {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #cda62f, #e3c45a);
  color: #fff;
  box-shadow: 0 10px 25px rgba(205, 166, 47, 0.25);
}

.gold-action-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transition: left 0.7s ease;
}

.gold-action-btn:hover::before {
  left: 150%;
}

.gold-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(205, 166, 47, 0.36);
}

.gold-action-btn i,
.outline-action-btn i {
  transition: transform 0.3s ease;
}

.gold-action-btn:hover i,
.outline-action-btn:hover i {
  transform: translateX(4px);
}

.outline-action-btn {
  border: 1px solid #0a2540;
  background: transparent;
  color: #0a2540;
}

.outline-action-btn:hover {
  background: #0a2540;
  color: #fff;
  border-color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(10, 37, 64, 0.18);
}

.section-divider {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  align-items: center;
  gap: 22px;
  margin-bottom: 30px;
}

.section-divider span {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37
  );
}

.section-divider span:last-child {
  background: linear-gradient(
    90deg,
    #d4af37,
    transparent
  );
}

.section-divider p {
  color: #d4af37;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-align: center;
}

/* =====================================
   SECTION 1: MENTORSHIP CTA
===================================== */

.mentorship-cta {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.96),
      rgba(255, 255, 255, 0.9)
    ),
    url("assets/hero-travel.jpg");
  background-size: cover;
  background-position: center;
}

.mentorship-cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.mentorship-plane {
  position: absolute;
  top: -55px;
  right: 18%;
  color: #d4af37;
  font-size: 25px;
  transform: rotate(-14deg);
}

.mentorship-cta h2 {
  margin-bottom: 24px;
  color: #0a2540;
  font-family: "Playfair Display", serif;
  font-size: clamp(27px, 3.2vw, 43px);
  font-weight: 700;
  line-height: 1.2;
}

/* =====================================
   SECTION 2: RESULTS
===================================== */

.results-section {
  padding: 38px 0 44px;
  background:
    radial-gradient(
      circle at center,
      rgba(31, 73, 116, 0.5),
      transparent 45%
    ),
    #071f3b;
}

.results-comparison {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  gap: 22px;
  align-items: stretch;   /* was center */
}

.results-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  height: 100%;           /* makes both cards equal height */
  min-height: 300px;      /* adjust this value if you want them taller */

  padding: 26px 30px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 6px;
  background: linear-gradient(
      135deg,
      rgba(255,255,255,.98),
      rgba(242,245,249,.96)
  );
  box-shadow: 0 18px 45px rgba(0,0,0,.2);
}

.results-card-label {
  width: fit-content;
  margin: 0 auto 24px;
  padding: 8px 17px;
  border-radius: 5px;
  background: rgba(212, 175, 55, 0.08);
  color: #c29b28;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.results-list {
  display: flex;
  flex-direction: column;
  gap: 17px;
  flex: 1;
}

.results-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #26313d;
  font-size: 14px;
  line-height: 1.5;
}

.results-list i {
  flex-shrink: 0;
  margin-top: 3px;
  color: #d4af37;
}

.results-vs {
  width: 56px;
  height: 56px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37, #e8c95e);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.3);
}

/* =====================================
   SECTION 3: NEXT STEP
===================================== */

.next-step-section {
  background: #fff;
}

.next-step-row {
  padding: 38px 0;
  border-bottom: 1px solid #e5e7eb;
  background:
    linear-gradient(
      90deg,
      #fff,
      #f8f8f6,
      #fff
    );
}

.questions-row {
  background:
    linear-gradient(
      90deg,
      #fff,
      #f7f7f5,
      #fff
    );
}

.next-step-inner {
  width: min(90%, 1000px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
}

.next-step-icon {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d4af37;
  border-radius: 50%;
  color: #0a2540;
  font-size: 37px;
  background: rgba(255, 255, 255, 0.8);
}

.next-step-label {
  display: block;
  margin-bottom: 7px;
  color: #d4af37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.next-step-copy h2 {
  color: #0a2540;
  font-family: "Playfair Display", serif;
  font-size: clamp(25px, 2.8vw, 39px);
  line-height: 1.08;
}

.next-step-copy h2 em {
  color: #d4af37;
  font-style: normal;
}

.next-step-copy p {
  max-width: 820px;
  margin-top: 10px;
  color: #374151;
  font-size: 13px;
  line-height: 1.65;
}

/* =====================================
   SECTION 4: SAMPLE TRAINING
===================================== */

.sample-training-section {
  padding: 34px 0 48px;
  background:
    radial-gradient(
      circle at 70% 50%,
      rgba(30, 73, 117, 0.45),
      transparent 38%
    ),
    #071f3b;
}

.sample-training-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 60px;
  max-width: 920px;
  margin: 0 auto;
}

.sample-training-copy h2 {
  color: #fff;
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.sample-training-copy h2 span {
  font-size: 0.92em;
}

.sample-training-copy p {
  margin: 24px 0;
  color: #d8dee7;
  font-size: 14px;
  line-height: 1.7;
}

.training-video-card {
  overflow: hidden;
  border: 1px solid #d4af37;
  border-radius: 7px;
  background: #041528;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

.training-video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 950px) {
  .results-comparison {
    grid-template-columns: 1fr;
  }

  .results-vs {
    margin: -5px auto;
  }

  .next-step-inner {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .next-step-icon {
    width: 80px;
    height: 80px;
    font-size: 30px;
  }

  .sample-training-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 650px) {
  .section-container {
    width: min(92%, 1180px);
  }

  .mentorship-cta {
    min-height: 260px;
    padding: 30px 0;
  }

  .mentorship-plane {
    top: -30px;
    right: 5%;
  }

  .results-card {
    padding: 24px 20px;
  }

  .next-step-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .next-step-icon {
    margin: 0 auto;
  }

  .section-divider {
    gap: 12px;
  }

  .section-divider p {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .sample-training-copy {
    text-align: center;
  }
}

@media (max-width: 540px) {
  .video-result-grid {
    grid-template-columns: 1fr;
  }

  #video-result-count {
    display: none;
  }
}

/* Smooth icon animation */
.group:hover .fa-chevron-down {
    color: #d4af37;
    transform: rotate(180deg);
    transition: all .35s ease;
}

/* Dropdown links */
.group .bg-white a {
    position: relative;
    transition: all .3s ease;
}

.group .bg-white a:hover {
    color: #d4af37;
    padding-left: 10px;
}

.group .bg-white a::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    width: 0;
    height: 2px;
    background: #d4af37;
    transform: translateY(-50%);
    transition: width .3s ease;
}

.group .bg-white a:hover::before {
    width: 6px;
}

.login-register-btn {
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border: 1px solid #0a2540;
  border-radius: 18px;
  color: #0a2540;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  background: transparent;
  transition: all .35s ease;
}

.login-register-btn:hover {
  color: white;
  background: linear-gradient(135deg, #0a2540, #12395f);
  border-color: #d4af37;
  box-shadow: 0 14px 30px rgba(10,37,64,.22);
  transform: translateY(-2px);
}

.admin-portal-shortcut {
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid #d4af37;
  border-radius: 18px;
  background: linear-gradient(135deg, #0a2540, #12395f);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .45px;
  box-shadow: 0 10px 24px rgba(10, 37, 64, .16);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.admin-portal-shortcut:hover {
  color: #fff;
  border-color: #ebc94d;
  box-shadow: 0 14px 30px rgba(10, 37, 64, .24);
  transform: translateY(-2px);
}

.admin-portal-shortcut[hidden],
.admin-portal-mobile-shortcut[hidden] {
  display: none !important;
}

.admin-portal-mobile-shortcut {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  color: #b58b13;
  font-weight: 800;
  text-align: left;
}

.admin-portal-mobile-shortcut:hover {
  color: #0a2540;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 29, 51, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.auth-modal.show {
  display: flex;
}

.auth-box {
  position: relative;
  width: min(92%, 430px);
  background: white;
  border-radius: 28px;
  padding: 42px;
  box-shadow: 0 30px 80px rgba(0,0,0,.28);
  animation: authPop .35s ease;
}

@keyframes authPop {
  from {
    opacity: 0;
    transform: translateY(20px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-close {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 30px;
  color: #0a2540;
}

.auth-header h2 {
  color: #0a2540;
  font-size: 32px;
  font-weight: 800;
}

.auth-header p {
  color: #6b7280;
  margin-top: 8px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f3f4f6;
  border-radius: 16px;
  padding: 5px;
  margin: 28px 0;
}

.auth-tabs button {
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  color: #0a2540;
}

.auth-tabs button.active {
  background: #0a2540;
  color: white;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form input {
  height: 54px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 0 18px;
  outline: none;
}

.auth-form input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212,175,55,.14);
}

.auth-form button {
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d4af37, #f4d77b);
  color: #0a2540;
  font-weight: 800;
  letter-spacing: 1px;
}

.hidden-auth {
  display: none;
}

.mentor-about {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 48px;
  box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

.mentor-about-image {
  position: relative;
  height: 650px;
}

.mentor-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}

.mentor-about-content {
  max-width: none;
}

.mentor-about-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3.4vw, 48px);
  line-height: 1.12;
  color: #0a2540;
}

.mentor-about-content h2 span {
  color: #d4af37;
}

.mentor-about-copy {
  margin: 24px 0 34px;
  color: #1f2937;
  line-height: 1.8;
  max-width: 720px;
}

.mentor-benefits {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 38px;
}

.mentor-benefits i {
  color: #d4af37;
  margin-top: 5px;
  font-size: 18px;
}

.mentor-about-content .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mentor-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #111827;
  line-height: 1.7;
}

.mentor-benefits li strong {
  white-space: nowrap;
}

.mentor-tag {
    position: absolute;
    top: 18px;
    left: -14px;
    z-index: 2;

    background: linear-gradient(135deg, #d4af37, #e8c85c);
    color: #fff;

    padding: 10px 20px;
    border-radius: 0 6px 6px 0;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;

    box-shadow: 0 8px 20px rgba(212,175,55,.35);
}

.mentor-tag::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:0;
    border-top:8px solid #b48d21;
    border-left:8px solid transparent;
}

@media (max-width: 900px) {
  .mentor-about {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .mentor-about-image {
    height: 420px;
  }

  .mentor-benefits li strong {
    white-space: normal;
  }
}

.mentor-card {
  position: relative;
  overflow: hidden;
  height: 500px;          /* Same height as award gallery */
  border-radius: 8px;
  background: #061d33;
  display: flex;
  align-items: center;
}

.mentor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,29,51,0.98) 0%, rgba(6,29,51,0.82) 48%, rgba(6,29,51,0.15) 100%);
  z-index: 1;
}

.mentor-content {
  position: relative;
  z-index: 2;
  width: 58%;
  padding: 32px 48px 24px;
  color: white;
  box-sizing: border-box;
}

.eyebrow {
  color: #d4af37;
  letter-spacing: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
}

.small-line {
  width: 42px;
  height: 2px;
  background: #d4af37;
  margin: 0 0 28px;
}

.mentor-content h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.12;
}

.mentor-content h2 span {
  color: #d4af37;
}

.mentor-copy {
  margin-top: 22px;
  color: #e5e7eb;
  line-height: 1.7;
  max-width: 420px;
}

.mentor-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-video {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    height: 54px;
    padding: 0 34px;
    border-radius: 6px;

    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        background .35s ease,
        color .35s ease,
        border-color .35s ease;
}

/* ===============================
   GOLD BUTTON
================================= */

.btn-primary {
    background: linear-gradient(135deg, #d4af37, #e7c45c);
    color: white;
    border: none;
    box-shadow: 0 10px 24px rgba(212,175,55,.25);
}

/* Gold shine */

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transition: left .75s ease;
}

.btn-primary:hover::before {
    left: 150%;
}

/* Lift */

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(212,175,55,.40);
}

.btn-primary:active {
    transform: translateY(-1px) scale(.98);
}

/* Arrow animation */

.btn-primary i {
    transition: transform .3s ease;
}

.btn-primary:hover i {
    transform: translateX(6px);
}


.btn-video {
    background: transparent;
    border: 1px solid rgba(255,255,255,.55);
    color: white;
}

.btn-video:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.08);
    border-color: #d4af37;
    color: #d4af37;
    box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.btn-video:active {
    transform: translateY(-1px) scale(.98);
}

.btn-video i {
    transition: transform .3s ease;
}

.btn-video:hover i {
    transform: scale(1.2);
}

.mentor-img {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 55%;
  object-fit: cover;
}

.included-section {
  background: #fff;
  padding: 70px 6% 80px;
}

.included-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 34px;
}

.included-header span {
  width: min(300px, 28vw);
  height: 1px;
  background: #d4af37;
}

.included-header p {
  color: #d4af37;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.included-grid {
  max-width: 1050px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.included-card {
  background: #fff;
  min-height: 190px;
  padding: 22px 22px 26px;
  text-align: center;
  border: 1px solid #eef0f3;
  border-radius: 4px;
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.08);
  transition: all .35s ease;
}

.included-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(10, 37, 64, 0.14);
  border-color: rgba(212,175,55,.45);
}

.included-icon {
  width: 58px;
  height: 58px;
  margin: -2px auto 18px;
  border-radius: 50%;
  background: #0a2540;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 8px 20px rgba(10,37,64,.18);
}

.included-card h3 {
  color: #0a2540;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 10px;
}

.included-card p {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 1000px) {
  .included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .included-section {
    padding: 56px 6%;
  }

  .included-header {
    gap: 14px;
  }

  .included-header span {
    width: 70px;
  }

  .included-grid {
    grid-template-columns: 1fr;
  }
}

.award-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 500px;          /* Same height as mentor card */
}

#award-image {
  opacity: 1;
  transition: opacity 0.45s linear;
}

#award-image.fade-out {
  opacity: 0;
}

.gallery-main {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: 6px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

/* Each award automatically travels from the bottom of the photo to the top
   while remaining inside the existing gallery frame. */
#award-image.award-pan {
  animation: awardPanBottomToTop 3.45s ease-in-out both;
}

@keyframes awardPanBottomToTop {
  0% {
    object-position: center bottom;
  }
  100% {
    object-position: center top;
  }
}

#slide-count {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  background: #061d33;
  color: white;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
}

.gallery-arrows {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: flex;
  gap: 8px;
}

.gallery-arrows button {
  width: 36px;
  height: 36px;
  background: #061d33;
  color: white;
  border-radius: 4px;
  font-size: 24px;
  cursor: pointer;
}

.gallery-thumbs {
  display: flex;
  gap: 10px;
  height: 76px;
  flex-shrink: 0;
  overflow-x: auto;
}

.gallery-thumbs img {
  width: 105px;
  height: 76px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: border-color .3s ease;
}

.gallery-thumbs img:hover {
  border-color: #d4af37;
}

@media (max-width: 900px) {
  .home-showcase {
    grid-template-columns: 1fr;
  }

  .mentor-content {
    width: 100%;
  }

  .mentor-img {
    opacity: 0.35;
    width: 100%;
  }

  .award-gallery {
    height: auto;
  }

  .gallery-main {
    height: 390px;
    flex: none;
  }

  .hero-subtitle {
    letter-spacing: 3px;
    font-size: 12px;
  }
}

/* =====================================
   UNIFIED VIDEO PLAYER
   Local MP4/WebM and YouTube share this UI
===================================== */
.video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 21, 40, 0.9);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.video-player-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Branded facade for members-only hosted video. Provider content is not
   requested until the member presses play. */
.wts-private-video-player{position:relative;width:100%;aspect-ratio:16/9;overflow:hidden;background:#061a31}.wts-private-video-player>iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.wts-private-video-cover{position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;background:#061a31;color:#fff;cursor:pointer;overflow:hidden}.wts-private-video-cover>img{width:100%;height:100%;object-fit:cover;opacity:.5;filter:saturate(.8)}.wts-private-video-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,23,43,.92),rgba(4,23,43,.22) 70%)}.wts-private-video-brand{position:absolute;z-index:2;left:clamp(20px,5vw,64px);top:50%;display:grid;justify-items:start;gap:8px;max-width:70%;translate:0 -50%;text-align:left}.wts-private-video-brand>i{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(255,255,255,.7);border-radius:50%;background:#d4af37;color:#071b33;font-size:20px;box-shadow:0 8px 28px rgba(0,0,0,.25)}.wts-private-video-brand small{margin-top:8px;color:#d9b845;font-size:11px;font-weight:900;letter-spacing:.18em}.wts-private-video-brand strong{font-size:clamp(19px,3vw,34px);font-family:Georgia,serif}.wts-private-video-cover:hover .wts-private-video-brand>i{scale:1.08}.wts-private-video-watermark{position:absolute;z-index:3;right:12px;top:12px;padding:5px 8px;border-radius:5px;background:rgba(4,23,43,.5);color:rgba(255,255,255,.7);font-size:9px;font-weight:800;letter-spacing:.08em;pointer-events:none;user-select:none}

.video-player-dialog {
  width: min(1100px, 100%);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 20px;
  background: #061d33;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.55);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}

.video-player-modal.show .video-player-dialog {
  transform: translateY(0) scale(1);
}

.video-player-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: #fff;
}

.video-player-category {
  display: block;
  margin-bottom: 3px;
  color: #d4af37;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.video-player-topbar h2 {
  font-size: clamp(18px, 2.5vw, 27px);
  line-height: 1.25;
}

.video-player-close {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.video-player-close:hover {
  background: #d4af37;
  transform: rotate(90deg);
}

.video-player-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-stage iframe,
.video-player-stage video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: contain;
  background: #000;
}

@media (max-width: 650px) {
  .video-player-modal { padding: 10px; }
  .video-player-dialog { border-radius: 13px; }
  .video-player-topbar { padding: 13px 15px; }
}


/* =========================================================
   SMOOTH PAGE TRANSITIONS
========================================================= */

body {
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

body.page-entered {
  animation: wtsPageEnter 0.38s ease both;
}

body.page-leaving {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@keyframes wtsPageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.page-entered,
  body.page-leaving {
    animation: none;
    transition: none;
    transform: none;
  }
}

/* ==========================================
   SMOOTH SERVICES DROPDOWN
   Add this at the END of styles.css
========================================== */

/* Animate the dropdown instead of instantly showing it */
.group .absolute{
    display:block !important;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transform:translateY(12px) scale(.98);
    transform-origin:top center;

    transition:
        opacity .28s ease,
        transform .28s ease,
        visibility .28s ease;
}

.group:hover .absolute,
.group:focus-within .absolute{
    opacity:1;
    visibility:visible;
    pointer-events:auto;

    transform:translateY(0) scale(1);
}

/* Smooth hover animation for submenu links */
.group .absolute a{
    position:relative;
    transition:
        color .25s ease,
        padding-left .25s ease,
        transform .25s ease;
}

.group .absolute a:hover{
    color:#d4af37;
    padding-left:12px;
    transform:translateX(4px);
}

/* Gold indicator line */
.group .absolute a::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    width:0;
    height:2px;
    background:#d4af37;
    transform:translateY(-50%);
    transition:width .25s ease;
}

.group .absolute a:hover::before{
    width:8px;
}

/* Keep dropdown scrollable if many menu items */
.group .absolute > div{
    max-height:75vh;
    overflow-y:auto;
}

/* ==================== WELCOME PAGE ==================== */
/* =========================================================
   WELCOME TO THE GROUP PAGE
   Designed to match the supplied reference image and your
   existing Wave to Success navy-and-gold branding.
========================================================= */

:root {
  --welcome-navy: #0a2540;
  --welcome-navy-dark: #061d33;
  --welcome-gold: #d4af37;
  --welcome-gold-light: #ead06d;
  --welcome-text: #596574;
  --welcome-border: #e6e9ed;
  --welcome-white: #ffffff;
  --welcome-soft: #f8f9fb;
}

html {
  scroll-behavior: smooth;
}

body.welcome-group-page {
  margin: 0;
  background: #fff;
  color: var(--welcome-text);
  font-family: Arial, Helvetica, sans-serif;
}

body.welcome-group-page *,
body.welcome-group-page *::before,
body.welcome-group-page *::after {
  box-sizing: border-box;
}

.welcome-search-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: var(--welcome-navy);
  text-decoration: none;
  transition: 0.3s ease;
}

.welcome-search-link:hover {
  color: #fff;
  background: var(--welcome-navy);
  border-color: var(--welcome-gold);
  transform: translateY(-2px);
}

.welcome-mobile-toggle {
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  border-radius: 50%;
  background: #fff;
  color: var(--welcome-navy);
}

.welcome-mobile-menu {
  display: none;
  padding: 0 0 22px;
}

.welcome-mobile-menu.show {
  display: grid;
}

.welcome-mobile-menu a {
  padding: 12px 14px;
  border-radius: 9px;
  color: var(--welcome-navy);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.welcome-mobile-menu a:hover {
  color: var(--welcome-gold);
  background: #f7f7f5;
}

/* INTRO */

.welcome-intro {
  padding: 74px 24px 112px;
  background:
    radial-gradient(circle at 50% -30%, rgba(212, 175, 55, 0.09), transparent 35%),
    #fff;
}

.welcome-content-width {
  width: min(900px, 100%);
  margin: 0 auto;
}

.welcome-title-row {
  display: grid;
  grid-template-columns: minmax(30px, 1fr) auto minmax(30px, 1fr);
  gap: 22px;
  align-items: center;
  margin-bottom: 22px;
}

.welcome-title-row span {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.75));
}

.welcome-title-row span:last-child {
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.75), transparent);
}

.welcome-title-row h1 {
  margin: 0;
  color: var(--welcome-navy);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.welcome-content-width > p {
  margin: 0 0 22px;
  color: #647083;
  font-size: 16px;
  line-height: 1.65;
}

.welcome-content-width strong {
  color: var(--welcome-navy);
}

.welcome-start-button {
  width: fit-content;
  min-height: 50px;
  margin-top: 12px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--welcome-gold), var(--welcome-gold-light));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.24);
  transition: 0.3s ease;
}

.welcome-start-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(212, 175, 55, 0.35);
}

/* TRAINING GRID */

.welcome-training-library {
  padding: 0 24px 100px;
  background: #fff;
}

.welcome-video-width {
  width: min(920px, 100%);
  margin: 0 auto;
}

.welcome-training-heading {
  margin-bottom: 34px;
  text-align: center;
}

.welcome-training-heading > span {
  color: var(--welcome-gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
}

.welcome-training-heading h2 {
  margin: 10px 0 0;
  color: var(--welcome-navy);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.5vw, 45px);
}

.welcome-training-heading p {
  max-width: 620px;
  margin: 12px auto 0;
  color: #758092;
  font-size: 14px;
  line-height: 1.6;
}

.welcome-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 28px;
}

.welcome-video-item {
  overflow: hidden;
  border: 1px solid var(--welcome-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 37, 64, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.welcome-video-item--wide {
  grid-column: 1 / -1;
}

.welcome-video-item:hover {
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 20px 42px rgba(10, 37, 64, 0.14);
  transform: translateY(-5px);
}

.welcome-video-frame {
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.welcome-video-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.welcome-video-details {
  padding: 20px 22px 22px;
}

.welcome-video-details > span {
  color: var(--welcome-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.7px;
}

.welcome-video-details h3 {
  margin: 8px 0 0;
  color: var(--welcome-navy);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.2;
}

.welcome-video-details p {
  margin: 12px 0 0;
  color: #707b8c;
  font-size: 13px;
  line-height: 1.6;
}

/* NEXT STEP */

.welcome-next-step {
  padding: 66px 24px;
  background:
    radial-gradient(circle at 75% 30%, rgba(33, 79, 124, 0.45), transparent 30%),
    var(--welcome-navy-dark);
}

.welcome-next-inner {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
}

.welcome-next-inner span {
  color: var(--welcome-gold);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
}

.welcome-next-inner h2 {
  margin: 8px 0 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
}

.welcome-next-inner p {
  max-width: 650px;
  margin: 13px 0 0;
  color: #d6dde6;
  font-size: 14px;
  line-height: 1.65;
}

.welcome-register-button {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--welcome-gold), var(--welcome-gold-light));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  transition: 0.3s ease;
}

.welcome-register-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.3);
}

/* FOOTER */

.welcome-footer {
  padding: 34px 24px;
  background: #fff;
  border-top: 1px solid var(--welcome-border);
}

.welcome-footer > div {
  width: min(1020px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.welcome-footer img {
  width: auto;
  height: 52px;
}

.welcome-footer p {
  margin: 0;
  color: #748091;
  font-size: 13px;
}

.welcome-footer a {
  color: var(--welcome-navy);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

/* RESPONSIVE */

@media (max-width: 800px) {
  .welcome-intro {
    padding-top: 56px;
    padding-bottom: 80px;
  }

  .welcome-title-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .welcome-title-row span {
    display: none;
  }

  .welcome-video-grid {
    grid-template-columns: 1fr;
  }

  .welcome-next-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .welcome-next-inner p {
    margin-inline: auto;
  }

  .welcome-register-button {
    justify-self: center;
  }

  .welcome-footer > div {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .welcome-intro,
  .welcome-training-library,
  .welcome-next-step {
    padding-left: 16px;
    padding-right: 16px;
  }

  .welcome-content-width > p {
    font-size: 15px;
  }

  .welcome-start-button,
  .welcome-register-button {
    width: 100%;
  }

  .welcome-video-details h3 {
    font-size: 20px;
  }
}


/* =========================================================
   DYNAMIC VIDEO CARDS RENDERED FROM script.js
========================================================= */

.welcome-training-meta {
  margin: -15px 0 24px;
  text-align: center;
}

#welcome-video-count {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.welcome-video-preview {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #061d33;
  cursor: pointer;
}

.welcome-video-preview:disabled,
.welcome-watch-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.welcome-video-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.welcome-video-item:hover .welcome-video-preview img {
  transform: scale(1.05);
}

.welcome-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 29, 51, 0.04), rgba(6, 29, 51, 0.36));
}

.welcome-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 66px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #ff2f00;
  color: #fff;
  font-size: 20px;
  transform: translate(-50%, -50%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  transition: transform 0.3s ease;
}

.welcome-play-icon i {
  margin-left: 3px;
}

.service-page-video-library {
  padding: clamp(70px, 8vw, 110px) 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.service-page-video-heading {
  margin-bottom: 34px;
}

.service-page-video-grid {
  margin-top: 0;
}

.welcome-video-item:hover .welcome-play-icon {
  transform: translate(-50%, -50%) scale(1.08);
}

.welcome-coming-soon {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(6, 29, 51, 0.9);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
}

.welcome-video-actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.welcome-watch-button,
.welcome-youtube-button {
  min-height: 42px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.welcome-watch-button {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #d4af37, #ead06d);
  color: #fff;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.welcome-watch-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.32);
}

.welcome-youtube-button {
  border: 1px solid #d9dee5;
  background: #fff;
  color: #0a2540;
}

.welcome-youtube-button i {
  color: #ff0000;
  font-size: 15px;
}

.welcome-youtube-button:hover {
  border-color: #ff0000;
  color: #ff0000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 37, 64, 0.1);
}

.welcome-watch-button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

@media (max-width: 480px) {
  .welcome-video-actions {
    flex-direction: column;
  }

  .welcome-watch-button,
  .welcome-youtube-button {
    width: 100%;
  }
}

.welcome-empty-message {
  grid-column: 1 / -1;
  padding: 50px 24px;
  border: 1px dashed #d9dee5;
  border-radius: 8px;
  color: #6b7280;
  text-align: center;
}


/* =========================================================
   SHARED VIDEO PLAYER MODAL
========================================================= */

.video-player-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 21, 40, 0.88);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-player-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.video-player-dialog {
  width: min(1000px, 100%);
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 20px;
  background: #071f3b;
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.video-player-modal.show .video-player-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-player-topbar {
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.video-player-category {
  display: block;
  margin-bottom: 6px;
  color: #d4af37;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.video-player-topbar h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

.video-player-close {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: 0.25s ease;
}

.video-player-close:hover {
  border-color: #d4af37;
  background: #d4af37;
  transform: rotate(90deg);
}

.video-player-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player-stage iframe,
.video-player-stage video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: contain;
  background: #000;
}

body.search-open {
  overflow: hidden;
}

@media (max-width: 650px) {
  .video-player-modal {
    padding: 10px;
  }

  .video-player-topbar {
    padding: 16px;
  }

  .video-player-dialog {
    border-radius: 14px;
  }
}


/* =========================================================
   SMOOTH PAGE TRANSITIONS
========================================================= */

body {
  transition:
    opacity 0.26s ease,
    transform 0.26s ease;
}

body.page-entered {
  animation: wtsPageEnter 0.38s ease both;
}

body.page-leaving {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

@keyframes wtsPageEnter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  body,
  body.page-entered,
  body.page-leaving {
    animation: none;
    transition: none;
    transform: none;
  }
}


.welcome-search-link {
  padding: 0;
  cursor: pointer;
}

.welcome-mobile-menu button {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #0a2540;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.welcome-mobile-menu button:hover {
  color: #d4af37;
  background: #f7f7f5;
}

/* ==================== UNIVERSAL EFFECTS ==================== */
/* =========================================================
   WAVE TO SUCCESS — UNIVERSAL INTERACTIONS
   Loaded on every page.
========================================================= */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 120px;
}

/* Keep all navigation typography identical to the homepage. */
nav,
nav button,
nav a {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

nav .nav-link {
  color: #0a2540;
  font-size: 16px;
  font-weight: 500;
}

/* Animate the Services dropdown instead of abruptly displaying it. */
nav .relative.group > .absolute {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(.985);
  transform-origin: top center;
  transition:
    opacity .28s ease,
    visibility .28s ease,
    transform .28s cubic-bezier(.2,.8,.2,1);
}

nav .relative.group:hover > .absolute,
nav .relative.group:focus-within > .absolute {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

nav .relative.group > .absolute > div {
  max-height: min(75vh, 650px);
  overflow-y: auto;
}

nav .relative.group > .absolute a {
  position: relative;
  color: #111827;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  transition:
    color .3s ease,
    transform .3s ease,
    padding-left .3s ease,
    background .3s ease;
}

nav .relative.group > .absolute a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: #d4af37;
  transform: translateY(-50%);
  transition: width .3s ease;
}

nav .relative.group > .absolute a:hover,
nav .relative.group > .absolute a[aria-current="page"] {
  color: #d4af37;
  padding-left: 17px;
  transform: translateX(2px);
}

nav .relative.group > .absolute a:hover::before,
nav .relative.group > .absolute a[aria-current="page"]::before {
  width: 9px;
}

/* Universal clickable feedback. */
a,
button,
[role="button"] {
  -webkit-tap-highlight-color: transparent;
}

a.is-clicked,
button.is-clicked,
[role="button"].is-clicked {
  transform: scale(.97);
}

/* Mobile services accordion. */
.universal-mobile-services summary {
  width: 100%;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 9px;
  color: #0a2540;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
  cursor: pointer;
  transition: color .3s ease, background .3s ease;
}
.universal-mobile-services summary::-webkit-details-marker { display: none; }
.universal-mobile-services summary:hover {
  color: #d4af37;
  background: #f7f7f5;
}
.universal-mobile-services summary i {
  transition: transform .3s ease;
}
.universal-mobile-services[open] summary i {
  transform: rotate(180deg);
}
.universal-mobile-services-list {
  display: grid;
  margin-left: 14px;
  padding-left: 12px;
  border-left: 2px solid rgba(212,175,55,.3);
}
.universal-mobile-services-list a {
  font-size: 12px;
}

/* Shared submenu layout. */
body.universal-submenu-page {
  margin: 0;
  background: #fff;
  color: #596574;
  font-family: Arial, Helvetica, sans-serif;
}
body.universal-submenu-page *,
body.universal-submenu-page *::before,
body.universal-submenu-page *::after {
  box-sizing: border-box;
}

.universal-page-width {
  width: min(1020px, calc(100% - 48px));
  margin: 0 auto;
}

.universal-page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 98px;
  background:
    radial-gradient(circle at 78% 18%, rgba(212,175,55,.14), transparent 28%),
    linear-gradient(135deg, #fff, #f8f9fb);
}
.universal-page-hero::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(212,175,55,.25);
  border-radius: 50%;
  animation: universalFloat 7s ease-in-out infinite;
}
.universal-eyebrow,
.universal-section-heading > span {
  color: #d4af37;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
}
.universal-page-hero h1 {
  max-width: 800px;
  margin: 12px 0 0;
  color: #0a2540;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.08;
}
.universal-page-hero p {
  max-width: 720px;
  margin: 20px 0 0;
  color: #647083;
  font-size: 16px;
  line-height: 1.75;
}
.universal-primary-button {
  position: relative;
  overflow: hidden;
  min-height: 52px;
  margin-top: 28px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 5px;
  background: linear-gradient(135deg, #d4af37, #ead06d);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(212,175,55,.24);
  transition: transform .3s ease, box-shadow .3s ease;
}
.universal-primary-button::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 -80%;
  width: 45%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.55), transparent);
  transition: left .65s ease;
}
.universal-primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(212,175,55,.36);
}
.universal-primary-button:hover::before { left: 145%; }
.universal-primary-button i { transition: transform .3s ease; }
.universal-primary-button:hover i { transform: translateY(3px); }

.universal-resource-section {
  padding: 78px 0 100px;
}
.universal-section-heading {
  max-width: 700px;
  margin-bottom: 35px;
}
.universal-section-heading h2 {
  margin: 10px 0 0;
  color: #0a2540;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 45px);
}
.universal-section-heading p {
  margin-top: 13px;
  color: #758092;
  font-size: 14px;
  line-height: 1.7;
}
.universal-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
}
.universal-card {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #e6e9ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10,37,64,.07);
  transition:
    transform .35s ease,
    box-shadow .35s ease,
    border-color .35s ease;
}
.universal-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #d4af37, #ead06d);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.universal-card:hover {
  border-color: rgba(212,175,55,.6);
  box-shadow: 0 20px 42px rgba(10,37,64,.14);
  transform: translateY(-7px);
}
.universal-card:hover::after { transform: scaleX(1); }
.universal-card-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212,175,55,.6);
  border-radius: 50%;
  color: #d4af37;
  font-size: 20px;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}
.universal-card:hover .universal-card-icon {
  color: #fff;
  background: #0a2540;
  transform: rotate(-7deg) scale(1.08);
}
.universal-card h3 {
  margin: 20px 0 0;
  color: #0a2540;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}
.universal-card p {
  margin: 12px 0 0;
  color: #707b8c;
  font-size: 13px;
  line-height: 1.7;
}
.universal-card-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a2540;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color .3s ease, gap .3s ease;
}
.universal-card-link:hover {
  color: #d4af37;
  gap: 12px;
}

span.universal-card-link {
  cursor: default;
}

/* Scroll reveal is enabled on all pages through JS-applied classes. */
[data-animate] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s cubic-bezier(.2,.8,.2,1);
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Universal enhancement for existing interactive cards/buttons. */
.welcome-video-item,
.video-result-card,
.included-card,
.results-card,
.sample-training-card,
.resource-card {
  will-change: transform;
}

@keyframes universalFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
  .universal-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .universal-page-width { width: min(100% - 32px, 1020px); }
  .universal-page-hero { padding: 62px 0 74px; }
  .universal-resource-section { padding: 58px 0 76px; }
  .universal-card-grid { grid-template-columns: 1fr; }
  .universal-primary-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ================================================================
   SALES CALLS
================================================================ */
.sales-calls-width {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.sales-calls-library {
  padding: 82px 0 94px;
  background:
    radial-gradient(circle at 90% 0%, rgba(212,175,55,.15), transparent 31%),
    #0a2540;
}

.sales-calls-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.sales-calls-heading span,
.sales-call-notes-intro span,
.sales-priority-card > div > span,
.sales-action-card > span,
.sales-status-card > span {
  color: #e2b83e;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.sales-calls-heading h1 {
  margin: 7px 0 0;
  color: #fff;
  font: 700 clamp(43px, 6vw, 68px)/1 Georgia, serif;
}

.sales-calls-heading > p {
  max-width: 430px;
  margin: 0;
  color: #b8c6d1;
  font-size: 15px;
  line-height: 1.7;
  text-align: right;
}

.sales-call-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}

.sales-call-video-placeholder,
.sales-call-video-card {
  overflow: hidden;
  min-width: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 17px;
  background: rgba(255,255,255,.065);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
}

.sales-call-video-placeholder {
  min-height: 280px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  text-align: center;
}

.sales-call-video-placeholder > i {
  margin-bottom: 7px;
  color: #e2b83e;
  font-size: 43px;
}

.sales-call-video-placeholder strong {
  font: 700 20px/1.2 Georgia, serif;
}

.sales-call-video-placeholder span {
  color: #afbeca;
  font-size: 12px;
}

.sales-call-video-card {
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.sales-call-video-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.09);
  box-shadow: 0 20px 42px rgba(0,0,0,.2);
}

.sales-call-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #061a2c;
}

.sales-call-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.sales-call-video-card:hover img {
  transform: scale(1.035);
}

.sales-call-video-thumb i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 39px;
  text-shadow: 0 4px 17px rgba(0,0,0,.45);
}

.sales-call-video-copy {
  display: grid;
  gap: 7px;
  padding: 18px;
}

.sales-call-video-copy small {
  color: #e2b83e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.sales-call-video-copy strong {
  color: #fff;
  font: 700 19px/1.25 Georgia, serif;
}

.sales-call-video-copy em {
  color: #b5c3ce;
  font-size: 12px;
  font-style: normal;
  line-height: 1.55;
}

.sales-call-notes {
  padding: 88px 0 100px;
  background: #f3f6f8;
}

.sales-call-notes-intro {
  display: grid;
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1fr);
  align-items: end;
  gap: 70px;
  margin-bottom: 38px;
}

.sales-call-notes-intro h2 {
  margin: 7px 0 0;
  color: #0a2540;
  font: 700 clamp(39px, 5vw, 57px)/1 Georgia, serif;
}

.sales-call-notes-intro > p {
  margin: 0;
  color: #60717f;
  font-size: 15px;
  line-height: 1.78;
}

.sales-priority-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 25px;
  margin-bottom: 22px;
  padding: 30px;
  border-radius: 21px;
  background: linear-gradient(135deg, #0a2540, #143e61);
  color: #fff;
  box-shadow: 0 18px 45px rgba(10,37,64,.15);
}

.sales-notes-icon {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(226,184,62,.14);
  color: #e2b83e;
  font-size: 23px;
}

.sales-priority-card h3 {
  margin: 5px 0 13px;
  font: 700 27px/1.2 Georgia, serif;
}

.sales-priority-card ul,
.sales-note-card ul,
.sales-action-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 19px;
}

.sales-priority-card li {
  color: #c3d0da;
  font-size: 13px;
  line-height: 1.65;
}

.sales-priority-card li strong {
  color: #fff;
}

.sales-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.sales-note-card {
  min-height: 330px;
  padding: 25px;
  border: 1px solid #e0e6eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 31px rgba(10,37,64,.065);
}

.sales-note-card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sales-note-card-heading i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(212,175,55,.13);
  color: #ba8c21;
}

.sales-note-card-heading span {
  color: #dce3e8;
  font: 700 28px/1 Georgia, serif;
}

.sales-note-card h3 {
  min-height: 54px;
  margin: 19px 0 13px;
  color: #0a2540;
  font: 700 22px/1.25 Georgia, serif;
}

.sales-note-card li,
.sales-action-card li {
  color: #60717f;
  font-size: 12px;
  line-height: 1.65;
}

.sales-note-card li strong,
.sales-action-card li strong {
  color: #0a2540;
}

.sales-action-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
  gap: 20px;
  margin-top: 22px;
}

.sales-action-card,
.sales-status-card {
  padding: 29px;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 13px 32px rgba(10,37,64,.07);
}

.sales-action-card h3,
.sales-status-card h3 {
  margin: 7px 0 19px;
  color: #0a2540;
  font: 700 27px/1.2 Georgia, serif;
}

.sales-status-list {
  display: grid;
  gap: 12px;
}

.sales-status-list p {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
  margin: 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e7ebee;
}

.sales-status-list p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.sales-status-list strong {
  color: #0a2540;
  font-size: 12px;
}

.sales-status-list span {
  color: #657583;
  font-size: 11px;
  line-height: 1.55;
}

@media (max-width: 940px) {
  .sales-call-video-grid,
  .sales-notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sales-call-notes-intro {
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .sales-calls-library,
  .sales-call-notes {
    padding: 62px 0 72px;
  }

  .sales-calls-heading {
    display: grid;
    align-items: start;
  }

  .sales-calls-heading > p {
    text-align: left;
  }

  .sales-call-notes-intro,
  .sales-action-layout {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 24px;
  }

  .sales-priority-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sales-call-video-grid,
  .sales-notes-grid {
    grid-template-columns: 1fr;
  }

  .sales-note-card {
    min-height: 0;
  }

  .sales-status-list p {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ==================== PERFORMANCE & ACCESSIBILITY ==================== */
img { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
@supports (content-visibility: auto) {
  main > section:not(:first-child), footer { content-visibility: auto; contain-intrinsic-size: 1px 700px; }
}


/* ================================================================
   POLISHED NAVIGATION + MODAL MOTION
================================================================ */

/* Main navigation underline: smooth center-out sweep with a soft glow. */
nav .nav-link::after {
  width: 100%;
  height: 2px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background: linear-gradient(90deg, transparent, #d4af37 18%, #f4d77b 50%, #d4af37 82%, transparent);
  box-shadow: 0 2px 8px rgba(212, 175, 55, .22);
  transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .25s ease;
}

nav .nav-link:hover::after,
nav .nav-link:focus-visible::after,
nav .nav-link[aria-current="page"]::after {
  width: 100%;
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* Submenu links: animated underline instead of an abrupt short marker. */
nav .relative.group > .absolute a {
  overflow: hidden;
}

nav .relative.group > .absolute a::before {
  top: auto;
  right: 0;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1.5px;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #d4af37, #f4d77b, transparent 92%);
  transition: transform .38s cubic-bezier(.2,.8,.2,1), opacity .22s ease;
}

nav .relative.group > .absolute a:hover,
nav .relative.group > .absolute a:focus-visible,
nav .relative.group > .absolute a[aria-current="page"] {
  padding-left: 0;
  transform: translateX(5px);
}

nav .relative.group > .absolute a:hover::before,
nav .relative.group > .absolute a:focus-visible::before,
nav .relative.group > .absolute a[aria-current="page"]::before {
  width: 100%;
  opacity: 1;
  transform: scaleX(1);
}

/* Search button and login button tactile click response. */
.search-toggle,
.welcome-search-link,
.login-register-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.search-toggle::after,
.welcome-search-link::after,
.login-register-btn::after {
  content: "";
  position: absolute;
  inset: 50%;
  z-index: -1;
  border-radius: inherit;
  background: rgba(212, 175, 55, .2);
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform .45s ease, opacity .45s ease;
}

.search-toggle:active::after,
.welcome-search-link:active::after,
.login-register-btn:active::after {
  transform: translate(-50%, -50%) scale(3.2);
  opacity: 1;
  transition-duration: .12s;
}

.search-toggle:active,
.welcome-search-link:active,
.login-register-btn:active {
  transform: translateY(1px) scale(.95);
}

/* Search modal: smoother backdrop fade and spring-like panel entrance. */
.video-search-modal {
  background: rgba(6, 29, 51, 0);
  backdrop-filter: blur(0);
  transition: opacity .38s ease, visibility .38s ease, background .38s ease, backdrop-filter .38s ease;
}

.video-search-modal.show {
  background: rgba(6, 29, 51, .82);
  backdrop-filter: blur(12px);
}

.video-search-panel {
  transform: translateY(-42px) scale(.94);
  filter: blur(5px);
  transition: opacity .4s ease, transform .52s cubic-bezier(.16,1,.3,1), filter .38s ease;
}

.video-search-modal.show .video-search-panel {
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.video-search-modal.show .video-search-header,
.video-search-modal.show .video-search-input-wrapper,
.video-search-modal.show .video-search-results,
.video-search-modal.show .video-search-message {
  animation: modalContentRise .5s .08s both cubic-bezier(.2,.8,.2,1);
}

/* Login/register modal now animates smoothly in both directions. */
.auth-modal {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(6, 29, 51, 0);
  backdrop-filter: blur(0);
  transition: opacity .35s ease, visibility .35s ease, background .35s ease, backdrop-filter .35s ease;
}

.auth-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  background: rgba(6, 29, 51, .72);
  backdrop-filter: blur(9px);
}

.auth-box {
  opacity: 0;
  transform: translateY(34px) scale(.94);
  filter: blur(4px);
  animation: none;
  transition: opacity .32s ease, transform .48s cubic-bezier(.16,1,.3,1), filter .32s ease;
}

.auth-modal.show .auth-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.auth-modal.show .auth-header,
.auth-modal.show .auth-tabs,
.auth-modal.show form {
  animation: modalContentRise .48s .08s both cubic-bezier(.2,.8,.2,1);
}

@keyframes modalContentRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  nav .nav-link::after,
  nav .relative.group > .absolute a::before,
  .video-search-modal,
  .video-search-panel,
  .auth-modal,
  .auth-box,
  .search-toggle::after,
  .welcome-search-link::after,
  .login-register-btn::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ================================================================
   NAV ARROWS + ZOOM MODALS — FINAL HOVER BEHAVIOR
================================================================ */

/* Main menu: a double-headed gold arrow grows outward from the center. */
nav .nav-link {
  overflow: visible;
}

nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -11px;
  width: calc(100% + 14px);
  height: 10px;
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  background:
    linear-gradient(45deg, transparent 42%, #d4af37 43% 57%, transparent 58%) left center / 8px 8px no-repeat,
    linear-gradient(-45deg, transparent 42%, #d4af37 43% 57%, transparent 58%) right center / 8px 8px no-repeat,
    linear-gradient(#d4af37, #d4af37) center / calc(100% - 11px) 2px no-repeat;
  box-shadow: none;
  transition:
    transform .44s cubic-bezier(.16, 1, .3, 1),
    opacity .2s ease;
}

nav .nav-link:hover::after,
nav .nav-link:focus-visible::after,
nav .nav-link[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

/* Submenu: a right arrow slides in from the left and pushes the text gently. */
nav .relative.group > .absolute a {
  position: relative;
  overflow: visible;
  padding-left: 0;
  transform: translateX(0);
  transition:
    color .28s ease,
    padding-left .38s cubic-bezier(.16, 1, .3, 1),
    transform .38s cubic-bezier(.16, 1, .3, 1);
}

nav .relative.group > .absolute a::before {
  content: "→";
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 0;
  right: auto;
  width: auto;
  height: auto;
  opacity: 0;
  color: #d4af37;
  background: none;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  transform: translate(-14px, -50%);
  transform-origin: center;
  transition:
    opacity .24s ease,
    transform .4s cubic-bezier(.16, 1, .3, 1);
}

nav .relative.group > .absolute a:hover,
nav .relative.group > .absolute a:focus-visible,
nav .relative.group > .absolute a[aria-current="page"] {
  padding-left: 23px;
  transform: translateX(3px);
}

nav .relative.group > .absolute a:hover::before,
nav .relative.group > .absolute a:focus-visible::before,
nav .relative.group > .absolute a[aria-current="page"]::before {
  opacity: 1;
  transform: translate(0, -50%);
}

/* Search opens with a centered zoom and subtle focus snap. */
.video-search-panel {
  opacity: 0;
  transform: scale(.72);
  transform-origin: center center;
  filter: blur(8px);
  transition:
    opacity .26s ease,
    transform .5s cubic-bezier(.16, 1, .3, 1),
    filter .32s ease;
}

.video-search-modal.show .video-search-panel {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  animation: searchZoomSettle .58s cubic-bezier(.16, 1, .3, 1) both;
}

/* Login/Register uses a slightly softer zoom with a tiny vertical lift. */
.auth-box {
  opacity: 0;
  transform: translateY(18px) scale(.76);
  transform-origin: center center;
  filter: blur(7px);
  transition:
    opacity .25s ease,
    transform .5s cubic-bezier(.16, 1, .3, 1),
    filter .3s ease;
}

.auth-modal.show .auth-box {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
  animation: authZoomSettle .56s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes searchZoomSettle {
  0%   { opacity: 0; transform: scale(.72); }
  72%  { opacity: 1; transform: scale(1.025); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes authZoomSettle {
  0%   { opacity: 0; transform: translateY(18px) scale(.76); }
  74%  { opacity: 1; transform: translateY(-2px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  nav .nav-link::after,
  nav .relative.group > .absolute a,
  nav .relative.group > .absolute a::before,
  .video-search-panel,
  .auth-box {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* ================================================================
   FINAL NAVIGATION + MODAL ANIMATION REFINEMENT
   Replace the previous final refinement block with this one.
================================================================ */

/* Main navigation: the underline visibly travels from the center outward. */
nav .nav-link {
  position: relative;
  overflow: visible;
}

nav .nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #f2dc82, #d4af37);
  opacity: 1;
  transform: translateX(-50%);
  box-shadow: 0 1px 6px rgba(212, 175, 55, .32);
  transition:
    width .95s cubic-bezier(.22, .61, .36, 1),
    box-shadow .95s ease;
}

nav .nav-link:hover::after,
nav .nav-link:focus-visible::after,
nav .nav-link[aria-current="page"]::after {
  width: calc(100% + 8px);
  box-shadow: 0 2px 10px rgba(212, 175, 55, .42);
}

/* Submenu: the underline clearly draws from left to right. */
nav .relative.group > .absolute a {
  position: relative;
  overflow: hidden;
  padding-left: 0;
  transform: none;
  transition:
    color .42s ease,
    letter-spacing .65s cubic-bezier(.22, .61, .36, 1);
}

nav .relative.group > .absolute a::before {
  content: "";
  position: absolute;
  left: 0;
  right: auto;
  top: auto;
  bottom: 5px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d4af37, #f2dc82);
  opacity: 1;
  transform: none;
  transition: width .9s cubic-bezier(.22, .61, .36, 1);
}

nav .relative.group > .absolute a:hover,
nav .relative.group > .absolute a:focus-visible,
nav .relative.group > .absolute a[aria-current="page"] {
  color: #d4af37;
  padding-left: 0;
  transform: none;
  letter-spacing: .15px;
}

nav .relative.group > .absolute a:hover::before,
nav .relative.group > .absolute a:focus-visible::before,
nav .relative.group > .absolute a[aria-current="page"]::before {
  width: 100%;
}

/* Search popup: clear zoom-in on open and zoom-out on close. */
.video-search-panel {
  opacity: 0;
  transform: scale(.68);
  transform-origin: center;
  filter: blur(8px);
  transition:
    opacity .32s ease,
    transform .62s cubic-bezier(.16, 1, .3, 1),
    filter .42s ease;
  animation: none;
}

.video-search-modal.show .video-search-panel {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  animation: refinedPopupZoom .68s cubic-bezier(.16, 1, .3, 1) both;
}

/* Login/Register popup: matching zoom animation. */
.auth-box {
  opacity: 0;
  transform: scale(.68);
  transform-origin: center;
  filter: blur(8px);
  transition:
    opacity .32s ease,
    transform .62s cubic-bezier(.16, 1, .3, 1),
    filter .42s ease;
  animation: none;
}

.auth-modal.show .auth-box {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
  animation: refinedPopupZoom .68s cubic-bezier(.16, 1, .3, 1) both;
}

@keyframes refinedPopupZoom {
  0% {
    opacity: 0;
    transform: scale(.68);
    filter: blur(8px);
  }
  72% {
    opacity: 1;
    transform: scale(1.025);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  nav .nav-link::after,
  nav .relative.group > .absolute a,
  nav .relative.group > .absolute a::before,
  .video-search-panel,
  .auth-box {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
/* =========================================================
   MOTION SYSTEM — SMOOTHER, CONSISTENT, GPU-FRIENDLY
   Final overrides to normalize animation timing and remove
   abrupt display/visibility changes across interactive UI.
========================================================= */
:root {
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 520ms;
  --ease-standard: cubic-bezier(.2, .8, .2, 1);
  --ease-emphasized: cubic-bezier(.16, 1, .3, 1);
  --ease-exit: cubic-bezier(.4, 0, 1, 1);
}

/* Avoid expensive transitions such as `all`. */
.nav-link,
.search-toggle,
.video-search-close,
.video-result-card,
.gold-action-btn,
.outline-action-btn,
.login-register-btn,
.included-card,
.welcome-search-link,
.welcome-start-button,
.welcome-register-button,
.welcome-video-item,
.welcome-watch-button,
.welcome-youtube-button,
.video-player-close,
.gallery-arrows button,
.gallery-thumbs img {
  transition-timing-function: var(--ease-standard);
}

/* GPU promotion only for elements that actually animate. */
.video-search-panel,
.video-player-dialog,
.auth-box,
nav .relative.group > .absolute,
.video-result-card,
.included-card,
.welcome-video-item,
.gold-action-btn,
.outline-action-btn,
.btn-primary,
.btn-video,
.search-toggle {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Navigation underline: animate scale rather than width. */
.nav-link::after {
  left: 0;
  right: 0;
  width: auto;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--motion-base) var(--ease-emphasized);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link[aria-current="page"]::after {
  width: auto;
  transform: scaleX(1);
}

/* Dropdown opens smoothly and remains animatable. */
nav .relative.group > .absolute,
.group .absolute {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0) scale(.985);
  transform-origin: top center;
  transition:
    opacity var(--motion-fast) var(--ease-standard),
    transform var(--motion-base) var(--ease-emphasized),
    visibility 0s linear var(--motion-base);
}

nav .relative.group:hover > .absolute,
nav .relative.group:focus-within > .absolute,
.group:hover .absolute,
.group:focus-within .absolute {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: 0s;
}

/* Search and video overlays use one consistent entrance curve. */
.video-search-modal,
.video-player-modal {
  transition:
    opacity var(--motion-base) var(--ease-standard),
    visibility 0s linear var(--motion-base);
}

.video-search-modal.show,
.video-player-modal.show {
  transition-delay: 0s;
}

.video-search-panel,
.video-player-dialog {
  filter: none;
  animation: none !important;
  opacity: 0;
  transform: translate3d(0, 22px, 0) scale(.975);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-slow) var(--ease-emphasized);
}

.video-search-modal.show .video-search-panel,
.video-player-modal.show .video-player-dialog {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Auth modal: keep display controlled by existing JS, animate the box. */
.auth-box {
  filter: none;
  animation: none !important;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(.975);
  transition:
    opacity var(--motion-base) var(--ease-standard),
    transform var(--motion-slow) var(--ease-emphasized);
}

.auth-modal.show .auth-box {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Cards: smaller movement feels more polished and avoids jumpiness. */
.video-result-card,
.included-card,
.welcome-video-item {
  transition:
    transform var(--motion-base) var(--ease-emphasized),
    box-shadow var(--motion-base) var(--ease-standard),
    border-color var(--motion-fast) ease;
}

.video-result-card:hover,
.included-card:hover,
.welcome-video-item:hover {
  transform: translate3d(0, -4px, 0);
}

/* Buttons: consistent hover and press feedback. */
.gold-action-btn,
.outline-action-btn,
.btn-primary,
.btn-video,
.login-register-btn,
.welcome-start-button,
.welcome-register-button,
.welcome-watch-button,
.welcome-youtube-button,
.search-toggle {
  transition:
    transform var(--motion-base) var(--ease-emphasized),
    box-shadow var(--motion-base) var(--ease-standard),
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.gold-action-btn:active,
.outline-action-btn:active,
.btn-primary:active,
.btn-video:active,
.login-register-btn:active,
.welcome-start-button:active,
.welcome-register-button:active,
.welcome-watch-button:active,
.welcome-youtube-button:active,
.search-toggle:active {
  transform: translate3d(0, 0, 0) scale(.97);
  transition-duration: 90ms;
}

/* Image zooms remain subtle and smooth. */
.video-result-thumbnail img,
.welcome-video-preview img {
  transition: transform var(--motion-slow) var(--ease-emphasized);
  will-change: transform;
}

.video-result-card:hover .video-result-thumbnail img,
.welcome-video-item:hover .welcome-video-preview img {
  transform: scale(1.045);
}

/* Gallery fade without competing transitions. */
#award-image {
  opacity: 1;
  transition: opacity var(--motion-base) var(--ease-standard);
}

#award-image.fade-out {
  opacity: 0;
}

/* Better keyboard feedback without movement. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid rgba(212, 175, 55, .4);
  outline-offset: 3px;
}

/* Full reduced-motion coverage. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .gallery-main img {
    animation: none !important;
  }
}
/* ================================================================
   VERIFIED INTERACTION OVERRIDES
   Keep this block LAST in styles.css.
================================================================ */

/* Main navigation underline: center -> outward */
nav .nav-link::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: -9px !important;
  width: auto !important;
  height: 2px !important;
  opacity: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #d4af37, #f4d77b, #d4af37) !important;
  transform: scaleX(0) !important;
  transform-origin: center center !important;
  transition: transform 420ms cubic-bezier(.16,1,.3,1), opacity 180ms ease !important;
}

nav .nav-link:hover::after,
nav .nav-link:focus-visible::after,
nav .nav-link[aria-current="page"]::after {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

/* Desktop Services window: visible zoom/fade instead of Tailwind display jump */
nav .relative.group > .absolute {
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate3d(0, 14px, 0) scale(.96) !important;
  transform-origin: top center !important;
  transition:
    opacity 220ms ease,
    transform 420ms cubic-bezier(.16,1,.3,1),
    visibility 0s linear 420ms !important;
}

nav .relative.group:hover > .absolute,
nav .relative.group:focus-within > .absolute {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
  transition-delay: 0s !important;
}

/* Submenu underline: left -> right */
nav .relative.group > .absolute a {
  position: relative !important;
  overflow: hidden !important;
  padding-left: 0 !important;
  transform: none !important;
  transition: color 240ms ease, transform 300ms cubic-bezier(.16,1,.3,1) !important;
}

nav .relative.group > .absolute a::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: 5px !important;
  width: auto !important;
  height: 2px !important;
  opacity: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg, #d4af37, #f4d77b, transparent) !important;
  transform: scaleX(0) !important;
  transform-origin: left center !important;
  transition: transform 380ms cubic-bezier(.16,1,.3,1), opacity 160ms ease !important;
}

nav .relative.group > .absolute a:hover,
nav .relative.group > .absolute a:focus-visible,
nav .relative.group > .absolute a[aria-current="page"] {
  color: #d4af37 !important;
  transform: translateX(4px) !important;
}

nav .relative.group > .absolute a:hover::before,
nav .relative.group > .absolute a:focus-visible::before,
nav .relative.group > .absolute a[aria-current="page"]::before {
  opacity: 1 !important;
  transform: scaleX(1) !important;
}

/* Search overlay and panel */
.video-search-modal {
  display: flex !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: rgba(6,29,51,0) !important;
  backdrop-filter: blur(0) !important;
  transition:
    opacity 300ms ease,
    background 360ms ease,
    backdrop-filter 360ms ease,
    visibility 0s linear 520ms !important;
}

.video-search-modal.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: rgba(6,29,51,.82) !important;
  backdrop-filter: blur(12px) !important;
  transition-delay: 0s !important;
}

.video-search-panel {
  opacity: 0 !important;
  filter: blur(5px) !important;
  transform: translate3d(0, 20px, 0) scale(.84) !important;
  transform-origin: center center !important;
  animation: none !important;
  transition:
    opacity 280ms ease,
    filter 360ms ease,
    transform 520ms cubic-bezier(.16,1,.3,1) !important;
}

.video-search-modal.show .video-search-panel {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Login/Register overlay and box */
.auth-modal {
  display: flex !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  background: rgba(6,29,51,0) !important;
  backdrop-filter: blur(0) !important;
  transition:
    opacity 300ms ease,
    background 360ms ease,
    backdrop-filter 360ms ease,
    visibility 0s linear 520ms !important;
}

.auth-modal.show {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  background: rgba(6,29,51,.72) !important;
  backdrop-filter: blur(9px) !important;
  transition-delay: 0s !important;
}

.auth-box {
  opacity: 0 !important;
  filter: blur(5px) !important;
  transform: translate3d(0, 18px, 0) scale(.82) !important;
  transform-origin: center center !important;
  animation: none !important;
  transition:
    opacity 280ms ease,
    filter 340ms ease,
    transform 520ms cubic-bezier(.16,1,.3,1) !important;
}

.auth-modal.show .auth-box {
  opacity: 1 !important;
  filter: blur(0) !important;
  transform: translate3d(0, 0, 0) scale(1) !important;
}

/* Do not suppress motion unless the user explicitly enables reduced motion. */
@media (prefers-reduced-motion: reduce) {
  nav .nav-link::after,
  nav .relative.group > .absolute,
  nav .relative.group > .absolute a,
  nav .relative.group > .absolute a::before,
  .video-search-modal,
  .video-search-panel,
  .auth-modal,
  .auth-box {
    transition-duration: .01ms !important;
  }
}

/* ================================================================
   HOMEPAGE MOBILE NAVIGATION + FINAL ACCESSIBILITY FIXES
================================================================ */
.home-mobile-toggle {
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d9dee5;
  border-radius: 50%;
  background: #fff;
  color: #0a2540;
  font-size: 20px;
  cursor: pointer;
}

.home-mobile-menu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition: max-height 420ms cubic-bezier(.16,1,.3,1), opacity 220ms ease, transform 320ms ease;
}

.home-mobile-menu.show {
  max-height: 520px;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 20px;
}

.home-mobile-menu a,
.home-mobile-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  border-bottom: 1px solid #edf0f3;
  background: transparent;
  color: #0a2540;
  text-align: left;
  font-weight: 700;
}

.home-mobile-menu a:hover,
.home-mobile-menu button:hover {
  color: #b99226;
}

@media (min-width: 768px) {
  .home-mobile-toggle,
  .home-mobile-menu {
    display: none !important;
  }
}

@media (max-width: 767px) {
  nav .py-6 { padding-top: 14px; padding-bottom: 14px; }
  #logo-img { height: 58px; }
}

/* ================================================================
   CONTACT FOOTER
================================================================ */
#contact {
  scroll-margin-top: 105px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 78px 6% 0;
  color: #e7edf4;
  background:
    radial-gradient(circle at 50% -20%, rgba(212, 175, 55, .16), transparent 38%),
    linear-gradient(145deg, #041526 0%, #071f3b 52%, #041321 100%);
  border-top: 1px solid rgba(212, 175, 55, .34);
}

.site-footer-glow {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -220px;
  bottom: -280px;
  border-radius: 50%;
  background: rgba(212, 175, 55, .08);
  filter: blur(30px);
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 64px;
  align-items: start;
}

.footer-brand-column,
.footer-newsletter,
.footer-contact-column {
  min-width: 0;
}

.footer-logo-link {
  display: inline-flex;
  margin-bottom: 22px;
}

.footer-logo {
  width: min(260px, 100%);
  height: auto;
  filter: brightness(0) invert(1);
  opacity: .96;
}

.footer-description {
  max-width: 360px;
  color: #bdc9d6;
  font-size: 14px;
  line-height: 1.75;
}

.footer-credentials {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 25px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #f5f7fa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .5px;
}

.footer-eyebrow {
  margin-bottom: 10px;
  color: #d4af37;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.6px;
}

.footer-newsletter h2,
.footer-contact-column h2 {
  margin: 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(25px, 2.4vw, 34px);
  line-height: 1.2;
}

.footer-newsletter > p:not(.footer-eyebrow):not(.footer-signup-message) {
  max-width: 470px;
  margin-top: 13px;
  color: #bdc9d6;
  font-size: 14px;
  line-height: 1.65;
}

.footer-signup-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 25px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .055);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.footer-signup-form:focus-within {
  border-color: rgba(212, 175, 55, .75);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, .1);
}

.footer-signup-form input {
  min-width: 0;
  height: 47px;
  padding: 0 15px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
}

.footer-signup-form input::placeholder {
  color: #93a3b4;
}

.footer-signup-btn {
  min-height: 47px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #cda62f, #e4c65e);
  color: #061d33;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.footer-signup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(212, 175, 55, .28);
}

.footer-signup-btn i {
  transition: transform .25s ease;
}

.footer-signup-btn:hover i {
  transform: translateX(4px);
}

.footer-signup-message {
  min-height: 22px;
  margin-top: 9px;
  color: #e4c65e;
  font-size: 12px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 24px;
  font-style: normal;
}

.footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #bdc9d6;
  font-size: 13px;
  text-decoration: none;
  transition: color .25s ease, transform .25s ease;
}

.footer-contact-list a:hover {
  color: #e4c65e;
  transform: translateX(3px);
}

.footer-contact-list i {
  width: 17px;
  color: #d4af37;
  text-align: center;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}

.footer-socials a {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.footer-socials a:hover {
  border-color: #d4af37;
  background: #d4af37;
  color: #061d33;
  transform: translateY(-3px);
}

.site-footer-bottom {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 58px auto 0;
  padding: 23px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: #8fa0b1;
  font-size: 12px;
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d7bd64;
  font-weight: 700;
  text-decoration: none;
}

.footer-back-to-top i {
  transition: transform .25s ease;
}

.footer-back-to-top:hover i {
  transform: translateY(-3px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 950px) {
  .site-footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .footer-brand-column {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(200px, .8fr) 1.2fr;
    column-gap: 50px;
    align-items: start;
  }

  .footer-logo-link,
  .footer-description {
    grid-column: 1;
  }

  .footer-credentials {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0;
  }
}

@media (max-width: 650px) {
  .site-footer {
    padding: 60px 6% 0;
  }

  .site-footer-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .footer-brand-column {
    grid-column: auto;
    display: block;
  }

  .footer-credentials {
    margin-top: 25px;
  }

  .footer-signup-form {
    grid-template-columns: 1fr;
  }

  .footer-signup-btn {
    width: 100%;
  }

  .site-footer-bottom {
    margin-top: 44px;
    flex-direction: column;
    align-items: flex-start;
  }
}


/* =====================================
   SUPABASE AUTHENTICATION UI
===================================== */
.auth-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.auth-field > span {
  color: #0a2540;
  font-size: 12px;
  font-weight: 700;
}

.auth-message {
  min-height: 20px;
  margin: 2px 0 0;
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.auth-message.error { color: #b42318; }
.auth-message.success { color: #18794e; }

.auth-form button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.forgot-password-btn {
  height: auto !important;
  min-height: 34px;
  padding: 5px !important;
  border: 0 !important;
  background: transparent !important;
  color: #0a2540 !important;
  font-size: 12px;
  box-shadow: none !important;
}

.forgot-password-btn:hover {
  color: #b99226 !important;
  transform: none !important;
}

.login-register-btn.logged-in {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-mobile-auth-button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  color: #0a2540;
  font-weight: 700;
  text-align: left;
}

.home-mobile-auth-button:hover { color: #b99226; }

.reset-password-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px 18px;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 38%),
    #071f3b;
}

.reset-password-card {
  width: min(440px, 100%);
  padding: 38px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.reset-password-logo {
  width: min(235px, 80%);
  height: auto;
  margin: 0 auto 22px;
  display: block;
}

.reset-password-card h1 {
  color: #0a2540;
  font-size: 30px;
  font-weight: 800;
  text-align: center;
}

.reset-password-card > p {
  margin: 10px 0 24px;
  color: #6b7280;
  line-height: 1.6;
  text-align: center;
}

.reset-password-card .auth-form button[type="submit"] {
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d4af37, #f4d77b);
  color: #0a2540;
  font-weight: 800;
}

.reset-back-link {
  margin-top: 18px;
  display: block;
  color: #0a2540;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.reset-back-link:hover { color: #b99226; }


/* =====================================
   CUSTOM LOGOUT MODAL
===================================== */

.logout-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(6, 29, 51, 0.76);
  backdrop-filter: blur(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}

.logout-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.logout-box {
  position: relative;
  width: min(92vw, 430px);
  overflow: hidden;
  padding: 42px 38px 34px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
  text-align: center;

  opacity: 0;
  transform: translateY(24px) scale(0.94);

  transition:
    opacity 0.32s ease,
    transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.logout-modal.show .logout-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.logout-box::before {
  content: "";
  position: absolute;
  top: -95px;
  left: 50%;
  width: 250px;
  height: 180px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.14);
  filter: blur(38px);
  transform: translateX(-50%);
  pointer-events: none;
}

.logout-close {
  position: absolute;
  top: 17px;
  right: 20px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #0a2540;
  font-size: 18px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.logout-close:hover {
  background: #0a2540;
  color: #fff;
  transform: rotate(90deg);
}

.logout-icon {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 50%;
  background: linear-gradient(
    145deg,
    rgba(212, 175, 55, 0.15),
    rgba(212, 175, 55, 0.04)
  );
  color: #c49a25;
  font-size: 30px;
}

.logout-eyebrow {
  margin-bottom: 8px;
  color: #c49a25;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.2px;
}

.logout-box h2 {
  color: #0a2540;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(28px, 5vw, 36px);
  line-height: 1.15;
}

.logout-description {
  max-width: 330px;
  margin: 14px auto 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.logout-account {
  display: block;
  margin-top: 4px;
  color: #0a2540;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.logout-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 28px;
}

.logout-cancel,
.logout-confirm {
  min-height: 52px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.7px;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.logout-cancel {
  border: 1px solid #d9e0e8;
  background: #fff;
  color: #0a2540;
}

.logout-cancel:hover {
  border-color: #0a2540;
  background: #f8fafc;
  transform: translateY(-2px);
}

.logout-confirm {
  border: 1px solid transparent;
  background: linear-gradient(135deg, #0a2540, #12395f);
  color: #fff;
  box-shadow: 0 12px 25px rgba(10, 37, 64, 0.22);
}

.logout-confirm:hover {
  border-color: #d4af37;
  box-shadow: 0 16px 32px rgba(10, 37, 64, 0.3);
  transform: translateY(-2px);
}

.logout-confirm:disabled,
.logout-cancel:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.logout-message {
  min-height: 20px;
  margin-top: 12px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 480px) {
  .logout-box {
    padding: 38px 23px 28px;
    border-radius: 22px;
  }

  .logout-actions {
    grid-template-columns: 1fr;
  }

  .logout-cancel {
    order: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logout-modal,
  .logout-box,
  .logout-close,
  .logout-cancel,
  .logout-confirm {
    transition: none !important;
  }
}


/* =====================================
   VIDEO SEARCH CARD ALIGNMENT FIX
===================================== */

.video-result-grid {
  align-items: stretch;
}

.video-result-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 390px;
}

.video-result-thumbnail {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  overflow: hidden;
  background: #0a2540;
}

.video-result-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.video-result-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.video-result-category {
  min-height: 15px;
  margin-bottom: 8px;
  display: block;
  color: #d4af37;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.video-result-content h4 {
  min-height: 45px;
  margin: 0;
  color: #0a2540;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.video-result-content p {
  min-height: 60px;
  margin-top: 10px;
  margin-bottom: 0;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.video-result-content mark {
  padding: 0;
  background: rgba(212, 175, 55, 0.2);
  color: inherit;
}

@media (max-width: 800px) {
  .video-result-card {
    min-height: 365px;
  }

  .video-result-content h4 {
    min-height: 44px;
  }

  .video-result-content p {
    min-height: 60px;
  }
}

@media (max-width: 540px) {
  .video-result-card {
    min-height: 0;
  }

  .video-result-content h4,
  .video-result-content p {
    min-height: 0;
  }
}

/* =====================================
   UNIFIED MODAL OPEN / CLOSE ANIMATIONS
   Search, Login/Register, and Logout
===================================== */

:root {
  --wts-modal-duration: 0.34s;
  --wts-modal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* -------------------------------------
   LOGIN / REGISTER MODAL
------------------------------------- */

.auth-modal {
  display: flex !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0);
  transition:
    opacity var(--wts-modal-duration) ease,
    visibility var(--wts-modal-duration) ease,
    backdrop-filter var(--wts-modal-duration) ease;
}

.auth-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.auth-box {
  opacity: 0;
  transform: translateY(28px) scale(0.88);
  transform-origin: center;
  animation: none !important;
  transition:
    opacity var(--wts-modal-duration) ease,
    transform var(--wts-modal-duration) var(--wts-modal-ease);
}

.auth-modal.show .auth-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Gentle stagger for the login/register content */
.auth-modal.show .auth-header,
.auth-modal.show .auth-tabs,
.auth-modal.show .auth-form:not(.hidden-auth) {
  animation: wtsModalContentIn 0.42s var(--wts-modal-ease) both;
}

.auth-modal.show .auth-tabs {
  animation-delay: 0.05s;
}

.auth-modal.show .auth-form:not(.hidden-auth) {
  animation-delay: 0.1s;
}

/* -------------------------------------
   VIDEO SEARCH MODAL
------------------------------------- */

.video-search-modal {
  transition:
    opacity var(--wts-modal-duration) ease,
    visibility var(--wts-modal-duration) ease,
    backdrop-filter var(--wts-modal-duration) ease;
}

.video-search-panel {
  opacity: 0;
  transform: translateY(-24px) scale(0.9);
  transform-origin: top center;
  transition:
    opacity var(--wts-modal-duration) ease,
    transform var(--wts-modal-duration) var(--wts-modal-ease);
}

.video-search-modal.show .video-search-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.video-search-modal.show .video-search-header,
.video-search-modal.show .video-search-input-wrapper,
.video-search-modal.show .video-search-results {
  animation: wtsModalContentIn 0.44s var(--wts-modal-ease) both;
}

.video-search-modal.show .video-search-input-wrapper {
  animation-delay: 0.06s;
}

.video-search-modal.show .video-search-results {
  animation-delay: 0.12s;
}

/* -------------------------------------
   PROFILE / LOGOUT MODAL
------------------------------------- */

.logout-modal {
  transition:
    opacity var(--wts-modal-duration) ease,
    visibility var(--wts-modal-duration) ease,
    backdrop-filter var(--wts-modal-duration) ease;
}

.logout-box {
  opacity: 0;
  transform: translateY(26px) scale(0.88);
  transform-origin: center;
  transition:
    opacity var(--wts-modal-duration) ease,
    transform var(--wts-modal-duration) var(--wts-modal-ease);
}

.logout-modal.show .logout-box {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.logout-modal.show .logout-icon,
.logout-modal.show .logout-eyebrow,
.logout-modal.show .logout-box h2,
.logout-modal.show .logout-description,
.logout-modal.show .logout-actions {
  animation: wtsModalContentIn 0.42s var(--wts-modal-ease) both;
}

.logout-modal.show .logout-eyebrow {
  animation-delay: 0.03s;
}

.logout-modal.show .logout-box h2 {
  animation-delay: 0.06s;
}

.logout-modal.show .logout-description {
  animation-delay: 0.09s;
}

.logout-modal.show .logout-actions {
  animation-delay: 0.12s;
}

/* -------------------------------------
   SHARED ANIMATION
------------------------------------- */

@keyframes wtsModalContentIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Keep animation smooth on smaller screens */
@media (max-width: 600px) {
  .auth-box,
  .logout-box {
    transform: translateY(20px) scale(0.94);
  }

  .video-search-panel {
    transform: translateY(-16px) scale(0.95);
  }
}

/* ================================================================
   ZOOM GROUP SESSIONS
================================================================ */
.zoom-sessions-width {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.zoom-sessions-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  background:
    linear-gradient(90deg, rgba(247,248,249,.98), rgba(247,248,249,.86) 68%, rgba(247,248,249,.52)),
    url("assets/hero-travel.jpg") center 44% / cover no-repeat;
}

.zoom-sessions-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -95px;
  width: 360px;
  height: 210px;
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.zoom-sessions-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 220px 1px minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

.zoom-sessions-hero-logo {
  width: 220px;
  height: auto;
}

.zoom-sessions-hero-rule {
  width: 1px;
  height: 190px;
  background: rgba(10,37,64,.25);
}

.zoom-sessions-hero-copy {
  display: grid;
  gap: 7px;
}

.zoom-sessions-hero-copy span,
.zoom-sessions-hero-copy strong {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  letter-spacing: .06em;
}

.zoom-sessions-hero-copy span {
  color: #0a2540;
  font-weight: 900;
}

.zoom-sessions-hero-copy strong {
  color: #d1a221;
  font-weight: 800;
}

.zoom-sessions-hero-copy p {
  margin: 19px 0 0;
  color: #566675;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .24em;
}

.zoom-schedule-section {
  padding: 82px 0 94px;
  background: #fff;
}

.zoom-sessions-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.zoom-sessions-heading > p,
.zoom-recordings-heading span {
  margin: 0 0 10px;
  color: #b78920;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.zoom-sessions-heading h1,
.zoom-recordings-heading h2 {
  margin: 0;
  color: #0a2540;
  font: 700 clamp(34px, 4vw, 50px)/1.12 Georgia, serif;
}

.zoom-sessions-heading > span {
  display: block;
  margin-top: 16px;
  color: #657482;
  font-size: 16px;
  line-height: 1.7;
}

.zoom-weekly-call {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px;
  margin-bottom: 26px;
  padding: 25px 28px;
  border-radius: 22px;
  background: linear-gradient(135deg, #0a2540, #123c61);
  box-shadow: 0 22px 52px rgba(10,37,64,.2);
  color: #fff;
}

.zoom-weekly-date {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  align-content: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 17px;
  background: rgba(255,255,255,.08);
}

.zoom-weekly-date i {
  margin-bottom: 4px;
  color: #e8bd43;
}

.zoom-weekly-date span {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.zoom-weekly-date strong {
  font-size: 21px;
  line-height: 1;
}

.zoom-weekly-copy > span {
  color: #e8bd43;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.zoom-weekly-copy h2 {
  margin: 4px 0 7px;
  font: 700 28px/1.12 Georgia, serif;
}

.zoom-weekly-copy p {
  margin: 0;
  color: #cad5de;
  font-size: 14px;
}

.zoom-weekly-copy p i {
  margin-right: 6px;
  color: #e8bd43;
}

.zoom-primary-button,
.zoom-register-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease;
}

.zoom-primary-button {
  min-height: 50px;
  padding: 0 22px;
  background: #e0b638;
  color: #0a2540;
}

.zoom-primary-button:hover,
.zoom-register-button:hover {
  transform: translateY(-2px);
}

.zoom-primary-button:hover {
  box-shadow: 0 12px 26px rgba(224,182,56,.25);
}

.zoom-session-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.zoom-session-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  min-height: 330px;
  padding: 26px;
  border: 1px solid #e3e8ec;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10,37,64,.075);
}

.zoom-session-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.zoom-session-type {
  color: #b78920;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.zoom-session-number {
  color: #dce2e7;
  font: 700 28px/1 Georgia, serif;
}

.zoom-session-card h2 {
  min-height: 58px;
  margin: 16px 0 19px;
  color: #0a2540;
  font: 700 23px/1.25 Georgia, serif;
}

.zoom-session-meta {
  display: grid;
  align-content: start;
  gap: 9px;
}

.zoom-session-meta p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #60717f;
  font-size: 13px;
}

.zoom-session-meta i {
  width: 16px;
  color: #bd8e21;
  text-align: center;
}

.zoom-register-button {
  min-height: 46px;
  margin-top: 24px;
  border: 1px solid rgba(10,37,64,.16);
  color: #0a2540;
}

.zoom-register-button:hover {
  border-color: #d4af37;
  box-shadow: 0 10px 22px rgba(10,37,64,.09);
}

.zoom-recordings-section {
  padding: 88px 0 100px;
  background: #f2f5f7;
}

.zoom-recordings-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.zoom-recordings-heading p {
  max-width: 390px;
  margin: 0;
  color: #687987;
  line-height: 1.65;
  text-align: right;
}

.zoom-session-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.zoom-recordings-empty {
  grid-column: 1 / -1;
  min-height: 260px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #cbd5dd;
  border-radius: 20px;
  background: rgba(255,255,255,.68);
  color: #687987;
  text-align: center;
}

.zoom-recordings-empty i {
  color: #d4af37;
  font-size: 43px;
}

.zoom-recordings-empty strong {
  color: #0a2540;
  font: 700 22px/1.2 Georgia, serif;
}

.zoom-recording-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(10,37,64,.09);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.zoom-recording-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(10,37,64,.14);
}

.zoom-recording-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a2540;
}

.zoom-recording-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-recording-thumb i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 39px;
  text-shadow: 0 4px 16px rgba(0,0,0,.42);
}

.zoom-recording-copy {
  display: grid;
  gap: 7px;
  padding: 20px;
}

.zoom-recording-copy small {
  color: #b78920;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .13em;
}

.zoom-recording-copy strong {
  color: #0a2540;
  font: 700 20px/1.25 Georgia, serif;
}

.zoom-recording-copy em {
  color: #687987;
  font-size: 13px;
  font-style: normal;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .zoom-sessions-hero-inner {
    grid-template-columns: 165px 1px minmax(0, 1fr);
    gap: 28px;
  }

  .zoom-sessions-hero-logo {
    width: 165px;
  }

  .zoom-sessions-hero-rule {
    height: 145px;
  }

  .zoom-weekly-call {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .zoom-primary-button {
    grid-column: 1 / -1;
  }

  .zoom-session-grid,
  .zoom-session-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .zoom-sessions-hero {
    padding: 45px 0 50px;
  }

  .zoom-sessions-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }

  .zoom-sessions-hero-logo {
    width: 170px;
  }

  .zoom-sessions-hero-rule {
    width: 90px;
    height: 1px;
  }

  .zoom-sessions-hero-copy span,
  .zoom-sessions-hero-copy strong {
    font-size: clamp(28px, 9vw, 41px);
  }

  .zoom-sessions-hero-copy p {
    font-size: 9px;
    letter-spacing: .14em;
  }

  .zoom-schedule-section,
  .zoom-recordings-section {
    padding: 62px 0 70px;
  }

  .zoom-weekly-call {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 20px;
    text-align: center;
  }

  .zoom-primary-button {
    grid-column: auto;
    width: 100%;
  }

  .zoom-session-grid,
  .zoom-session-video-grid {
    grid-template-columns: 1fr;
  }

  .zoom-session-card {
    min-height: 0;
  }

  .zoom-session-card h2 {
    min-height: 0;
  }

  .zoom-recordings-heading {
    display: grid;
    align-items: start;
  }

  .zoom-recordings-heading p {
    text-align: left;
  }
}

/* ================================================================
   SUPPLIER CORNER
================================================================ */
.supplier-page-width {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.supplier-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 88px 0 74px;
  background:
    linear-gradient(90deg, rgba(5,20,34,.9), rgba(5,20,34,.54) 58%, rgba(5,20,34,.28)),
    url("assets/hero-travel.jpg") center 58% / cover no-repeat;
  color: #fff;
}

.supplier-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(4,18,31,.35));
}

.supplier-hero-shade {
  position: absolute;
  inset: auto -7% -48% auto;
  width: 610px;
  height: 410px;
  border: 1px solid rgba(232,189,67,.32);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.supplier-hero-content {
  position: relative;
  z-index: 1;
}

.supplier-hero-content > span {
  color: #e5bb43;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .22em;
}

.supplier-hero-content h1 {
  margin: 10px 0 15px;
  font: 700 clamp(52px, 8vw, 92px)/.98 Georgia, serif;
}

.supplier-hero-content p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #d8e0e6;
  font-size: 17px;
  line-height: 1.75;
}

.supplier-hero-content a {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  border-radius: 10px;
  background: #ddb437;
  color: #0a2540;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}

.supplier-intro {
  padding: 82px 0;
  background: #fff;
}

.supplier-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, .7fr);
  align-items: end;
  gap: 80px;
}

.supplier-eyebrow,
.supplier-section-heading span {
  margin: 0 0 10px;
  color: #b78920;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .17em;
}

.supplier-intro h2,
.supplier-section-heading h2 {
  margin: 0;
  color: #0a2540;
  font: 700 clamp(36px, 4vw, 52px)/1.12 Georgia, serif;
}

.supplier-intro h2 em {
  color: #c99c28;
  font-style: normal;
}

.supplier-intro-grid > p {
  margin: 0;
  color: #647482;
  font-size: 16px;
  line-height: 1.8;
}

.supplier-spotlights {
  padding: 86px 0 96px;
  background: #f2f5f7;
}

.supplier-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.supplier-section-heading p {
  max-width: 390px;
  margin: 0;
  color: #687987;
  line-height: 1.7;
  text-align: right;
}

.supplier-featured-video {
  margin-bottom: 22px;
}

.supplier-video-empty {
  min-height: 380px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 11px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0a2540, #164a74);
  color: #c9d4dc;
  text-align: center;
}

.supplier-video-empty i {
  color: #e2b83e;
  font-size: 52px;
}

.supplier-video-empty strong {
  color: #fff;
  font: 700 24px/1.2 Georgia, serif;
}

.supplier-featured-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10,37,64,.13);
  text-align: left;
  cursor: pointer;
}

.supplier-featured-thumb,
.supplier-video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #0a2540;
}

.supplier-featured-thumb img,
.supplier-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.supplier-featured-card:hover img,
.supplier-video-card:hover img {
  transform: scale(1.035);
}

.supplier-featured-thumb > i,
.supplier-video-thumb > i {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 52px;
  text-shadow: 0 4px 18px rgba(0,0,0,.45);
}

.supplier-featured-copy {
  display: grid;
  align-content: center;
  gap: 11px;
  padding: 34px;
}

.supplier-featured-copy small,
.supplier-video-copy small {
  color: #b78920;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.supplier-featured-copy strong {
  color: #0a2540;
  font: 700 28px/1.2 Georgia, serif;
}

.supplier-featured-copy em,
.supplier-video-copy em {
  color: #687987;
  font-size: 13px;
  font-style: normal;
  line-height: 1.6;
}

.supplier-featured-copy b {
  margin-top: 9px;
  color: #0a2540;
  font-size: 10px;
  letter-spacing: .06em;
}

.supplier-featured-copy b i {
  margin-left: 7px;
  color: #c99c28;
}

.supplier-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.supplier-video-card {
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 13px 31px rgba(10,37,64,.09);
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.supplier-video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 40px rgba(10,37,64,.14);
}

.supplier-video-thumb > i {
  font-size: 37px;
}

.supplier-video-copy {
  display: grid;
  gap: 7px;
  padding: 19px;
}

.supplier-video-copy strong {
  color: #0a2540;
  font: 700 19px/1.25 Georgia, serif;
}

.supplier-resources {
  padding: 90px 0 100px;
  background: #0a2540;
}

.supplier-section-heading-light h2 {
  color: #fff;
}

.supplier-section-heading-light p {
  color: #b8c6d1;
}

.supplier-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.supplier-resource-card {
  position: relative;
  min-height: 290px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
}

.supplier-resource-card > i {
  width: 49px;
  height: 49px;
  display: grid;
  place-items: center;
  margin-bottom: 35px;
  border-radius: 13px;
  background: rgba(226,184,62,.14);
  color: #e2b83e;
  font-size: 20px;
}

.supplier-resource-card > span {
  position: absolute;
  top: 25px;
  right: 24px;
  color: rgba(255,255,255,.17);
  font: 700 29px/1 Georgia, serif;
}

.supplier-resource-card h3 {
  margin: 0 0 12px;
  color: #fff;
  font: 700 22px/1.2 Georgia, serif;
}

.supplier-resource-card p {
  margin: 0;
  color: #b9c7d1;
  font-size: 13px;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .supplier-intro-grid {
    gap: 45px;
  }

  .supplier-video-grid,
  .supplier-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .supplier-hero {
    min-height: 430px;
    padding: 70px 0 55px;
  }

  .supplier-intro,
  .supplier-spotlights,
  .supplier-resources {
    padding: 65px 0 72px;
  }

  .supplier-intro-grid {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 25px;
  }

  .supplier-section-heading {
    display: grid;
    align-items: start;
  }

  .supplier-section-heading p {
    text-align: left;
  }

  .supplier-featured-card {
    grid-template-columns: 1fr;
  }

  .supplier-video-grid,
  .supplier-resource-grid {
    grid-template-columns: 1fr;
  }

  .supplier-resource-card {
    min-height: 240px;
  }
}

/* Supplier profiles and full resource library. */
.supplier-partners {
  padding: 88px 0 98px;
  background: #fff;
}

.supplier-profile {
  display: grid;
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
  align-items: center;
  gap: 58px;
  padding: 46px 0;
  border-top: 1px solid #e6eaee;
}

.supplier-profile:last-child {
  padding-bottom: 0;
}

.supplier-profile-reverse .supplier-profile-media {
  grid-column: 2;
  grid-row: 1;
}

/* Keep the reversed portrait column identical to the standard profile rows.
   Without this, the portrait occupies the flexible text column and grows. */
.supplier-profile-reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
}

.supplier-profile-reverse .supplier-profile-copy {
  grid-column: 1;
  grid-row: 1;
}

.supplier-profile-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background: #e9eef2;
  box-shadow: 0 22px 50px rgba(10,37,64,.14);
}

.supplier-profile-media-square {
  aspect-ratio: 1;
}

.supplier-profile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.supplier-profile-copy > span {
  color: #b78920;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.supplier-profile-copy h3 {
  margin: 8px 0 18px;
  color: #0a2540;
  font: 700 clamp(31px, 4vw, 45px)/1.12 Georgia, serif;
}

.supplier-profile-copy p {
  margin: 0 0 13px;
  color: #60717f;
  font-size: 14px;
  line-height: 1.72;
}

.supplier-profile-contact {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
  padding: 0 16px;
  border: 1px solid #d9e0e6;
  border-radius: 9px;
  color: #0a2540;
  font-size: 11px;
  font-weight: 900;
}

.supplier-resource-feature {
  display: grid;
  grid-template-columns: minmax(270px, .55fr) minmax(0, 1fr);
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.supplier-resource-contact,
.supplier-resource-summary {
  padding: 30px;
}

.supplier-resource-contact {
  display: grid;
  align-content: start;
  border-right: 1px solid rgba(255,255,255,.12);
}

.supplier-resource-contact > span {
  color: #e2b83e;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
}

.supplier-resource-contact h3,
.supplier-resource-summary h3 {
  margin: 8px 0 4px;
  color: #fff;
  font: 700 27px/1.15 Georgia, serif;
}

.supplier-resource-contact p,
.supplier-resource-summary p {
  color: #b9c7d1;
  line-height: 1.65;
}

.supplier-resource-contact p {
  margin: 0 0 19px;
}

.supplier-resource-contact a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #e6edf2;
  font-size: 12px;
}

.supplier-resource-contact a i {
  width: 17px;
  color: #e2b83e;
  text-align: center;
}

.supplier-resource-summary p {
  margin: 10px 0 20px;
}

.supplier-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.supplier-link-row a {
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  background: #e0b638;
  color: #0a2540;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .03em;
}

.supplier-resource-accordion {
  display: grid;
  gap: 12px;
}

.supplier-resource-accordion details {
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(255,255,255,.045);
}

.supplier-resource-accordion summary {
  min-height: 64px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 0 21px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.supplier-resource-accordion summary::-webkit-details-marker {
  display: none;
}

.supplier-resource-accordion summary > span {
  color: #e2b83e;
  font: 700 19px/1 Georgia, serif;
}

.supplier-resource-accordion summary > i {
  color: #e2b83e;
  transition: transform .2s ease;
}

.supplier-resource-accordion details[open] summary > i {
  transform: rotate(180deg);
}

.supplier-resource-accordion details > div {
  padding: 5px 28px 28px 71px;
  color: #bac7d1;
  font-size: 13px;
  line-height: 1.72;
}

.supplier-resource-accordion h4 {
  margin: 20px 0 7px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.supplier-resource-accordion p,
.supplier-resource-accordion ol,
.supplier-resource-accordion ul {
  margin: 0 0 12px;
}

.supplier-resource-accordion a {
  color: #efc857;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.supplier-itinerary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 17px;
}

.supplier-itinerary-grid > a {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  text-decoration: none;
}

.supplier-itinerary-grid strong {
  color: #fff;
}

.supplier-itinerary-grid span {
  color: #aebeca;
  font-size: 11px;
}

.supplier-river-note {
  margin-top: 15px;
  padding: 1px 17px 12px;
  border-left: 3px solid #e2b83e;
  background: rgba(255,255,255,.04);
}

.supplier-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 24px;
}

.supplier-link-list a {
  padding: 8px 11px;
  border-radius: 7px;
  background: rgba(226,184,62,.12);
  text-decoration: none;
}

@media (max-width: 820px) {
  .supplier-profile,
  .supplier-profile-reverse {
    grid-template-columns: minmax(220px, 290px) minmax(0, 1fr);
    gap: 34px;
  }

  .supplier-resource-feature {
    grid-template-columns: 1fr;
  }

  .supplier-resource-contact {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
}

@media (max-width: 620px) {
  .supplier-partners {
    padding: 62px 0 72px;
  }

  .supplier-profile,
  .supplier-profile-reverse {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 26px;
    padding: 34px 0;
  }

  .supplier-profile-reverse .supplier-profile-media,
  .supplier-profile-reverse .supplier-profile-copy {
    grid-column: auto;
    grid-row: auto;
  }

  .supplier-profile-media {
    width: min(100%, 360px);
    margin-inline: auto;
  }

  .supplier-resource-contact,
  .supplier-resource-summary {
    padding: 23px;
  }

  .supplier-resource-accordion summary {
    grid-template-columns: 29px minmax(0, 1fr) auto;
    padding: 12px 16px;
  }

  .supplier-resource-accordion details > div {
    padding: 1px 20px 24px;
  }

  .supplier-itinerary-grid {
    grid-template-columns: 1fr;
  }
}



/* =====================================
   FORCE MODAL ANIMATIONS
   Keeps popup animation enabled even when
   the device has Reduce Motion turned on.
===================================== */

.auth-modal,
.video-search-modal,
.logout-modal {
  transition:
    opacity 0.36s ease,
    visibility 0.36s ease,
    backdrop-filter 0.36s ease !important;
}

.auth-box,
.video-search-panel,
.logout-box {
  transition:
    opacity 0.38s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.auth-box {
  opacity: 0 !important;
  transform: translateY(30px) scale(0.82) !important;
}

.auth-modal.show .auth-box {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.video-search-panel {
  opacity: 0 !important;
  transform: translateY(-32px) scale(0.84) !important;
}

.video-search-modal.show .video-search-panel {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

.logout-box {
  opacity: 0 !important;
  transform: translateY(30px) scale(0.82) !important;
}

.logout-modal.show .logout-box {
  opacity: 1 !important;
  transform: translateY(0) scale(1) !important;
}

/* =========================================================
   PHASE 1 — PREMIUM UI SYSTEM
========================================================= */

:root {
  --wts-gold: #d4af37;
  --wts-gold-soft: #f0d575;
  --wts-navy: #0a2540;
  --wts-navy-deep: #061d33;
  --wts-surface: #ffffff;
  --wts-reveal-duration: 0.72s;
  --wts-reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Page loader ---------- */

.wts-loader {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.16), transparent 34%),
    linear-gradient(145deg, #061d33, #0a2540 62%, #051627);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.52s ease,
    visibility 0.52s ease;
}

.wts-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wts-loader-inner {
  width: min(360px, 88vw);
  text-align: center;
}

.wts-loader-logo {
  width: min(250px, 78vw);
  height: auto;
  margin: 0 auto 24px;
  display: block;
  filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.22));
  animation: wtsLoaderFloat 1.8s ease-in-out infinite;
}

.wts-loader-label {
  margin-bottom: 12px;
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
}

.wts-loader-track {
  height: 4px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
}

.wts-loader-bar {
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--wts-gold), var(--wts-gold-soft), transparent);
  animation: wtsLoaderTravel 1.05s ease-in-out infinite;
}

@keyframes wtsLoaderTravel {
  from { transform: translateX(-120%); }
  to { transform: translateX(340%); }
}

@keyframes wtsLoaderFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ---------- Scroll reveal ---------- */

[data-wts-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity var(--wts-reveal-duration) ease,
    transform var(--wts-reveal-duration) var(--wts-reveal-ease);
  transition-delay: var(--wts-delay, 0ms);
  will-change: opacity, transform;
}

[data-wts-reveal="left"] {
  transform: translateX(-42px);
}

[data-wts-reveal="right"] {
  transform: translateX(42px);
}

[data-wts-reveal="zoom"] {
  transform: scale(0.92);
}

[data-wts-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0,0,0) scale(1);
}

/* ---------- Navbar depth ---------- */

nav.wts-nav-scrolled {
  background: rgba(255,255,255,.92) !important;
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(10,37,64,.11) !important;
}

nav {
  transition:
    background .3s ease,
    box-shadow .3s ease,
    backdrop-filter .3s ease;
}

/* ---------- Premium cards ---------- */

.mentor-card,
.award-gallery,
.included-card,
.results-card,
.welcome-video-item,
.video-result-card,
.training-video-card,
.reset-password-card {
  transform: translateZ(0);
}

.included-card,
.results-card,
.welcome-video-item,
.video-result-card,
.training-video-card {
  transition:
    transform .34s var(--wts-reveal-ease),
    box-shadow .34s ease,
    border-color .34s ease;
}

.included-card:hover,
.results-card:hover,
.welcome-video-item:hover,
.video-result-card:hover,
.training-video-card:hover {
  transform: translateY(-7px);
}

/* ---------- Button press / shine ---------- */

button,
a[role="button"],
.btn-primary,
.gold-action-btn,
.outline-action-btn,
.login-register-btn,
.welcome-start-button,
.welcome-register-button {
  -webkit-tap-highlight-color: transparent;
}

button:active,
a[role="button"]:active,
.btn-primary:active,
.gold-action-btn:active,
.outline-action-btn:active,
.login-register-btn:active,
.welcome-start-button:active,
.welcome-register-button:active {
  transform: scale(.975);
}

/* ---------- Search results stagger ---------- */

.video-result-card {
  animation: wtsSearchCardIn .48s var(--wts-reveal-ease) both;
  animation-delay: var(--wts-card-delay, 0ms);
}

@keyframes wtsSearchCardIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Hover glow ---------- */

.search-toggle:hover,
.welcome-search-link:hover,
.login-register-btn:hover,
.footer-socials a:hover {
  box-shadow:
    0 14px 30px rgba(10,37,64,.2),
    0 0 0 4px rgba(212,175,55,.08);
}

/* ---------- Mobile touch polish ---------- */

@media (max-width: 768px) {
  a,
  button {
    touch-action: manipulation;
  }

  .home-mobile-menu a,
  .home-mobile-menu button,
  .welcome-mobile-menu a,
  .welcome-mobile-menu button,
  .universal-mobile-services summary {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  [data-wts-reveal] {
    transform: translateY(22px);
  }

  [data-wts-reveal="left"],
  [data-wts-reveal="right"] {
    transform: translateY(22px);
  }
}

/* ---------- Motion accessibility ---------- */

@media (prefers-reduced-motion: reduce) {
  .wts-loader-logo,
  .wts-loader-bar,
  .video-result-card {
    animation: none !important;
  }

  [data-wts-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* =========================================================
   WHITE PREMIUM LOADING SCREEN OVERRIDE
========================================================= */

.wts-loader {
  background:
    radial-gradient(
      circle at 50% 32%,
      rgba(212, 175, 55, 0.09),
      transparent 34%
    ),
    linear-gradient(180deg, #ffffff, #fbfcfe);
}

.wts-loader-inner {
  width: min(390px, 88vw);
}

.wts-loader-logo {
  width: min(275px, 78vw);
  margin-bottom: 26px;
  filter:
    drop-shadow(0 14px 26px rgba(10, 37, 64, 0.12))
    drop-shadow(0 2px 5px rgba(10, 37, 64, 0.08));
  animation: wtsLoaderFloat 1.9s ease-in-out infinite;
}

.wts-loader-label {
  margin-bottom: 14px;
  color: #0a2540;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3.2px;
}

.wts-loader-track {
  width: min(300px, 78vw);
  height: 3px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(10, 37, 64, 0.09);
  box-shadow: inset 0 1px 2px rgba(10, 37, 64, 0.05);
}

.wts-loader-bar {
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    transparent,
    #d4af37,
    #f0d575,
    #d4af37,
    transparent
  );
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.42);
  animation: wtsLoaderTravel 1.12s ease-in-out infinite;
}

@keyframes wtsLoaderFloat {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.012);
  }
}

/* ================================================================
   HOMEPAGE ANNOUNCEMENTS
================================================================ */
.member-announcements-section {
  padding: 88px 0;
  background: #f6f8fb;
}
.member-announcements-section[hidden] { display: none !important; }
.member-announcements-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: 36px;
  align-items: end;
  margin: 0 0 34px;
}
.member-announcements-heading h2 { margin: 8px 0 0; color: #10233f; }
.member-announcements-heading > p { margin: 0; color: #617087; line-height: 1.7; }
.member-announcements-eyebrow { margin: 0; color: #b88a2f; font-weight: 800; letter-spacing: .12em; font-size: .78rem; }
.member-announcements-list { display: grid; gap: 18px; }
.member-announcement-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  background: #fff;
  border: 1px solid #dfe5ec;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(15, 35, 62, .07);
}
.member-announcement-card.important { border-left: 5px solid #b88a2f; }
.member-announcement-icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px;
  color: #b88a2f; background: #fff7e5; font-size: 1.2rem;
}
.member-announcement-meta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-bottom: 8px; color: #7a8798; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.member-announcement-meta span { color: #9a7426; }
.member-announcement-content h3 { margin: 0 0 8px; color: #10233f; font-size: 1.25rem; }
.member-announcement-content > p { margin: 0; color: #526176; line-height: 1.7; white-space: pre-line; }
.member-announcement-action { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; color: #10233f; font-weight: 800; text-decoration: none; }
.member-announcement-action:hover { color: #b88a2f; }
@media (max-width: 760px) {
  .member-announcements-section { padding: 64px 0; }
  .member-announcements-heading { grid-template-columns: 1fr; gap: 14px; }
  .member-announcement-card { grid-template-columns: 1fr; padding: 20px; }
}


/* Homepage Builder V1 dynamic category sections */
.homepage-dynamic-sections:empty{display:none}.builder-home-section{padding:72px 0;background:#fff}.builder-home-section:nth-child(even){background:#f7f9fa}.builder-home-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:28px}.builder-home-heading span{font-size:12px;letter-spacing:.14em;color:#b68a36;font-weight:700}.builder-home-heading h2{margin:6px 0 0;color:#153044;font-size:clamp(28px,4vw,44px)}.builder-home-heading button{border:0;background:transparent;color:#946c1d;font-weight:700;cursor:pointer}.builder-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.builder-layout-wide .builder-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.builder-layout-carousel .builder-video-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px}.builder-layout-carousel .builder-video-card{flex:0 0 min(360px,82vw);scroll-snap-align:start}.builder-video-card{padding:0;border:1px solid #e0e5e8;border-radius:18px;overflow:hidden;background:#fff;text-align:left;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}.builder-video-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(20,45,62,.13);border-color:#c8a259}.builder-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:linear-gradient(135deg,#e9eef1,#d8e1e6);overflow:hidden}.builder-video-thumb img{width:100%;height:100%;object-fit:cover}.builder-video-thumb>i{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:42px;text-shadow:0 3px 14px rgba(0,0,0,.4);transition:transform .2s ease}.builder-video-card:hover .builder-video-thumb>i{transform:scale(1.1)}.builder-video-card>span:last-child{display:grid;gap:6px;padding:18px}.builder-video-card small{color:#a17828;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.builder-video-card strong{color:#173245;font-size:18px}.builder-video-card em{color:#6e7b84;font-style:normal;font-size:14px;line-height:1.5}.builder-layout-wide .builder-video-card.is-wide{grid-column:1/-1}@media(max-width:860px){.builder-video-grid,.builder-layout-wide .builder-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.builder-home-section{padding:52px 0}.builder-home-heading{align-items:start}.builder-video-grid,.builder-layout-wide .builder-video-grid{grid-template-columns:1fr}.builder-home-heading button{white-space:nowrap}}

/* Finance for Travel Agents */
.finance-series-width{width:min(1180px,calc(100% - 40px));margin:0 auto}.finance-series-hero{min-height:330px;display:grid;place-items:center;padding:42px 20px;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.86) 62%,rgba(255,255,255,.25)),url("assets/hero-travel.jpg") center/cover no-repeat;overflow:hidden}.finance-series-hero-inner{width:min(1120px,100%);display:flex;align-items:center;justify-content:center;gap:56px}.finance-series-mark{width:230px;height:230px;object-fit:contain}.finance-series-title{display:grid;gap:4px;color:#0a2540}.finance-series-title>span,.finance-series-title>strong{font-size:clamp(40px,5vw,72px);line-height:1.06;letter-spacing:.08em}.finance-series-title>span{font-weight:900}.finance-series-title>strong{color:#d4a514;font-weight:800}.finance-series-title>p{display:flex;align-items:center;gap:16px;margin:30px 0 0;font-size:16px;font-weight:800;letter-spacing:.31em;white-space:nowrap}.finance-series-title>p i{width:74px;height:2px;background:#0a2540}.finance-series-title>p b{width:10px;height:10px;border-radius:50%;background:#d4a514}.finance-series-intro{padding:72px 0 56px;background:#fff;text-align:center}.finance-series-eyebrow{margin:0 0 12px;color:#c39727;font-size:12px;font-weight:900;letter-spacing:.19em}.finance-series-intro h1{margin:0;color:#0a2540;font:700 clamp(30px,4vw,48px)/1.15 Georgia,serif}.finance-series-lead{max-width:760px;margin:18px auto 38px;color:#5d6d7c;font-size:17px;line-height:1.8}.finance-session-card{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:26px 28px;border:1px solid #e5e9ed;border-radius:20px;background:linear-gradient(135deg,#f8fafb,#fff);text-align:left;box-shadow:0 18px 45px rgba(10,37,64,.08)}.finance-session-icon{width:58px;height:58px;display:grid;place-items:center;border-radius:16px;background:#0a2540;color:#f0c94e;font-size:24px}.finance-session-card span{color:#bd8c1d;font-size:10px;font-weight:900;letter-spacing:.15em}.finance-session-card h2{margin:5px 0;color:#0a2540;font:700 25px/1.2 Georgia,serif}.finance-session-card p{margin:0;color:#667685}.finance-register-button{min-height:48px;display:inline-flex;align-items:center;gap:10px;padding:0 20px;border-radius:10px;background:#d4af37;color:#0a2540;font-size:12px;font-weight:900;letter-spacing:.04em}.finance-series-content{padding:72px 0 90px;background:#f3f6f8}.finance-series-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:34px;align-items:start}.finance-flyer-card{display:grid;gap:18px;position:sticky;top:125px}.finance-flyer-placeholder{min-height:430px;display:grid;place-items:center;align-content:center;gap:12px;padding:28px;border:2px dashed #d2dbe2;border-radius:22px;background:#fff;color:#6b7884;text-align:center}.finance-flyer-placeholder i{font-size:48px;color:#d4af37}.finance-flyer-placeholder strong{color:#0a2540;font-size:20px}.finance-flyer-placeholder p{margin:0;line-height:1.6}.finance-series-note{display:flex;gap:12px;padding:16px;border-radius:14px;background:#e8eef3;color:#526574;font-size:13px;line-height:1.55}.finance-series-note i{margin-top:3px;color:#b58a24}.finance-section-heading{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:24px}.finance-section-heading span{color:#b98a20;font-size:11px;font-weight:900;letter-spacing:.14em}.finance-section-heading h2{margin:7px 0 0;color:#0a2540;font:700 clamp(30px,3vw,42px)/1.1 Georgia,serif}.finance-section-heading p{max-width:300px;margin:0;color:#687887;text-align:right}.finance-featured-video{margin-bottom:24px}.finance-video-empty{min-height:330px;display:grid;place-items:center;align-content:center;gap:12px;padding:30px;border-radius:22px;background:linear-gradient(145deg,#0a2540,#123b60);color:#fff;text-align:center}.finance-video-empty i{color:#e8ba3b;font-size:54px}.finance-video-empty span{color:#bac8d3}.finance-featured-card,.finance-video-card{border:0;overflow:hidden;background:#fff;text-align:left;cursor:pointer;box-shadow:0 14px 36px rgba(10,37,64,.1);transition:transform .22s ease,box-shadow .22s ease}.finance-featured-card{width:100%;display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);border-radius:22px}.finance-featured-card:hover,.finance-video-card:hover{transform:translateY(-5px);box-shadow:0 20px 45px rgba(10,37,64,.16)}.finance-video-thumb{position:relative;display:block;aspect-ratio:16/9;background:#0a2540;overflow:hidden}.finance-video-thumb img{width:100%;height:100%;object-fit:cover}.finance-video-thumb i{position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:50px;text-shadow:0 4px 16px rgba(0,0,0,.45)}.finance-video-copy{display:grid;align-content:center;gap:9px;padding:30px}.finance-video-copy small{color:#bc8d24;font-weight:900;letter-spacing:.1em}.finance-video-copy strong{color:#0a2540;font:700 25px/1.2 Georgia,serif}.finance-video-copy em{color:#687887;font-style:normal;line-height:1.55}.finance-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.finance-video-card{padding:0;border-radius:16px}.finance-video-card .finance-video-copy{padding:17px}.finance-video-card .finance-video-copy strong{font-size:17px}.finance-video-card .finance-video-copy em{font-size:13px}.finance-video-card .finance-video-thumb i{font-size:36px}@media(max-width:1000px){.finance-series-hero-inner{gap:28px}.finance-series-mark{width:170px;height:170px}.finance-series-title>p{white-space:normal;letter-spacing:.2em}.finance-series-layout{grid-template-columns:1fr}.finance-flyer-card{position:static;grid-template-columns:minmax(240px,380px) 1fr}.finance-flyer-placeholder{min-height:360px}.finance-video-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.finance-series-hero{min-height:390px}.finance-series-hero-inner{flex-direction:column;gap:12px;text-align:center}.finance-series-mark{width:130px;height:130px}.finance-series-title>span,.finance-series-title>strong{font-size:clamp(29px,9vw,45px)}.finance-series-title>p{justify-content:center;margin-top:20px;font-size:11px;letter-spacing:.13em}.finance-series-title>p i{width:28px}.finance-session-card{grid-template-columns:1fr;text-align:center}.finance-session-icon{margin:auto}.finance-register-button{justify-content:center}.finance-flyer-card{grid-template-columns:1fr}.finance-section-heading{display:grid;align-items:start}.finance-section-heading p{text-align:left}.finance-featured-card{grid-template-columns:1fr}.finance-video-grid{grid-template-columns:1fr}}
.finance-series-hero{position:relative;background:#f4f5f6}.finance-banner-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.3}.finance-series-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.88) 62%,rgba(255,255,255,.3));pointer-events:none}.finance-series-hero-inner{position:relative;z-index:1}.finance-flyer-placeholder{padding:12px 12px 22px}.finance-flyer-placeholder>img{width:100%;aspect-ratio:8/11;object-fit:cover;border-radius:14px;border:1px solid #e0e6eb}.finance-flyer-placeholder>strong,.finance-flyer-placeholder>p{padding-inline:12px}

.builder-home-empty{margin:0;padding:22px;border:1px dashed #d6dde2;border-radius:14px;background:#f8fafb;color:#667681;line-height:1.6}

/* ================================================================
   AWARD GALLERY — RELIABLE AUTOMATIC BOTTOM-TO-TOP PAN
   Keeps the existing frame dimensions and cover crop unchanged.
================================================================ */
.gallery-main > #award-image {
  position: absolute;
  display: block;
  will-change: transform;
  transform-origin: center top;
  animation: none !important;
}


/* Award V1.0.8: uninterrupted, constant-speed upward travel. */
.gallery-main > #award-image {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(-50%, 0, 0);
}


/* ================================================================
   AWARD GALLERY V1.0.9 — CONTINUOUS BOTTOM-TO-TOP REVEAL
   Layered images keep moving during the seamless crossfade.
================================================================ */
.gallery-main > #award-image {
  display: none !important;
}

.gallery-main > .award-pan-layer {
  position: absolute;
  z-index: 0;
  display: block;
  max-width: none;
  object-fit: fill;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: opacity 500ms linear;
}

.gallery-main > .award-pan-layer.is-visible {
  opacity: 1;
}

.gallery-main > #slide-count,
.gallery-main > .gallery-arrows {
  z-index: 3;
}

/* Preserve the supplied square Finance series flyer without cropping. */
.finance-flyer-placeholder > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}

/* Finance page reading path: overview first, then featured lesson and series. */
.finance-series-flow {
  display: block;
}

.finance-flyer-stage {
  position: relative;
  width: min(820px, 100%);
  margin: 0 auto 84px;
}

.finance-flyer-stage::before {
  content: "";
  position: absolute;
  inset: 8% -9% -6%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, .16), rgba(10, 37, 64, .05) 48%, transparent 72%);
  filter: blur(18px);
  pointer-events: none;
}

.finance-flyer-frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, .1);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(10, 37, 64, .16);
}

.finance-flyer-frame > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.finance-video-library {
  position: relative;
  padding-top: 64px;
  border-top: 1px solid rgba(10, 37, 64, .12);
}

.finance-video-library::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 0 9px #f3f6f8;
  transform: translateX(-50%);
}

@media (max-width: 700px) {
  .finance-series-content {
    padding-top: 36px;
  }

  .finance-flyer-stage {
    margin-bottom: 54px;
  }

  .finance-flyer-frame {
    border-radius: 18px;
    box-shadow: 0 18px 44px rgba(10, 37, 64, .14);
  }

  .finance-video-library {
    padding-top: 46px;
  }
}

/* Finance session information and clear action hierarchy. */
.finance-session-card {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  padding: 30px;
  border-color: rgba(10, 37, 64, .1);
  background: #fff;
}

.finance-session-details {
  min-width: 0;
}

.finance-session-details h2 {
  margin-bottom: 10px;
}

.finance-session-details .finance-session-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0a2540;
  font-weight: 700;
}

.finance-session-date i {
  color: #c79723;
}

.finance-session-details .finance-session-audience {
  margin-top: 5px;
  color: #72808c;
  font-size: 13px;
}

.finance-session-actions {
  display: grid;
  gap: 10px;
  min-width: 210px;
}

.finance-register-button,
.finance-youtube-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.finance-register-button:hover,
.finance-youtube-button:hover {
  transform: translateY(-2px);
}

.finance-register-button:hover {
  box-shadow: 0 10px 24px rgba(212, 175, 55, .24);
}

.finance-youtube-button {
  border-color: rgba(10, 37, 64, .16);
  background: #f5f7f9;
  color: #0a2540;
}

.finance-youtube-button i {
  color: #e62117;
  font-size: 16px;
}

.finance-youtube-button:hover {
  background: #edf1f4;
  box-shadow: 0 10px 24px rgba(10, 37, 64, .1);
}

.finance-recording-message {
  width: min(760px, 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 11px;
  margin: 22px auto 0;
  color: #637281;
  font-size: 14px;
  line-height: 1.65;
}

.finance-recording-message i {
  margin-top: 5px;
  color: #c79723;
}

@media (max-width: 900px) {
  .finance-session-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .finance-session-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .finance-session-card {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }

  .finance-session-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .finance-session-details .finance-session-date {
    justify-content: center;
  }

  .finance-recording-message {
    text-align: left;
  }
}

/* ================================================================
   RESPONSIVE HARDENING — DEVICES, RESOLUTIONS, AND BROWSER ZOOM
================================================================ */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
img, video, canvas, svg, iframe { max-width: 100%; }
img, video { height: auto; }
p, a, button, input, textarea, select, strong, span { overflow-wrap: break-word; }

.section-container,
.universal-page-width,
.welcome-page-width,
.finance-series-width,
.zoom-page-width,
.supplier-page-width,
.sales-calls-width {
  width: min(1180px, calc(100% - 40px));
  max-width: 100%;
  margin-inline: auto;
}

@media (max-width: 1280px) {
  nav .max-w-7xl { max-width: 100%; padding-inline: 24px; }
  nav .gap-x-9 { column-gap: 1.25rem; }
  #logo-img { height: 64px; }
  nav .login-register-btn { max-width: 180px; padding-inline: 18px; }
  .admin-portal-shortcut { width: 48px; padding-inline: 0; }
  .admin-portal-shortcut span { display: none; }
}

/* Zoomed desktop windows switch before their navigation becomes crowded. */
@media (max-width: 1360px) {
  nav [class~="md:flex"],
  nav > div > div > .login-register-btn,
  nav > div > div > .admin-portal-shortcut { display: none !important; }

  nav .welcome-mobile-toggle,
  nav .home-mobile-toggle { display: inline-flex !important; flex: 0 0 46px; }

  nav .welcome-mobile-menu,
  nav .home-mobile-menu { display: block !important; max-width: 100%; }

  nav .welcome-mobile-menu.show,
  nav .home-mobile-menu.show {
    max-height: min(72vh, 620px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .mentor-container,
  .why-wrapper,
  .sample-training-grid,
  .finance-series-layout,
  .supplier-resource-feature,
  .sales-call-notes-layout { min-width: 0; }

  .hero-text h1 { letter-spacing: clamp(3px, .7vw, 8px); }

  /* Browser zoom reduces the usable CSS viewport. Stack this visual pair
     before either card becomes cramped or starts clipping its controls. */
  .home-showcase {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding-inline: clamp(20px, 5vw, 72px);
  }

  .mentor-card {
    width: 100%;
    height: auto;
    min-height: 500px;
  }

  .mentor-content {
    width: min(58%, 680px);
  }

  .award-gallery {
    width: 100%;
    height: auto;
  }

  .gallery-main {
    flex: none;
    height: clamp(390px, 48vw, 680px);
  }

  .gallery-thumbs {
    max-width: 100%;
    scrollbar-width: thin;
  }
}

@media (max-width: 900px) {
  .included-grid,
  .universal-card-grid,
  .builder-video-grid,
  .finance-video-grid,
  .supplier-video-grid,
  .sales-call-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .next-step-inner { width: min(92%, 820px); }
  .auth-box,
  .video-search-panel,
  .video-player-dialog,
  .program-contact-dialog { max-width: calc(100vw - 28px); }
}

@media (max-width: 650px) {
  .section-container,
  .universal-page-width,
  .welcome-page-width,
  .finance-series-width,
  .zoom-page-width,
  .supplier-page-width,
  .sales-calls-width { width: min(92%, 1180px); }

  .included-grid,
  .universal-card-grid,
  .builder-video-grid,
  .finance-video-grid,
  .supplier-video-grid,
  .sales-call-video-grid { grid-template-columns: minmax(0, 1fr); }

  .next-step-copy h2 br,
  .hero-text h1 br,
  .sample-training-copy h2 br { display: none; }

  .top-hero,
  .universal-page-hero,
  .mentorship-cta,
  .sample-training-section,
  .builder-home-section { padding-inline: 20px; }

  .program-contact-details a span,
  .footer-contact-list span { overflow-wrap: anywhere; }

  .home-showcase { padding-inline: 14px; }

  .mentor-card {
    min-height: 560px;
    align-items: flex-end;
  }

  .mentor-content {
    width: 100%;
    padding: 30px 26px;
  }

  .mentor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mentor-buttons { align-items: stretch; }

  .mentor-buttons button {
    width: 100%;
    justify-content: center;
  }

  .gallery-main { height: clamp(300px, 92vw, 440px); }
}

@media (max-width: 380px) {
  nav .max-w-7xl { padding-inline: 14px; }
  #logo-img { height: 50px; }
  .welcome-mobile-toggle,
  .home-mobile-toggle { width: 42px; height: 42px; flex-basis: 42px !important; }
  .program-contact-modal,
  .auth-modal,
  .video-search-modal,
  .video-player-modal { padding: 8px; }
}
