/* ==========================================================================
   Global typography — Manrope, sizes & colors (live site theme)
   ========================================================================== */
:root {
  --tandheef-font: "Manrope", sans-serif;
  --tandheef-body-size: 15px;
  --tandheef-body-color: #687693;
  --tandheef-heading: #000b47;
  --tandheef-accent-blue: #233fd6;
  --tandheef-accent-orange: #ff5e14;
  --tandheef-nav-color: #fff;
  --tandheef-nav-size: 18px;
  --bs-font-sans-serif: var(--tandheef-font);
  --bs-body-font-family: var(--tandheef-font);
}

html {
  font-size: 16px;
}

body,
button,
input,
select,
textarea,
.wpo-site-header,
.MobileMenu_fullscreenMobileMenu__TFAUL,
.wpo-site-footer,
.wpo-breadcumb-area,
.static-hero,
main,
.theme-btn,
.theme-btn-s2 {
  font-family: var(--tandheef-font);
}

body {
  font-size: var(--tandheef-body-size);
  color: var(--tandheef-body-color);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--tandheef-font);
}

main p,
main li,
main label,
.wpo-about-content p,
.wpo-service-text p,
.wpo-about-item p,
.wpo-team-item span,
.form-control {
  font-family: var(--tandheef-font);
  font-size: var(--tandheef-body-size);
  color: var(--tandheef-body-color);
}

/* Desktop menu */
.wpo-site-header #navbar > ul > li > a,
.navigation-holder ul.nav > li > a {
  font-family: var(--tandheef-font) !important;
  font-size: var(--tandheef-nav-size) !important;
  font-weight: 500 !important;
  color: var(--tandheef-nav-color) !important;
}

.has-dropdown .dropdown .dropdown-link,
.has-dropdown .dropdown li a.dropdown-link {
  font-family: var(--tandheef-font) !important;
}

/* Section titles */
.wpo-section-title h2,
.wpo-section-title-s2 h2 {
  font-family: var(--tandheef-font);
  color: var(--tandheef-accent-blue);
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
}

.wpo-section-title h3,
.wpo-section-title-s2 h3 {
  font-family: var(--tandheef-font);
  color: var(--tandheef-heading);
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}

.wpo-section-title p,
.wpo-section-title-s2 p {
  font-size: 18px;
  color: var(--tandheef-body-color);
}

@media (max-width: 991px) {
  .wpo-section-title h3,
  .wpo-section-title-s2 h3 {
    font-size: 32px;
    line-height: 40px;
  }
}

@media (max-width: 767px) {
  .wpo-section-title h2,
  .wpo-section-title-s2 h2 {
    font-size: 18px;
  }
  .wpo-section-title h3,
  .wpo-section-title-s2 h3 {
    font-size: 30px;
  }
  .wpo-about-section {
    margin-bottom: 0!important;
  }
}

/* Breadcrumb */
.wpo-breadcumb-area .wpo-breadcumb-wrap h2 {
  font-family: var(--tandheef-font);
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  padding-top: 65px;
}
.wpo-breadcumb-area {
    min-height: 300px!important;
}
.wpo-breadcumb-area .wpo-breadcumb-wrap ul li,
.wpo-breadcumb-area .wpo-breadcumb-wrap ul li a {
  font-family: var(--tandheef-font);
  font-size: 20px;
  color: #fff;
}

.wpo-breadcumb-area .wpo-breadcumb-wrap ul li:last-child span {
  color: #cbd4fd;
}

@media (max-width: 767px) {
  .wpo-breadcumb-area .wpo-breadcumb-wrap h2 {
    font-size: 30px;
    line-height: 35px;
  }
  .wpo-breadcumb-area .wpo-breadcumb-wrap ul li,
  .wpo-breadcumb-area .wpo-breadcumb-wrap ul li a {
    font-size: 18px;
  }
}

/* Homepage hero — fix paths (theme CSS uses ../../../images for Next.js layout) */
.static-hero:not(.static-hero--image) {
  background-image: url(../images/slider/hero.jpg) !important;
}

.static-hero.static-hero--image {
  background-image: var(--hero-bg-desktop) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 767px) {
  .static-hero.static-hero--image {
    background-image: var(--hero-bg-mobile, var(--hero-bg-desktop)) !important;
  }
}

/* Home hero banner slider */
.static-hero-slider {
  position: relative;
  overflow: hidden;
}

.static-hero-slider .hero-slider-stage {
  position: relative;
  min-height: 1000px;
}

@media (max-width: 991px) {
  .static-hero-slider .hero-slider-stage {
    min-height: calc(100svh - 50px);
    height: calc(100svh - 50px);
  }

  .static-hero-slider .hero-slide.static-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 !important;
  }

  .static-hero-slider .hero-slide .wraper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 0 16px;
  }

  .static-hero-slider .hero-slide .content {
    text-align: center !important;
    margin: 0 auto !important;
    margin-left: 0 !important;
    max-width: 100% !important;
    padding: 0 12px;
  }
}

@media (max-width: 767px) {
  .static-hero-slider .hero-slider-stage {
    min-height: calc(100svh - 165px);
    height: calc(100svh - 165px);
  }
}

.static-hero-slider .hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
  z-index: 0;
}

.static-hero-slider .hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.static-hero-slider .hero-slide.static-hero--video .hero-slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
}

.static-hero-slider .hero-slide .wraper,
.static-hero-slider .hero-slide .content {
  position: relative;
  z-index: 2;
}

.static-hero-slider .hero-slider-nav {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}

.static-hero-slider .hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
  background: rgba(0, 33, 99, 0.75);
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.static-hero-slider .hero-slider-prev {
  left: 24px;
}

.static-hero-slider .hero-slider-next {
  right: 24px;
}

@media (max-width: 767px) {
  .static-hero-slider .hero-slider-prev {
    left: 12px;
  }

  .static-hero-slider .hero-slider-next {
    right: 12px;
  }
}

.static-hero-slider .hero-slider-arrow:hover {
  background: rgba(0, 33, 99, 0.95);
}

.static-hero-slider .hero-slider-arrow span {
  display: none;
}

.static-hero-slider .hero-slider-prev::after {
  content: "‹";
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}

.static-hero-slider .hero-slider-next::after {
  content: "›";
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}
.wpo-history-section {
  background-image: var(--history-section-bg, url(../images/history-banner.png)) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  z-index: 2;
  padding: 55px 0 !important;
  margin-bottom: 70px !important;
  overflow: visible;
}

@media (max-width: 991px) {
  .wpo-history-section {
    padding: 45px 0 !important;
    margin-bottom: 40px !important;
  }
}

@media (max-width: 767px) {
  .wpo-history-section {
    padding: 38px 0 !important;
    margin-bottom: 35px !important;
  }
}

.wpo-history-section .history-section-row {
  --bs-gutter-x: 1.25rem;
  align-items: stretch !important;
}

.wpo-history-section .container {
  position: relative;
  overflow: visible;
}

.wpo-history-section .content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 100%;
}

