/*
Theme Name: APEX HR
Theme URI: https://apexhr.vn
Author: APEX HR
Author URI: https://apexhr.vn
Description: Brochure theme for APEX HR - human resources & labor supply. Ported from the static Tailwind site. Uses compiled Tailwind CSS + jQuery.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apexhr
Tags: business, custom-menu, featured-images, full-width-template, translation-ready
*/

/* ============================
   APEX HR — Brand-specific CSS
   (Tailwind handles layout/spacing/colors via utilities)
   ============================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

html, body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ====== Hero gradient + radial glows ====== */
/* .hero-gradient {
  background: linear-gradient(135deg, #082445 0%, #0b2a4a 50%, #133b6c 100%);
  position: relative;
  overflow: hidden;
}
.hero-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(30, 109, 216, 0.25), transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(30, 109, 216, 0.18), transparent 40%);
  pointer-events: none;
}
.hero-gradient > * { position: relative; z-index: 1; } */

/* ====== Hero background images per page ====== */
.hero-bg-home     { background: linear-gradient(to right, rgba(8,36,69,0.90) 0%, rgba(8,36,69,0.00) 50%), url('assets/img/hero-bg/home-banner.png') center / cover no-repeat; }
.hero-bg-about    { background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/about-banner.png') center / cover no-repeat; }
.hero-bg-services { background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/services-banner.png') center / cover no-repeat; }
.hero-bg-solutions{ background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/solutions-banner.png') center / cover no-repeat; }
.hero-bg-news     { background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/news-banner.png') center / cover no-repeat; }
.hero-bg-partners { background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/partners-banner.png') center / cover no-repeat; }
.hero-bg-contact  { background: linear-gradient(135deg, rgba(8,36,69,0.78) 0%, rgba(11,42,74,0.72) 50%, rgba(19,59,108,0.70) 100%), url('assets/img/hero-bg/contact-banner.png') center / cover no-repeat; }

/* CTA navy with radial glow */
.cta-glow {
  position: relative;
  overflow: hidden;
}
.cta-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(30, 109, 216, 0.4), transparent 50%);
  pointer-events: none;
}
.cta-glow > * { position: relative; z-index: 1; }

/* ====== Hero illustration (SVG-based, no actual image needed) ====== */
.hero-illust {
  position: relative;
  background: linear-gradient(135deg, #1e6dd8 0%, #0b2a4a 100%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}
.hero-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><rect x='150' y='180' width='300' height='180' rx='12' fill='%23ffffff' fill-opacity='.07'/><circle cx='220' cy='240' r='28' fill='%23ffb627' fill-opacity='.9'/><circle cx='300' cy='240' r='28' fill='%23ffffff' fill-opacity='.9'/><circle cx='380' cy='240' r='28' fill='%23ffb627' fill-opacity='.7'/><rect x='185' y='290' width='75' height='8' rx='3' fill='%23ffffff' fill-opacity='.4'/><rect x='265' y='290' width='75' height='8' rx='3' fill='%23ffffff' fill-opacity='.4'/><rect x='345' y='290' width='75' height='8' rx='3' fill='%23ffffff' fill-opacity='.4'/><rect x='195' y='305' width='55' height='6' rx='2' fill='%23ffffff' fill-opacity='.2'/><rect x='275' y='305' width='55' height='6' rx='2' fill='%23ffffff' fill-opacity='.2'/><rect x='355' y='305' width='55' height='6' rx='2' fill='%23ffffff' fill-opacity='.2'/></svg>");
  background-size: cover;
  background-position: center;
}
.hero-illust-label {
  position: absolute;
  bottom: 20px;
  left: 22px;
  right: 22px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  z-index: 2;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Hero illust variants — worker, team, handshake, etc. */
.hero-illust-team::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><g><circle cx='200' cy='200' r='40' fill='%23ffb627' fill-opacity='.85'/><path d='M160 320 Q200 250 240 320 L240 380 L160 380 Z' fill='%23ffb627' fill-opacity='.7'/></g><g><circle cx='300' cy='180' r='44' fill='%23ffffff' fill-opacity='.85'/><path d='M256 310 Q300 230 344 310 L344 380 L256 380 Z' fill='%23ffffff' fill-opacity='.7'/></g><g><circle cx='400' cy='200' r='40' fill='%23ffb627' fill-opacity='.7'/><path d='M360 320 Q400 250 440 320 L440 380 L360 380 Z' fill='%23ffb627' fill-opacity='.55'/></g></svg>");
}
.hero-illust-handshake::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><path d='M150 230 Q220 200 280 230 L320 250 Q380 220 450 250 L450 280 Q380 310 320 280 L280 260 Q220 290 150 260 Z' fill='%23ffffff' fill-opacity='.85'/><circle cx='190' cy='200' r='30' fill='%23ffb627' fill-opacity='.85'/><circle cx='410' cy='200' r='30' fill='%23ffb627' fill-opacity='.7'/></svg>");
}
.hero-illust-worker::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><g><circle cx='300' cy='160' r='52' fill='%23ffb627' fill-opacity='.9'/><path d='M250 130 Q300 100 350 130 L350 145 Q300 125 250 145 Z' fill='%23ffffff'/><rect x='260' y='200' width='80' height='8' rx='4' fill='%23ffffff' fill-opacity='.7'/><path d='M230 320 Q300 240 370 320 L370 400 L230 400 Z' fill='%23ffffff' fill-opacity='.85'/></g></svg>");
}
.hero-illust-consult::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><rect x='150' y='150' width='300' height='200' rx='14' fill='%23ffffff' fill-opacity='.95'/><rect x='175' y='180' width='100' height='8' rx='3' fill='%231e6dd8'/><rect x='175' y='200' width='140' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/><rect x='175' y='215' width='120' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/><rect x='175' y='245' width='60' height='30' rx='6' fill='%231e6dd8'/><rect x='250' y='245' width='60' height='30' rx='6' fill='%23ffb627'/><circle cx='400' cy='250' r='50' fill='%231e6dd8' fill-opacity='.15'/><path d='M380 250 L395 265 L425 235' stroke='%231e6dd8' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}
.hero-illust-news::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 450' fill='none'><defs><linearGradient id='g1' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%23ffffff' stop-opacity='.15'/><stop offset='1' stop-color='%23ffffff' stop-opacity='0'/></linearGradient></defs><circle cx='500' cy='80' r='130' fill='url(%23g1)'/><circle cx='80' cy='370' r='160' fill='url(%23g1)'/><rect x='140' y='130' width='200' height='240' rx='12' fill='%23ffffff' fill-opacity='.9' transform='rotate(-5 240 250)'/><rect x='260' y='110' width='200' height='240' rx='12' fill='%23ffffff' fill-opacity='.95' transform='rotate(5 360 230)'/><rect x='285' y='150' width='150' height='10' rx='3' fill='%231e6dd8'/><rect x='285' y='175' width='130' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/><rect x='285' y='190' width='140' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/><rect x='285' y='220' width='80' height='30' rx='4' fill='%231e6dd8' fill-opacity='.2'/><rect x='285' y='275' width='130' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/><rect x='285' y='290' width='110' height='6' rx='2' fill='%230b2a4a' fill-opacity='.3'/></svg>");
}

