/* Shared fixes without altering the established page layouts. */
.cvx-side-contact .support-phone {
  display: block;
  color: var(--cvx-navy, #102f49);
  font-size: inherit;
}

.cvx-side-contact .support-phone:hover {
  color: #0d5ca7;
  text-decoration: underline;
}

.cvx-side-contact .support-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 14px;
  background: #edf6ff;
  color: var(--cvx-blue, #0d5ca7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #ed8c23;
  outline-offset: 4px;
}

.mouseCursor {
  pointer-events: none !important;
}

/* Footer enquiry and compact newsletter signup. */
.h5-footer .footer-enquiry-widget {
  margin-left: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #dce6ef;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(14, 53, 88, .05);
}

.footer-enquiry-eyebrow {
  display: block;
  margin-bottom: 9px;
  color: #a85513;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}

.h5-footer .footer-enquiry-widget h3 {
  margin: 0 0 8px;
  color: #133553;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

.footer-enquiry-intro {
  margin: 0 0 20px;
  color: #64788a;
  font-size: 13px;
  line-height: 1.6;
}

.footer-enquiry-form {
  display: grid;
  gap: 13px;
}

.footer-enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 12px;
}

.footer-enquiry-form label {
  display: block;
  margin-bottom: 6px;
  color: #34516b;
  font-size: 11px;
  font-weight: 600;
}

.footer-enquiry-form label span {
  color: #b56624;
}

.h5-footer .footer-enquiry-form input, .h5-footer .footer-enquiry-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #dae3ec;
  border-radius: 7px;
  background: #f8fafc;
  color: #18354e;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
}

.h5-footer .footer-enquiry-form input {
  height: 42px;
}

.h5-footer .footer-enquiry-form textarea {
  min-height: 80px;
  resize: vertical;
}

.footer-enquiry-form input::placeholder, .footer-enquiry-form textarea::placeholder {
  color: #8091a2;
  opacity: 1;
}

.h5-footer .footer-enquiry-form input:focus, .h5-footer .footer-enquiry-form textarea:focus, .footer-simple-newsletter input:focus {
  border-color: #2472b4;
  outline: 2px solid rgba(36,114,180,.15);
  outline-offset: 1px;
  background: #fff;
}

.footer-enquiry-form > button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 44px;
  padding: 11px 15px;
  border: 0;
  border-radius: 7px;
  background: #0e4b8a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s;
}

.footer-enquiry-form > button:hover {
  background: #083967;
}

.footer-enquiry-form > button i {
  color: #ffd1a0;
}

.footer-newsletter-strip {
  position: relative;
  padding: 24px 0;
  border-top: 1px solid #dbe5ee;
  background: #eef4f9;
}

.footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.h5-footer .footer-top-area {
  padding-bottom: 60px;
}

.footer-enquiry-visible .social-icons, .footer-enquiry-visible .call-button, .footer-enquiry-visible .whatsapp-button {
  visibility: hidden;
  pointer-events: none;
}

.footer-newsletter-copy h3 {
  margin: 0 0 3px;
  color: #173b5c;
  font-size: 17px;
  line-height: 1.3;
}

.footer-newsletter-copy p {
  margin: 0;
  color: #698096;
  font-size: 12px;
}

.footer-simple-newsletter {
  display: flex;
  width: min(100%, 430px);
  gap: 8px;
}

.footer-simple-newsletter input {
  box-sizing: border-box;
  flex: 1;
  width: 0;
  min-width: 0;
  height: 44px;
  padding: 10px 14px;
  border: 1px solid #cedce8;
  border-radius: 7px;
  background: #fff;
  color: #18354e;
  font-size: 13px;
}

.footer-simple-newsletter button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  border: 1px solid #173b5c;
  border-radius: 7px;
  background: transparent;
  color: #173b5c;
  font-size: 12px;
  font-weight: 700;
}

.footer-simple-newsletter button:hover {
  background: #173b5c;
  color: #fff;
}