.wpo-history-section .content .history-title,
.wpo-history-section .content > span {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.wpo-history-section .content .history-desc,
.wpo-history-section .content .history-desc p,
.wpo-history-section .content .history-desc span,
.wpo-history-section .content .history-desc div,
.wpo-history-section .content .history-desc li {
  color: #fff !important;
  background: transparent !important;
  background-color: transparent !important;
}

.wpo-history-section .content .history-desc p,
.wpo-history-section .content p {
  display: block;
  color: #fff !important;
  font-size: 18px;
  font-weight: 400;
  line-height: 26px;
  margin-bottom: 12px !important;
}

.wpo-history-section .content .history-desc p:first-child,
.wpo-history-section .content .history-desc p:last-child {
  margin-bottom: 12px !important;
}

.wpo-history-section .content .btn_history {
  display: block;
  margin-top: 6px;
}

@media (min-width: 992px) {
  .wpo-history-section .content {
    max-width: 520px;
    padding-right: 0;
  }
}

.wpo-history-section .video-content {
  z-index: 5;
  pointer-events: auto;
}

@media (min-width: 992px) {
  .wpo-history-section .video-content {
    position: absolute !important;
    top: 50% !important;
    right: 80px !important;
    left: auto !important;
    transform: translateY(-50%) !important;
    width: calc(50% - 110px) !important;
    max-width: 930px !important;
    height: calc(100% + 100px) !important;
    min-height: 480px;
    margin: 0 !important;
    padding: 0 10px;
  }

  .wpo-history-section .video-content::before {
    top: -14px;
    bottom: -14px;
  }
}

@media (min-width: 1200px) and (max-width: 1799px) {
  .wpo-history-section .video-content {
    right: 40px !important;
    width: calc(50% - 70px) !important;
    max-width: 850px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .wpo-history-section .video-content {
    right: 24px !important;
    width: calc(50% - 48px) !important;
    max-width: 500px !important;
  }
}

@media (max-width: 991px) {
  .wpo-history-section .video-content {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    width: calc(100% - 30px) !important;
    max-width: 520px !important;
    height: auto !important;
    min-height: 280px;
    margin: 28px auto 0 !important;
    padding: 0 10px;
  }
}

.wpo-history-section .video-content__thumb {
  pointer-events: none;
  user-select: none;
  width: 100%;
  height: 100%;
  min-height: 280px;
  aspect-ratio: unset;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .wpo-history-section .video-content__thumb {
    min-height: 480px;
  }
}

.wpo-history-section .video-content.is-playing {
  cursor: default;
}

.wpo-history-section .video-content.is-playing .video-btn {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.wpo-history-section .video-content .video-btn {
  z-index: 2;
  cursor: pointer;
  pointer-events: auto;
}

.wpo-history-section .video-content__player {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 20px 16px;
  box-sizing: border-box;
}

.wpo-history-section .video-content.is-playing .video-content__player {
  display: flex;
}

.wpo-history-section .video-content__dialog {
  position: relative;
  width: min(520px, 90%);
  max-width: 100%;
}

.wpo-history-section .video-content__dialog iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: none;
  border-radius: 4px;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.wpo-history-section .video-content__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 6;
  border: none;
  background: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
}

.static-hero .content h2,
.static-hero .content h3,
.static-hero .content p {
  font-family: var(--tandheef-font);
}

/* Inner content headings */
.wpo-about-content h4,
.wpo-about-item h3,
.wpo-team-item h4 {
  font-family: var(--tandheef-font);
  color: var(--tandheef-heading);
}

.wpo-service-text h2 a {
  font-family: var(--tandheef-font);
  color: var(--tandheef-heading);
}

.project-tab-btn,
.wpo-service-link-widget li a {
  font-family: var(--tandheef-font);
}

/* Header logo — always visible; dual SVG swap by scroll / breakpoint */
.wpo-site-header .navbar-header .navbar-brand {
  display: inline-flex !important;
  align-items: center;
  position: relative;
  min-width: 120px;
  min-height: 40px;
  padding: 0;
  margin: 0;
}

.wpo-site-header .navbar-header .navbar-brand img,
.wpo-site-header .navbar-header .navbar-brand .header-logo {
  max-width: 170px !important;
  max-height: 52px !important;
  width: 170px !important;
  height: auto !important;
  display: block;
  object-fit: contain;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Default: hero logo (white text) over dark hero/breadcrumb */
.navbar-brand .header-logo--bar {
  display: none !important;
}
.navbar-brand .header-logo--hero {
  display: block !important;
}

/* Sticky / scrolled header — white bar + dark nav (all pages, tablet/desktop) */
@media (min-width: 768px) {
  .fixed-navbar.active,
  .home-page .fixed-navbar.active,
  body:not(.home-page) .fixed-navbar.active {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  .fixed-navbar.active .navigation.wpo-site-header,
  .fixed-navbar.active .container-fluid,
  .fixed-navbar.active .header-row,
  .home-page .fixed-navbar.active .navigation.wpo-site-header,
  .home-page .fixed-navbar.active .container-fluid,
  .home-page .fixed-navbar.active .header-row,
  body:not(.home-page) .fixed-navbar.active .navigation.wpo-site-header,
  body:not(.home-page) .fixed-navbar.active .container-fluid,
  body:not(.home-page) .fixed-navbar.active .header-row {
    background: #fff !important;
  }
  .fixed-navbar.active .wpo-site-header #navbar > ul > li > a,
  .fixed-navbar.active .navigation-holder ul.nav > li > a,
  .home-page .fixed-navbar.active .wpo-site-header #navbar > ul > li > a,
  .home-page .fixed-navbar.active .navigation-holder ul.nav > li > a,
  body:not(.home-page) .fixed-navbar.active .wpo-site-header #navbar > ul > li > a,
  body:not(.home-page) .fixed-navbar.active .navigation-holder ul.nav > li > a {
    color: #002163 !important;
  }
  .fixed-navbar.active .has-dropdown > a.dropdown-toggle::after,
  .home-page .fixed-navbar.active .has-dropdown > a.dropdown-toggle::after,
  body:not(.home-page) .fixed-navbar.active .has-dropdown > a.dropdown-toggle::after {
    border-top-color: #002163 !important;
  }
  .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle,
  .home-page .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle,
  body:not(.home-page) .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle {
    color: #00194a !important;
  }
  .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle::after,
  .home-page .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle::after,
  body:not(.home-page) .fixed-navbar.active .has-dropdown.open > a.dropdown-toggle::after {
    border-top-color: #00194a !important;
  }
  .fixed-navbar.active .header-right .close-form a[href*="linkedin"] i,
  .home-page .fixed-navbar.active .header-right .close-form a[href*="linkedin"] i,
  body:not(.home-page) .fixed-navbar.active .header-right .close-form a[href*="linkedin"] i,
  .fixed-navbar.active .header-linkedin-link,
  .home-page .fixed-navbar.active .header-linkedin-link,
  body:not(.home-page) .header-linkedin-link {
    color: #0077b5 !important;
  }
  .fixed-navbar.active .navbar-brand .header-logo--hero,
  .home-page .fixed-navbar.active .navbar-brand .header-logo--hero,
  body:not(.home-page) .fixed-navbar.active .navbar-brand .header-logo--hero {
    display: none !important;
  }
  .fixed-navbar.active .navbar-brand .header-logo--bar,
  .home-page .fixed-navbar.active .navbar-brand .header-logo--bar,
  body:not(.home-page) .fixed-navbar.active .navbar-brand .header-logo--bar {
    display: block !important;
  }
}

/* Large screens — logo column must not collapse behind nav */
@media (min-width: 992px) {
  .fixed-navbar .col-lg-2.order-lg-1 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    z-index: 2;
  }
  .fixed-navbar .navbar-header {
    overflow: visible !important;
  }
  .wpo-site-header .navbar-header .navbar-brand .header-logo {
    width: 170px !important;
    max-width: 170px !important;
    max-height: 52px !important;
  }
  /* Inner pages: dark logo on desktop (white page bg behind transparent header) */
  body:not(.home-page) .navbar-brand .header-logo--hero {
    display: none !important;
  }
  body:not(.home-page) .navbar-brand .header-logo--bar {
    display: block !important;
  }
  /* Inner pages: header overlays breadcrumb */
  body:not(.home-page) .fixed-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
  }
  body:not(.home-page) .fixed-navbar .navigation.wpo-site-header,
  body:not(.home-page) .fixed-navbar .container-fluid,
  body:not(.home-page) .fixed-navbar .header-row {
    background: transparent !important;
  }
  body:not(.home-page) .fixed-navbar-spacer {
    display: none;
    height: 0;
  }
}

/* Legacy bootstrap hamburger — hide when MobileMenu button present */
#mobile-menu-open.navbar-toggler:not(.MobileMenu_hamburgerButton__MzJ4G),
.mobile-menu-wrapper .navbar-toggler {
  display: none !important;
}

/* Mobile / tablet header — logo + hamburger same line (live tandheef.com) */
@media (max-width: 991px) {
  .fixed-navbar {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: static !important;
    width: 100% !important;
    z-index: 100;
  }
  .fixed-navbar .navigation.wpo-site-header,
  .fixed-navbar .container-fluid,
  .fixed-navbar .header-row {
    background: #fff !important;
  }
  .home-page .fixed-navbar,
  .home-page .fixed-navbar .navigation.wpo-site-header,
  .home-page .fixed-navbar .container-fluid,
  .home-page .fixed-navbar .header-row {
    background: #fff !important;
  }
  .home-page .fixed-navbar {
    position: static !important;
  }
  .home-page .fixed-navbar-spacer {
    height: 0 !important;
    display: none !important;
  }
  /* Hide desktop nav columns so logo + menu share one row */
  .fixed-navbar .header-row > .order-1.order-lg-2,
  .fixed-navbar .header-row > .order-4.order-lg-3 {
    display: none !important;
    width: 0 !important;
    max-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }
  .fixed-navbar .header-row {
    position: relative !important;
    display: block !important;
    min-height: 50px !important;
    height: 50px !important;
    margin: 0 !important;
    padding: 0 10px !important;
  }
  .fixed-navbar .order-2.order-lg-1 {
    position: absolute !important;
    left: 36% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: auto !important;
    max-width: calc(100% - 120px) !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 2 !important;
  }
  .fixed-navbar .order-3.d-lg-none {
    position: absolute !important;
    right: 10px !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 50px !important;
    transform: none !important;
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 3 !important;
    overflow: visible !important;
  }
  .fixed-navbar .navbar-header,
  .fixed-navbar .navbar-brand {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    height: auto !important;
  }
  .fixed-navbar .mobile-menu-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    height: 40px !important;
    line-height: 1 !important;
  }
  .fixed-navbar .showmenu.mobail-menu {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
  }
  .wpo-site-header .navbar-header .navbar-brand {
    line-height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
  }
  .wpo-site-header .navbar-header .navbar-brand .header-logo--hero {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    pointer-events: none !important;
  }
  .wpo-site-header .navbar-header .navbar-brand .header-logo--bar {
    display: block !important;
    max-height: 65px !important;
    max-width: 139px !important;
    width: auto !important;
    height: 62px !important;
    margin: 0 !important;
    object-fit: contain !important;
  }
  .wpo-site-header .navbar-header .navbar-brand img:not(.header-logo--bar) {
    display: none !important;
  }
  #mobile-menu-open.MobileMenu_hamburgerButton__MzJ4G {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 40px !important;
    padding: 8px 12px !important;
    margin: 0 !important;
    vertical-align: middle !important;
  }
  /* Fullscreen menu: hidden when closed, flex when open */
  .mobile-menu-wrapper .MobileMenu_fullscreenMobileMenu__TFAUL:not(.MobileMenu_show__liM9b) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .mobile-menu-wrapper .MobileMenu_fullscreenMobileMenu__TFAUL.MobileMenu_show__liM9b {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .mobile-menu-wrapper {
    position: static !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }
  /* Fixed menu must cover viewport (transform on ancestors breaks position:fixed) */
  .mobile-menu-wrapper .MobileMenu_fullscreenMobileMenu__TFAUL {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 9999 !important;
  }
  .fixed-navbar .navigation.wpo-site-header {
    padding: 0 !important;
    margin: 0 !important;
  }
  .fixed-navbar-spacer {
    height: 0 !important;
    display: none !important;
  }
}

.showmenu {
  position: relative;
  top: 0;
  z-index: 999;
  cursor: pointer;
  right: 10px;
}

/* Homepage: transparent header over hero (desktop) */
@media (min-width: 768px) {
  .home-page .fixed-navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
  }
  .home-page .fixed-navbar .navigation.wpo-site-header,
  .home-page .fixed-navbar .container-fluid,
  .home-page .fixed-navbar .header-row {
    background: transparent !important;
  }
  .home-page .fixed-navbar-spacer {
    display: block;
    height: 90px;
  }
}

