/* =====================================================
   BIM PHILIPPINES TRAINING SCHEDULE
   Complete stylesheet
   ===================================================== */

:root {
  --navy: #123B65;
  --teal: #0865E8;
  --blue: #0865E8;
  --ink: #17324D;
  --muted: #64748B;
  --line: #DCE7F5;
  --paper: #F7FAFF;
  --white: #FFFFFF;
  --mint: #EAF3FF;
  --pale: #EAF3FF;
  --shadow: 0 8px 25px rgba(18, 59, 101, .08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.55;
}

[hidden] {
  display: none !important;
}

/* =====================================================
   HEADER
   ===================================================== */

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(20px, 6vw, 88px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
  line-height: 1;
}

.brand-logo {
  display: block;
  width: 124px;
  max-width: 34vw;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.header-link {
  color: var(--navy);
  font-size: 14px;
  text-decoration: none;
  font-weight: 750;
}

.header-link:hover {
  color: var(--blue);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
  background: linear-gradient(120deg, #0d2e50, #123B65 65%, #075c94);
  color: white;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  overflow: hidden;
  padding: 60px clamp(24px, 8vw, 120px);
  gap: 30px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: .16em;
  font-weight: 850;
  color: #a8d8e9;
  margin: 0 0 13px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.04;
  letter-spacing: -.055em;
  margin: 0 0 20px;
}

.hero-copy {
  max-width: 510px;
  color: #d7e7ef;
  font-size: 17px;
  margin: 0 0 27px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 12px 17px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.button-light {
  background: white;
  color: var(--navy);
}

.button-light:hover {
  background: #e4f3ff;
}

.button-outline {
  border-color: #bdd0da;
  color: var(--navy);
  background: #fff;
}

.button-outline:hover {
  background: #e8f5ff;
}

.hero-note {
  color: #b9d1dd;
  font-size: 12px;
  margin: 18px 0 0;
}

/* =====================================================
   TRAINING SECTION
   ===================================================== */

.training-section {
  max-width: 1160px;
  margin: auto;
  padding: 68px 24px 56px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.eyebrow-dark {
  color: var(--blue);
}

h2 {
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.2;
  margin: 0 0 8px;
}

.muted {
  color: var(--muted);
  margin: 0;
}

.session-count {
  background: #e5f0f5;
  color: var(--navy);
  font-size: 12px;
  font-weight: 850;
  border-radius: 99px;
  padding: 8px 12px;
  white-space: nowrap;
}

/* =====================================================
   SEARCH AND FILTERS
   ===================================================== */

.filters {
  display: grid;
  grid-template-columns: 1fr 190px 210px;
  gap: 12px;
  margin-bottom: 22px;
}

.search-control,
.select-control {
  min-height: 48px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  align-items: center;
  padding: 0 13px;
  gap: 9px;
  color: var(--muted);
}

.search-control input,
.select-control select {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  font: inherit;
  color: var(--ink);
  font-size: 14px;
}

.select-control select {
  cursor: pointer;
}

/* =====================================================
   COURSE GROUPS
   ===================================================== */

.training-group {
  margin-top: 36px;
}

.group-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
}

.group-heading h3 {
  font-size: 23px;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--navy);
}

.group-count {
  font-size: 11px;
  font-weight: 800;
  color: var(--blue);
  background: #e5f0f5;
  border-radius: 99px;
  padding: 6px 10px;
  white-space: nowrap;
}

.group-description {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 17px;
}

.group-empty {
  padding: 19px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

/* =====================================================
   COURSE GRID AND CARDS
   ===================================================== */

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

.course-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 350px;
  box-shadow: 0 5px 18px rgba(18, 59, 101, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(18, 59, 101, .13);
}

/* =====================================================
   SOFTWARE-SPECIFIC CARD GRADIENTS
   ===================================================== */

.course-card-art {
  min-height: 155px;
  padding: 18px;
  color: white;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #123B65, #0865E8);
}

.course-card-art::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  right: -65px;
  top: -100px;
  box-shadow:
    0 0 0 25px rgba(255,255,255,.07),
    0 0 0 55px rgba(255,255,255,.04);
  pointer-events: none;
}

.theme-revit .course-card-art {
  background: linear-gradient(130deg, #063b85, #087deb);
}

.theme-inventor .course-card-art {
  background: linear-gradient(130deg, #9a5a00, #e5a900);
}

.theme-navisworks .course-card-art {
  background: linear-gradient(130deg, #123b65, #087dad);
}

.theme-civil3d .course-card-art {
  background: linear-gradient(130deg, #153b75, #9c398c);
}

.theme-autocad .course-card-art {
  background: linear-gradient(130deg, #143b73, #b52c43);
}

.theme-dynamo .course-card-art {
  background: linear-gradient(130deg, #075b65, #12a6a0);
}

.theme-sketchup .course-card-art {
  background: linear-gradient(130deg, #123b65, #1684c7);
}

.theme-default .course-card-art {
  background: linear-gradient(130deg, #123B65, #0865E8);
}

/* Card labels */

.software-tag,
.status-tag {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 6px 9px;
  background: rgba(255,255,255,.18);
  color: white;
  border: 1px solid rgba(255,255,255,.3);
}

.status-tag {
  float: right;
  background: white;
  color: #185b38;
  border: 0;
  letter-spacing: 0;
  text-transform: none;
}

.course-art-title {
  position: relative;
  z-index: 1;
  font-size: clamp(25px, 2.5vw, 36px);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.1;
  margin-top: 25px;
  overflow-wrap: anywhere;
}

.course-art-caption {
  position: relative;
  z-index: 1;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 800;
  margin-top: 8px;
  opacity: .85;
}

/* Card content */

.course-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-card-content h3 {
  color: var(--navy);
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}

.course-description {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  margin: 0 0 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  margin-bottom: 18px;
}

.course-fact {
  flex: 1 1 100%;
  min-width: 0;
}

.fact-label {
  display: block;
  color: #8493a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  margin-bottom: 3px;
}

.course-fact strong {
  display: block;
  color: #334b65;
  font-size: 12px;
}

/* View details button */

.details-button {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #c9d9ec;
  border-radius: 9px;
  background: #f3f7fd;
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .2s ease;
}

.details-button:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* =====================================================
   COURSE DETAILS MODAL
   ===================================================== */

body.modal-open {
  overflow: hidden;
}

.course-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}

.course-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 20, 40, .75);
  backdrop-filter: blur(5px);
}

.course-modal-panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: white;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 25px 80px rgba(0,0,0,.3);
  animation: courseModalIn .2s ease-out;
}

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

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

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #edf2f7;
  color: #17324d;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: #dce7f5;
}

.course-modal-panel h2 {
  color: var(--navy);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  margin: 20px 40px 12px 0;
}

.modal-description {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.modal-information {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.modal-information > div {
  min-width: 0;
}

.modal-information span {
  display: block;
  color: #8493a5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.modal-information strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

/* Topics */

.modal-topics,
.modal-pricing {
  padding-top: 22px;
}

.modal-topics h3,
.modal-pricing h3 {
  color: var(--navy);
  font-size: 18px;
  margin: 0 0 12px;
}

.modal-topics ul {
  padding-left: 20px;
  margin: 0;
  color: #53657a;
  font-size: 13px;
}

.modal-topics li {
  margin-bottom: 8px;
}

/* Pricing */

.modal-pricing p {
  margin: 7px 0;
  color: #53657a;
  font-size: 14px;
}

.modal-pricing strong {
  color: var(--navy);
  font-size: 17px;
}

.modal-pricing small {
  display: block;
  color: #8493a5;
  margin-top: 8px;
}

/* Registration */

.modal-register-button {
  display: block;
  margin-top: 24px;
  padding: 14px 18px;
  background: var(--navy);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  border-radius: 9px;
  transition: .2s ease;
}

.modal-register-button:hover {
  background: var(--blue);
}

/* =====================================================
   LEGACY / EMPTY STATES
   ===================================================== */

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 18px;
}

.detail {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 13px;
  margin: 4px 0;
}

.detail-icon {
  width: 17px;
  text-align: center;
  color: var(--blue);
  flex-shrink: 0;
}

.card-bottom {
  margin-top: auto;
  padding-top: 19px;
}

.register-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--navy);
  color: white;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
}

.register-button:hover {
  background: #0b5e9a;
}

.register-button.disabled {
  background: #edf2f4;
  color: #738590;
  cursor: default;
}

.schedule-note {
  font-size: 12px;
  color: #82939c;
  margin: 22px 0 0;
}

.empty-state {
  text-align: center;
  padding: 45px 20px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 14px;
}

.empty-icon {
  font-size: 34px;
  color: var(--blue);
}

.empty-state h3 {
  margin: 6px 0;
}

.empty-state p {
  color: var(--muted);
}

.status-tag.tba {
  background: #f2eee5;
  color: #76613b;
}

.status-tag.historical {
  background: #edf0f2;
  color: #5c6e78;
}

.course-completed {
  border-top: 3px solid #79b99b;
}

.course-past {
  border-top: 3px solid #b9c6cc;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.contact-strip {
  background: #e9f3f7;
  border-radius: 16px;
  max-width: 1112px;
  margin: 0 auto 65px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.contact-symbol {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--blue);
  font-size: 27px;
  font-weight: 850;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-copy {
  flex: 1;
}

.contact-copy h2 {
  font-size: 24px;
}

.contact-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 560px;
}

.contact-copy .eyebrow {
  margin-bottom: 6px;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 24px clamp(20px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 12px;
}

.footer-brand {
  color: var(--navy);
  font-weight: 950;
  letter-spacing: .06em;
}

footer a {
  color: var(--blue);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */

.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;
}

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

@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 50px;
    padding-bottom: 40px;
  }

  .hero-art {
    height: 220px;
    max-width: 500px;
  }

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

  .contact-strip {
    margin-left: 20px;
    margin-right: 20px;
    flex-wrap: wrap;
  }

  .contact-strip .button {
    margin-left: 74px;
  }
}

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

@media (max-width: 570px) {
  .site-header {
    min-height: 66px;
  }

  .hero {
    padding: 44px 22px 30px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-art {
    height: 190px;
  }

  .training-section {
    padding: 45px 17px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

  .course-card {
    min-height: 0;
  }

  .course-card-art {
    min-height: 145px;
  }

  .contact-strip {
    padding: 23px;
    gap: 14px;
  }

  .contact-symbol {
    width: 42px;
    height: 42px;
  }

  .contact-copy h2 {
    font-size: 22px;
  }

  .contact-strip .button {
    margin-left: 0;
    width: 100%;
  }

  footer {
    flex-wrap: wrap;
  }

  footer span:nth-child(2) {
    order: 3;
    width: 100%;
  }

  .group-heading {
    align-items: center;
  }

  .group-heading h3 {
    font-size: 21px;
  }

  .training-group {
    margin-top: 29px;
  }

  .course-modal {
    padding: 10px;
  }

  .course-modal-panel {
    padding: 25px 20px;
    max-height: 94vh;
  }

  .modal-information {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   BIM PHILIPPINES BRAND REFRESH — ROYAL BLUE
   ===================================================== */
:root {
  --navy: #082F73;
  --teal: #0865E8;
  --blue: #0865E8;
  --ink: #102B50;
  --muted: #607493;
  --line: #D7E5FA;
  --paper: #F3F7FF;
  --white: #FFFFFF;
  --mint: #E8F1FF;
  --pale: #E8F1FF;
  --shadow: 0 12px 32px rgba(8, 47, 115, .10);
}

body { background: var(--paper); color: var(--ink); }

.site-header {
  background: #fff;
  border-bottom: 3px solid #0865E8;
  box-shadow: 0 4px 18px rgba(8,47,115,.06);
}

.hero {
  background:
    radial-gradient(circle at 82% 16%, rgba(115,180,255,.38), transparent 30%),
    radial-gradient(circle at 10% 100%, rgba(0,25,91,.58), transparent 42%),
    linear-gradient(118deg, #052B78 0%, #0754D6 52%, #147BFF 100%);
}

.eyebrow { color: #C6E0FF; }
.eyebrow-dark { color: #0865E8; }
.hero-copy { color: #E1EDFF; }

.course-card {
  border-color: #D7E5FA;
  box-shadow: 0 8px 26px rgba(8,47,115,.07);
}
.course-card:hover {
  border-color: #8AB8F5;
  box-shadow: 0 20px 42px rgba(8,47,115,.14);
}

/* BIM Philippines blue remains dominant across all software categories.
   The official product logo identifies each software. */
.course-card-art,
.theme-revit .course-card-art,
.theme-inventor .course-card-art,
.theme-navisworks .course-card-art,
.theme-civil3d .course-card-art,
.theme-autocad .course-card-art,
.theme-dynamo .course-card-art,
.theme-sketchup .course-card-art,
.theme-default .course-card-art {
  background:
    radial-gradient(circle at 88% 10%, rgba(255,255,255,.22), transparent 30%),
    linear-gradient(128deg, #062D78 0%, #0755D6 56%, #087BFF 100%);
  min-height: 166px;
}

.course-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  position: relative;
  z-index: 1;
}
.course-art-caption {
  color: #E8F2FF;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .13em;
  text-align: right;
  font-weight: 850;
  margin-top: 0;
}
.product-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
  text-shadow: 0 1px 8px rgba(0,20,70,.22);
}
.product-logo img {
  display: block;
  width: 58px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  padding: 4px;
  border-radius: 9px;
  background: rgba(255,255,255,.97);
  flex: 0 0 auto;
}
.product-logo.logo-unavailable { display: none; }
.card-product-logo { max-width: 70%; }
.card-product-logo span { max-width: 150px; }

.course-card-content h3 { color: #082F73; }
.details-button {
  border-color: #B9D2F5;
  background: #F0F6FF;
  color: #073B8C;
}
.details-button:hover {
  background: #075BE0;
  border-color: #075BE0;
  color: #fff;
}

.course-modal-panel {
  border: 1px solid #D7E5FA;
}
.modal-brand-lockup {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-right: 42px;
}
.modal-product-logo {
  color: #082F73;
  text-shadow: none;
  font-size: 12px;
}
.modal-product-logo img {
  width: 46px;
  height: 40px;
  border: 1px solid #E0EAF8;
}
.modal-brand-lockup .software-tag {
  background: #E8F1FF;
  border: 1px solid #C9DDF8;
  color: #073B8C;
}
.course-modal-panel h2 { color: #082F73; }
.modal-register-button,
.register-button { background: #0755D6; }
.modal-register-button:hover,
.register-button:hover { background: #063B9C; }

.session-count, .group-count {
  background: #E1EDFF;
  color: #0647A6;
}
.search-control:focus-within, .select-control:focus-within {
  border-color: #5B9EFF;
  box-shadow: 0 0 0 4px rgba(8,101,232,.12);
}
.contact-strip {
  background: linear-gradient(115deg,#fff,#EFF5FF);
  border: 1px solid #C8DCF8;
}
.contact-symbol { background: #E3EEFF; color: #075BE0; }
footer { border-top: 3px solid #0865E8; }

@media (max-width: 570px) {
  .course-brand-lockup { margin-top: 19px; }
  .product-logo { font-size: 11px; gap: 7px; }
  .product-logo img { width: 48px; height: 42px; }
  .card-product-logo { max-width: 72%; }
  .course-art-caption { font-size: 7px; }
}


/* LOGO VISIBILITY FIX — official logo only, no duplicate software-name text */
.product-logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  text-shadow: none;
}
.product-logo img {
  display: block;
  width: 180px;
  height: 82px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  flex: 0 1 auto;
}
.card-product-logo { max-width: 70%; }
.course-brand-lockup { justify-content: flex-start; }
.course-art-caption { margin-left: auto; }

.modal-product-logo img {
  width: 155px;
  height: 68px;
  padding: 0;
  border: 0;
  background: transparent;
}

@media (max-width: 570px) {
  .product-logo img {
    width: 150px;
    height: 70px;
  }
}


/* =====================================================
   BIM PHILIPPINES — BLUE CONSTRUCTION HERO
   Uses a photo-led header inspired by the official FB cover.
   ===================================================== */
.site-header {
  min-height: 82px;
  border-bottom: 3px solid #0865E8;
}
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 43vw, 610px);
  padding: clamp(54px, 7vw, 96px) clamp(24px, 7.5vw, 120px);
  background-image:
    linear-gradient(90deg, rgba(5, 42, 125, .97) 0%, rgba(5, 57, 157, .91) 38%, rgba(5, 74, 180, .62) 70%, rgba(4, 58, 145, .60) 100%),
    url("assets/bg1.png");
  background-size: cover;
  background-position: center 48%;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(3, 35, 103, .28), transparent 42%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 72%);
}
.hero .eyebrow {
  color: #D5E8FF;
  font-size: 13px;
  letter-spacing: .19em;
  margin-bottom: 20px;
}
.hero h1 {
  max-width: 850px;
  font-size: clamp(42px, 5.1vw, 72px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0 0 24px;
  text-wrap: balance;
}
.hero h1 span {
  color: #69CFFF;
}
.hero-copy {
  max-width: 660px;
  color: #F0F6FF;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
  margin: 0 0 30px;
}
.hero .button-light {
  min-height: 54px;
  padding: 14px 24px;
  border-radius: 10px;
  color: #073B8C;
  font-size: 16px;
  box-shadow: 0 8px 22px rgba(0, 24, 82, .18);
}
.hero .button-light:hover {
  background: #E5F2FF;
  transform: translateY(-1px);
}
.hero-note {
  color: #D8E9FF;
  font-size: 13px;
  margin-top: 20px;
}
@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand-logo { width: 108px; height: 48px; }
  .hero {
    min-height: 500px;
    padding: 64px 25px;
    background-position: 58% center;
    background-image:
      linear-gradient(90deg, rgba(5, 42, 125, .96) 0%, rgba(5, 57, 157, .86) 62%, rgba(5, 74, 180, .58) 100%),
      url("assets/hero-construction-blue.jpg");
  }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(39px, 9vw, 58px); }
  .hero-copy { max-width: 560px; }
}


/* Remove the old decorative building illustration from the hero */
.hero-art,
.hero-visual,
.grid-lines,
.tower,
.art-caption {
  display: none !important;
}
.hero {
  display: block;
  min-height: 560px;
}
.hero-content {
  width: min(900px, 100%);
}
@media (max-width: 700px) {
  .hero { min-height: 500px; }
  .hero-content { width: 100%; }
}




/* Membership QR image only — positioned on the right side of the hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.hero-content {
  width: 100%;
  max-width: 850px;
}
.hero-member-qr {
  display: block;
  justify-self: center;
  width: min(100%, 300px);
  height: auto;
  object-fit: contain;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .hero-member-qr {
    width: min(72vw, 240px);
    align-self: center;
  }
}