.footer-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 767px) {
  .h5-footer .footer-enquiry-widget {
    padding: 20px;
  }

  .footer-newsletter-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .footer-simple-newsletter {
    width: 100%;
  }

  .h5-footer .footer-enquiry-form input, .h5-footer .footer-enquiry-form textarea, .footer-simple-newsletter input {
    font-size: 16px;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .footer-enquiry-grid {
    grid-template-columns: minmax(0,1fr);
  }
}

.side-button {
  border: 0;
}

#popupForm {
  visibility: hidden;
  overflow-y: auto;
  max-width: 100vw;
}

#popupForm.show {
  visibility: visible;
}

#popupForm .close-btn {
  border: 0;
  background: transparent;
  line-height: 1;
  padding: 8px;
}

.site-search-results {
  max-height: 45vh;
  overflow: auto;
  text-align: left;
}

.site-search-results:empty {
  display: none;
}

.site-search-results p {
  margin: 12px 0;
  font-size: 14px;
}

.site-search-results a {
  display: block;
  padding: 10px 12px;
  margin-bottom: 5px;
  border-radius: 6px;
  background: #f0f6fc;
  color: #103d69 !important;
  font-size: 15px;
  line-height: 1.4;
}

[id] {
  scroll-margin-top: 110px;
}

@media (max-width: 575px) {
  .cvx-side-contact {
    min-width: 0;
  }

  .cvx-side-contact a {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    animation: none !important;
  }

  html {
    scroll-behavior: auto !important;
  }
}

/* Country codes and an always-available enquiry drawer. */
.footer-enquiry-grid {
  grid-template-columns: minmax(0, 1fr);
}

.iti {
  width: 100%;
  min-width: 0;
  color: #173b5c;
  font-size: 14px;
  --iti-border-color: #d9e3ec;
}

.iti input.iti__tel-input {
  width: 100%;
}

.iti .iti__selected-country {
  min-height: 0;
  width: auto;
  border-radius: 7px 0 0 7px;
  color: #173b5c;
  background: #edf3f9;
}

.iti .iti__selected-country:hover {
  background: #e2edf7;
}

.iti .iti__selected-dial-code {
  font-size: 13px;
}

.iti--detached-country-selector {
  z-index: 100004;
}

.iti__country-selector {
  color: #173b5c;
  background: #fff;
}

.iti__country-list {
  text-align: left;
}

.iti__search-input {
  color: #173b5c !important;
  background: #fff !important;
  font-size: 16px !important;
}

body > .side-button {
  visibility: visible;
  pointer-events: auto;
  right: 0;
  top: 42%;
  transform: none;
  writing-mode: vertical-rl;
  padding: 18px 12px;
  border-radius: 9px 0 0 9px;
  z-index: 100000;
}

.enquiry-open .side-button {
  visibility: hidden;
}

body.enquiry-open {
  overflow: hidden;
}

.enquiry-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 45, .45);
  backdrop-filter: blur(3px);
  z-index: 100001;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}

.enquiry-backdrop.show {
  opacity: 1;
  visibility: visible;
}

#popupForm {
  right: 0;
  top: 0;
  width: 400px;
  height: 100%;
  height: 100dvh;
  padding: 28px;
  z-index: 100002;
  transform: translateX(105%);
  transition: transform .3s, visibility .3s;
}

#popupForm.show {
  right: 0;
  transform: translateX(0);
  visibility: visible;
}

#popupForm {
  overflow-x: hidden;
}

#popupForm .wow {
  visibility: visible !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

#popupForm .iti {
  margin-bottom: 10px;
}

#popupForm .iti input[type=tel] {
  height: 46px;
  background-color: #fff;
  color: #173b5c;
  border: 1px solid #d9e3ec;
  border-radius: 7px;
}

#popupForm .iti__selected-country {
  padding: 0;
}

#popupForm .iti--detached-country-selector {
  z-index: 100004;
}

#popupForm .iti__search-input {
  margin: 0;
  padding: 12px 36px !important;
  height: 46px;
}

@media (max-width: 575px) {
  #popupForm {
    width: 100%;
    max-width: 100vw;
    padding: 24px;
  }

  #popupForm input, #popupForm textarea {
    font-size: 16px;
  }

  body > .side-button {
    padding: 14px 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #popupForm, .enquiry-backdrop {
    transition: none;
  }
}