/* Header / menu width & height — live site (tandheef.com) */
@media (min-width: 992px) {
  .wpo-site-header {
    padding-left: 130px !important;
    padding-right: 130px !important;
  }
  .wpo-site-header .navigation {
    padding: 0 !important;
    margin-bottom: 0 !important;
  }
  .wpo-site-header .header-row {
    align-items: center !important;
  }
  .wpo-site-header .navbar-header {
    display: flex;
    align-items: center;
  }
  .wpo-site-header #navbar > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 !important;
  }
  .wpo-site-header #navbar > ul > li > a,
  .navigation-holder ul.nav > li > a {
    padding: 35px 20px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    display: block !important;
  }
  .wpo-site-header .header-right {
    display: flex !important;
    align-items: center !important;
  }
  .wpo-site-header .header-right .close-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .wpo-site-header .header-linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 1.35rem;
    line-height: 1;
    color: #fff !important;
    text-decoration: none !important;
    transition: color 0.2s ease, opacity 0.2s ease;
  }
  .wpo-site-header .header-linkedin-link:hover {
    color: #0077b5 !important;
    opacity: 0.9;
  }
  .wpo-site-header .header-right .close-form .theme-btn {
    padding: 17px 46px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }
  .has-dropdown .dropdown {
    min-width: 300px !important;
    padding: 10px 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1700px) {
  .wpo-site-header {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}

@media (min-width: 992px) and (max-width: 1400px) {
  .wpo-site-header #navbar > ul > li > a {
    padding: 30px 15px !important;
  }
  .wpo-site-header .header-right .close-form .theme-btn {
    padding: 10px 15px !important;
    font-size: 15px !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .wpo-site-header #navbar > ul > li > a {
    padding: 30px 10px !important;
    font-size: 16px !important;
  }
}

@media (max-width: 991px) {
  .wpo-site-header .header-right .close-form .theme-btn {
    padding: 12px 18px !important;
    font-size: 14px !important;
  }
}

