/* ==========================================================================
   VARIENTNOTE LIMITED — brand layer for the Workforce template (version 2)
   Maps the template's theme colours to the VARIENTNOTE logo (navy + teal)
   and adds the few components the template does not include.
   ========================================================================== */

:root {
  --theme-color1: #3fcbbb;
  --theme-color1-rgb: 63, 203, 187;
  --theme-color2: #0b1030;
  --theme-color2-rgb: 11, 16, 48;
  --theme-color3: #233272;
  --theme-color3-rgb: 35, 50, 114;
  --theme-color1-text-color: #0b1030;
  --hover-theme-color: #3fcbbb;
  --theme-color-dark: #0b1030;
  --headings-color: #0f1535;
  --sec-title-subtitle-color: #0b1030;
  --text-color: #5a607a;
  --link-color: #0b7a6e;
  --link-hover-color: #0b7a6e;
  --brand-teal-ink: #0b7a6e;
}

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 10000;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--theme-color2);
  color: #fff;
  font-weight: 500;
}
.skip-link:focus { top: 12px; color: #fff; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.acc-btn:focus-visible {
  outline: 3px solid var(--theme-color3);
  outline-offset: 3px;
}
.team-section a:focus-visible,
.main-footer a:focus-visible,
.page-title a:focus-visible,
.services-section-two a:focus-visible { outline-color: var(--theme-color1); }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
h1, h2, h3, h4, h5 { font-family: var(--heading-font-family); }

/* ---------- Logo ---------- */
.main-header .logo img,
.sticky-header .logo img { width: 190px; max-width: 190px; height: auto; }
@media (max-width: 767px) {
  .main-header .logo img, .sticky-header .logo img { width: 150px; }
}
.logo-plate {
  display: inline-flex;
  padding: 12px 18px;
  border-radius: 14px;
  background: #fff;
}
.logo-plate img { width: 190px; height: auto; }
.mobile-menu .nav-logo .logo-plate img { width: 150px; }
.footer-area .outer-box .footer-column .about-widget .widget-content .logo img { width: 200px; max-width: 200px; }

/* Header e-mail box (template phone box) */
.main-header .right-box .phone-box span { text-transform: none; }
.main-header .header-phone_box .info strong { text-transform: none; }

/* ---------- Banner ---------- */
.banner-section .outer-box .banner-content .inner-column .banner-title {
  font-size: clamp(34px, 4.1vw, 68px);
  line-height: 1.12;
}
.banner-section .outer-box .banner-content .inner-column .banner-title .accent { color: var(--theme-color3); }
.banner-section .outer-box .banner-content .inner-column .text { max-width: 620px; }
.banner-section .funfact-box .counter-box .text { max-width: 230px; line-height: 1.5; }

/* ---------- About: four features with descriptions ---------- */
.about-section .content-column .inner-column .feature-box.feature-box--four {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
}
.about-section .feature-box--four .feature { align-items: flex-start; }
.about-section .feature-box--four .feature .title { margin-bottom: 6px; }
.about-section .feature-box--four .feature .feature-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-color);
  margin: 0;
}
@media (max-width: 575px) {
  .about-section .content-column .inner-column .feature-box.feature-box--four { grid-template-columns: 1fr; }
}
.about-section .round-text .number { font-size: 34px; }
.about-section .sec-title .text + .text { margin-top: 16px; }

/* ---------- Services blob cards: note row ---------- */
.services-section .bottom-box .inner-box { flex-wrap: wrap; justify-content: center; row-gap: 10px; }
.services-section .bottom-box .inner-box .text { max-width: 760px; }

/* ---------- Dark band (team section) used for text content ---------- */
.team-section .right-side .text-block p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}
.team-section .right-side .text-block { margin-bottom: 30px; }
.team-section .outer-box .image.image-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px 16px;
}
.team-section .outer-box .image.image-duo img { border-radius: 20px; height: 520px; min-height: 0; }
@media (max-width: 767px) {
  .team-section .outer-box .image.image-duo { grid-template-columns: 1fr; }
  .team-section .outer-box .image.image-duo img { height: 280px; }
}

