  /* Match container width to about page */
  #serviceContentSection .container,
  .section-empty .container {
    width: 88% !important;
    max-width: 1300px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  @media (max-width: 991px) {
    #serviceContentSection .container,
    .section-empty .container {
      width: 92% !important;
    }
  }
  @media (max-width: 768px) {
    #serviceContentSection .container,
    .section-empty .container {
      width: 92% !important;
    }
  }
  @media (max-width: 576px) {
    #serviceContentSection .container,
    .section-empty .container {
      width: 95% !important;
    }
    body {
      padding-top: 80px !important;
    }
  }

  /* Hero Button (consistent with About page) */
  .hero-btn {
    display: inline-block;
    padding: 13px 32px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-size: 14px;
    font-weight: normal;
    border-radius: 15px;
    text-decoration: none;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
  }
  .hero-btn-primary {
    background: rgba(0, 74, 173, 0.7);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
    border: none;
  }
  .hero-btn-primary:hover {
    background: rgba(0, 74, 173, 1);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
    transform: translateY(-1px);
    color: #fff;
  }

  /* Section h2 standardization (consistent with About page) */
  .section-empty h2 {
    font-size: 2.8rem;
  }
  #serviceContentSection .title-base h2 {
    font-size: 34px;
  }

  /* Header Font - Consistent with About page */
  h1, h2, h3, h4 {
      font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
      font-weight: bold;
  }

  /* Subtitle/Description Font — scoped to page content, not footer */
  .services-hero-wrapper p,
  #serviceContentSection p,
  .section-empty p,
  .card-description, .service-modal-description,
  .service-hero-item-desc {
      font-family: 'Roboto', Arial, sans-serif !important;
      font-weight: normal !important;
      font-size: 15px !important;
      line-height: 1.6 !important;
  }

  /* Animations */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  /* Animation Classes */
  .animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
  }
  .animate-fade-in-up {
    animation: fadeInUp 0.5s ease-out forwards;
  }

  /* Training Table — modern wrapper */
  .training-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
  }
  .training-table-wrapper .table-responsive {
    margin: 0;
    min-height: 310px;
  }

  /* Training Table — base */
  .training-table {
    margin-bottom: 0;
    border: none;
    font-family: 'Roboto', Arial, sans-serif;
  }
  .training-table > thead > tr > th,
  .training-table > tbody > tr > td {
    border: none !important;
  }

  /* Training Table — header */
  .training-table > thead {
    background: linear-gradient(135deg, #004aad 0%, #163a6e 100%);
  }
  .training-table > thead > tr > th {
    padding: 14px 16px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
    white-space: nowrap;
  }
  .training-table > thead > tr > th:last-child {
    border-right: none !important;
  }

  /* Training Table — body rows */
  .training-table > tbody > tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
  }
  .training-table > tbody > tr:last-child {
    border-bottom: none;
  }
  .training-table > tbody > tr:hover {
    background: #f8fafd;
  }
  .training-table > tbody > tr > td {
    padding: 12px 16px;
    vertical-align: middle;
  }

  /* Training Table — program name */
  .training-table .prog-name {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #1a1a2e;
    font-weight: bold;
  }

  /* Training Table — description cell */
  .training-table .prog-desc {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    max-width: 280px;
  }

  /* Training Table — category badges (pill style) */
  .training-badge {
    display: inline-block;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: bold;
    color: #fff;
    white-space: nowrap;
  }
  .training-badge-sm {
    font-size: 0.7rem;
    padding: 2px 8px;
  }
  .training-badge-technical { background: #004aad; }
  .training-badge-hsse { background: #dc3545; }
  .training-badge-soft-skills { background: #17a2b8; }
  .training-badge-professional { background: #7c3aed; }
  .training-badge-customised { background: #6b7280; }

  /* Training Table — status/notes badges */
  .training-note {
    display: inline-block;
    font-family: 'Roboto', Arial, sans-serif;
    border-radius: 15px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
  }
  .training-note-success { background: #d4edda; color: #155724; }
  .training-note-warning { background: #fff3cd; color: #856404; }
  .training-note-info    { background: #d1ecf1; color: #0c5460; }

  /* Training Table — delivery chip */
  .delivery-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 12px;
    background: #f4f6f8;
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: #444;
    white-space: nowrap;
  }
  .delivery-chip i {
    font-size: 15px;
  }
  .delivery-chip-physical i { color: #004aad; }
  .delivery-chip-hybrid  i { color: #38a169; }
  .delivery-chip-online  i { color: #e0a800; }

  /* Enroll button (used in table, calendar popup, and non-scheduled section) */
  .btn-enroll {
    display: inline-block;
    background: #ffc107;
    border: none;
    color: #004aad;
    border-radius: 15px;
    padding: 6px 16px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
  }
  .btn-enroll:hover {
    background: #e0a800;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(255,193,7,0.35);
    color: #004aad;
  }

  /* Training Table — row hide/show */
  .training-row-hidden {
    display: none !important;
  }

  /* Training info note below the table */
  .training-info-note {
    margin-top: 20px;
  }
  @media (max-width: 768px) {
    .training-info-note {
      margin-top: 14px;
      font-size: 0.82rem;
    }
  }

  /* Non-scheduled enrol button — prevent shrink in flex row */
  .btn-enroll-ns {
    flex-shrink: 0;
  }

  /* Training toggle wrapper */
  .training-toggle-wrap {
    margin-bottom: 20px;
  }
  @media (max-width: 768px) {
    .training-toggle-wrap {
      margin-bottom: 14px;
    }
  }
  @media (max-width: 576px) {
    .training-toggle-wrap {
      margin-bottom: 10px;
    }
  }

  /* Training Search */
  .training-search {
    position: relative;
    max-width: 400px;
    margin: 0 auto 16px;
  }
  .training-search input {
    width: 100%;
    padding: 10px 16px 10px 42px;
    border: 2px solid #e0e7ef;
    border-radius: 15px;
    font-size: 0.95rem;
    font-family: 'Roboto', Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  .training-search input:focus {
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  }
  .training-search i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
    pointer-events: none;
  }

  /* Training Pagination */
  .training-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
  }
  .training-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border: 2px solid #e0e7ef;
    border-radius: 15px;
    background: #fff;
    color: #555;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .training-page-btn:hover:not(:disabled) {
    border-color: #004aad;
    color: #004aad;
  }
  .training-page-btn.active {
    background: #004aad;
    border-color: #004aad;
    color: #fff;
  }
  .training-page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }
  .training-page-info {
    font-family: 'Roboto', Arial, sans-serif;
    color: #888;
    font-size: 0.85rem;
    margin-top: 16px;
    text-align: center;
  }
  @media (max-width: 480px) {
    .training-pagination {
      gap: 4px;
    }
    .training-page-btn {
      min-width: 32px;
      height: 40px;
      padding: 0 8px;
      font-size: 0.8rem;
    }
    .training-page-info {
      font-size: 0.78rem;
    }
  }

  /* Training Table — tablet & mobile: convert to card layout */
  @media (max-width: 991px) {
    .training-search {
      max-width: 100%;
    }
    .training-table-wrapper .table-responsive {
      min-height: auto;
      overflow: visible;
    }
    .training-table-wrapper {
      padding-bottom: 80px;
      overflow: visible;
      box-shadow: none;
      border-radius: 0;
      background: transparent;
    }
    .training-table > thead {
      display: none !important;
    }
    .training-table > tbody > tr {
      display: flex;
      flex-direction: column;
      background: #fff;
      border: 1px solid #e0e7ef;
      border-radius: 12px;
      padding: 18px 16px;
      margin-bottom: 14px;
      gap: 0;
      border-bottom: none;
      overflow: hidden;
      list-style: none;
    }
    .training-table > tbody > tr:hover {
      box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    }
    .training-table > tbody > tr > td {
      display: flex;
      align-items: baseline;
      padding: 8px 0;
      border: none !important;
      border-bottom: 1px solid #f5f5f5 !important;
      gap: 12px;
      line-height: 1.5;
      overflow: hidden;
    }
    .training-table > tbody > tr > td:before {
      content: attr(data-label);
      font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
      font-size: 0.72rem;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.4px;
      min-width: 100px;
      width: 100px;
      flex-shrink: 0;
    }
    /* Hide stray list markers / bullets on card rows */
    .training-table > tbody > tr > td::marker,
    .training-table > tbody > tr::marker {
      content: none;
      display: none;
    }
    .training-table > tbody > tr > td:first-child {
      border-bottom: 1px solid #eaeaea !important;
      padding-bottom: 10px !important;
      padding-top: 0 !important;
      margin-bottom: 2px;
    }
    .training-table > tbody > tr > td:first-child:before {
      display: none;
    }
    .training-table .prog-name {
      font-size: 1rem;
    }
    .training-table .prog-desc {
      display: flex;
      max-width: 100%;
      font-size: 0.82rem;
      line-height: 1.5;
      white-space: normal;
      word-break: break-word;
    }
    .training-table > tbody > tr > td:last-child {
      justify-content: flex-start;
      padding-top: 12px !important;
      border-top: 1px solid #eaeaea !important;
      border-bottom: none !important;
      margin-top: 4px;
    }
    .training-table > tbody > tr > td:last-child:before {
      display: none;
    }
    .btn-enroll {
      width: 100%;
      text-align: center;
      padding: 10px 16px;
      font-size: 0.85rem;
    }
  }

  /* View Toggle (pill tabs) */
  .view-toggle {
    display: inline-flex;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #e0e7ef;
    margin-bottom: 25px;
  }
  .view-toggle .toggle-btn {
    padding: 8px 22px;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    background: #fff;
    color: #555;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    outline: none;
    border-right: 1px solid #e0e7ef;
  }
  .view-toggle .toggle-btn:last-child {
    border-right: none;
  }
  .view-toggle .toggle-btn.active {
    background: #004aad;
    color: #fff;
  }
  .view-toggle .toggle-btn:hover:not(.active) {
    background: #f0f4fa;
    color: #004aad;
  }
  @media (max-width: 991px) {
    .view-toggle {
      display: flex;
      width: 100%;
      max-width: 360px;
      margin-left: auto;
      margin-right: auto;
      margin-bottom: 18px;
    }
    .view-toggle .toggle-btn {
      flex: 1;
      text-align: center;
      padding: 7px 12px;
      font-size: 0.82rem;
    }
  }
  @media (max-width: 576px) {
    .view-toggle {
      max-width: 100%;
      margin-bottom: 14px;
    }
    .view-toggle .toggle-btn {
      padding: 8px 10px;
      font-size: 0.78rem;
      min-height: 40px;
    }
  }

  /* Calendar View */
  .calendar-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
  }
  .calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #004aad 0%, #163a6e 100%);
    padding: 14px 20px;
    color: #fff;
  }
  .calendar-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
  }
  .calendar-nav-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .calendar-nav-btn:hover {
    background: rgba(255,255,255,0.3);
  }
  .calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid #e0e7ef;
  }
  .calendar-day-header {
    padding: 10px 4px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #f8fafd;
    border-bottom: 1px solid #e0e7ef;
    border-right: 1px solid #f0f0f0;
  }
  .calendar-day-header:last-child {
    border-right: none;
  }
  .calendar-day {
    min-height: 90px;
    padding: 6px;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    position: relative;
    background: #fff;
    transition: background 0.15s;
  }
  .calendar-day:nth-child(7n) {
    border-right: none;
  }
  .calendar-day:hover {
    background: #f8fafd;
  }
  .calendar-day .day-number {
    font-size: 0.82rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 4px;
  }
  .calendar-day.other-month .day-number {
    color: #ccc;
  }
  .calendar-day.today {
    background: #f0f7ff;
  }
  .calendar-day.today .day-number {
    color: #004aad;
    font-weight: 700;
  }

  /* Calendar event bars */
  .calendar-event {
    display: block;
    padding: 2px 5px;
    margin-bottom: 2px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: opacity 0.2s, transform 0.15s;
    line-height: 1.3;
  }
  .calendar-event:hover {
    opacity: 0.85;
    transform: scale(1.03);
  }
  .calendar-event.filtered-out {
    display: none;
  }

  /* Calendar event popup */
  .calendar-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 9998;
  }
  .calendar-event-popup {
    position: fixed;
    z-index: 9999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    width: 320px;
    max-width: 90vw;
    animation: fadeInUp 0.2s ease-out;
  }
  .calendar-event-popup .popup-header {
    padding: 16px 18px 12px;
    border-bottom: 1px solid #f0f0f0;
  }
  .calendar-event-popup .popup-header h4 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: #1a1a2e;
  }
  .calendar-event-popup .popup-body {
    padding: 12px 18px 16px;
  }
  .calendar-event-popup .popup-body .popup-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: #555;
  }
  .calendar-event-popup .popup-body .popup-detail i {
    color: #004aad;
    width: 16px;
    text-align: center;
    font-size: 14px;
  }
  .calendar-event-popup .popup-footer {
    padding: 0 18px 16px;
  }
  .calendar-event-popup .popup-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    line-height: 1;
  }
  .calendar-event-popup .popup-close:hover {
    color: #333;
  }

  /* Calendar non-scheduled section */
  .calendar-non-scheduled {
    margin-top: 24px;
    background: #f8fafd;
    border-radius: 12px;
    padding: 20px 24px;
    border: 1px solid #e0e7ef;
  }
  .calendar-non-scheduled h4 {
    font-size: 1rem;
    color: #004aad;
    margin: 0 0 14px;
  }
  .calendar-non-scheduled-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid #e9ecef;
    transition: box-shadow 0.2s;
  }
  .calendar-non-scheduled-item:last-child {
    margin-bottom: 0;
  }
  .calendar-non-scheduled-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  }
  .calendar-non-scheduled-item .ns-info {
    flex: 1;
    min-width: 0;
  }
  .calendar-non-scheduled-item .ns-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1a2e;
  }
  .calendar-non-scheduled-item .ns-meta {
    font-size: 0.78rem;
    color: #888;
    margin-top: 2px;
  }

  /* Calendar mobile responsive */
  @media (max-width: 768px) {
    .calendar-day {
      min-height: 70px;
      padding: 4px;
    }
    .calendar-day .day-number {
      font-size: 0.75rem;
    }
    .calendar-event {
      font-size: 0.6rem;
      padding: 1px 3px;
    }
    .calendar-header h3 {
      font-size: 0.95rem;
    }
    .calendar-nav-btn {
      min-width: 44px;
      min-height: 44px;
    }
    .calendar-event-popup {
      width: 90vw;
      max-width: 340px;
      left: 50% !important;
      top: 50% !important;
      transform: translate(-50%, -50%);
    }
    .calendar-non-scheduled-item {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
    .calendar-non-scheduled-item .btn-enroll {
      width: 100%;
      text-align: center;
    }
  }
  @media (max-width: 480px) {
    .calendar-day {
      min-height: 50px;
      padding: 2px;
    }
    .calendar-day .day-number {
      font-size: 0.7rem;
    }
    .calendar-event {
      font-size: 0;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      padding: 0;
      margin: 1px auto;
      display: block;
      overflow: visible;
    }
    .calendar-day-header {
      font-size: 0.65rem;
      padding: 6px 2px;
    }
    .calendar-non-scheduled {
      padding: 14px 16px;
    }
  }

  /* Process Timeline */
  .process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 0 20px;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: #004aad;
    z-index: 0;
  }
  .process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 10px;
  }
  .process-step-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: #004aad;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,74,173,0.3);
    border: 4px solid #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .process-step-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,74,173,0.5);
  }
  .process-step-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    top: 40px;
    transform: translateY(-50%);
    color: #004aad;
    font-size: 1.2rem;
    z-index: 1;
    flex-shrink: 0;
    width: 30px;
  }
  .process-step h4 {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #004aad;
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .process-step p {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
  }
  @media (max-width: 768px) {
    .process-timeline {
      flex-direction: column;
      align-items: flex-start;
      padding-left: 50px;
    }
    .process-timeline::before {
      top: 0;
      bottom: 0;
      left: 22px;
      right: auto;
      width: 3px;
      height: 100%;
      transform: none;
    }
    .process-step {
      width: 100%;
      max-width: 100%;
      margin-bottom: 30px;
      text-align: left;
    }
    .process-step-circle {
      margin: 0 0 14px;
      position: relative;
      left: -88px;
      margin-bottom: -46px;
    }
    .process-step-img {
      height: 120px;
    }
    .process-arrow {
      top: 0;
      transform: none;
      width: auto;
      margin-bottom: 10px;
      display: none;
    }
    .process-arrow .fa-chevron-right {
      display: none;
    }
    .process-arrow .fa-chevron-down {
      display: inline-block;
    }
  }
  @media (min-width: 769px) {
    .process-arrow .fa-chevron-down {
      display: none;
    }
  }
  @media (max-width: 480px) {
    .process-timeline {
      padding-left: 42px;
    }
    .process-timeline::before {
      left: 17px;
    }
    .process-step {
      max-width: 100%;
    }
    .process-step-circle {
      width: 50px;
      height: 50px;
      font-size: 1.1rem;
      left: -50px;
      margin-bottom: -36px;
    }
    .process-step-img {
      height: 100px;
    }
    .process-step h4 {
      font-size: 0.9rem;
    }
    .process-step p {
      font-size: 0.8rem;
    }
  }

  /* Fabrication section divider */
  .fab-divider {
    border: none;
    border-top: 1px solid #e0e7ef;
    margin: 36px 0;
  }

  /* Fabrication pane CTA row */
  .fab-cta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    flex-wrap: wrap;
  }

  /* Fabrication utility classes */
  .fab-link {
    color: #004aad;
    font-weight: 600;
  }
  .mb-0 {
    margin-bottom: 0;
  }

  /* Fabrication section wrappers — alternating backgrounds */
  .fab-section {
    padding: 40px 30px;
  }
  .fab-section:first-child {
    padding-top: 10px;
  }
  .fab-section-alt {
    background: #edf1f7;
  }
  /* Bleed edge-to-edge in inline content area */
  #sectionContent .fab-section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 30px);
    padding-right: calc(50vw - 50% + 30px);
  }
  /* Inside modals, simpler bleed */
  .service-modal-body .fab-section {
    margin: 0 -30px;
    padding-left: 30px;
    padding-right: 30px;
  }
  @media (max-width: 768px) {
    .fab-section {
      padding: 30px 20px;
    }
    .service-modal-body .fab-section {
      margin: 0 -20px;
      padding-left: 20px;
      padding-right: 20px;
    }
  }
  @media (max-width: 480px) {
    .fab-section {
      padding: 24px 14px;
    }
    .service-modal-body .fab-section {
      margin: 0 -16px;
      padding-left: 14px;
      padding-right: 14px;
    }
    .fab-divider {
      margin: 24px 0;
    }
  }

  /* Other Services — split blocks */
  .other-service-row {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .other-service-img-col {
    flex: 0 0 42%;
  }
  .other-service-img-col img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    object-fit: cover;
    height: 280px;
  }
  .other-service-text-col {
    flex: 1;
  }
  .other-service-title {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #004aad;
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .other-service-desc {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  .other-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .other-service-tags li {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.82rem;
    color: #004aad;
    background: rgba(0,74,173,0.08);
    padding: 4px 14px;
    border-radius: 20px;
  }
  .fab-section-alt .other-service-tags li {
    background: rgba(0,74,173,0.12);
  }
  @media (max-width: 768px) {
    .other-service-row {
      flex-direction: column;
      gap: 20px;
    }
    .other-service-img-col {
      flex: none;
      width: 100%;
    }
    .other-service-img-col img {
      height: 200px;
    }
    .other-service-desc {
      font-size: 0.92rem;
      line-height: 1.6;
    }
  }
  @media (max-width: 480px) {
    .other-service-img-col img {
      height: 170px;
    }
    .other-service-desc {
      font-size: 0.85rem;
    }
    .other-service-tags li {
      font-size: 0.75rem;
      padding: 3px 10px;
    }
  }

  /* Activity Story Sections */
  .activity-story-intro {
    text-align: center;
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
  }
  .story-section {
    margin-bottom: 0;
  }
  .story-section:not(:last-child) {
    margin-bottom: 50px;
  }
  .fab-section .story-section {
    margin-bottom: 0;
  }
  /* Section header — centered above the split layout (matches about page title-base) */
  .story-section-header {
    text-align: center;
    margin-bottom: 30px;
  }
  .story-section-header h3 {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #004aad;
    font-size: 1.8rem;
    margin-bottom: 6px;
  }
  .story-section-header p {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 1rem;
    margin: 0;
  }
  .story-section .story-text {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  .story-section .row {
    display: flex;
    flex-wrap: wrap;
  }
  .story-section img.story-side-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .story-section img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .story-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .story-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 20px;
    border-left: 3px solid rgba(0,74,173,0.25);
    transition: box-shadow 0.2s ease;
  }
  .fab-section-alt .story-item {
    background: #fff;
  }
  .story-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  }
  .story-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
  }
  .story-item-header i {
    color: #004aad;
    font-size: 1.15rem;
    width: 22px;
    text-align: center;
    flex-shrink: 0;
  }
  .story-item-header h5 {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #004aad;
    font-size: 1rem;
    margin: 0;
  }
  .story-item p {
    font-family: 'Roboto', Arial, sans-serif;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 8px;
  }
  .story-item-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .story-item-highlights li {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 0.78rem;
    color: #004aad;
    background: rgba(0,74,173,0.08);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
  }
  /* Training CTA wrapper — full width, breaks out of container */
  .training-cta-section {
    margin: 50px 0 0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Story CTA — dark blue band (matches about page collaboration section) */
  .story-cta-band {
    text-align: center;
    padding: 40px 20px;
    background: #1e3a5f;
  }
  .story-cta-band h4 {
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .story-cta-band .story-cta-desc {
    font-family: 'Roboto', Arial, sans-serif;
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto 20px;
    line-height: 1.6;
  }
  @media (min-width: 769px) {
    .story-section .story-image-col {
      display: flex;
    }
  }
  @media (max-width: 991px) {
    .story-section .row {
      flex-direction: column;
    }
    .story-section .story-image-col {
      margin-bottom: 20px;
      order: -1;
    }
    .story-section img.story-side-img {
      height: 250px;
    }
    .story-section .col-md-7 {
      width: 100%;
    }
    .story-section .col-md-5 {
      width: 100%;
    }
  }
  @media (max-width: 768px) {
    .story-section img.story-side-img {
      height: 220px;
    }
    .story-item {
      padding: 14px 16px;
    }
    .story-section .story-text {
      font-size: 0.92rem;
    }
    .story-cta-band h4 {
      font-size: 1.2rem;
    }
    .story-cta-band .story-cta-desc {
      font-size: 0.9rem;
    }
  }
  @media (max-width: 480px) {
    .story-section img.story-side-img {
      height: 180px;
    }
    .story-item-header h5 {
      font-size: 0.9rem;
    }
    .story-item p {
      font-size: 0.82rem;
    }
    .story-item-highlights li {
      font-size: 0.72rem;
      padding: 2px 8px;
    }
  }


  /* Fabricator Series Box */
  /* Animation opt-in classes */
  .will-animate {
    opacity: 0;
  }
  .will-animate.animated {
    animation: fadeInUp 0.5s ease-out forwards;
  }

  /* Overview Cards Grid */
  .overview-cards-container {
    padding: 40px 0;
  }
  .overview-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  .overview-cards-grid .overview-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
  @media (max-width: 992px) {
    .overview-cards-grid .overview-card {
      flex: 0 0 calc(50% - 15px);
      max-width: calc(50% - 15px);
    }
  }
  @media (max-width: 576px) {
    .overview-cards-grid .overview-card {
      flex: 0 0 100%;
      max-width: 100%;
    }
    .overview-cards-grid {
      gap: 16px;
    }
    .overview-card .card-image {
      height: 170px;
    }
    .overview-card .card-title {
      font-size: 1.1rem;
    }
    .overview-card .card-description {
      font-size: 0.88rem;
    }
  }

  /* Individual Overview Card */
  .overview-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 2px solid #e0e7ef;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
  .overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(30, 75, 142, 0.15);
    border-color: #004aad;
  }

  /* Card Image with Slideshow on Hover */
  .overview-card .card-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 200px;
    margin-bottom: 20px;
  }
  .overview-card .card-image .card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
  }
  .overview-card .card-image .card-slide.active {
    opacity: 1;
  }

  /* Card Content */
  .overview-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #004aad;
    margin-bottom: 12px;
  }
  .overview-card .card-badge {
    display: inline-block;
    background: #004aad;
    color: #fff;
    padding: 8px 24px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 15px;
  }
  .overview-card .card-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 20px;
  }
  .overview-card .card-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #888;
    font-size: 0.85rem;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    margin-bottom: 15px;
  }
  .overview-card .card-footer i {
    margin-right: 5px;
    color: #004aad;
  }
  .overview-card .card-action {
    margin-top: auto;
  }
  .overview-card .btn-card-action {
    display: inline-block;
    background: rgba(0, 74, 173, 0.85);
    color: #fff;
    padding: 10px 25px;
    border-radius: 15px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-weight: normal;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
    transition: all 0.25s ease;
  }
  .overview-card .btn-card-action:hover {
    background: rgba(0, 74, 173, 1);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
    transform: translateY(-1px);
    color: #fff;
  }

  /* Service Modal */
  .service-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
  }
  .service-modal-overlay.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
  }
  .service-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 1500px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
  }
  @keyframes modalSlideIn {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .service-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255,255,255,0.2);
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: all 0.3s ease;
  }
  .service-modal-close:hover {
    background: rgba(255,255,255,0.3);
    color: #fff;
  }
  .service-modal-hero {
    position: relative;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
  }
  .service-modal-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(30, 75, 142, 0.85) 100%);
  }
  .service-modal-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px 40px;
    color: #fff;
  }
  .service-modal-title {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
  }
  .service-modal-description {
    color: rgba(255,255,255,0.9);
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: normal;
    font-size: 1.2rem;
    margin: 0;
    max-width: 700px;
    line-height: 1.5;
  }
  .service-modal-body {
    padding: 30px;
    max-height: 70vh;
    overflow-y: auto;
  }
  .service-modal-body .btn {
    border-radius: 15px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-weight: normal;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
  }
  .service-modal-body .btn.btn-sm {
    padding: 10px 25px;
    font-size: 14px;
  }
  .service-modal-body .btn.btn-sm:not(.btn-border) {
    background: rgba(0, 74, 173, 0.85);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
    border: none;
  }
  .service-modal-body .btn.btn-sm:not(.btn-border):hover {
    background: rgba(0, 74, 173, 1);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
    transform: translateY(-1px);
    color: #fff;
  }
  .service-modal-body .btn.btn-sm.btn-border {
    background: none;
    color: #004aad;
    border: 2px solid #004aad;
    padding: 8px 25px;
  }
  .service-modal-body .btn.btn-sm.btn-border:hover {
    background: #004aad;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
  }
  .service-modal-body .btn::after {
    display: none !important;
  }
  @media (max-width: 768px) {
    .service-modal-overlay {
      padding: 20px 10px;
    }
    .service-modal-hero {
      height: 160px;
    }
    .service-modal-hero-content {
      padding: 20px;
    }
    .service-modal-title {
      font-size: 24px;
    }
    .service-modal-description {
      font-size: 0.95rem;
    }
    .service-modal-body {
      padding: 20px;
      max-height: 75vh;
    }
  }
  @media (max-width: 480px) {
    .service-modal-overlay {
      padding: 10px 6px;
    }
    .service-modal-hero {
      height: 130px;
    }
    .service-modal-hero-content {
      padding: 16px;
    }
    .service-modal-title {
      font-size: 20px;
    }
    .service-modal-description {
      font-size: 0.85rem;
    }
    .service-modal-body {
      padding: 16px;
    }
    .service-modal-close {
      width: 40px;
      height: 40px;
      font-size: 26px;
      top: 10px;
      right: 10px;
    }
  }

  /* Ensure content is visible even without JS */
  @media (prefers-reduced-motion: reduce) {
    .will-animate {
      opacity: 1 !important;
      animation: none !important;
    }
  }

  /* Service Tabs Sidebar Buttons */
  .service-tabs-sidebar {
    background: transparent;
    padding: 20px;
  }
  .service-tabs-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .service-tabs-sidebar li {
    margin-bottom: 10px;
  }
  .service-tabs-sidebar li:last-child {
    margin-bottom: 0;
  }
  .service-tabs-sidebar li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: normal;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }
  .service-tabs-sidebar li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    transform: translateX(5px);
  }
  .service-tabs-sidebar li.active a {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
  .service-tabs-sidebar li a i {
    font-size: 18px;
    color: #ffc107;
    width: 24px;
    text-align: center;
  }
  .service-tabs-sidebar li.tab-clicked a {
    transform: scale(0.98);
  }
  @media (max-width: 768px) {
    .service-tabs-sidebar {
      margin-top: 30px;
      padding: 15px;
    }
    .service-tabs-sidebar li a {
      padding: 10px 15px;
      font-size: 0.9rem;
    }
    .service-tabs-sidebar li a i {
      font-size: 16px;
    }
  }

  /* Service Hero Grid — uses --navbar-h set by JS to stay in sync with actual navbar height */
  .service-hero-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    width: 100%;
    margin-top: calc(var(--navbar-h, 100px) * -1);
    position: relative;
    z-index: 1;
  }
  .service-hero-item {
    position: relative;
    height: calc(300px + var(--navbar-h, 100px));
    overflow: hidden;
    cursor: pointer;
  }
  .service-hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  .service-hero-item:hover img,
  .service-hero-item:focus-visible img {
    transform: scale(1.1);
  }
  .service-hero-item:focus-visible {
    outline: 3px solid #f6d00b;
    outline-offset: -3px;
    z-index: 2;
  }
  .service-hero-item:focus-visible .service-hero-item-desc,
  .service-hero-item:focus-visible .service-hero-item-btn {
    opacity: 1;
    transform: translateY(0);
  }
  .service-hero-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(30,58,95,0.95) 0%, rgba(30,58,95,0.4) 50%, rgba(30,58,95,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 25px;
    transition: background 0.3s ease;
  }
  .service-hero-item:hover .service-hero-item-overlay {
    background: linear-gradient(to top, rgba(30,58,95,0.98) 0%, rgba(30,58,95,0.6) 50%, rgba(30,58,95,0.3) 100%);
  }
  .service-hero-item-icon {
    color: #ffc107;
    font-size: 36px;
    margin-bottom: 12px;
    transition: transform 0.3s ease;
  }
  .service-hero-item:hover .service-hero-item-icon {
    transform: scale(1.1);
  }
  .service-hero-item-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  }
  .service-hero-item-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }
  .service-hero-item:hover .service-hero-item-desc {
    opacity: 1;
    transform: translateY(0);
  }
  .service-hero-item-btn {
    display: inline-block;
    width: fit-content;
    max-width: fit-content;
    margin-top: 15px;
    padding: 6px 14px;
    background: #ffc107;
    color: #004aad;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
    align-self: flex-start;
  }
  .service-hero-item:hover .service-hero-item-btn {
    opacity: 1;
    transform: translateY(0);
  }
  .service-hero-item-btn:hover {
    background: #e0a800;
    color: #004aad;
  }
  @media (max-width: 1200px) {
    .service-hero-item {
      height: calc(260px + var(--navbar-h, 100px));
    }
    .service-hero-item-title {
      font-size: 1.1rem;
    }
  }
  /* Tablet & below: hide hero grid, show mobile pill nav */
  @media (max-width: 991px) {
    .service-hero-grid {
      display: none;
    }
    .services-hero-wrapper {
      padding-top: 16px;
    }
  }
  @media (max-width: 768px) {
    .services-hero-wrapper {
      padding-top: 0px;
    }
  }
  /* Active service indicator (click to expand) */
  .service-hero-grid.has-active {
    grid-template-columns: var(--grid-cols, repeat(5, 1fr));
    transition: grid-template-columns 0.5s ease;
  }

  .service-hero-item.active {
    box-shadow: inset 0 -5px 0 #ffc107;
  }
  .service-hero-item.active .service-hero-item-overlay {
    background: linear-gradient(to top, rgba(30,58,95,0.98) 0%, rgba(30,58,95,0.6) 50%, rgba(30,58,95,0.3) 100%);
  }
  .service-hero-item.active .service-hero-item-desc,
  .service-hero-item.active .service-hero-item-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .service-hero-grid.has-active .service-hero-item:not(.active) {
    filter: brightness(0.7);
  }
  .service-hero-grid.has-active .service-hero-item:not(.active) .service-hero-item-title {
    font-size: 0.9rem;
  }
  .service-hero-grid.has-active .service-hero-item:not(.active) .service-hero-item-desc,
  .service-hero-grid.has-active .service-hero-item:not(.active) .service-hero-item-btn {
    display: none;
  }

  /* hero grid hidden on ≤991px — no tablet overrides needed */

  /* Auto-cycling featured state (equal columns, brightness highlight) */
  .service-hero-grid.cycling {
    grid-template-columns: repeat(5, 1fr);
  }
  .service-hero-grid.cycling .service-hero-item {
    transition: filter 0.8s ease, box-shadow 0.8s ease;
  }
  .service-hero-grid.cycling .service-hero-item:not(.featured) {
    filter: brightness(0.85);
  }
  .service-hero-grid.cycling .service-hero-item.featured {
    box-shadow: inset 0 -4px 0 #ffc107;
  }
  .service-hero-grid.cycling .service-hero-item.featured .service-hero-item-desc,
  .service-hero-grid.cycling .service-hero-item.featured .service-hero-item-btn {
    opacity: 1;
    transform: translateY(0);
  }
  .service-hero-grid.cycling .service-hero-item.featured .service-hero-item-icon {
    transform: scale(1.1);
  }

  /* Amber clickability dot indicator */
  .service-hero-item::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #ffc107;
    border-radius: 50%;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 3;
  }
  .service-hero-item:hover::after,
  .service-hero-item.active::after,
  .service-hero-item.featured::after {
    opacity: 1;
  }
  /* hero grid hidden on ≤991px — cycling overrides not needed */

  /* Service Content Section */
  #serviceContentSection {
    padding: 25px 0;
    background: #fff;
    min-height: 400px;
    overflow-x: hidden;
    overflow-y: visible;
  }
  #serviceContentSection > .container.content {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  #serviceContentSection .btn {
    border-radius: 15px;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-weight: normal;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
  }
  #serviceContentSection .btn.btn-sm {
    padding: 10px 25px;
    font-size: 14px;
  }
  #serviceContentSection .btn.btn-sm:not(.btn-border) {
    background: rgba(0, 74, 173, 0.85);
    color: #fff;
    box-shadow: 0 2px 8px rgba(0, 74, 173, 0.3);
    border: none;
  }
  #serviceContentSection .btn.btn-sm:not(.btn-border):hover {
    background: rgba(0, 74, 173, 1);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
    transform: translateY(-1px);
    color: #fff;
  }
  #serviceContentSection .btn.btn-sm.btn-border {
    background: none;
    color: #004aad;
    border: 2px solid #004aad;
    padding: 8px 25px;
  }
  #serviceContentSection .btn.btn-sm.btn-border:hover {
    background: #004aad;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 74, 173, 0.4);
  }
  #serviceContentSection .btn::after {
    display: none !important;
  }

  /* Services Breadcrumb — positioned over the hero grid */
  .services-hero-wrapper {
    position: relative;
  }
  .services-breadcrumb {
    position: absolute;
    top: calc(var(--navbar-h, 100px) + 50px);
    left: 0;
    right: 0;
    z-index: 10;
    font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
    font-size: 13px;
  }
  .services-breadcrumb .breadcrumb-inner {
    display: inline-block;
    background: rgba(30, 58, 95, 0.85);
    padding: 6px 16px;
    border-radius: 15px;
    backdrop-filter: blur(4px);
  }
  .services-breadcrumb .container {
    width: 88% !important;
    max-width: 1300px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .services-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
    pointer-events: auto;
  }
  .services-breadcrumb a:hover {
    color: #fff;
    text-decoration: underline;
  }
  .services-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
  }
  .services-breadcrumb .breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
  }
  @media (max-width: 991px) {
    .services-breadcrumb {
      position: relative;
      top: auto;
      background: #1e3a5f;
      padding: 10px 16px 0;
      font-size: 12px;
    }
    .services-breadcrumb .container {
      width: auto !important;
      padding: 0 !important;
    }
    .services-breadcrumb .breadcrumb-inner {
      background: none;
      padding: 0;
      backdrop-filter: none;
    }
  }
  @media (max-width: 576px) {
    .services-breadcrumb {
      font-size: 11px;
      padding: 8px 12px 0;
    }
  }

  /* Responsive — matching About page breakpoints */
  @media (max-width: 991px) {
    #serviceContentSection {
      padding: 20px 0;
    }
    #serviceContentSection .title-base {
      margin-bottom: 16px;
    }
    #serviceContentSection .title-base hr {
      margin-bottom: 10px;
    }
  }
  @media (max-width: 768px) {
    .section-empty h2 { font-size: 1.8rem; }
    .hero-btn { padding: 10px 24px; font-size: 13px; min-height: 44px; }
    #serviceContentSection .title-base h2 {
      font-size: 24px;
    }
    #serviceContentSection {
      padding: 16px 0;
      min-height: 250px;
    }
    #serviceContentSection .title-base p {
      font-size: 0.88rem !important;
      margin-bottom: 8px;
    }
  }
  @media (max-width: 576px) {
    .section-empty h2 { font-size: 1.5rem; }
    .hero-btn { padding: 10px 18px; font-size: 12px; }
    .section-empty[style*="background: #1e3a5f"] { padding: 25px 0 !important; }
    .section-empty[style*="background: #1e3a5f"] p { font-size: 14px !important; }
    #serviceContentSection .title-base h2 {
      font-size: 20px;
    }
    #serviceContentSection .title-base p {
      font-size: 0.82rem !important;
    }
    #serviceContentSection {
      padding: 12px 0;
    }
  }

  /* Mobile Service Nav — horizontal scrollable pill bar */
  .service-mobile-nav {
    display: none;
  }
  @media (max-width: 991px) {
    .service-mobile-nav {
      display: flex;
      gap: 8px;
      padding: 12px 16px;
      background: #1e3a5f;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    .service-mobile-nav::-webkit-scrollbar {
      display: none;
    }
    .service-mobile-pill {
      display: flex;
      align-items: center;
      gap: 6px;
      padding: 10px 16px;
      min-height: 44px;
      background: rgba(255,255,255,0.1);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 20px;
      color: rgba(255,255,255,0.85);
      font-family: 'HomepageBaukasten Bold', Arial, sans-serif;
      font-size: 0.82rem;
      font-weight: 600;
      white-space: nowrap;
      cursor: pointer;
      transition: all 0.2s ease;
      flex-shrink: 0;
    }
    .service-mobile-pill i {
      font-size: 16px;
      color: #ffc107;
    }
    .service-mobile-pill:hover {
      background: rgba(255,255,255,0.18);
      border-color: rgba(255,255,255,0.3);
      color: #fff;
    }
    .service-mobile-pill.active {
      background: #ffc107;
      border-color: #ffc107;
      color: #1e3a5f;
    }
    .service-mobile-pill.active i {
      color: #1e3a5f;
    }
  }
  @media (max-width: 576px) {
    .service-mobile-nav {
      gap: 6px;
      padding: 10px 12px;
    }
    .service-mobile-pill {
      padding: 7px 12px;
      font-size: 0.78rem;
    }
    .service-mobile-pill i {
      font-size: 14px;
    }
  }

  /* Enrollment Modal */
  .enroll-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
  }
  .enroll-modal-overlay.active {
    display: flex;
  }
  .enroll-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: enrollSlideIn 0.25s ease;
  }
  @keyframes enrollSlideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .enroll-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .enroll-modal-close:hover { color: #333; }
  .enroll-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin: 0 0 4px;
  }
  .enroll-modal-program {
    font-size: 0.95rem;
    color: #004aad;
    font-weight: 600;
    margin: 0 0 20px;
  }
  .enroll-field {
    margin-bottom: 16px;
  }
  .enroll-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
  }
  .enroll-field .required {
    color: #dc3545;
  }
  .enroll-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }
  .enroll-field input:focus {
    outline: none;
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  }
  .enroll-message {
    font-size: 0.85rem;
    padding: 0;
    margin-bottom: 12px;
    border-radius: 6px;
    min-height: 20px;
  }
  .enroll-message-error {
    color: #dc3545;
    background: #fdf0f0;
    padding: 8px 12px;
  }
  .enroll-message-success {
    color: #0d6832;
    background: #eafbe7;
    padding: 8px 12px;
  }
  .enroll-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
  }
  .enroll-btn-cancel {
    padding: 10px 20px;
    border: 1px solid #d0d5dd;
    background: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #333;
  }
  .enroll-btn-cancel:hover { background: #f5f5f5; }
  .enroll-btn-submit {
    padding: 10px 24px;
    border: none;
    background: #004aad;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
  }
  .enroll-btn-submit:hover { background: #003d91; }
  .enroll-btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  @media (max-width: 576px) {
    .enroll-modal {
      width: 95%;
      padding: 20px;
      max-height: 95vh;
    }
    .enroll-modal-title {
      font-size: 1.1rem;
    }
    .enroll-actions {
      flex-direction: column;
    }
    .enroll-btn-cancel,
    .enroll-btn-submit {
      width: 100%;
      text-align: center;
      min-height: 44px;
    }
    .enroll-field input {
      font-size: 16px;
    }
  }
  .enroll-field .iti {
    width: 100%;
  }
  .enroll-field .iti__tel-input {
    width: 100%;
    padding: 10px 12px 10px 52px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    box-sizing: border-box;
  }
  .enroll-field .iti__tel-input:focus {
    outline: none;
    border-color: #004aad;
    box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1);
  }
  .enroll-field-hint {
    display: block;
    font-size: 0.78rem;
    color: #6c757d;
    margin-top: 4px;
  }
  .enroll-field .flatpickr-input,
  .enroll-field .flatpickr-input.active {
    background-color: #fff !important;
    cursor: pointer;
  }
  .enroll-field .flatpickr-wrapper {
    display: block;
    width: 100%;
    position: relative;
  }
  /* Flatpickr calendar standalone styles (no .light-style parent) */
  .enroll-field .flatpickr-calendar {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: visible;
    width: 100% !important;
    min-width: 280px;
  }
  .enroll-field .flatpickr-calendar.static {
    position: absolute;
    top: 100%;
    z-index: 10;
  }
  .enroll-field .flatpickr-calendar.static.open {
    z-index: 10;
  }
  .enroll-field .flatpickr-months {
    background: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  .enroll-field .flatpickr-month {
    background: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
  }
  .enroll-field .flatpickr-current-month {
    font-size: 1rem;
    color: #1e3a5f;
    font-weight: 600;
  }
  .enroll-field .flatpickr-current-month .cur-month,
  .enroll-field .flatpickr-current-month .cur-year {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.95rem;
  }
  .enroll-field .flatpickr-monthDropdown-months {
    color: #1e3a5f;
    font-weight: 600;
    background: #fff;
  }
  .enroll-field .flatpickr-prev-month,
  .enroll-field .flatpickr-next-month {
    background-color: #f0f2f5;
    border-radius: 6px;
  }
  .enroll-field .flatpickr-prev-month:hover,
  .enroll-field .flatpickr-next-month:hover {
    background-color: #e0e4e8;
  }
  .enroll-field .flatpickr-prev-month svg,
  .enroll-field .flatpickr-next-month svg {
    fill: #384551;
    stroke: #384551;
  }
  .enroll-field .flatpickr-weekdays {
    background: #fff;
  }
  .enroll-field span.flatpickr-weekday {
    color: #6c757d;
    font-size: 0.8rem;
    font-weight: 600;
    background: #fff;
  }
  .enroll-field .flatpickr-days {
    background: #fff;
    padding: 4px 8px 8px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    width: 100% !important;
  }
  .enroll-field .dayContainer {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }
  .enroll-field .flatpickr-day {
    color: #384551;
    border-radius: 6px;
    max-width: none;
  }
  .enroll-field .flatpickr-day:hover,
  .enroll-field .flatpickr-day:focus {
    background: #f0f2f5;
    border-color: transparent;
    color: #384551;
  }
  .enroll-field .flatpickr-day.today {
    border-color: #004aad;
  }
  .enroll-field .flatpickr-day.today:hover {
    background: #004aad;
    color: #fff;
    border-color: #004aad;
  }
  .enroll-field .flatpickr-day.selected,
  .enroll-field .flatpickr-day.selected:hover {
    background: #004aad;
    color: #fff;
    border-color: #004aad;
  }
  .enroll-field .flatpickr-day.prevMonthDay,
  .enroll-field .flatpickr-day.nextMonthDay {
    color: #b0b5ba;
  }
  .enroll-field .flatpickr-day.flatpickr-disabled,
  .enroll-field .flatpickr-day.flatpickr-disabled:hover {
    color: #ccc !important;
    background: transparent !important;
  }

  /* PDPO Consent Section */
  .enroll-consent {
    margin: 20px 0 16px;
    border: 1px solid #e2e6ea;
    border-radius: 8px;
    overflow: hidden;
  }
  .enroll-consent-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    background: #f8f9fa;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e3a5f;
    user-select: none;
    transition: background 0.2s;
  }
  .enroll-consent-toggle:hover {
    background: #eef1f5;
  }
  .enroll-consent-toggle .fa-shield {
    color: #004aad;
    font-size: 1rem;
  }
  .enroll-consent-arrow {
    margin-left: auto;
    font-size: 0.7rem;
    transition: transform 0.25s;
    color: #888;
  }
  .enroll-consent-details.open ~ .enroll-consent-toggle .enroll-consent-arrow,
  .enroll-consent-details.open + .enroll-consent-checkbox {
    /* handled via JS toggle */
  }
  .enroll-consent-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 14px;
    background: #fff;
  }
  .enroll-consent-details.open {
    max-height: 600px;
    padding: 14px;
    border-top: 1px solid #e2e6ea;
  }
  .enroll-consent-details p {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 8px;
  }
  .enroll-consent-details ul {
    padding-left: 18px;
    margin-bottom: 10px;
  }
  .enroll-consent-details ul li {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 3px;
  }
  .enroll-consent-details strong {
    color: #333;
  }
  .enroll-consent-contact {
    font-size: 0.78rem !important;
    color: #888 !important;
    margin-top: 8px;
  }
  .enroll-consent-contact a {
    color: #004aad;
    font-weight: 600;
  }
  .enroll-consent-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border-top: 1px solid #e2e6ea;
    cursor: pointer;
    background: #fafbfc;
  }
  .enroll-consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #004aad;
    cursor: pointer;
  }
  .enroll-consent-checkbox span {
    font-size: 0.82rem;
    color: #444;
    line-height: 1.5;
  }
  .enroll-consent-checkbox a {
    color: #004aad;
    font-weight: 600;
    text-decoration: underline;
  }
  .enroll-consent-checkbox .required {
    color: #dc3545;
  }

  /* Privacy Policy Modal */
  .privacy-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10001;
    justify-content: center;
    align-items: center;
  }
  .privacy-modal-overlay.active {
    display: flex;
  }
  .privacy-modal {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: enrollSlideIn 0.25s ease;
  }
  .privacy-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e6ea;
    flex-shrink: 0;
  }
  .privacy-modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .privacy-modal-header h3 .fa-shield {
    color: #004aad;
  }
  .privacy-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
  }
  .privacy-modal-close:hover {
    color: #333;
  }
  .privacy-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
  }
  .privacy-modal-body p {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 12px;
  }
  .privacy-modal-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #004aad;
    margin: 20px 0 8px;
  }
  .privacy-modal-body h4:first-child {
    margin-top: 0;
  }
  .privacy-modal-body ul {
    padding-left: 20px;
    margin-bottom: 12px;
  }
  .privacy-modal-body ul li {
    font-size: 0.88rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 4px;
  }
  .privacy-modal-contact {
    background: #f0f5ff;
    border-left: 3px solid #004aad;
    border-radius: 6px;
    padding: 16px 18px;
    margin-top: 20px;
    font-size: 0.85rem;
    color: #333;
    line-height: 1.6;
  }
  .privacy-modal-contact a {
    color: #004aad;
    font-weight: 600;
  }
  .privacy-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e2e6ea;
    text-align: right;
    flex-shrink: 0;
  }
  .privacy-modal-btn {
    padding: 10px 28px;
    border: none;
    background: #004aad;
    color: #fff;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
  }
  .privacy-modal-btn:hover {
    background: #003d91;
  }
  @media (max-width: 576px) {
    .privacy-modal {
      width: 95%;
      max-height: 90vh;
    }
    .privacy-modal-header {
      padding: 16px 18px;
    }
    .privacy-modal-body {
      padding: 18px;
    }
  }

  /* ── Community Posts ── */
  .community-posts {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 10px 0;
  }
  .community-post {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: box-shadow 0.25s;
  }
  .community-post:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  }
  .community-post-images {
    display: flex;
    gap: 4px;
    overflow: hidden;
    background: #1a1a2e;
  }
  .community-post-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
  }
.community-post-img.multi {
    flex: 1;
    min-width: 0;
    height: 320px;
    object-fit: contain;
    background: #1a1a2e;
  }
  .community-post-body {
    padding: 24px 28px 28px;
  }
  .community-post-date {
    display: inline-block;
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 8px;
  }
  .community-post-date i {
    margin-right: 5px;
    color: #004aad;
  }
  .community-post-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 10px;
  }
  .community-post-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.65;
    margin: 0 0 16px;
  }
  .community-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .community-post-tag {
    display: inline-block;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #004aad;
    background: #e8f0fe;
    border-radius: 20px;
  }
  @media (max-width: 768px) {
    .community-post-images {
      flex-direction: column;
      max-height: none;
    }
    .community-post-img,
    .community-post-img.multi {
      width: 100%;
      height: 220px;
    }
    .community-post-body {
      padding: 18px 20px 22px;
    }
  }