@media (max-width: 767px) {
  #header {
    background: #fff !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }
  .fixed-navbar .navigation.wpo-site-header {
    padding: 18px 0 !important;
    margin: 0 !important;
  }
  .fixed-navbar .container-fluid {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* Legacy mobile overlay (fallback if old index.html) */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(26, 23, 41, 0.98);
  overflow-y: auto;
}
.mobile-menu-overlay.open {
  display: block !important;
}
.mobile-menu-overlay .mobile-menu-content {
  padding: 80px 24px 40px;
  text-align: center;
}
.mobile-menu-overlay ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-menu-overlay a,
.mobile-menu-overlay .menu-toggle {
  display: block;
  padding: 12px 20px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}
.mobile-menu-overlay .sub-menu {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu-overlay li.open > .sub-menu {
  display: block;
}
.mobile-menu-overlay .sub-menu a {
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  color: hsla(0, 0%, 100%, 0.8);
}
.mobile-menu-overlay .mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

/* Homepage + About — service slider section (same design) */
.home-page .wpo-service-section .wpo-section-title,
.page-about .wpo-service-section .wpo-section-title {
  padding: 0 100px;
  text-align: left;
  margin-bottom: 40px;
}

.home-page .wpo-service-section .wpo-section-title h3,
.page-about .wpo-service-section .wpo-section-title h3 {
  color: #000b47;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  margin: 0;
}

.home-page .wpo-blog-section .wpo-section-title {
  text-align: left !important;
  padding-left: 0 !important;
  margin-bottom: 40px;
}
.home-page .wpo-blog-section .wpo-section-title.pl-8,
.home-page .wpo-blog-section .wpo-section-title.md\:pl-16 {
  padding-left: 0 !important;
}
.home-page .blog-card .content h2 a {
  overflow-wrap: break-word;
  word-break: normal;
}

.home-page .wpo-blog-section .wpo-section-title h2 {
  color: #233fd6;
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0 0 8px;
}

.home-page .wpo-blog-section .wpo-section-title h3 {
  color: #000b47;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  margin: 0;
}

/* Tailwind-like utilities used in live markup */
.wpo-section-title.pl-8 {
  padding-left: 2rem;
}
@media (min-width: 768px) {
  .wpo-section-title.md\:pl-16 {
    padding-left: 4rem;
  }
}

@media (max-width: 991px) {
  .home-page .wpo-service-section .wpo-section-title h3,
  .page-about .wpo-service-section .wpo-section-title h3,
  .home-page .wpo-blog-section .wpo-section-title h3 {
    font-size: 32px;
    line-height: 40px;
  }
  .home-page .wpo-service-section .wpo-section-title,
  .page-about .wpo-service-section .wpo-section-title {
    padding: 0 40px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .home-page .wpo-service-section .wpo-section-title h3,
  .page-about .wpo-service-section .wpo-section-title h3,
  .home-page .wpo-blog-section .wpo-section-title h3 {
    font-size: 30px;
  }
  .home-page .wpo-service-section .wpo-section-title,
  .page-about .wpo-service-section .wpo-section-title {
    padding: 0 20px;
  }
  .home-page .wpo-blog-section .wpo-section-title,
  .wpo-blog-section .wpo-section-title {
    text-align: left !important;
    padding-left: 0 !important;
  }
}

/* News cards — live design (Blog / News & Articles grid) */
.wpo-blog-section .wpo-section-title {
  text-align: left !important;
  padding-left: 0 !important;
  margin-bottom: 40px;
}
.wpo-blog-section .wpo-section-title h2 {
  color: #233fd6;
  font-size: 22px;
  font-weight: 600;
  text-transform: capitalize;
  margin: 0 0 8px;
}
.wpo-blog-section .wpo-section-title h3 {
  color: #000b47;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
  margin: 0;
}
.wpo-blog-section .row > [class*="col-"] {
  margin-bottom: 32px;
}
.blog-card.tandheef-news-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  margin-bottom: 0;
}
.blog-card.tandheef-news-card .image {
  overflow: hidden;
  line-height: 0;
}
.blog-card.tandheef-news-card .image img {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}
.blog-card.tandheef-news-card:hover .image img {
  transform: scale(1.12);
}
.blog-card.tandheef-news-card .content {
  background: #fff !important;
  padding: 0 25px 30px !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}
.blog-card.tandheef-news-card .content ul {
  display: inline-block !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  top: -20px !important;
  background-color: #000b47 !important;
  margin: 0 0 -8px !important;
  padding: 2px 4px !important;
  width: fit-content !important;
  max-width: calc(100% - 30px);
  white-space: normal;
  text-align: center;
  z-index: 2;
  align-self: center;
}
.blog-card.tandheef-news-card .content ul li {
  list-style: none !important;
  display: inline-block !important;
  font-weight: 400 !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  padding: 7px 18px !important;
  color: #fff !important;
  position: relative !important;
  vertical-align: middle;
}
.blog-card.tandheef-news-card .content ul li:before {
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  width: 5px !important;
  height: 5px !important;
  content: "" !important;
  background: #fff !important;
  transform: translate(-50%, -50%) !important;
}
.blog-card.tandheef-news-card .content ul li:first-child:before {
  display: none !important;
}
.blog-card.tandheef-news-card .content h2 {
  margin: 0;
  width: 100%;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #000b47;
  padding-top: 4px;
}
.blog-card.tandheef-news-card .content h2 a {
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  text-decoration: none;
  overflow-wrap: break-word;
  word-break: normal;
}
.blog-card.tandheef-news-card .content h2 a:hover {
  color: #233fd6 !important;
}
.blog-card.tandheef-news-card .content a.blog-card-read-arrow,
.page-blog .blog-card-read-arrow {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  margin-left: 0;
  color: #233fd6 !important;
  font-size: 22px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
.blog-card.tandheef-news-card .content a.blog-card-read-arrow:hover,
.page-blog .blog-card-read-arrow:hover {
  color: #000b47 !important;
}

/* News cards slider (home + about — 4+ items) */
.wpo-blog-section .news-slider {
  position: relative;
  padding: 0 50px;
}
.wpo-blog-section .news-track-wrap {
  overflow: hidden;
}
.wpo-blog-section .news-track {
  display: flex;
  transition: transform 0.5s ease;
}
.wpo-blog-section .news-slide {
  flex: 0 0 33.333%;
  min-width: 33.333%;
  padding: 0 12px;
  box-sizing: border-box;
}
.wpo-blog-section .news-slider .news-arrow {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  z-index: 5;
  background: #000b47;
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.wpo-blog-section .news-slider .news-arrow:hover {
  background: #233fd6;
}
.wpo-blog-section .news-slider .news-prev {
  left: 0;
}
.wpo-blog-section .news-slider .news-next {
  right: 0;
}
.wpo-blog-section .news-slider .news-prev::after {
  content: "‹";
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}
.wpo-blog-section .news-slider .news-next::after {
  content: "›";
  font-size: 28px;
  line-height: 1;
  font-weight: 300;
}
@media (max-width: 1199px) {
  .wpo-blog-section .news-slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
  }
}
@media (max-width: 991px) {
  .wpo-blog-section .news-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
  .wpo-blog-section .news-slider {
    padding: 0 44px;
  }
}
@media (max-width: 767px) {
  .wpo-blog-section .news-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .wpo-blog-section .news-slider {
    padding: 0 40px;
  }
}

@media (max-width: 991px) {
  .wpo-blog-section .wpo-section-title h3 {
    font-size: 32px;
    line-height: 40px;
  }
  .blog-card.tandheef-news-card .content {
    padding: 0 20px 25px !important;
  }
  .blog-card.tandheef-news-card .content h2,
  .blog-card.tandheef-news-card .content h2 a {
    font-size: 22px !important;
  }
}
@media (max-width: 767px) {
  .wpo-blog-section .wpo-section-title h3 {
    font-size: 30px;
  }
  .blog-card.tandheef-news-card .content {
    padding: 0 15px 20px !important;
  }
  .blog-card.tandheef-news-card .content h2,
  .blog-card.tandheef-news-card .content h2 a {
    font-size: 20px !important;
  }
  .blog-card.tandheef-news-card .content ul li {
    font-size: 14px !important;
    padding: 6px 12px !important;
  }
}

/* Our Clients & Our Awards — shared infinite marquee (live site) */
.logo-marquee-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.logo-marquee-section .title {
  font-family: var(--tandheef-font);
  font-size: 28px;
  font-weight: 700;
  color: #000b47;
  text-align: left;
  margin: 0 0 30px;
  text-transform: none;
}
.logo-marquee-section .rail-wrap {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}
.logo-marquee-section .rail-wrap::before,
.logo-marquee-section .rail-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 48px;
  pointer-events: none;
  z-index: 1;
}
.logo-marquee-section .rail-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.logo-marquee-section .rail-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.logo-marquee-section .track {
  display: flex;
  width: max-content;
  gap: var(--gap, 50px);
  will-change: transform;
  animation: logo-marquee var(--duration, 30s) linear infinite;
}
.logo-marquee-section .rail {
  display: flex;
  align-items: center;
  gap: var(--gap, 50px);
  flex: 0 0 auto;
}
.logo-marquee-section .rail-wrap:hover .track {
  animation-play-state: paused;
}
.logo-marquee-section .logo,
.logo-marquee-section .award {
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

.clients-section {
  --gap: 40px;
  --duration: 55s;
  --logo-h: 90px;
  --visible-logos: 5;
  padding: 40px 0;
}
.clients-section .logo {
  height: var(--logo-h);
  width: auto;
  max-width: calc((min(1152px, 100vw - 48px) - (var(--gap) * (var(--visible-logos) - 1))) / var(--visible-logos));
  object-fit: contain;
}

.awards-section {
  --gap: 72px;
  --duration: 35s;
  --logo-h: clamp(110px, 13vw, 170px);
  padding: 48px 0;
}
.awards-section .award {
  height: var(--logo-h);
  width: auto;
  max-width: min(190px, 34vw);
  object-fit: contain;
  transition: transform 0.2s ease;
}
.awards-section .rail-wrap:hover .award {
  pointer-events: auto;
}
.awards-section .award:hover {
  transform: translateY(-2px) scale(1.02);
}

.logo-marquee-section.is-static .track {
  width: 100%;
  animation: none;
  justify-content: center;
}

.logo-marquee-section.is-static .rail[aria-hidden="true"] {
  display: none;
}

.logo-marquee-section.is-static .rail {
  justify-content: center;
  flex: 0 1 auto;
}

.logo-marquee-section.is-static .rail-wrap {
  overflow: visible;
}

@keyframes logo-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile fullscreen menu + dropdowns — match live tandheef.com layout */
.mobile-menu-wrapper .MobileMenu_fullscreenMobileMenu__TFAUL,
.MobileMenu_fullscreenMobileMenu__TFAUL.MobileMenu_show__liM9b {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}
.MobileMenu_fullscreenMobileMenu__TFAUL .MobileMenu_mobileMenuContent__hzqF8 {
  text-align: left !important;
  max-width: 100% !important;
  width: 100% !important;
  max-height: none !important;
  overflow-y: visible !important;
  padding: 96px 24px 40px 28px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
.MobileMenu_responsiveMenu___P16l {
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
}
.MobileMenu_menuItem__Uq2qp {
  margin: 10px 0 !important;
  padding: 0 !important;
}
.MobileMenu_menuLink__WcPJJ {
  display: block !important;
  text-align: left !important;
  width: auto !important;
  padding: 15px 20px !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}
.MobileMenu_menuLink__WcPJJ:hover {
  color: #ff5e14 !important;
}
/* Collapsed: label + chevron inline (chevron on the right) */
.MobileMenu_menuItem__Uq2qp[data-menu-id] .MobileMenu_menuToggle__5zKJS {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  width: auto !important;
  padding: 15px 20px !important;
  font-size: 24px !important;
  font-weight: 600 !important;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  border-radius: 8px !important;
  border: none !important;
  background: none !important;
  cursor: pointer !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
}
.MobileMenu_menuItem__Uq2qp[data-menu-id] .MobileMenu_menuToggle__5zKJS:hover {
  color: #ff5e14 !important;
  background: rgba(255, 94, 20, 0.1) !important;
}
.MobileMenu_toggleLabel {
  display: block;
  line-height: 1.2;
}
.MobileMenu_dropdownIcon__zEDKo {
  margin-left: 10px !important;
  font-size: 16px !important;
  line-height: 1 !important;
  pointer-events: none;
}
/* Expanded: row layout — toggle left, submenu column on the right (live site) */
.MobileMenu_menuItem__Uq2qp[data-menu-id].MobileMenu_active__3EMAs {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: clamp(20px, 8vw, 56px) !important;
  width: 100% !important;
}
.MobileMenu_menuItem__Uq2qp[data-menu-id].MobileMenu_active__3EMAs .MobileMenu_menuToggle__5zKJS {
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0;
  min-width: 120px;
  color: #ff5e14 !important;
  background: rgba(255, 94, 20, 0.12) !important;
}
.MobileMenu_menuItem__Uq2qp[data-menu-id].MobileMenu_active__3EMAs .MobileMenu_dropdownIcon__zEDKo {
  margin-top: 4px !important;
}
.MobileMenu_menuItem__Uq2qp[data-menu-id] .MobileMenu_subMenuWrap {
  display: none;
  flex: 1;
  min-width: 0;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
}
.MobileMenu_menuItem__Uq2qp[data-menu-id].MobileMenu_active__3EMAs .MobileMenu_subMenuWrap {
  display: block !important;
}
.MobileMenu_subMenu__XQgiI {
  list-style: none !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  text-align: left !important;
}
.MobileMenu_subMenuItem__09Jkd {
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}
.MobileMenu_subMenuLink__EKnz4 {
  display: block !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  padding: 10px 20px !important;
  color: hsla(0, 0%, 100%, 0.85) !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  white-space: normal !important;
}
.MobileMenu_subMenuLink__EKnz4:hover {
  color: #ff5e14 !important;
}
@media (max-width: 767px) {
  .MobileMenu_fullscreenMobileMenu__TFAUL .MobileMenu_mobileMenuContent__hzqF8 {
    padding: 88px 20px 32px 24px !important;
  }
  .MobileMenu_menuItem__Uq2qp {
    margin: 10px 0 !important;
  }
  .MobileMenu_menuLink__WcPJJ,
  .MobileMenu_menuItem__Uq2qp[data-menu-id] .MobileMenu_menuToggle__5zKJS {
    font-size: 20px !important;
    padding: 12px 15px !important;
  }
  .MobileMenu_subMenuLink__EKnz4 {
    font-size: 16px !important;
    padding: 8px 15px !important;
  }
}

/* Desktop nav dropdown — match live site */
.navigation-holder ul.nav > li,
.wpo-site-header #navbar > ul > li.has-dropdown {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .wpo-site-header #navbar > ul > li.has-dropdown:hover,
  .wpo-site-header #navbar > ul > li.has-dropdown.open,
  .navigation-holder ul.nav > li.has-dropdown:hover,
  .navigation-holder ul.nav > li.has-dropdown.open {
    z-index: 10060;
  }

  .wpo-site-header #navbar > ul > li.has-dropdown > a.dropdown-toggle,
  .navigation-holder ul.nav > li.has-dropdown > a.dropdown-toggle {
    position: relative;
    z-index: 2;
  }
}

.has-dropdown > a.dropdown-toggle::after {
  content: "";
  display: inline-block;
  margin-left: 8px;
  border-top: 5px solid currentColor;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  opacity: 0.8;
  transform: translateY(-1px);
  transition: all 0.2s ease;
}
.has-dropdown:hover > a.dropdown-toggle::after,
.has-dropdown.open > a.dropdown-toggle::after {
  transform: translateY(-1px) rotate(180deg);
  opacity: 1;
  border-top-color: #00194a !important;
}

.has-dropdown:hover > a.dropdown-toggle,
.has-dropdown.open > a.dropdown-toggle {
  color: #00194a !important;
}

.has-dropdown .dropdown {
  position: absolute !important;
  left: 0 !important;
  top: 100% !important;
  min-width: 300px;
  max-width: 360px;
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 0;
  padding: 10px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: auto;
  margin-top: 0 !important;
  list-style: none;
  pointer-events: none;
}
.has-dropdown .dropdown::before {
  content: "";
  display: block !important;
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
  background: transparent;
}
.has-dropdown .dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.has-dropdown .dropdown .dropdown-link,
.has-dropdown .dropdown li a.dropdown-link,
.has-dropdown .dropdown li a {
  display: block !important;
  padding: 14px 28px !important;
  font-family: var(--tandheef-font) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: #374151 !important;
  text-decoration: none !important;
  font-weight: 400 !important;
  border-radius: 0;
  margin: 0 !important;
  white-space: normal;
  transition: color 0.15s ease, background 0.15s ease !important;
}
.has-dropdown .dropdown .dropdown-link:hover,
.has-dropdown .dropdown li a:hover,
.has-dropdown .dropdown .dropdown-link.active,
.has-dropdown .dropdown li a.active {
  color: #111827 !important;
  background: #f3f4f6 !important;
  transform: none;
  box-shadow: none;
}

.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
  background: #fff !important;
  border-color: #e5e7eb !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1) !important;
}

.has-dropdown:hover > .dropdown .dropdown-link,
.has-dropdown:hover > .dropdown li a.dropdown-link,
.has-dropdown:hover > .dropdown li a,
.has-dropdown.open > .dropdown .dropdown-link,
.has-dropdown.open > .dropdown li a.dropdown-link,
.has-dropdown.open > .dropdown li a {
  color: #374151 !important;
}

.has-dropdown:hover > .dropdown .dropdown-link:hover,
.has-dropdown:hover > .dropdown li a.dropdown-link:hover,
.has-dropdown:hover > .dropdown li a:hover,
.has-dropdown:hover > .dropdown .dropdown-link.active,
.has-dropdown:hover > .dropdown li a.active,
.has-dropdown.open > .dropdown .dropdown-link:hover,
.has-dropdown.open > .dropdown li a.dropdown-link:hover,
.has-dropdown.open > .dropdown li a:hover,
.has-dropdown.open > .dropdown .dropdown-link.active,
.has-dropdown.open > .dropdown li a.active {
  color: #111827 !important;
  background: #f3f4f6 !important;
}

@media (min-width: 992px) {
  .fixed-navbar,
  .fixed-navbar #header,
  .fixed-navbar .navigation.wpo-site-header,
  .fixed-navbar .container-fluid,
  .fixed-navbar .header-row,
  .fixed-navbar #navbar,
  .fixed-navbar #navbar > ul,
  .fixed-navbar #navbar > ul > li.has-dropdown {
    overflow: visible !important;
  }

  .has-dropdown:hover > .dropdown,
  .has-dropdown.open > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    z-index: 10050 !important;
  }
}