/* ---------- Why-choose cards with longer copy ---------- */
.why-choose-us-block .features-details p { margin-bottom: 12px; }
.why-choose-us-block .features-details p:last-child { margin-bottom: 0; }
.why-choose-us-section .sec-title-box .sec-title .text { max-width: 760px; margin-top: 14px; }
.why-choose-us-section .image-column .inner-column { min-height: 420px; }

/* ---------- Working blocks (How It Works) ---------- */
.working-section .working-block .features-details a { color: var(--brand-teal-ink); text-decoration: underline; }
.working-section.working-section--steps .working-block { height: 100%; }
.working-section.working-section--steps .image-column .inner-column { position: sticky; top: 120px; height: auto; }
.working-section.working-section--steps .image-column .inner-column .image img { height: 760px; }
@media (max-width: 1199px) {
  .working-section.working-section--steps .image-column .inner-column { position: static; margin-top: 40px; }
  .working-section.working-section--steps .image-column .inner-column .image img { height: 420px; }
}

/* ---------- Page title ---------- */
.page-title { background-color: var(--theme-color2); }
.page-title:before { background: linear-gradient(180deg, rgba(11, 16, 48, 0.82), rgba(35, 50, 114, 0.72)); opacity: 1; }
.page-title .title { font-size: clamp(34px, 5vw, 64px); line-height: 1.15; max-width: 980px; margin-left: auto; margin-right: auto; }

/* ---------- Services details (Services + Privacy) ---------- */
.services-details__content .service-item { padding-top: 34px; margin-top: 34px; border-top: 1px solid #e6e8ef; }
.services-details__content .service-item:first-of-type { border-top: 0; margin-top: 10px; }
.services-details__content .service-item h2,
.services-details__content .service-item h3 { display: flex; align-items: center; gap: 14px; font-size: 28px; margin-bottom: 14px; }
.services-details__content .service-item .item-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(var(--theme-color1-rgb), 0.16);
  color: var(--theme-color3);
  font-size: 22px;
}
.services-details__content .lead-text { font-size: 18px; line-height: 1.8; color: var(--headings-color); }
.service-sidebar .sidebar-service-list ul li a { text-transform: none; }
.service-details-help .help-title { font-size: 34px; }
.service-details-help .help-contact a { word-break: break-word; }
.services-details__content .blockquote-one a { color: inherit; text-decoration: underline; }

/* ---------- Details list (About) ---------- */
.contact-details__info li .text span,
.contact-details__info li .text a { word-break: break-word; }
.contact-details .sec-title .text a { color: var(--brand-teal-ink); text-decoration: underline; }
.contact-details .concern-block { margin-top: 36px; }
.contact-details .concern-block h2 { font-size: 26px; margin-bottom: 10px; }
.contact-details .concern-block p a { color: var(--brand-teal-ink); text-decoration: underline; }