/* ====== Brand-colored logo cards (no images needed) ====== */
.logo-card {
  height: 80px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  color: #475569;
  transition: all 0.2s;
  text-align: center;
  padding: 10px;
  filter: grayscale(0.6);
}
.logo-card:hover {
  filter: grayscale(0);
  border-color: #1e6dd8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 42, 74, 0.08);
}
.logo-card.lc-samsung { color: #1428a0; }
.logo-card.lc-lg { color: #a50034; }
.logo-card.lc-vsip { color: #00853e; }
.logo-card.lc-bosch { color: #ee2722; }
.logo-card.lc-canon { color: #cc0000; }
.logo-card.lc-panasonic { color: #003da5; }
.logo-card.lc-videx { color: #f47821; }
.logo-card.lc-thaco { color: #0066b3; }
.logo-card.lc-daikin { color: #0066b3; }
.logo-card.lc-fuji { color: #00984c; }
.logo-card.lc-toshiba { color: #e60012; }
.logo-card.lc-hitachi { color: #d70c19; }
.logo-card.lc-kyocera { color: #d50032; }
.logo-card.lc-denso { color: #d50032; }
.logo-card.lc-sharp { color: #e30613; }
.logo-card.lc-sony { color: #000000; }
.logo-card.lc-honda { color: #cc0000; }
.logo-card.lc-toyota { color: #eb0a1e; }
.logo-card.lc-goertek { color: #0066b3; }

/* ====== Timeline with dashed connector ====== */
.timeline-dashed {
  position: relative;
}
.timeline-dashed::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 5%;
  right: 5%;
  height: 0;
  border-top: 2px dashed #1e6dd8;
  z-index: 0;
}

/* ====== Journey years horizontal line + chart bars ====== */
.journey-line {
  position: relative;
}
.journey-line::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #1e6dd8, transparent);
  z-index: 0;
}

/* Growth chart visualization for journey */
.growth-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
  height: 200px;
  margin-bottom: 16px;
  padding: 0 8px;
  position: relative;
}
.growth-chart::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: #cbd5e1;
}
.growth-bar {
  background: linear-gradient(180deg, #1e6dd8 0%, #2a7de1 100%);
  border-radius: 8px 8px 0 0;
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 -4px 12px rgba(30, 109, 216, 0.25);
  transition: all 0.3s;
}
.growth-bar:hover {
  transform: scaleY(1.03);
  transform-origin: bottom;
}
.growth-bar-label {
  position: absolute;
  bottom: -28px;
  left: 0;
  right: 0;
  text-align: center;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}

/* ====== Year growth bar chart (home journey) — axis + gridlines, top labels ====== */
.gchart {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 12px;
  row-gap: 10px;
  min-width: 0;
}
.gchart-yaxis {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  height: 260px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  color: #94a3b8;
}
.gchart-plot {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  min-width: 0;
  height: 260px;
  /* horizontal gridlines every 1/6 (0 → 3.000 in steps of 500) */
  background-image: repeating-linear-gradient(to top, #eef2f6 0, #eef2f6 1px, transparent 1px, transparent calc(100% / 6));
}
.gchart-bars {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  gap: 4%;
  padding: 0 2%;
}
.gchart-col {
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}
.gchart-bar {
  width: 100%;
  max-width: 58px;
  background: linear-gradient(180deg, #3b8ae6 0%, #1e6dd8 100%);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -3px 10px rgba(30, 109, 216, 0.18);
  transition: filter 0.2s;
}
.gchart-bar:hover { filter: brightness(1.07); }
.gchart-val {
  font-size: 13.5px;
  font-weight: 800;
  color: #0b2a4a;
  white-space: nowrap;
}
.gchart-years {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 4%;
  padding: 0 2%;
}
.gchart-years span {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}
/* Tighten chart labels on small phones so bars never overflow */
@media (max-width: 480px) {
  .gchart { grid-template-columns: 32px minmax(0, 1fr); column-gap: 8px; }
  .gchart-yaxis { font-size: 10px; }
  .gchart-val { font-size: 11px; }
  .gchart-years span { font-size: 11px; }
}

/* ====== Journey timeline (home) — year nodes on a connector line ====== */
.journey-timeline { position: relative; }
/* Straight connector line + arrowhead, only on lg where all nodes share one row */
@media (min-width: 1024px) {
  .journey-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 3%;
    right: 3%;
    border-top: 1.5px solid rgba(30, 109, 216, 0.4);
    z-index: 0;
  }
  .journey-timeline::after {
    content: '';
    position: absolute;
    top: 30px;
    right: 3%;
    width: 10px;
    height: 10px;
    transform: translate(50%, -50%) rotate(45deg);
    border-top: 1.5px solid rgba(30, 109, 216, 0.6);
    border-right: 1.5px solid rgba(30, 109, 216, 0.6);
    z-index: 0;
  }
}
.journey-node { position: relative; z-index: 1; text-align: center; }
.journey-dot {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid #bcd5f3;
  color: #1e6dd8;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(11, 42, 74, 0.06);
}
.journey-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: #64748b;
  max-width: 175px;
  margin: 0 auto;
}

/* ====== Check list (used in feature cards) ====== */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  padding: 6px 0 6px 26px;
  position: relative;
  font-size: 14px;
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 16px;
  height: 16px;
  background: #e8f1fd;
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e6dd8'><path d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ====== Check list bullet (white circle on blue background) ====== */
.check-list-fill { list-style: none; padding: 0; margin: 0; }
.check-list-fill li {
  padding: 8px 0 8px 30px;
  position: relative;
  font-size: 14.5px;
}
.check-list-fill li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 9px;
  width: 18px;
  height: 18px;
  background: #1e6dd8;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}

/* ====== Map placeholder pattern + pin ====== */
.map-pattern {
  background:
    linear-gradient(135deg, #e8eef7 25%, transparent 25%, transparent 50%, #e8eef7 50%, #e8eef7 75%, transparent 75%, transparent);
  background-size: 30px 30px;
  position: relative;
}
.map-pin {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
}
.map-pin::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #1e6dd8;
}

/* ====== Gallery — industry tile illustrations via SVG patterns ====== */
.gallery-tile {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}
.gallery-tile:hover { transform: scale(1.03); }
.gallery-tile::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
  z-index: 2;
}
.gallery-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}
.gt-factory { background-image: linear-gradient(135deg, #1e6dd8, #0b2a4a), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><path d='M20 180h160V120l-30-30v30H100V60L60 100v80z'/></svg>"); background-blend-mode: multiply; }
.gt-mechanical { background-image: linear-gradient(135deg, #2a7de1, #082445), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><circle cx='100' cy='100' r='40'/><path d='M100 30v20M100 150v20M30 100h20M150 100h20'/></svg>"); background-blend-mode: multiply; }
.gt-electronics { background-image: linear-gradient(135deg, #4180da, #0b2a4a), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><rect x='40' y='40' width='120' height='120' rx='10'/><rect x='70' y='70' width='60' height='60'/></svg>"); background-blend-mode: multiply; }
.gt-logistics { background-image: linear-gradient(135deg, #5b91e0, #082445), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><path d='M40 140V70h60v70zm60-30h40l20 30h-60z'/></svg>"); background-blend-mode: multiply; }
.gt-textile { background-image: linear-gradient(135deg, #1764ce, #0b2a4a), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><path d='M40 60c20 0 20 30 40 30s20-30 40-30 20 30 40 30M40 100c20 0 20 30 40 30s20-30 40-30 20 30 40 30' stroke='%23ffffff' stroke-width='3' fill='none' stroke-opacity='.3'/></svg>"); background-blend-mode: multiply; }
.gt-hospitality { background-image: linear-gradient(135deg, #0b2a4a, #1e6dd8), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='%23ffffff' fill-opacity='.15'><rect x='40' y='60' width='120' height='100'/><rect x='60' y='80' width='20' height='20'/><rect x='90' y='80' width='20' height='20'/><rect x='120' y='80' width='20' height='20'/></svg>"); background-blend-mode: multiply; }

/* ====== News card thumbnails — SVG topic illustrations ====== */
.news-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 12px;
}
.news-thumb-1 { background: linear-gradient(135deg, #1e6dd8 0%, #0b2a4a 100%); }
.news-thumb-1::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><circle cx='100' cy='100' r='35'/><circle cx='200' cy='100' r='35'/><path d='M65 200 Q100 140 135 200 M165 200 Q200 140 235 200'/></svg>"); background-size: cover; }
.news-thumb-2 { background: linear-gradient(135deg, #2a7de1 0%, #082445 100%); }
.news-thumb-2::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><path d='M40 160 L80 110 L120 130 L170 80 L210 100 L260 50' stroke='%23ffffff' stroke-width='4' fill='none' stroke-opacity='.5'/><circle cx='80' cy='110' r='6'/><circle cx='120' cy='130' r='6'/><circle cx='170' cy='80' r='6'/><circle cx='210' cy='100' r='6'/><circle cx='260' cy='50' r='6'/></svg>"); background-size: cover; }
.news-thumb-3 { background: linear-gradient(135deg, #0ea5e9 0%, #0b2a4a 100%); }
.news-thumb-3::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><rect x='60' y='80' width='180' height='80' rx='8'/><rect x='80' y='60' width='40' height='30'/><rect x='180' y='60' width='40' height='30'/></svg>"); background-size: cover; }
.news-thumb-4 { background: linear-gradient(135deg, #1d4ed8 0%, #082445 100%); }
.news-thumb-4::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><rect x='90' y='40' width='120' height='130' rx='8'/><path d='M120 80 H180 M120 100 H180 M120 120 H160' stroke='%23ffffff' stroke-width='3' stroke-opacity='.4'/></svg>"); background-size: cover; }
.news-thumb-5 { background: linear-gradient(135deg, #0b2a4a 0%, #1e6dd8 100%); }
.news-thumb-5::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><path d='M50 100 L150 50 L250 100 L250 150 L150 200 L50 150 Z' /><circle cx='150' cy='100' r='25' fill='%23ffb627' fill-opacity='.6'/></svg>"); background-size: cover; }
.news-thumb-6 { background: linear-gradient(135deg, #1e6dd8 0%, #051227 100%); }
.news-thumb-6::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><circle cx='150' cy='100' r='50'/><path d='M150 50 V20 M150 150 V180 M100 100 H70 M200 100 H230 M115 65 L95 45 M185 65 L205 45 M115 135 L95 155 M185 135 L205 155'/></svg>"); background-size: cover; }
.news-thumb-7 { background: linear-gradient(135deg, #1e6dd8 0%, #051227 100%); }
.news-thumb-7::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><circle cx='150' cy='80' r='25'/><path d='M115 200 Q150 130 185 200 Z'/><circle cx='80' cy='100' r='18'/><circle cx='220' cy='100' r='18'/></svg>"); background-size: cover; }
.news-thumb-8 { background: linear-gradient(135deg, #2a7de1 0%, #0b2a4a 100%); }
.news-thumb-8::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><polygon points='150,40 165,90 220,90 175,120 195,170 150,140 105,170 125,120 80,90 135,90'/></svg>"); background-size: cover; }
.news-thumb-9 { background: linear-gradient(135deg, #0284c7 0%, #082445 100%); }
.news-thumb-9::before { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 200' fill='%23ffffff' fill-opacity='.2'><circle cx='150' cy='100' r='60' stroke='%23ffffff' stroke-width='2' fill='none' stroke-opacity='.4'/><path d='M120 100 L140 120 L180 80' stroke='%23ffffff' stroke-width='5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>"); background-size: cover; }
.news-thumb-tag {
  position: relative;
  z-index: 2;
  background: #1e6dd8;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

/* unified image container for news cards */
.news-post-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  flex-shrink: 0;
}
.news-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-post-thumb > .news-thumb-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
}
/* default image: logo centered on brand gradient */
.news-post-thumb--default {
  background: linear-gradient(135deg, #0b2a4a 0%, #1e6dd8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-post-thumb--default img {
  width: 58%;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
}

/* ====== FAQ accordion arrows ====== */
.faq-item summary { list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: #1e6dd8;
  font-weight: 400;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: '−'; }

/* ====== Footer link arrow ====== */
.footer-link::before {
  content: '›';
  color: #1e6dd8;
  font-size: 16px;
  line-height: 1;
  margin-right: 8px;
  transition: margin 0.2s;
}
.footer-link:hover::before { margin-right: 12px; }

/* ====== Toast (jQuery-driven) ====== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #10b981;
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.35);
  z-index: 100;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: toastSlide 0.3s ease;
}
@keyframes toastSlide {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ====== Active nav link ====== */
.is-active-nav {
  color: #1e6dd8 !important;
  font-weight: 600 !important;
  background: #f4f8ff !important;
}

/* ====== Section heading underline ====== */
.heading-underline {
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 2px solid #1e6dd8;
}

/* ====== Process step icon-in-circle ====== */
.step-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e6dd8, #2a7de1);
  color: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(30, 109, 216, 0.3);
  border: 5px solid #fff;
  position: relative;
  z-index: 2;
}
.step-circle-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffb627;
  color: #0b2a4a;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  border: 3px solid #fff;
}

/* ====== Reduced motion preference ====== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ====== Blog pagination (paginate_links, type=list) ====== */
.apexhr-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0; margin: 0; }
.apexhr-pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
  border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; color: #475569;
  font-size: 14px; font-weight: 500; text-decoration: none; transition: all 0.2s;
}
.apexhr-pagination a.page-numbers:hover { border-color: #1e6dd8; color: #1e6dd8; }
.apexhr-pagination .page-numbers.current { background: #1e6dd8; border-color: #1e6dd8; color: #fff; font-weight: 600; }
.apexhr-pagination .page-numbers.dots { border-color: transparent; background: transparent; }

/* ====== Post content (the_content) typography ====== */
.apexhr-prose > * + * { margin-top: 1.1rem; }
.apexhr-prose h2 { font-size: 1.5rem; font-weight: 800; color: #0b2a4a; margin-top: 2rem; }
.apexhr-prose h3 { font-size: 1.25rem; font-weight: 700; color: #0b2a4a; margin-top: 1.5rem; }
.apexhr-prose p { line-height: 1.75; }
.apexhr-prose a { color: #1e6dd8; text-decoration: underline; }
.apexhr-prose a:hover { color: #0b2a4a; }
.apexhr-prose ul { list-style: disc; padding-left: 1.25rem; }
.apexhr-prose ol { list-style: decimal; padding-left: 1.25rem; }
.apexhr-prose li { margin-top: 0.4rem; }
.apexhr-prose img { border-radius: 12px; height: auto; max-width: 100%; }
.apexhr-prose blockquote { border-left: 4px solid #1e6dd8; background: #f4f8ff; padding: 12px 18px; border-radius: 0 10px 10px 0; color: #334155; font-style: italic; }
.apexhr-prose strong { color: #0b2a4a; }

/* ===== Contact Form 7 ===== */
.wpcf7 .cf7-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0b2a4a;
  margin-bottom: 0.375rem;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #1e293b;
  background: #fff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  font-family: inherit;
}
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  border-color: #1e6dd8;
  box-shadow: 0 0 0 3px rgba(30,109,216,.12);
}
.wpcf7 textarea { resize: vertical; }
.wpcf7 select { appearance: auto; -webkit-appearance: auto; }
.wpcf7 span.wpcf7-form-control-wrap { display: block; }
.wpcf7 input[type="submit"] {
  width: 100%;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  background: #1e6dd8;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.wpcf7 input[type="submit"]:hover { background: #0b2a4a; }
.wpcf7 .wpcf7-not-valid-tip {
  color: #ef4444;
  font-size: 11px;
  margin-top: 3px;
  display: block;
}
.wpcf7 .wpcf7-response-output {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  border: none !important;
}
.wpcf7 .wpcf7-mail-sent-ok {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0 !important;
}
.wpcf7 .wpcf7-mail-sent-ng,
.wpcf7 .wpcf7-aborted,
.wpcf7 .wpcf7-spam-blocked,
.wpcf7 .wpcf7-validation-errors,
.wpcf7 .wpcf7-acceptance-missing {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca !important;
}
.cf7-acceptance { font-size: 0.75rem; color: #64748b; }
.cf7-acceptance .wpcf7-list-item { margin: 0; display: flex; align-items: flex-start; gap: 0.5rem; }
.cf7-acceptance .wpcf7-list-item-label::before { content: none; }