/* Footer — white text */
.wpo-site-footer,
.wpo-site-footer p,
.wpo-site-footer li,
.wpo-site-footer a,
.wpo-site-footer h3,
.wpo-site-footer .copyright,
.wpo-site-footer .widget-title h3 {
  color: #fff !important;
}
.wpo-site-footer .office-link {
  color: #fff !important;
  text-decoration: none;
}
.wpo-site-footer .office-link:hover {
  color: #ccc !important;
  text-decoration: underline;
}
.wpo-site-footer .link-widget ul li a:hover {
  color: #002163 !important;
}

/* WhatsApp floating button */
.wa-btn {
  position: fixed;
  z-index: 9999;
  width: 64px;
  height: 64px;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  color: #fff;
}
.wa-btn .wa-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
/* Legacy index.html class — same green floating button */
.whatsapp-float {
  position: fixed;
  z-index: 9999;
  width: 64px;
  height: 64px;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M13.601 2.326A7.854 7.854 0 0 0 7.994 0C3.627 0 .068 3.558.064 7.926c0 1.399.366 2.76 1.057 3.965L0 16l4.204-1.102a7.933 7.933 0 0 0 3.79.965h.004c4.368 0 7.926-3.558 7.93-7.93A7.898 7.898 0 0 0 13.6 2.326zM7.994 14.521a6.573 6.573 0 0 1-3.356-.92l-.24-.144-2.494.654.666-2.433-.156-.251a6.56 6.56 0 0 1-1.007-3.505c0-3.626 2.957-6.584 6.591-6.584a6.56 6.56 0 0 1 4.66 1.931 6.557 6.557 0 0 1 1.928 4.66c-.004 3.639-2.961 6.592-6.592 6.592zm3.615-4.934c-.197-.099-1.17-.578-1.353-.646-.182-.065-.315-.099-.445.099-.133.197-.513.646-.627.775-.114.133-.232.148-.43.05-.197-.1-.836-.308-1.592-.985-.59-.525-.985-1.175-1.103-1.372-.114-.198-.011-.304.088-.403.087-.088.197-.232.296-.346.1-.114.133-.198.198-.33.065-.134.034-.248-.015-.347-.05-.099-.445-1.076-.612-1.47-.16-.389-.323-.335-.445-.34-.114-.007-.247-.007-.38-.007a.729.729 0 0 0-.529.247c-.182.198-.691.677-.691 1.654 0 .977.71 1.916.81 2.049.098.133 1.394 2.132 3.383 2.992.47.205.84.326 1.129.418.475.152.904.129 1.246.08.38-.058 1.171-.48 1.338-.943.164-.464.164-.86.114-.943-.049-.084-.182-.133-.38-.232z'/%3E%3C/svg%3E") center/36px no-repeat;
  color: transparent;
  font-size: 0;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse,
  #navbar.collapse.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    visibility: visible !important;
    height: auto !important;
  }
  .header-right {
    display: block !important;
  }
  .mobile-menu-wrapper .showmenu.mobail-menu {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #navbar,
  .header-right {
    display: none !important;
  }
  .mobile-menu-git-item {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .mobile-menu-git-wrap {
    padding: 0 15px 8px;
  }
  .mobile-menu-git-btn {
    display: inline-block;
    width: auto;
    min-width: 160px;
    padding: 14px 28px !important;
    font-size: 16px !important;
    text-align: center;
  }
}

/* Service slider — layout + arrows (live site) */
.home-page .service-slider,
.page-about .service-slider {
  position: relative;
  padding: 0 50px;
}

.home-page .service-track-wrap,
.page-about .service-track-wrap {
  overflow: hidden;
}

/* Service track (vanilla slider fallback) */
.service-track-wrap { overflow: hidden; }
.service-track {
  display: flex;
  transition: transform 0.5s ease;
}
.service-track .item {
  flex: 0 0 25%;
  min-width: 25%;
  padding: 0 20px;
  box-sizing: border-box;
}
@media (max-width: 1199px) {
  .service-track .item { flex: 0 0 33.333%; min-width: 33.333%; }
}
@media (max-width: 991px) {
  .service-track .item { flex: 0 0 50%; min-width: 50%; }
}
@media (max-width: 767px) {
  .service-track .item { flex: 0 0 100%; min-width: 100%; max-width: 450px; margin: 0 auto; }
}

.home-page .service-slider .svc-arrow,
.page-about .service-slider .svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: #002163;
  color: #fff;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 0;
  cursor: pointer;
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.home-page .service-slider .svc-arrow:hover,
.page-about .service-slider .svc-arrow:hover {
  background: #00194a;
}
.home-page .service-slider .svc-prev,
.page-about .service-slider .svc-prev { left: 0; }
.home-page .service-slider .svc-next,
.page-about .service-slider .svc-next { right: 0; }
.home-page .service-slider .svc-prev::after,
.page-about .service-slider .svc-prev::after {
  content: "‹";
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}
.home-page .service-slider .svc-next::after,
.page-about .service-slider .svc-next::after {
  content: "›";
  font-size: 32px;
  line-height: 1;
  font-weight: 300;
}

/* Board of Directors slider (4+ members) */
.wpo-team-section .team-slider {
  position: relative;
}
.wpo-team-section .team-track-wrap {
  overflow: hidden;
}
.wpo-team-section .team-track {
  display: flex;
  transition: transform 0.5s ease;
}
.wpo-team-section .team-slide {
  flex: 0 0 25%;
  min-width: 25%;
  padding: 0 12px;
  box-sizing: border-box;
}
@media (max-width: 1199px) {
  .wpo-team-section .team-slide {
    flex: 0 0 33.333%;
    min-width: 33.333%;
  }
}
@media (max-width: 991px) {
  .wpo-team-section .team-slide {
    flex: 0 0 50%;
    min-width: 50%;
  }
}
@media (max-width: 767px) {
  .wpo-team-section .team-slide {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 1024px) {
  .clients-section {
    --visible-logos: 4;
    --gap: 36px;
  }
  .clients-section .logo {
    height: 80px;
  }
  .logo-marquee-section .inner {
    padding: 0 20px;
  }
  .logo-marquee-section .rail-wrap::before,
  .logo-marquee-section .rail-wrap::after {
    width: 40px;
  }
}

@media (max-width: 767px) {
  .clients-section {
    --visible-logos: 3;
    --gap: 28px;
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .awards-section {
    padding: 40px 0;
  }
  .logo-marquee-section .inner {
    padding: 0 16px;
  }
  .logo-marquee-section .title {
    font-size: 24px;
    text-align: left;
  }
  .clients-section .rail-wrap {
    --visible-logos: 3;
  }
  .clients-section .logo {
    height: 64px;
  }
  .clients-section .track {
    animation-duration: 45s;
  }
  .awards-section {
    --gap: 48px;
  }
  .home-page .service-slider,
  .page-about .service-slider {
    padding: 0 40px;
  }
}

/* About page — Mission / Vision / Values (live /about styled-jsx) */
@media (max-width: 767px) {
  .page-about .wpo-about-section.section-padding.pb-0 {
    padding-bottom: 12px !important;
  }
  .page-about .wpo-about-section::after {
    display: none !important;
  }
  .page-about .wpo-about-section .container > *:last-child,
  .page-about .wpo-about-section > *:last-child {
    margin-bottom: 0 !important;
  }
  .page-about .mvc-section {
    margin-top: 0 !important;
    padding-top: 28px;
  }
}
.page-about .mvc-section {
  padding: 60px 0;
  background: #f9fafc;
  text-align: center;
}
.page-about .mvc-section .grid-3 {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 30px;
}
.page-about .mvc-section .card {
  background: #fff;
  border-radius: 14px;
  padding: 25px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.page-about .mvc-section .icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}
.page-about .mvc-section .icon .page-icon-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  display: inline-block;
}
.page-about .mvc-section .icon i {
  font-size: 2rem;
}
.page-about .mvc-section .card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
  font-weight: 600;
}
.page-about .mvc-section .card p {
  color: #475569;
  font-size: 1rem;
}
.page-about .mvc-section .card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-about .mvc-section .card ul li {
  margin: 6px 0;
  color: #475569;
}
.page-about .mvc-section .tagline {
  margin: 0;
  padding: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
.page-about .mvc-section .tagline span {
  display: inline;
  white-space: nowrap;
}
.page-about .mvc-section .tagline .blue { color: #1d4ed8; }
.page-about .mvc-section .tagline .orange { color: #f97316; }
.page-about .mvc-section .tagline .green { color: #16a34a; }
.page-about .mvc-section .tagline .sky { color: #0284c7; }
@media (min-width: 900px) {
  .page-about .mvc-section .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-page .wpo-service-section .service-wrap,
.page-about .wpo-service-section .service-wrap {
  width: 100%;
  max-width: 100%;
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
}
.video-modal.open { display: flex; }
.video-modal iframe {
  width: min(900px, 92vw);
  aspect-ratio: 16/9;
  border: none;
}
.video-modal .close-btn {
  position: absolute;
  top: 20px;
  right: 24px;
  color: #fff;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-section .track {
    animation: none;
  }
}

/* Inner pages */
.wpo-about-item,
.wpo-team-item {
  background: #f8fafc;
  padding: 24px;
  border-radius: 8px;
  height: 100%;
}
.wpo-about-item h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--tandheef-heading);
}
.wpo-team-item h4 {
  font-size: 20px;
  font-weight: 600;
}
.wpo-contact-form-area input,
.wpo-contact-form-area select,
.wpo-contact-form-area textarea,
.brochure-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  margin-bottom: 12px;
  border-radius: 4px;
}
.project-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}
.project-tab-btn {
  padding: 10px 18px;
  border: 1px solid #b91c1c;
  background: #fff;
  color: #b91c1c;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 600;
}
.project-tab-btn.active,
.project-tab-btn:hover {
  background: #b91c1c;
  color: #fff;
}
.project-tab-panel { display: none; padding: 16px 0; }
.project-tab-panel.active { display: block; }
.project-tab-panel ul { padding-left: 20px; }
.wpo-service-link-widget ul { list-style: none; padding: 0; }
.wpo-service-link-widget li a {
  display: block;
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #374151;
}
.wpo-service-link-widget li a.active,
.wpo-service-link-widget li a:hover {
  color: #00194a;
  font-weight: 600;
}
.form-success {
  background: #ecfdf5;
  color: #065f46;
  padding: 16px;
  border-radius: 8px;
  margin-top: 16px;
}

/* Contact page (live layout) */
.page-contact .wpo-contact-pg-section.section-padding {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
}

.page-contact .wpo-contact-pg-section {
  padding-bottom: 24px;
}

.page-contact .wpo-contact-pg-section .office-info {
  padding-bottom: 0 !important;
}

.page-contact .wpo-contact-pg-section .wpo-contact-form-area {
  margin-bottom: 50px !important;
}

@media (max-width: 991px) {
  .page-contact .wpo-contact-pg-section.section-padding {
    padding-top: 40px !important;
    padding-bottom: 20px !important;
  }
}

@media (max-width: 767px) {
  .page-contact .wpo-contact-pg-section.section-padding {
    padding-top: 32px !important;
    padding-bottom: 16px !important;
  }
}

.page-contact .info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 20px;
  align-items: stretch;
}
@media (max-width: 1199px) {
  .page-contact .info-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .page-contact .info-grid { grid-template-columns: 1fr; }
}
.page-contact .info-card {
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  height: 100%;
}
.page-contact .info-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0a2a66;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  box-shadow: 0 8px 18px rgba(10, 42, 102, 0.18);
  flex-shrink: 0;
}
.page-contact .info-title {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
  color: #0b1b4a;
  margin: 4px 0;
}
.page-contact .info-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.page-contact .info-list li,
.page-contact .info-list a {
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
}
.page-contact .info-list a:hover {
  text-decoration: underline;
}
.page-contact .contact-location-pick {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
}
.page-contact .contact-location-pick.is-active,
.page-contact .contact-location-pick:hover {
  color: #0b1b4a;
  text-decoration: underline;
}
.page-contact .info-list strong {
  color: #64748b;
  font-weight: 600;
}
.page-contact .wpo-contact-title {
  text-align: center;
  margin-bottom: 24px;
}
.page-contact .wpo-contact-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0b1b4a;
  margin-bottom: 8px;
}
.page-contact .wpo-contact-title p {
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
}
.page-contact .contact-form .form-field {
  margin-bottom: 20px;
}
.page-contact .contact-form input,
.page-contact .contact-form select,
.page-contact .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 15px;
  color: #334155;
  background: #fff;
}
.page-contact .contact-form textarea {
  min-height: 140px;
  resize: vertical;
}
.page-contact .contact-form .submit-field {
  text-align: center;
  margin-top: 8px;
}
.page-contact .contact-form .theme-btn {
  min-width: 180px;
}
/* Map between info cards and contact form */
.page-contact .wpo-contact-map-section.contact-map-inline {
  padding: 0 !important;
  margin: 0 0 0 !important;
}
.page-contact .wpo-contact-map-section.contact-map-inline .wpo-contact-map {
  height: 420px;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}