/* ---------- Enquiry form (shared) ---------- */
.enquiry-form .field { margin-bottom: 18px; }
.enquiry-form label.field-label,
.enquiry-form legend.field-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--headings-color);
}
.enquiry-form .req { color: #b42318; }
.enquiry-form .form-control,
.enquiry-form select.form-control { min-height: 56px; }
.enquiry-form textarea.form-control { min-height: 140px; }
.enquiry-form [aria-invalid="true"] { border-color: #b42318 !important; }
.enquiry-form .field-error { display: none; margin: 6px 0 0; font-size: 14px; color: #b42318; }
.enquiry-form .field.has-error .field-error { display: block; }
.enquiry-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.enquiry-form .checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.enquiry-form .checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid #e3e5ec;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
}
.enquiry-form .checks input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--theme-color3); flex: none; }
.enquiry-form .form-hint { font-size: 14px; color: var(--text-color); margin: 6px 0 0; }
.enquiry-form .form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 500; }
.form-status.is-visible { display: flex; gap: 10px; align-items: flex-start; }
.form-status svg, .form-status i { flex: none; margin-top: 4px; }
.form-status--success { background: #e9faf7; border: 1px solid #2bb5a5; color: #0f1535; }
.form-status--error { background: #fef3f2; border: 1px solid #b42318; color: #b42318; }
@media (max-width: 575px) { .enquiry-form .checks { grid-template-columns: 1fr; } }

/* Home contact section: form inside the template's contact card */
.contact-section .enquiry-form select.form-control,
.contact-section .enquiry-form input.form-control,
.contact-section .enquiry-form textarea.form-control { border-radius: 10px; }
.contact-section .image-column .inner-column .content .info .designation { color: rgba(255, 255, 255, 0.8); }

/* ---------- FAQ ---------- */
.faq-section .accordion-box .acc-btn { cursor: pointer; }

/* ---------- Footer ---------- */
.footer-area .footer-widget .text a,
.footer-area .footer-widget .info a { color: inherit; }
.footer-area .footer-widget .info a:hover,
.footer-area .footer-widget .user-links a:hover { color: var(--theme-color1); }
.footer-area .footer-widget .user-links a[aria-current="page"] { color: var(--theme-color1); }
.footer-area .footer-widget .info span { word-break: break-word; }

/* ---------- Map ---------- */
.map-section iframe { display: block; width: 100%; height: 460px; border: 0; }

/* ---------- 404 ---------- */
.error-page { padding: 140px 0; text-align: center; }
.error-page .error-code { font-size: clamp(90px, 16vw, 200px); line-height: 1; font-weight: 600; color: var(--theme-color3); font-family: var(--heading-font-family); }
.error-page p { max-width: 520px; margin: 16px auto 32px; }

/* ---------- Header layout for six menu items ---------- */
.header-style-one .header-lower .inner-container .main-box .left-box {
  max-width: none;
  flex: 1 1 auto;
  gap: 40px;
  justify-content: flex-start;
}
.header-style-one .header-lower .inner-container .main-box .left-box .logo-box img { max-width: 190px; width: 190px; }
.main-menu .navigation > li { margin: 0 14px; white-space: nowrap; }
.header-style-one .header-lower .inner-container .main-box .right-box { flex: none; }
@media (max-width: 1499.98px) {
  .header-style-one .right-box .phone-box { display: none !important; }
  .main-menu .navigation > li { margin: 0 11px; }
}

/* ---------- FAQ info box: keep white caption readable on light photos ---------- */
.faq-section .content-column .inner-coloumn .info-box .content {
  background: linear-gradient(180deg, rgba(11, 16, 48, 0.35) 0%, rgba(11, 16, 48, 0.82) 45%);
}

/* ---------- Page title overlay (photo backgrounds) ---------- */
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 16, 48, 0.8) 0%, rgba(35, 50, 114, 0.7) 100%);
  opacity: 1;
}
.page-title .auto-container { position: relative; z-index: 1; }

/* ---------- Sidebar lists: allow long labels to wrap ---------- */
.sidebar-service-list li a { white-space: normal; height: auto !important; min-height: 60px; padding-right: 64px !important; line-height: 1.4 !important; display: flex !important; align-items: center; }
.sidebar-service-list li a span { overflow: visible; text-overflow: clip; white-space: normal; }
.service-details-help .help-contact a { font-size: 18px !important; line-height: 1.5 !important; }
.service-details-help .help-title { font-size: 30px !important; line-height: 1.2 !important; }