/* Mobile layout: visible branding, readable content and unobstructed touch controls. */
@media (max-width: 991px) {
  .tj-header-area .header-topbar {
    display: none;
  }

  .tj-header-area .header-bottom {
    background: #0b304a;
  }

  .tj-header-area .header-wrapper {
    min-height: 40px;
    padding: 0px 0;
    gap: 16px;
    flex-wrap: nowrap;
  }

  .tj-header-area .site-logo {
    flex: 0 1 210px;
    min-width: 0;
  }

  .tj-header-area .site-logo .logo {
    width: 100%;
    max-width: 210px;
  }

  .tj-header-area .site-logo img {
    display: block;
    width: 100%;
    height: auto;
  }

  .tj-header-area .menu_btn {
    color: #fff;
    min-height: 44px;
    flex-shrink: 0;
  }

  .tj-header-area .menu_btn .cubes span {
    background: #fff;
  }

  .wow {
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
  }

  .mouseCursor, .social-icons {
    display: none !important;
  }

  .hamburger-area {
    width: min(390px, 100%);
    z-index: 100010;
    background: #0b304a;
  }

  .hamburger_top {
    gap: 20px;
    margin-bottom: 24px;
  }

  .hamburger_logo {
    max-width: 220px;
  }

  .mobile-quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }

  .mobile-quick-links a {
    color: #fff;
    padding: 12px;
    border: 1px solid #456176;
    border-radius: 6px;
    font-size: 14px;
  }

  .text-anim *, .hero-text-anim * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .hamburger-area .hamburger_close_btn, .hamburger-area .hamburger_close_btn i {
    color: #fff;
  }

  .hamburger_close_btn {
    min-width: 44px;
    min-height: 44px;
  }

  .body-overlay {
    z-index: 100009;
  }

  body:has(.hamburger-area.opened) {
    overflow: hidden;
  }

  .tj-hero-section-four {
    padding-top: 116px;
    background-position: center !important;
  }

  .hero-content-four {
    padding: 0 12px 32px;
    max-width: 680px;
  }

  .hero-content-four .hero-title {
    font-size: clamp(34px, 6vw, 52px);
    line-height: 1.13;
  }

  .hero-content-four .desc {
    font-size: 17px;
    line-height: 1.65;
  }

  .hero-images-box-four {
    margin: 0 auto;
  }

  .cvx-hero-grid > *, .cvx-two-col > * {
    min-width: 0;
  }

  .cvx-breadcrumb {
    flex-wrap: wrap;
  }

  .h5-footer .footer-enquiry-widget {
    margin-top: 12px;
  }
}

@media (max-width: 575px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  body::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(72px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #dce6ef;
    box-shadow: 0 -4px 20px rgba(12,43,67,.08);
    z-index: 99998;
    pointer-events: none;
  }

  body > .side-button {
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 16px;
    right: 136px;
    writing-mode: horizontal-tb;
    height: 48px;
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    letter-spacing: .04em;
  }

  .call-button, .whatsapp-button {
    top: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
    border-radius: 12px;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .call-button {
    right: 76px;
  }

  .whatsapp-button {
    right: 16px;
  }

  .footer-enquiry-visible .call-button, .footer-enquiry-visible .whatsapp-button {
    visibility: visible;
    pointer-events: auto;
  }

  .enquiry-open::after, body:has(.hamburger-area.opened)::after {
    display: none;
  }

  .enquiry-open .call-button, .enquiry-open .whatsapp-button {
    visibility: hidden;
  }

  .back-to-top-wrapper {
    bottom: 90px;
    right: 18px;
  }

  .hero-wrapper-four .client-experience {
    position: relative;
    bottom: auto;
    margin: -24px auto 24px;
    max-width: 270px;
    padding: 18px;
  }

  .hero-content-four .hero-subtitle {
    font-size: 13px;
  }

  .cvx-hero h1 {
    font-size: clamp(30px, 8.5vw, 38px);
    overflow-wrap: break-word;
  }

  input, textarea, select {
    font-size: 16px;
  }

  .footer-simple-newsletter button {
    padding: 10px 12px;
  }

  .tj-post__navigation {
    flex-wrap: wrap;
    gap: 16px;
  }

  .tj-nav-post__nav a {
    gap: 8px;
  }

  .h5-footer .footer-top-area {
    padding-bottom: 32px;
  }
}