.page-contact .wpo-contact-map-section.contact-map-inline iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  vertical-align: bottom;
}
.page-contact .contact-form-below-map {
  padding-top: 20px !important;
  padding-bottom: 48px !important;
}

@media (max-width: 991px) {
  .page-contact .contact-form-below-map {
    padding-top: 16px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 767px) {
  .page-contact .contact-form-below-map {
    padding-top: 12px !important;
    padding-bottom: 32px !important;
  }
}
/* Map flush to footer — legacy */
.page-contact .contact-map-flush,
.page-contact .wpo-contact-map-section.contact-map-flush {
  padding: 0 !important;
  margin: 0 !important;
}
.page-contact .wpo-contact-map-section.contact-map-flush .wpo-contact-map {
  height: 550px;
  margin: 0;
  padding: 0;
  line-height: 0;
  font-size: 0;
}
.page-contact .wpo-contact-map-section.contact-map-flush iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  vertical-align: bottom;
}
.page-contact + .wpo-site-footer,
body:has(.page-contact) .wpo-site-footer {
  margin-top: 0 !important;
}

body:has(.page-contact) main.page-contact {
  margin-bottom: 0;
  padding-bottom: 0;
}
/* Fallback when :has() unsupported */
.page-contact-map-footer-gap main.page-contact {
  margin-bottom: 0;
}

/* HSEQ page — live /HSEQ styled-jsx parity */
.page-hseq .hseq,
section.hseq {
  padding: 48px 0 72px;
  background: #f7f8fb;
}
.page-hseq .hseq .container,
section.hseq .container {
  width: min(1100px, 92%);
  margin: 0 auto;
  text-align: center;
}
.page-hseq .hseq .intro h2,
section.hseq .intro h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #0f172a;
}
.page-hseq .hseq .intro p,
section.hseq .intro p {
  font-size: 1.05rem;
  color: #30364a;
}
.page-hseq .hseq .logoWrapper,
section.hseq .logoWrapper {
  margin: 24px 0;
  display: flex;
  justify-content: center;
}
.page-hseq .hseq .safetyLogo,
section.hseq .safetyLogo {
  max-width: 100%;
  height: auto;
}
.page-hseq .hseq .stats,
section.hseq .stats {
  margin: 40px 0 50px;
  text-align: center;
}
.page-hseq .hseq .statsTitle,
section.hseq .statsTitle {
  font-size: 1.9rem;
  font-weight: 700;
  color: #111827;
}
.page-hseq .hseq .statsSub,
section.hseq .statsSub {
  margin-top: 6px;
  margin-bottom: 26px;
  font-size: 1.05rem;
  color: #374151;
}
.page-hseq .hseq .statsGrid,
section.hseq .statsGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-hseq .hseq .statCard,
section.hseq .statCard {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
.page-hseq .hseq .statCard h3,
section.hseq .statCard h3 {
  font-size: 2rem;
  color: #233556;
  margin-bottom: 6px;
}
.page-hseq .hseq .statCard .label,
section.hseq .statCard .label {
  font-weight: 600;
  color: #1f2937;
}
.page-hseq .hseq .statCard .desc,
section.hseq .statCard .desc {
  font-size: 0.9rem;
  color: #475569;
}
.page-hseq .hseq .infoGrid,
section.hseq .infoGrid {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.page-hseq .hseq .infoCard,
section.hseq .infoCard {
  background: #e8eef9;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.page-hseq .hseq .infoCard h4,
section.hseq .infoCard h4 {
  margin-bottom: 6px;
  color: #233556;
}
.page-hseq .hseq .infoCard p,
section.hseq .infoCard p {
  color: #334155;
  font-size: 0.95rem;
  text-align: center;
  margin: 0;
}
.page-hseq .hseq .certsRecognition,
section.hseq .certsRecognition {
  margin: 24px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  text-align: left;
}
.page-hseq .hseq .certsRecognition h5,
section.hseq .certsRecognition h5 {
  margin-bottom: 6px;
  color: #233556;
}
.page-hseq .hseq .certsRecognition ul,
section.hseq .certsRecognition ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-hseq .hseq .certsRecognition ul li,
section.hseq .certsRecognition ul li {
  margin-bottom: 4px;
}
.page-hseq .hseq .hseq-cert-btn,
section.hseq .hseq-cert-btn {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: 0.95rem;
  padding: 0;
  text-align: left;
}
.page-hseq .hseq .hseq-cert-btn:hover,
section.hseq .hseq-cert-btn:hover {
  text-decoration: underline;
}
.page-hseq .hseq .certsRecognition p,
section.hseq .certsRecognition p {
  color: #334155;
  margin: 0 0 8px;
}
.page-hseq .hseq .motto,
section.hseq .motto {
  margin-top: 16px;
  font-size: 1.1rem;
  color: #1f2937;
}
.page-hseq .hseq .sectionTitle,
section.hseq .sectionTitle {
  margin: 28px 0 16px;
  font-size: 1.25rem;
  color: #1f2937;
  font-weight: 700;
}
.page-hseq .hseq .grid,
section.hseq .grid {
  display: grid;
  gap: 18px;
  margin-top: 12px;
  text-align: left;
}
.page-hseq .hseq .grid-3,
section.hseq .grid-3 {
  grid-template-columns: 1fr;
}
.page-hseq .hseq .grid-2,
section.hseq .grid-2 {
  grid-template-columns: 1fr;
  margin-top: 18px;
}
.page-hseq .hseq .card,
section.hseq .card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
  overflow: hidden;
}
.page-hseq .hseq .cardHead,
section.hseq .cardHead {
  background: #233556;
  color: #fff;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
  text-align: center;
}
.page-hseq .hseq .cardBody,
section.hseq .cardBody {
  padding: 14px 18px 18px;
  color: #334155;
  margin: 0;
}
.page-hseq .hseq .cardBody.p,
section.hseq .cardBody.p {
  list-style: none;
}
.page-hseq .hseq .cardBody ul,
section.hseq .cardBody ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}
.page-hseq .hseq .cardBody li,
section.hseq .cardBody li {
  margin-bottom: 6px;
}
@media (min-width: 640px) {
  .page-hseq .hseq .statsGrid,
  section.hseq .statsGrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-hseq .hseq .infoGrid,
  section.hseq .infoGrid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-hseq .hseq .certsRecognition,
  section.hseq .certsRecognition {
    grid-template-columns: 1fr 1fr;
  }
  .page-hseq .hseq .grid-2,
  section.hseq .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 900px) {
  .page-hseq .hseq .statsGrid,
  section.hseq .statsGrid {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-hseq .hseq .intro h2,
  section.hseq .intro h2 {
    font-size: 2.2rem;
  }
  .page-hseq .hseq .grid-3,
  section.hseq .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* HSEQ ISO certificate PDF modal */
.pdfModal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}
.pdfModal[hidden] {
  display: none !important;
}
.pdfModalContent {
  position: relative;
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pdfModalContent iframe {
  flex-grow: 1;
  width: 100%;
  border: none;
}
.pdfModal .closeBtn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: #000;
  cursor: pointer;
  font-weight: bold;
  z-index: 2;
  line-height: 1;
}

/* Certifications — live /resources/certifications */
section.certs {
  background: #f8fafc;
}
section.certs .pageHeading {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 40px;
}
section.certs .block {
  margin-bottom: 48px;
}
section.certs .blockTitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 20px;
}
section.certs .blockTitle span {
  color: #06b6d4;
}
section.certs .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}
section.certs .cert-card {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
section.certs .cert-thumb {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  aspect-ratio: 3 / 4;
}
section.certs .cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
section.certs .cert-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 33, 99, 0.55);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
section.certs .cert-card:hover .cert-overlay,
section.certs .cert-card:focus-visible .cert-overlay {
  opacity: 1;
}
section.certs .cert-card-title {
  margin: 10px 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}