/* ---------- Footer fixes ---------- */
.footer-area .about-widget .widget-content .text strong { color: #fff; display: inline-block; margin: 18px 0 4px; }
.footer-area .footer-widget .widget-title { white-space: nowrap; }

/* ---------- Home contact image fills its column ---------- */
.contact-section .image-column .inner-column,
.contact-section .image-column .inner-column .image { height: 100%; }
.contact-section .image-column .inner-column .image img { height: 100%; min-height: 560px; object-fit: cover; }
.contact-section .image-column .inner-column .content {
  background: linear-gradient(180deg, rgba(11, 16, 48, 0) 0%, rgba(11, 16, 48, 0.85) 55%);
}

/* ---------- CTA band spacing ---------- */
.team-section.cta-band { margin-bottom: 100px; }
.team-section.cta-band .outer-box { padding-bottom: 100px; }

/* ---------- Small phones: let long button labels wrap ---------- */
@media (max-width: 575px) {
  .theme-btn { max-width: 100%; white-space: normal; text-align: left; }
  .theme-btn .btn-title { white-space: normal; line-height: 1.35; }
}

/* ==========================================================================
   Round-3 refinements
   ========================================================================== */

/* ---------- Rotating badge with the logo icon in the centre ---------- */
.about-section .image-column .inner-column .round-text.round-text--logo:before {
  background-color: #ffffff;
  width: 92px;
  height: 92px;
  box-shadow: 0 6px 18px rgba(11, 16, 48, 0.25);
}
.about-section .image-column .inner-column .round-text.round-text--logo .number {
  line-height: 0;
  font-size: 0;
}
.about-section .round-text--logo .badge-mark {
  width: 58px;
  height: 58px;
  object-fit: contain;
  animation: vn-mark-spin 14s linear infinite reverse;
}
.about-section .round-text--logo span text { font-size: 15px; letter-spacing: 0; }
@keyframes vn-mark-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .about-section .round-text--logo .badge-mark,
  .about-section .image-column .inner-column .round-text span svg { animation: none; }
}

/* ---------- "Payments" strip under the pay-run cards ---------- */
.services-section .bottom-box .inner-box {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 18px;
  max-width: 1080px;
  margin: 30px auto 0;
  padding: 14px 26px 14px 14px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 30px rgba(11, 16, 48, 0.06);
  text-align: left;
}
.services-section .bottom-box .inner-box .cat {
  flex: none;
  padding: 6px 18px;
  line-height: 1.4;
  font-size: 14px;
  letter-spacing: 0.06em;
  border-radius: 999px;
}
.services-section .bottom-box .inner-box .text { flex: 1 1 auto; max-width: none; line-height: 1.6; }
.services-section .bottom-box .inner-box a { flex: none; white-space: nowrap; font-weight: 500; }
@media (max-width: 991.98px) {
  .services-section .bottom-box .inner-box {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
  }
  .services-section .bottom-box .inner-box .text { flex-basis: 100%; }
}

/* ---------- Home contact photo: white text on a navy fade ---------- */
.contact-section .outer-box .image-column .inner-column { max-height: none; }
.contact-section .outer-box .image-column .inner-column:before {
  background-image: linear-gradient(180deg, rgba(11, 16, 48, 0) 40%, rgba(11, 16, 48, 0.9) 100%);
  border-radius: inherit;
}
.contact-section .image-column .inner-column .content,
.contact-section .outer-box .image-column .inner-column .content { background: none; }
.contact-section .outer-box .image-column .inner-column .content .h4 {
  color: #ffffff;
  margin-bottom: 18px;
}
.contact-section .outer-box .image-column .inner-column .content .info .designation { color: rgba(255, 255, 255, 0.8); }
@media (max-width: 767.98px) {
  .contact-section .outer-box .image-column .inner-column .content { left: 24px; right: 24px; }
}

/* ---------- Dark-mode logo on dark surfaces ---------- */
.footer-area .outer-box .footer-column .about-widget .widget-content .logo img { width: 220px; max-width: 100%; height: auto; }
.mobile-menu .nav-logo img { width: 170px; max-width: 100%; height: auto; }