section.certs .desc {
  color: #475569;
  margin-bottom: 12px;
}
section.certs .bulletList {
  list-style: disc;
  padding-left: 22px;
  color: #334155;
}
section.certs .bulletList li {
  margin-bottom: 6px;
}
section.certs .logoGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 24px;
}
section.certs .logoBox {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 24px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
section.certs .logoBox img {
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
section.certs .logoCaption {
  text-align: center;
  margin-top: 10px;
  font-weight: 600;
  color: #334155;
}
.cert-pdf-modal .pdfHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}
.cert-pdf-modal .pdfTitle {
  margin: 0;
  font-weight: 700;
  font-size: 1rem;
}
.cert-pdf-modal .pdfFrame {
  flex: 1;
  width: 100%;
  min-height: 70vh;
  border: none;
}
.cert-pdf-modal .pdfDownload {
  display: inline-block;
  margin: 12px 16px 16px;
  color: #002163;
  font-weight: 600;
}

/* Download brochure — live Tally embed */
section.download {
  background: #f1f5f9;
}
section.download .download-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
section.download .download-logo {
  margin-bottom: 20px;
}
section.download h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}
section.download .download-sub {
  color: #64748b;
  margin-bottom: 24px;
}
section.download .download-form-wrap {
  width: 100%;
  min-height: 320px;
}
section.download .download-tally {
  width: 100%;
  min-height: 400px;
  border: none;
}
section.download .download-success {
  max-width: 560px;
  margin: 24px auto 0;
  padding: 24px;
  background: #ecfdf5;
  border-radius: 8px;
  text-align: center;
  color: #065f46;
}

/* Blog listing — blog.html parity (overrides theme wpo-blog-pg-section) */
.page-blog .wpo-blog-pg-section {
  padding-top: 80px;
  padding-bottom: 90px;
}
@media (max-width: 991px) {
  .page-blog .wpo-blog-pg-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}
.page-blog .wpo-blog-pg-section .wpo-blog-content .post,
.page-blog .wpo-blog-content .post {
  display: block !important;
  width: 100% !important;
  clear: both !important;
  float: none !important;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}
.page-blog .wpo-blog-pg-section .wpo-blog-content .post:last-child,
.page-blog .wpo-blog-content .post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.page-blog .wpo-blog-pg-section .format-standard-image,
.page-blog .format-standard-image {
  display: block !important;
  width: 100% !important;
  background-color: transparent;
  padding: 0;
  position: relative;
}
.page-blog .tandheef-news-list-post {
  background: #fff;
  overflow: hidden;
}
.page-blog .tandheef-news-list-post .entry-media {
  position: relative;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 0;
}
.page-blog .tandheef-news-list-post .entry-media img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.page-blog .tandheef-news-list-post .entry-media:not(.entry-media--multi) img {
  aspect-ratio: 16 / 10;
}
.page-blog .tandheef-news-list-post .tandheef-news-list-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 20px;
  background: #000b47;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
}
.page-blog .tandheef-news-list-post .tandheef-news-list-footer-sep {
  width: 6px;
  height: 6px;
  background: #fff;
  flex-shrink: 0;
  display: inline-block;
}
.page-blog .tandheef-news-list-post .tandheef-news-list-tags {
  padding: 16px 25px 0;
  box-sizing: border-box;
}
.page-blog .tandheef-news-list-post .tandheef-news-list-tags .news-entry-tags {
  margin-bottom: 0;
}
.page-blog .tandheef-news-list-post .entry-details {
  padding: 18px 25px 24px;
  box-sizing: border-box;
}
.page-blog .tandheef-news-list-post .entry-details h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  color: #000b47;
  margin: 0 0 14px;
}
.page-blog .tandheef-news-list-post .entry-details h3 a {
  color: inherit;
  text-decoration: none;
}
.page-blog .tandheef-news-list-post .entry-details h3 a:hover {
  color: #233fd6;
}
.page-blog .tandheef-news-list-post .entry-details p {
  margin: 0 0 16px;
  color: #64748b;
  line-height: 1.65;
  font-size: 16px;
}
.page-blog .tandheef-news-list-post .tandheef-news-read-more {
  display: inline-block;
  margin-top: 4px;
  padding: 10px 24px;
  background: #000b47;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.page-blog .tandheef-news-list-post .tandheef-news-read-more:hover {
  background: #233fd6;
  color: #fff !important;
}
@media (max-width: 767px) {
  .page-blog .wpo-blog-pg-section .format-standard-image,
  .page-blog .format-standard-image {
    padding: 0;
  }
}
.page-blog .wpo-blog-pg-section .entry-meta,
.page-blog .wpo-blog-pg-section .entry-details,
.page-blog .entry-meta,
.page-blog .entry-details {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  position: static !important;
}
.page-blog .entry-media.video-holder {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  position: static !important;
  overflow: hidden;
  margin: 0;
  line-height: 0;
}
.page-blog .entry-media.video-holder.entry-media--multi {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  line-height: normal;
}
.page-blog .entry-media.video-holder::before,
.page-blog .entry-media .video-btn {
  display: none !important;
}
.page-blog .entry-media.video-holder img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  border-radius: 4px;
  object-fit: cover;
}
.page-blog .entry-media.video-holder.entry-media--multi img {
  flex: 1 1 calc(50% - 6px);
  width: calc(50% - 6px) !important;
  max-width: calc(50% - 6px) !important;
  min-height: 180px;
  aspect-ratio: 4 / 3;
}
@media (max-width: 575px) {
  .page-blog .entry-media.video-holder.entry-media--multi img {
    flex: 1 1 100%;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0;
    aspect-ratio: auto;
  }
}
.page-blog .wpo-blog-pg-section .entry-meta,
.page-blog .entry-meta {
  list-style: none;
  overflow: visible !important;
  margin: 16px 0 12px !important;
}
.page-blog .entry-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: #64748b;
  font-size: 0.9rem;
}
.page-blog .entry-meta ul li {
  display: inline-block;
  margin: 0;
}
.page-blog .entry-meta ul li i {
  margin-right: 6px;
  color: #002163;
}
.page-blog .entry-details h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.35;
}
.page-blog .entry-details h3 a {
  color: #111827;
  text-decoration: none;
}
.page-blog .entry-details h3 a:hover {
  color: #002163;
}
.page-blog .entry-details p {
  margin: 0 0 8px;
  color: #4b5563;
  line-height: 1.6;
}
.page-blog .read-more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: #002163;
  text-decoration: none;
  text-transform: uppercase;
}
.page-blog .read-more:hover {
  color: #001a4d;
}
.page-blog-single .news-detail-gallery {
  margin-bottom: 1.5rem;
}
.page-blog-single .news-detail-gallery img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: cover;
}
.page-blog-single .news-detail-gallery--multi {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-blog-single .news-detail-gallery--multi img {
  flex: 1 1 calc(50% - 6px);
  width: calc(50% - 6px);
  max-width: calc(50% - 6px);
  min-height: 180px;
  aspect-ratio: 4 / 3;
}
@media (max-width: 575px) {
  .page-blog-single .news-detail-gallery--multi img {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }
}
.page-blog .wpo-blog-pg-section .row {
  align-items: flex-start;
}
.page-blog .blog-sidebar {
  width: 100%;
}
.page-blog .blog-sidebar .widget {
  margin-bottom: 32px;
  padding: 24px;
  background: #f8fafc;
  border-radius: 8px;
}
.page-blog .blog-sidebar .widget h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.page-blog .search-widget .searchform {
  margin: 0;
}
.page-blog .search-widget .searchform-inner {
  position: relative;
}
.page-blog .search-widget input {
  width: 100%;
  background-color: rgba(0, 33, 99, 0.15);
  height: 70px;
  font-size: 1rem;
  padding: 6px 70px 6px 20px;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  box-sizing: border-box;
}
.page-blog .search-widget input:focus {
  background-color: rgba(0, 33, 99, 0.1);
  outline: none;
}
.page-blog .search-widget button {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: #002163;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.page-blog .search-widget button i {
  display: block;
  line-height: 1;
  font-size: 1.25rem;
}
.page-blog .category-widget ul,
.page-blog .tag-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-blog .category-widget li {
  margin-bottom: 8px;
}
.page-blog .tag-widget ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-blog .tag-widget a.is-active {
  background: #002163;
  color: #fff;
  border-color: #002163;
}
.page-blog .tag-widget a {
  display: inline-block;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.85rem;
}

.news-entry-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-entry-tags a {
  display: inline-block;
  padding: 5px 12px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  font-size: 0.85rem;
  color: #002163;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-entry-tags a:hover {
  background: #002163;
  border-color: #002163;
  color: #fff;
}

.page-blog-single .news-entry-tags {
  margin-top: 12px;
  margin-bottom: 24px;
}

.wpo-blog-section .news-entry-tags {
  margin-top: 10px;
  margin-bottom: 14px;
}

.wpo-blog-section .news-entry-tags a {
  background: #f8fafc;
}

/* Projects page */
.page-project .project-page-title,
section.projects .project-page-title {
  font-weight: 700;
  margin-bottom: 12px;
}
.page-project .project-intro,
section.projects .project-intro {
  max-width: 900px;
  color: #475569;
  margin-bottom: 24px;
}
.page-project .project-nav,
section.projects .project-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.page-project .project-nav-btn,
section.projects .project-nav-btn {
  padding: 10px 18px;
  border: 1px solid #002163;
  background: #fff;
  color: #002163;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}
.page-project .project-nav-btn.active,
.page-project .project-nav-btn:hover,
section.projects .project-nav-btn.active,
section.projects .project-nav-btn:hover {
  background: #002163;
  color: #fff;
}
.page-project .project-acc-item,
section.projects .project-acc-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.page-project .project-acc-head,
section.projects .project-acc-head {
  width: 100%;
  text-align: left;
  padding: 16px 20px;
  background: #f8fafc;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
}
.page-project .project-acc-body,
section.projects .project-acc-body {
  display: none;
  padding: 16px 20px 20px;
}
.page-project .project-acc-item.active .project-acc-body,
section.projects .project-acc-item.active .project-acc-body {
  display: block;
}
.page-project .project-acc-body ul,
section.projects .project-acc-body ul {
  padding-left: 20px;
  margin: 0;
}
.page-project .project-list li,
section.projects .project-list li {
  margin-bottom: 14px;
  line-height: 1.55;
  color: #334155;
}

/* Service detail list */
.page-service-detail .wpo-service-single-area ol li {
  margin-bottom: 20px;
}
.page-service-detail .blog-sidebar .category-widget ul {
  list-style: none;
  padding: 0;
}
.page-service-detail .blog-sidebar .category-widget a.active,
.page-service-detail .blog-sidebar .category-widget a:hover {
  color: #00194a;
  font-weight: 600;
}

.page-service-detail .sidebar-newsletter-widget {
  margin-top: 36px;
  padding-top: 8px;
}
.page-service-detail .sidebar-newsletter-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--tandheef-heading);
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
}
.page-service-detail .sidebar-newsletter-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--tandheef-heading);
  border-radius: 2px;
}
.page-service-detail .sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.page-service-detail .sidebar-newsletter-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  font-family: var(--tandheef-font);
  font-size: 1rem;
  color: var(--tandheef-heading);
  background: #fff;
  box-sizing: border-box;
}
.page-service-detail .sidebar-newsletter-input::placeholder {
  color: #94a3b8;
}
.page-service-detail .sidebar-newsletter-input:focus {
  outline: none;
  border-color: #002163;
  box-shadow: 0 0 0 0.15rem rgba(0, 33, 99, 0.12);
}
.page-service-detail .sidebar-newsletter-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 14px 20px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  background: var(--tandheef-heading) !important;
  color: #fff !important;
  cursor: pointer;
}
.page-service-detail .sidebar-newsletter-btn:hover {
  opacity: 0.92;
}
.page-service-detail .sidebar-newsletter-disclaimer {
  margin: 14px 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--tandheef-body-color);
}
.page-service-detail .sidebar-newsletter-disclaimer a {
  color: var(--tandheef-heading);
  font-weight: 600;
  text-decoration: none;
}
.page-service-detail .sidebar-newsletter-disclaimer a:hover {
  text-decoration: underline;
}
.page-service-detail .sidebar-newsletter-widget .newsletter-form-feedback {
  margin-top: 10px;
  font-size: 0.875rem;
}
.page-service-detail .sidebar-newsletter-widget .newsletter-form-feedback:empty {
  display: none;
}

.page-service-detail .wpo-service-contact-area {
  margin-top: 48px;
  padding-top: 8px;
}
.page-service-detail .wpo-service-contact-area .wpo-contact-title {
  margin-bottom: 24px;
  max-width: none;
  text-align: left;
}
.page-service-detail .wpo-service-contact-area .wpo-contact-title h2 {
  font-size: 35px;
  font-weight: 600;
  color: var(--tandheef-heading);
  margin-bottom: 12px;
}
.page-service-detail .wpo-service-contact-area .wpo-contact-title p {
  margin-bottom: 0;
  color: var(--tandheef-body-color);
}
.page-service-detail .service-inline-form textarea {
  width: 100%;
  min-height: 160px;
  padding: 14px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  resize: vertical;
  box-sizing: border-box;
  font-family: var(--tandheef-font);
  font-size: 1rem;
  color: var(--tandheef-heading);
}
.page-service-detail .service-inline-form textarea:focus {
  outline: none;
  border-color: #002163;
  box-shadow: 0 0 0 0.15rem rgba(0, 33, 99, 0.12);
}
.page-service-detail .service-inline-form .submit-field {
  margin-top: 8px;
}
.page-service-detail .service-inline-form .contact-form-alert {
  margin-bottom: 12px;
}
@media (max-width: 767px) {
  .page-service-detail .wpo-service-contact-area {
    margin-top: 32px;
  }
  .page-service-detail .wpo-service-contact-area .wpo-contact-title h2 {
    font-size: 28px;
  }
}

.tema-card .content h3 {
  font-size: 23px;
  color: #fff;

}

/* Shared page section spacing (career, awards, gallery, clients, etc.) */
.content-section-spacing {
  padding-top: 48px;
  padding-bottom: 50px;
}

@media (max-width: 991px) {
  .content-section-spacing {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

@media (max-width: 767px) {
  .content-section-spacing {
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

/* Career page — accordion */
.career-section .career-accordion {
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.career-section .career-accordion-item {
  border: none;
  border-bottom: 1px solid #e5e7eb;
  border-radius: 0;
  margin-bottom: 0;
  background: #fff;
}

.career-section .career-accordion-item:last-child {
  border-bottom: none;
}

.career-section .career-accordion-btn {
  font-family: var(--tandheef-font);
  font-size: 1.05rem;
  font-weight: 600;
  color: #374151;
  background: #fff;
  padding: 18px 24px;
  border: none;
  box-shadow: none;
  text-align: left;
}

.career-section .career-accordion-btn:hover {
  background: #f9fafb;
  color: #374151;
}

.career-section .career-accordion-btn:not(.collapsed) {
  background: #e8f1fc;
  color: var(--tandheef-accent-blue);
  box-shadow: none;
}

.career-section .career-accordion-btn::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23687493'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  filter: none;
}

.career-section .career-accordion-btn:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23233fd6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.career-accordion-body {
  padding: 24px;
  background: #fff;
  border-top: none;
}

.career-section .career-description {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
}

.career-section .career-description p:last-child {
  margin-bottom: 0;
}

.btn-career-detail {
  display: inline-block;
  padding: 0;
  background: none;
  color: var(--tandheef-accent-blue) !important;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.btn-career-detail:hover {
  color: #002163 !important;
  text-decoration: underline;
}

/* Career application form */

.application-job-position {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--tandheef-accent-blue);
}

.application-heading {
  margin: 0 0 28px;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--tandheef-heading);
}

.application-form .form-label {
  font-weight: 600;
  color: var(--tandheef-heading);
  margin-bottom: 8px;
}

.application-form .application-input,
.application-form .form-control.application-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-family: var(--tandheef-font);
  font-size: 1rem;
  color: var(--tandheef-heading);
  background: #fff;
  box-sizing: border-box;
}

.application-form .application-input:focus,
.application-form .form-control.application-input:focus {
  outline: none;
  border-color: #002163;
  box-shadow: 0 0 0 0.15rem rgba(0, 33, 99, 0.12);
}

.application-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-application-submit {
  display: inline-block;
  padding: 14px 32px;
  background: #002163;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn-application-submit:hover {
  background: var(--tandheef-accent-blue);
  color: #fff !important;
}

.btn-application-cancel {
  display: inline-block;
  padding: 14px 24px;
  color: #687693 !important;
  font-weight: 600;
  text-decoration: none;
}

.btn-application-cancel:hover {
  color: var(--tandheef-heading) !important;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .career-section .career-accordion-btn {
    padding: 14px 18px;
    font-size: 1rem;
  }

  .career-accordion-body {
    padding: 18px;
  }

  .application-heading {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
}
