/*
Theme Name: Recrutiva Theme
Author: Diana
Description: Custom starter theme for Recrutiva.
Version: 1.0.0
Text Domain: recrutiva
*/

/* ===================== TOKENS ===================== */
:root{
  --nav-bg:#010e49;     /* header/nav background + button bg */
  --accent:#ff751f;     /* borders + CTA text/accents */
  --white:#fff;
  --text:#0f172a;

  --container:1200px;   /* base readable width */
  --radius:12px;        /* medium rounded */
  --gap:24px;
}

/* ===================== BASE ===================== */
*{ box-sizing:border-box }
body{
  margin:0;
  color:var(--text);
  font:16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color:#010e49;  /* global dark bg */
  color:#e5e7eb;             /* light text on dark */
}
h1,h2,h3,h4,h5,h6{ color:#fff; }
.container{ max-width:var(--container); margin:0 auto; padding:0 20px; }

/* ===================== HEADER (DESKTOP) ===================== */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--nav-bg);
  /*border-bottom:2px solid var(--accent);*/
}
/* Full-bleed header; roomy gutters on desktop */
.site-header .container{
  max-width:100%; margin:0;
  padding-left:100px; padding-right:100px;
}
.header-inner{
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0; /* no extra inset */
}
.brand{ display:inline-flex; align-items:center; text-decoration:none; margin-left:0; }
.brand img,.brand-logo{ max-height:220px; width:auto; display:block; }

.primary-nav{ margin-left:auto; }

/* Menu (desktop) */
.primary-nav .menu{
  display:flex; gap:var(--gap);
  list-style:none; margin:0; padding:0; flex-wrap:nowrap;
}
.primary-nav .menu > li{ position:relative; display:flex; align-items:center; }

/* Top-level links */
.primary-nav .menu > li > a{
  display:inline-flex; align-items:center; gap:6px;
  position:relative; color:var(--white); text-decoration:none;
  padding:10px 6px; border-radius:8px; line-height:1.2; white-space:nowrap;
  transition:all .15s ease;
}
/* Smooth orange underline */
.primary-nav .menu > li > a:hover{ box-shadow:inset 0 -2px 0 var(--accent); }
/* Desktop dropdown arrow */
.primary-nav .menu li.menu-item-has-children > a::after{
  content:"▾"; display:inline-block; font-size:12px; color:var(--white);
  margin-left:6px; line-height:1; transition:transform .2s ease;
}
.primary-nav .menu li.menu-item-has-children:hover > a::after{ transform:rotate(180deg); }

/* Contact Us (nav CTA) */
.primary-nav .menu .nav-cta > a{
  background:var(--nav-bg); color:var(--accent);
  border:1.5px solid var(--accent); padding:8px 16px;
  border-radius:999px; text-decoration:none !important;
}
.primary-nav .menu .nav-cta > a:hover{ filter:brightness(1.1); }

/* Desktop dropdown panel */
.primary-nav .menu li{ position:relative; }
.primary-nav .menu .sub-menu{
  position:absolute; top:100%; left:0; min-width:220px;
  background:var(--nav-bg); border:1px solid var(--accent);
  border-radius:var(--radius); padding:8px 6px; z-index:999;
  display:none; opacity:0; transform:translateY(8px);
  transition:opacity .2s ease, transform .2s ease;
}
.primary-nav .menu li:hover > .sub-menu{ display:block; opacity:1; transform:translateY(0); }
.primary-nav .menu .sub-menu li{ display:block; }
.primary-nav .menu .sub-menu a{
  display:block; padding:10px 12px; border-radius:8px; color:var(--white);
  text-decoration:none; transition:background .2s ease, color .2s ease;
}
.primary-nav .menu .sub-menu a:hover{ background:var(--accent); color:var(--nav-bg); }

/* ===================== MOBILE (HEADER + NAV) ===================== */
.menu-toggle{ display:none; font-size:28px; background:none; border:0; color:var(--white); cursor:pointer; z-index:1003; }
/* hide mobile chevron on desktop */
.submenu-toggle{ display:none; }

@media (max-width:900px){

  /* Use tight edges on mobile so logo doesn’t get pushed right */
  .site-header .container{
    padding-left:0 !important; padding-right:12px !important;
  }

  /* Fixed header with divider */
  .header-inner{
    position:fixed; top:0; left:0; right:0;
    height:72px; background:var(--nav-bg);
    z-index:1002; padding:0;
    /*border-bottom:2px solid var(--accent);*/
  }
  .menu-toggle{ display:block; }

  /* Fullscreen overlay under the header + divider */
  .primary-nav{
    display:none; position:fixed;
    top:calc(72px + 2px); left:0; right:0; bottom:0;
    background:var(--nav-bg); z-index:1000;
    overflow-y:auto; padding:20px;
  }
  .primary-nav.open{
    display:flex; flex-direction:column; align-items:flex-start; gap:20px;
  }

  /* Vertical list */
  .primary-nav .menu{
    width:100%; display:flex; flex-direction:column; gap:20px;
    margin:0; padding:0; list-style:none;
  }
  /* Row: link left, chevron right */
  .primary-nav .menu > li{
    width:100%; display:flex; align-items:center; gap:12px;
    position:static !important;  /* kill desktop anchor positioning */
  }
  .primary-nav .menu > li > a{
    flex:1 1 auto; text-align:left; font-size:20px; padding:12px 0;
  }

  /* Real chevron button on mobile (inserted by JS); hide pseudo-arrow */
  .site-header .primary-nav .submenu-toggle{
    display:inline-flex !important; align-items:center; justify-content:center;
    width:32px; height:32px; border:1px solid var(--accent);
    border-radius:8px; background:transparent; color:var(--white);
    font-size:14px; line-height:1; flex:0 0 auto;
  }
  .primary-nav .menu li.menu-item-has-children > a::after{ display:none !important; content:none !important; }

  /* Submenu: STACK below; push items down */
  .primary-nav .menu li:hover > .sub-menu{
    display:none !important; opacity:1 !important; transform:none !important;
  }
  .primary-nav .menu .sub-menu{
    position:static !important; left:auto !important; right:auto !important; top:auto !important;
    width:100% !important; margin:8px 0 0 !important; padding:12px;
    border:1px solid var(--accent); border-radius:var(--radius);
    background:var(--nav-bg); z-index:auto !important;
    display:none; opacity:1 !important; transform:none !important;
  }
  /* Open state (JS adds .submenu-open on LI) */
  .primary-nav .menu li.submenu-open > .sub-menu{ display:block !important; }
  .primary-nav .menu li.submenu-open > .submenu-toggle{ transform:rotate(180deg); }

  /* Contact Us button shrink-wrap on mobile */
  .primary-nav .menu .nav-cta{ width:auto !important; align-self:flex-start; }
  .primary-nav .menu .nav-cta > a{ display:inline-block; width:auto; padding:8px 16px; border-radius:999px; }

  /* Touch UI cleanup */
  .primary-nav .menu > li > a:hover{ box-shadow:none; }
  body.nav-open{ overflow:hidden; }
}

/* ===================== MAIN SPACING vs FIXED HEADER ===================== */
@media (max-width:900px){ .site-main{ padding-top:72px !important; } } /* match mobile header */
@media (min-width:901px){ .site-main{ padding-top:0; } }            /* pleasant desktop spacing */

/* ===================== CONTENT ELEMENTS ===================== */
/* CTA in content to match header button */
a.contact-btn{
  display:inline-block; background:var(--nav-bg); color:var(--accent);
  border:1.5px solid var(--accent); padding:10px 20px;
  border-radius:999px; font-weight:600; text-decoration:none;
  transition:all .2s ease;
}
a.contact-btn:hover{ background:var(--accent); color:var(--nav-bg); }

/* Utilities */
.section-divider{ border-top:2px solid var(--accent); margin:48px 0; }

/* ===================== OPTIONAL WIDE GUTTERS SITE-WIDE ===================== */
/* Keep header full-bleed; if you want 100px gutters on page content too: */
@media (min-width:1200px){
  /* .container{ padding-left:100px; padding-right:100px; } */
}

.site-footer {
  /*border-top: 2px solid var(--accent);*/  /* divider line */
  margin-top: 0;                     /* push divider away from content above */
  padding: 30px 0;                      /* add breathing room inside footer */
  text-align: center;                   /* keep copyright centered */
  color: #fff;                          /* white text */
  font-size: 14px;
}
.site-footer .copyright{
  margin: 0;
  padding: 24px 0;
  font-size: 16px;
  opacity: .9;
}

/* ===== Contact page hero ===== */
.contact-hero{
  background: var(--nav-bg);
  color: #fff;
  padding: 0 0 48px;
  border-top: none;
  border-bottom: none;
}
.contact-hero .container{
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.contact-hero h1{
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin-top: 0;    /* remove extra space */
  margin-bottom: 14px;
}
.contact-hero p{
  color: #e5e7eb;
  margin: 0 auto 28px;
  max-width: 860px;
}

/* ===== Form wrapper (bordered box) ===== */
.contact-form-wrapper{
  max-width: 720px;
  margin: 0 auto;
  text-align: left;

  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255,255,255,.02); /* subtle tint on navy */
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* ===== WPForms overrides (scoped to contact hero) ===== */
.contact-hero .wpforms-container,
.contact-hero .wpforms-form{
  width: 100%;
}

/* label */
.contact-hero .wpforms-form .wpforms-field-label{
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
}

/* required asterisk white */
.contact-hero .wpforms-form .wpforms-required-label{
  color: #fff !important;
}

/* text inputs, selects, textarea */
.contact-hero .wpforms-form input[type="text"],
.contact-hero .wpforms-form input[type="email"],
.contact-hero .wpforms-form input[type="tel"],
.contact-hero .wpforms-form select,
.contact-hero .wpforms-form textarea{
  width: 100%;
  background: #fff;
  color: #0f172a;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: none;
}

/* focus */
.contact-hero .wpforms-form input:focus,
.contact-hero .wpforms-form select:focus,
.contact-hero .wpforms-form textarea:focus{
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,117,31,.25);
}

/* spacing between fields */
.contact-hero .wpforms-form .wpforms-field{
  margin-bottom: 18px;
}

/* textarea height */
.contact-hero .wpforms-form textarea{
  min-height: 220px;
  resize: vertical;
}

/* error text */
.contact-hero .wpforms-error, 
.contact-hero .wpforms-form .wpforms-field .wpforms-error{
  color: #ffd2bf;
}

/* submit button — match header CTA */
.contact-hero .wpforms-submit{
  display: inline-block;
  background: var(--nav-bg);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
}
.contact-hero .wpforms-submit:hover{
  background: var(--accent);
  color: var(--nav-bg);
  filter: none;
}

/* make WPForms messages readable on dark bg */
.contact-hero .wpforms-confirmation-container-full,
.contact-hero .wpforms-confirmation-container-full p{
  color: #fff;
}

/* responsive tweak */
@media (max-width: 900px){
  .contact-hero{ padding: 48px 0 72px; }
  .contact-form-wrapper{ max-width: 100%; }
}

/* CONTACT PAGE ONLY — remove the big top gap and the double divider */
.page-id-16 .site-main,
.page-template-contact-page .site-main {
  padding-top: 0 !important;
}

.page-id-16 .contact-hero,
.page-template-contact-page .contact-hero {
  border-top: 0;
  padding-top: 20px;   /* desktop/tablet breathing room */
  margin-top: -2px;    /* tuck hero up */
}

/* When logged in (admin bar visible), offset slightly */
.admin-bar.page-id-16 .site-main,
.admin-bar.page-template-contact-page .site-main {
  padding-top: 28px !important;
}

/* ===== Mobile Fix ===== */
@media (max-width: 900px) {
  .page-id-16 .contact-hero,
  .page-template-contact-page .contact-hero {
    padding-top: 100px;   /* give more breathing room on small screens */
    margin-top: 0;       /* remove the negative margin */
  }
}


/* ===== Home: Hero + Why (final) ===== */
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section--blue { background: var(--nav-bg); color: #fff; }
.section--white { background: #fff; color: #0f172a; }

.section--white h2,
.section--white p { color: #0f172a; }

.section-head { margin-bottom: 20px; }

/* Hero layout */
.hero__inner {
  display: flex;
  flex-direction: column; /* mobile stacked */
  gap: 20px;
  align-items: center;
}
.hero__media img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  height: auto;
  display: block;
}
.hero__headline {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.08;
  margin: 0 0 12px;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 20px);
  margin: 0 0 20px;
  color: #e5e7eb;
}
.hero__copy { text-align: left; }

/* Desktop: two columns */
@media (min-width: 900px) {
  .hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .hero__media { order: 2; justify-self: end; }
  .hero__copy { order: 1; }
}

/* Learn More button */
.btn {
  display: inline-block;
  background: #fff;
  color: var(--nav-bg);
  border: 1.5px solid var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.btn:hover {
  background: var(--accent);
  color: var(--nav-bg);
}
/* ==== FIXES for Home layout & colors ==== */

/* Make sure white section is truly white (body is navy) */
.site-main .section--white {
  background: #fff !important;
  color: #0f172a;
}
.site-main .section--white h1,
.site-main .section--white h2,
.site-main .section--white h3,
.site-main .section--white p { color: #0f172a; }

/* Hero: stack on mobile, split on desktop */
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.hero__media img {
  width: 100%;
  max-width: 560px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.hero__headline {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1.08;
  margin: 0 0 12px;
}
.hero__sub { color: #e5e7eb; margin: 0 0 20px; font-size: clamp(16px,2vw,20px); }

/* Force two-column on desktop no matter what came before */
@media (min-width: 900px) {
  .hero__inner {
    display: grid !important;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .hero__copy { order: 1 !important; text-align: left; }
  .hero__media { order: 2 !important; justify-self: end; }
}

/* Make the Learn More button look exactly like Contact Us (reuse your existing class) */
.section--white .contact-btn {
  background: var(--nav-bg);
  color: var(--accent);
  border: 1.5px solid var(--accent);
}
.section--white .contact-btn:hover {
  background: var(--accent);
  color: var(--nav-bg);
}
/* ===== Why Choose Us layout ===== */
.why__inner {
  display: flex;
  flex-direction: column;  /* mobile: stack */
  gap: 24px;
  align-items: center;
}

.why__media img {
  width: 100%;
  max-width: 640px;        /* adjust if you want it larger/smaller */
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Text side */
.why__copy { width: 100%; }

/* Desktop: two columns (photo left, text right) */
@media (min-width: 900px) {
  .why__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;  /* photo | text */
    gap: 40px;
    align-items: center;
  }
  .why__media { order: 1; }
  .why__copy  { order: 2; }
}

/* ===== About page alternating layout ===== */
.about__inner {
  display: flex;
  flex-direction: column;   /* mobile stacked */
  gap: 24px;
  align-items: center;
}
.about__copy, .about__media { width: 100%; }
.about__media img {
  width: 100%;
  max-width: 640px;
  border-radius: 12px;
  display: block;
  height: auto;
}

/* Desktop two-column */
@media (min-width: 900px) {
  .about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }
  .about__media img { max-width: 100%; }
  .about__reverse { grid-template-columns: 1fr 1fr; }
  .about__reverse .about__media { order: 1; }
  .about__reverse .about__copy  { order: 2; }
}

/* List icons (checkmarks) */
.list--icons { display: grid; gap: 12px; margin-top: 20px; }
.list--icons li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}
.icon { color: var(--accent); } /* orange checks */

/* ===== About split fix (forces 2-col + proper reversing) ===== */
@media (min-width: 900px) {
  .about__inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
  }

  /* Default: text left, photo right */
  .about__inner .about__copy  { grid-column: 1; }
  .about__inner .about__media { grid-column: 2; }

  /* Reversed sections: photo left, text right */
  .about__inner.about__reverse .about__media { grid-column: 1; }
  .about__inner.about__reverse .about__copy  { grid-column: 2; }
}

/* Make sure images don't blow up the grid */
.about__media img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 12px;
}
/* ===== Fix alignment of icon list with paragraph text ===== */
.list--icons {
  margin: 16px 0 0;       /* small space after paragraph */
  padding: 0;
}

.list--icons li {
  display: grid;
  grid-template-columns: 24px 1fr; /* icon + text */
  gap: 10px;
  align-items: start;
  margin: 0;               /* reset default list margin */
  padding: 0;
}

.list--icons li span:last-child {
  display: block;
  margin-top: 0;           /* keep baseline consistent */
}

/* Ensure icon aligns neatly with first text line */
.icon {
  margin-top: 4px;         /* nudge down so checkmark centers with text line */
  color: var(--accent);
}
.about__copy .contact-btn {
  margin-top: 20px;
  display: inline-block;
}
/* ==== Mobile: always show photo ABOVE text ==== */
@media (max-width: 899px) {
  /* About sections */
  .about__inner {
    display: flex !important;
    flex-direction: column !important;
  }
  .about__media { order: -1 !important; }  /* photo first */
  .about__copy  { order: 0  !important; }  /* text after */

  /* Home hero (if you want same behavior there) */
  .hero__inner { display: flex !important; flex-direction: column !important; }
  .hero__media { order: -1 !important; }
  .hero__copy  { order: 0  !important; }
}

/* ===== Mobile nav: clean accordion style ===== */
@media (max-width: 900px){

  /* Panel padding */
  .primary-nav{
    padding: 16px;
  }

  /* Top-level list = full width rows, no big gaps */
  .primary-nav .menu{
    gap: 0;
  }

  .primary-nav .menu > li{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,117,31,.3); /* thin divider using accent */
  }

  /* Parent link takes the row’s left side */
  .primary-nav .menu > li > a{
    flex: 1 1 auto;
    padding: 6px 0;
    font-size: 20px;
    line-height: 1.3;
    white-space: normal; /* allow wrapping */
  }

  /* Caret button on the right (no box) */
  .site-header .primary-nav .submenu-toggle{
    display: inline-grid !important;
    place-items: center;
    width: 28px; height: 28px;
    border: 0 !important;
    background: transparent !important;
    color: #fff;
    font-size: 16px;
    line-height: 1;
    transform: rotate(0deg);
    transition: transform .2s ease;
  }
  .primary-nav .menu li.submenu-open > .submenu-toggle{
    transform: rotate(180deg);
  }

  /* Submenu: inline drop, full width, simple */
  .primary-nav .menu .sub-menu{
    position: static !important;
    inset: auto !important;
    transform: none !important;

    display: none;                 /* hidden until .submenu-open */
    width: 100% !important;
    margin: 8px 0 6px !important;
    padding: 6px 0 8px 16px;       /* slight indent */
    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid var(--accent); /* visual guide like the example */
    border-radius: 0 !important;
  }
  .primary-nav .menu li.submenu-open > .sub-menu{
    display: block !important;
  }

  /* Submenu links: tidy, with thin separators */
  .primary-nav .menu .sub-menu a{
    display: block;
    padding: 10px 0;
    border-radius: 0;
    text-align: left;
  }
  .primary-nav .menu .sub-menu li + li a{
    border-top: 1px solid rgba(255,117,31,.18);
  }
}
/* === MOBILE: force submenu to drop BELOW the parent (not to the right) === */
@media (max-width: 900px){

  /* Parent rows shouldn't act like positioned anchors */
  .site-header .primary-nav .menu > li{
    position: static !important;
    width: 100%;
  }

  /* Kill desktop dropdown behavior on hover */
  .site-header .primary-nav .menu li:hover > .sub-menu{
    display: none !important;
  }

  /* THE fix: make submenu part of the normal flow, full-width */
  .site-header .primary-nav .menu .sub-menu{
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;

    display: none;                 /* hidden until opened via .submenu-open */
    width: 100% !important;
    margin: 8px 0 0 !important;
    padding: 10px 0 8px 16px !important;

    background: transparent !important;
    border: 0 !important;
    border-left: 2px solid var(--accent); /* simple guide */
    border-radius: 0 !important;
  }

  /* When toggled open by your JS */
  .site-header .primary-nav .menu li.submenu-open > .sub-menu{
    display: block !important;
  }

  /* Allow wrapping & prevent horizontal push */
  .site-header .primary-nav .menu > li > a{
    white-space: normal !important;
  }

  /* Keep the overlay itself pinned edge-to-edge */
  .primary-nav{
    left: 0 !important;
    right: 0 !important;
    padding: 16px !important;
    overflow-x: hidden;
  }
}
/* Home services cards */
.service-card{
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .2s ease;
  display: block;
}
.service-card h3{ margin-top: 0; }
.service-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}
/* === Services Cards Grid === */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card.service-card {
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}

.card.service-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--accent);
}

.card.service-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.card.service-card:hover {
  background: rgba(255,117,31,0.1);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.btn-row .contact-btn {
  margin: 0 10px;
}
.card.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card.service-card .contact-btn {
  margin-top: 16px;
  align-self: flex-start;
  pointer-events: none; /* prevent double-click conflict with the parent link */
}
/* === Services Grid improvements === */
/* === Services Cards with Flexbox (center last row) === */
.grid-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center; /* center items in each row */
}

.grid-3 .card.service-card {
  flex: 1 1 280px;      /* min width */
  max-width: 320px;     /* keeps them from stretching too wide */
}


/* Equal height cards */
.card.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 24px;
  background: transparent;
  transition: transform .15s ease, box-shadow .2s ease;
  min-height: 260px; /* adjust height as needed */
}

/* Titles */
.card.service-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--accent);
}

/* Descriptions */
.card.service-card p {
  flex-grow: 1; /* push Learn More down */
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
}

/* Learn More button (span) */
.card.service-card .contact-btn {
  display: inline-block;
  color: var(--accent);
  border: none;
  background: none;
  font-weight: 600;
  margin-top: auto;
  margin-left: auto;   /* push to right */
  pointer-events: none; /* whole card is clickable */
}

/* ===== Contact (two-column) ===== */
.contact-two { background: var(--nav-bg); padding: clamp(48px,8vw,96px) 0; }
.contact-grid{
  display:grid; gap:32px; align-items:start;
  grid-template-columns: 1fr 2fr;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

/* Left info card */
.contact-info-card{
  background:#fff; color:var(--nav-bg);
  border-radius:12px; padding:24px;
  box-shadow:0 4px 12px rgba(0,0,0,.2);
}
.contact-info-card h2{ margin:0 0 12px; color:var(--accent); }
.contact-info-card h3{ margin:18px 0 8px; color:var(--accent); }
.contact-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.contact-list li{ display:flex; align-items:center; gap:10px; }
.ci-icon{ color:var(--accent); width:22px; height:22px; display:inline-grid; place-items:center; }
.contact-info-card a{ color:var(--nav-bg); text-decoration:none; font-weight:600; }
.contact-info-card a:hover{ text-decoration:underline; }
.socials{ display:flex; gap:12px; margin-top:6px; }
.socials a{ color:var(--accent); }

/* Right form card (white box) */
.contact-form-card{
  background:#fff; border-radius:12px; padding:24px;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}

/* WPForms overrides (scoped to contact form card) */
.contact-form-card .wpforms-field-label,
.contact-form-card .wpforms-required-label{ color:var(--accent) !important; font-weight:700; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea{
  width:100%; background:#fff; color:#0f172a;
  border:2px solid var(--accent); border-radius:10px; padding:12px 14px; box-shadow:none;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus{
  outline:none; border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(255,117,31,.25);
}
.contact-form-card .wpforms-field{ margin-bottom:16px; }
.contact-form-card textarea{ min-height:220px; resize:vertical; }

/* Submit button — keep your brand style */
.contact-form-card .wpforms-submit{
  display:inline-block; background:var(--accent); color:#fff;
  border:0; padding:10px 20px; border-radius:999px; font-weight:700; cursor:pointer; transition:filter .15s ease;
}
.contact-form-card .wpforms-submit:hover{ filter:brightness(0.95); }

/* Space after hero so two-column hugs it nicely */
.contact-hero { padding-bottom: 24px; }

/* Two-column section */
.contact-two { padding: 0 0 clamp(48px,8vw,96px); background: var(--nav-bg); }
.contact-grid {
  display: grid; gap: 32px; align-items: start;
  grid-template-columns: 1fr 2fr;
}
@media (max-width: 900px){ .contact-grid { grid-template-columns: 1fr; } }

/* Left info card */
.contact-info-card{
  background: #fff; color: var(--nav-bg);
  border-radius: 12px; padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.contact-info-card h2{ margin: 0 0 12px; color: var(--accent); }
.contact-info-card h3{ margin: 18px 0 8px; color: var(--accent); }
.contact-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.contact-list li{ display: flex; align-items: center; gap: 10px; }
.ci-icon{ color: var(--accent); width: 22px; height: 22px; display: inline-grid; place-items: center; }
.contact-info-card a{ color: var(--nav-bg); text-decoration: none; font-weight: 600; }
.contact-info-card a:hover{ text-decoration: underline; }
.socials{ display: flex; gap: 12px; margin-top: 6px; }
.socials a{ color: var(--accent); }

/* Right form card */
.contact-form-card{
  background: #fff; border-radius: 12px; padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

/* WPForms overrides (inside form card only) */
.contact-form-card .wpforms-field-label,
.contact-form-card .wpforms-required-label{ color: var(--accent) !important; font-weight: 700; }
.contact-form-card input[type="text"],
.contact-form-card input[type="email"],
.contact-form-card input[type="tel"],
.contact-form-card select,
.contact-form-card textarea{
  width: 100%; background: #fff; color: #0f172a;
  border: 2px solid var(--accent); border-radius: 10px; padding: 12px 14px; box-shadow: none;
}
.contact-form-card input:focus,
.contact-form-card select:focus,
.contact-form-card textarea:focus{
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,117,31,.25);
}
.contact-form-card .wpforms-field{ margin-bottom: 16px; }
.contact-form-card textarea{ min-height: 220px; resize: vertical; }

/* Submit button using your brand style */
.contact-form-card .wpforms-submit{
  display: inline-block; background: var(--accent); color: #fff;
  border: 0; padding: 10px 20px; border-radius: 999px;
  font-weight: 700; cursor: pointer; transition: filter .15s ease;
}
.contact-form-card .wpforms-submit:hover{ filter: brightness(0.95); }

/* Match Send Message button to site-wide buttons */
.contact-form-card .wpforms-submit {
  display: inline-block;
  background: var(--nav-bg);       /* navy background */
  color: var(--accent);            /* orange text */
  border: 1.5px solid var(--accent);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.contact-form-card .wpforms-submit:hover {
  background: var(--accent);       /* orange background */
  color: var(--nav-bg);            /* navy text */
}
/* Force WPForms submit to match site CTA */
.contact-form-card .wpforms-container .wpforms-submit,
.contact-form-card .wpforms-container button[type="submit"].wpforms-submit,
.contact-form-card .wpforms-container input[type="submit"].wpforms-submit {
  background: var(--nav-bg) !important;   /* navy */
  color: var(--accent) !important;        /* orange text */
  border: 1.5px solid var(--accent) !important;
  border-radius: 999px !important;
  padding: 10px 20px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: all .2s ease !important;
}

/* Hover/focus state */
.contact-form-card .wpforms-container .wpforms-submit:hover,
.contact-form-card .wpforms-container .wpforms-submit:focus {
  background: var(--accent) !important;
  color: var(--nav-bg) !important;
  outline: none !important;
}
/* Bigger hero text on contact page */
.contact-hero h1 {
  font-size: clamp(48px, 6vw, 72px);  /* scales responsively */
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 400;
  color: #e5e7eb; /* keep light gray under dark bg */
}
/* Services page header */
.section-head.text-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-head.text-center h1 {
  font-size: 2.2rem;  /* bigger title */
  margin-bottom: 12px;
}

.section-head.text-center .section-intro {
  font-size: 1.1rem;
  color: #e5e7eb;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
/* Services grid wrapper */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* smaller min width */
  gap: 24px;
  justify-items: center;
}

/* Service cards */
.card.service-card {
  background: #010e49;
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 300px;   /* ensures they don’t get too wide */
  min-height: 240px;  /* ensures uniform height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  transition: all 0.25s ease;
}

/* Hover effect */
.card.service-card:hover {
  background: #122261; /* slightly lighter navy */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transform: translateY(-4px);
}
.card.service-card .contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease;
}

/* Add diagonal arrow */
.card.service-card .contact-btn::after {
  content: "↗";                  /* diagonal arrow */
  font-size: 1.1em;
  transition: transform .2s ease;
}

/* Animate arrow on hover */
.card.service-card:hover .contact-btn::after {
  transform: translate(3px, -3px);  /* slide diagonally */
}
.service-icon {
  width: 48px;
  height: 48px;
  stroke: #fff; /* your orange */
  margin-bottom: 12px;
}

.menu-arrow {
  width: 20px;
  height: 20px;
  stroke: #FF6600;   /* orange */
  stroke-width: 2.5;
  margin-left: 6px;
  vertical-align: middle;
}

/* optional: rotate when submenu opens */
.submenu-open .menu-arrow {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
/* Remove old pseudo-arrow on desktop */
.primary-nav .menu li.menu-item-has-children > a::after {
  content: none !important;
}

/* Caret inserted next to the label (desktop + mobile) */
.menu-caret {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
}

.menu-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--accent);      /* your orange */
  stroke-width: 2.5;
  transition: transform .25s ease;
  vertical-align: middle;
}

/* Rotate when submenu is open (mobile), and on desktop hover */
.primary-nav .menu li.submenu-open > a .menu-arrow,
.primary-nav .menu li.menu-item-has-children:hover > a .menu-arrow {
  transform: rotate(180deg);
}

/* Keep desktop spacing tidy */
@media (min-width: 901px){
  .primary-nav .menu > li > a .menu-caret { margin-left: 6px; }
}

/* If your mobile nav styles hide the chevron button previously,
   this ensures our caret shows properly */
@media (max-width: 900px){
  .site-header .primary-nav .submenu-toggle { display: none !important; }
}
/* Base chevron look */
.menu-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2.5;
  transition: transform .25s ease;
  vertical-align: middle;
  margin-left: 6px;
}

/* Rotate when submenu is actually open (mobile + desktop) */
.primary-nav .menu li.submenu-open > a .menu-arrow {
  transform: rotate(180deg);
}

/* Only on desktop, rotate on hover too (nice touch) */
@media (min-width: 901px){
  .primary-nav .menu li.menu-item-has-children:hover > a .menu-arrow {
    transform: rotate(180deg);
  }
}
.menu-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  stroke-width: 2.5;
  transition: transform .25s ease;
  vertical-align: middle;
  margin-left: 6px;
}

/* rotate when we mark the arrow open */
.menu-arrow.is-open { transform: rotate(180deg); }

/* ===== Recruitment page extras (mobile-first) ===== */

/* reuse split + hero/section styles you already have */
.service-hero .actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:16px; }
.contact-btn.ghost{ background:transparent; color:var(--accent); border:1.5px solid var(--accent); }
.contact-btn.ghost:hover{ background:var(--accent); color:var(--nav-bg); }

/* center helpers */
.center{ text-align:center; }
.subt{ opacity:.9; max-width:720px; margin:6px auto 0; }

/* Feather icon */
.fi{ width:42px; height:42px; stroke:var(--accent); margin-bottom:10px; }

/* Steps */
.steps-grid{
  display:grid; gap:16px; margin-top:22px;
  grid-template-columns: 1fr 1fr;
}
.step-card{
  background:#fff; color:var(--text);
  border:1.5px solid var(--accent); border-radius:14px;
  padding:18px; box-shadow:0 6px 10px rgba(0,0,0,.12);
}
@media (max-width:560px){ .steps-grid{ grid-template-columns:1fr; } }

/* Packages */
.pkg-grid{
  display:grid; gap:18px; margin-top:20px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width:980px){ .pkg-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .pkg-grid{ grid-template-columns:1fr; } }

.pkg-card{
  display:block; text-decoration:none; color:#fff;
  border:1.5px solid var(--accent); border-radius:16px;
  padding:20px; background:rgba(255,255,255,.02);
  box-shadow:0 8px 16px rgba(0,0,0,.25);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.pkg-card:hover{ transform:translateY(-2px); background:rgba(255,255,255,.04); }
.pkg-head{ display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.pkg-card h3{ margin:0 0 4px; }
.pkg-card .muted{ opacity:.8; margin-top:8px; }
.pkg-card .cta-inline{ display:inline-block; margin-top:10px; color:var(--accent); }

/* Why Recrutiva */
.why-grid{
  display:grid; gap:18px; margin-top:16px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width:980px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .why-grid{ grid-template-columns:1fr; } }

.why-item{
  border:1.5px solid var(--accent); border-radius:14px;
  padding:18px; background:rgba(255,255,255,.02);
  box-shadow:0 6px 12px rgba(0,0,0,.18);
}

/* Final CTA white */
.service-cta--white{ background:#fff; color:var(--text); border-top:2px solid var(--accent); }


/* ===== Fix service split layout & image sizing ===== */

/* Base grid */
.service-split{
  display: grid;
  align-items: center;
  gap: 32px;
}

/* Desktop: text left, image right */
@media (min-width: 901px){
  .service-split{
    grid-template-columns: 1.15fr 0.85fr;  /* text a bit wider */
  }
  .service-media{
    order: 0;                 /* ensure it doesn't inherit the mobile order */
    justify-self: end;        /* push image to the right edge of column */
  }
  .service-media img{
    width: 100%;
    max-width: 520px;         /* keep image from getting huge */
    height: auto;
  }
}

/* Mobile: image first, full width */
@media (max-width: 900px){
  .service-split{
    grid-template-columns: 1fr;
  }
  .service-media{
    order: -1;                /* image above headline */
    margin-bottom: 14px;
    justify-self: center;
  }
  .service-media img{
    width: 100%;
    max-width: 560px;         /* a nice cap so it doesn’t blow up on very wide phones */
    height: auto;
  }
}
/* ===== Recruitment/EOR hero split fixes ===== */

/* Shared grid */
.service-split{
  display:grid;
  gap:32px;
  align-items:center;
}

/* Desktop: text on the left, image to the right at a controlled size */
@media (min-width: 901px){

  /* Make the right column a fixed track so the image can't stretch the row. */
  .service-hero .service-split,
  .service-section .service-split{
    grid-template-columns: 1fr 520px;   /* text grows, image column stays ~520px */
  }

  .service-media{
    order: 0;                 /* make sure it's on the right */
    display:flex;
    justify-content:flex-end; /* push image to the right edge */
  }

  .service-media img{
    width: 100%;
    max-width: 520px;         /* hard cap width */
    max-height: 420px;        /* cap height so it doesn't become very tall */
    height: auto;
    object-fit: cover;        /* looks good even if image is larger/taller */
    border-radius: 16px;
    border: 1.5px solid var(--accent);
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
  }
}

/* Mobile: image first, then headline; keep it reasonable width */
@media (max-width: 900px){
  .service-split{
    grid-template-columns: 1fr;
  }
  .service-media{
    order: -1;                /* image above the headline */
    justify-self:center;
    margin-bottom: 14px;
  }
  .service-media img{
    width: 100%;
    max-width: 560px;         /* prevents massive hero images on very wide phones */
    height: auto;
  }
}
/* ===== Recruitment/EOR hero split fixes (clean version) ===== */

@media (min-width: 901px){
  .service-hero .service-split,
  .service-section .service-split{
    grid-template-columns: 1fr 520px;   /* text + fixed image column */
  }

  .service-media{
    order: 0;
    display:flex;
    justify-content:flex-end;
    margin-top: 30px;                  /* push image down from header */
  }

  .service-media img{
    width: 100%;
    max-width: 520px;
    max-height: 420px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;               /* subtle rounding only */
  }
}

@media (max-width: 900px){
  .service-split{
    grid-template-columns: 1fr;
  }
  .service-media{
    order: -1;
    justify-self:center;
    margin: 20px 0;                   /* some breathing room */
  }
  .service-media img{
    width: 100%;
    max-width: 560px;
    height: auto;
    border-radius: 12px;
  }
}
/* === Remove all borders/shadows around service images & nudge down === */

/* Desktop: fix layout + spacing */
@media (min-width: 901px){
  .service-hero .service-split,
  .service-section .service-split{
    grid-template-columns: 1fr 520px;   /* text + fixed image column */
  }

  .service-media{
    order: 0;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;                   /* sit below the header divider */
  }
}

/* Kill any borders/shadows that might be set earlier */
.service-hero .service-media,
.service-section .service-media,
.service-hero .service-media img,
.service-section .service-media img{
  border: none !important;
  box-shadow: none !important;
  outline: none;
  background: transparent;
  border-radius: 12px;                  /* keep subtle rounding only */
}
/* Tighten image → headline spacing on mobile */
@media (max-width: 900px){
  .service-hero .service-split,
  .service-section .service-split{
    gap: 8px;              /* was 32px */
  }
  .service-media{          /* keep things snug */
    margin: 0;
  }
  .service-copy h1{        /* ensure no default top margin sneaks in */
    margin-top: 0;
  }
}
/* ==== Mobile hero spacing + smaller image ==== */
@media (max-width: 900px){
  /* give the whole hero a tiny top pad so it clears the header nicely */
  .service-hero{ padding-top: 10px; }

  /* push the image a bit lower (overrides earlier 0 !important) */
  .service-hero .service-media{
    margin-top: 10px !important;   /* adjust 8–14px to taste */
  }

  /* keep image full-width but not so tall */
  .service-hero .service-media img{
    width: 100%;
    height: auto;
    max-height: 260px;             /* try 220–280px if you want different feel */
    object-fit: cover;
    border-radius: 12px;
  }
}

/* Optional: also cap images in other mobile sections */
@media (max-width: 900px){
  .service-section .service-media img{
    max-height: 240px;
    object-fit: cover;
  }
}
/* ==== Mobile hero: smaller image without cropping ==== */
@media (max-width: 900px){
  .service-hero{ padding-top: 8px; }

  .service-hero .service-media{
    margin-top: 12px !important;   /* keeps it a bit below the header */
  }

  .service-hero .service-media img{
    /* stop previous rules that forced width:100% / max-height crop */
    width: auto !important;         /* scale by width, not height */
    max-width: 420px;               /* adjust 380–460px to taste */
    height: auto !important;        /* keep aspect ratio, no crop */
    object-fit: contain !important; /* extra safety; won't crop */

    display: block;
    margin: 0 auto;                 /* center the image */
    border-radius: 12px;
  }
}
/* ==== Mobile hero: wide but not too tall ==== */
@media (max-width: 900px){
  .service-hero .service-media{
    margin-top: 12px !important; /* keeps it a bit below header */
  }

  .service-hero .service-media img{
    width: 100%;           /* stretch wide */
    max-width: 600px;      /* don’t exceed this width */
    height: auto;          /* natural height (no crop) */
    object-fit: contain;   /* safe scaling */
    display: block;
    margin: 0 auto;
    border-radius: 12px;
  }
}
/* ==== Mobile hero image: wide, proportional, small top gap (force override) ==== */
@media (max-width: 900px){
  /* tighten spacing between image and headline */
  .service-hero .service-split{ gap: 10px !important; }
  .service-hero{ padding-top: 10px !important; }

  /* image directly inside the hero split */
  .service-hero .container.service-split .service-media{
    margin-top: 10px !important;
    margin-bottom: 0 !important;
  }

  .service-hero .container.service-split .service-media img{
    display: block !important;
    width: 100% !important;              /* make it wide */
    max-width: 640px !important;         /* cap width so it doesn’t blow up */
    height: auto !important;             /* keep aspect ratio (no crop) */
    max-height: none !important;         /* undo any earlier caps */
    object-fit: contain !important;      /* never crop */
    border: none !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    margin-left: auto !important;
    margin-right: auto !important;       /* center */
  }
}
/* ==== Remove orange dividers between service sections ==== */
.service-hero--blue,
.service-section--blue,
.service-section--white,
.service-cta,
.service-cta--white {
  border-top: none !important;
  border-bottom: none !important;
}
/* === How It Works — 4 across desktop, 2x2 mobile === */

/* Reuse existing look but adjust columns */
.steps-grid--4{
  display: grid;
  gap: 18px;
}

@media (min-width: 901px){
  .steps-grid--4{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px){
  .steps-grid--4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .steps-grid--4{ grid-template-columns: 1fr 1fr; } /* keep 2x2 even on small phones */
}

/* Card look (uses your existing tokens) */
.step-card{
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--accent);
  border-radius: 14px;
  padding: 18px 18px 20px;
  box-shadow: 0 6px 10px rgba(0,0,0,.12);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.step-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0,0,0,.16);
  border-color: var(--accent);
}
.step-card h3{ margin: 6px 0 8px; }

/* Feather icon style (reuses your .fi but a touch larger for cards) */
.step-card .fi{
  width: 44px; height: 44px;
  stroke: var(--accent);
  margin-bottom: 6px;
}

/* Thin progress bar + dots (desktop only) */
.steps-progress{
  margin-top: 14px;
  display: none;                 /* hidden on mobile */
}
@media (min-width: 901px){
  .steps-progress{
    display: grid;
    grid-template-columns: 20px 1fr 20px 1fr 20px 1fr 20px; /* dot/line spacing */
    align-items: center;
    gap: 8px;
    max-width: 1000px;
    margin: 18px auto 0;
  }
  .steps-progress .p-dot{
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--accent);
    justify-self: center;
  }
  .steps-progress .p-line{
    height: 2px;
    background: linear-gradient(90deg, var(--accent), rgba(255,117,31,.35));
    border-radius: 999px;
  }
}
/* Headline zap icon */
.headline-icon{
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  vertical-align: middle;
  margin-right: 8px;
}
/* Step cards: square-ish on mobile */
@media (max-width: 560px){
  .steps-grid--4 {
    grid-template-columns: 1fr 1fr;   /* 2x2 layout */
    gap: 14px;
  }

  .step-card {
    min-height: 160px;                /* keep them from getting too tall */
    display: flex;
    flex-direction: column;
    justify-content: center;          /* center content vertically */
    text-align: center;
    padding: 14px;
  }

  .step-card .fi {
    margin: 0 auto 8px;
  }

  .step-card p {
    font-size: 14px;
    line-height: 1.3;
  }
}
/* Step cards: stacked square on mobile */
@media (max-width: 560px){
  .steps-grid--4 {
    grid-template-columns: 1fr;   /* single column */
    gap: 18px;
  }

  .step-card {
    min-height: 180px;            /* balanced square-like height */
    display: flex;
    flex-direction: column;
    justify-content: center;      /* center content */
    align-items: center;
    text-align: center;
    padding: 18px;
  }

  .step-card .fi {
    margin-bottom: 10px;
  }

  .step-card p {
    font-size: 15px;
    line-height: 1.4;
  }
}
.cta-inline {
  font-weight: 700; /* bold */
}
.pkg-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* space pushes content to top & bottom */
  height: 100%;                   /* make all cards equal height */
}

.pkg-card .muted {
  margin-top: auto;   /* ensures "Best for..." sticks to the bottom */
  font-style: italic; /* optional, to make it stand out */
}
/* Ensure grid items stretch across all breakpoints */
.pkg-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch; /* force equal card heights */
}

@media (max-width: 980px) {
  .pkg-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .pkg-grid {
    grid-template-columns: 1fr; 
  }
}

/* Cards flex evenly regardless of content length */
.pkg-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;          /* cards fill available space */
  min-height: 260px;     /* optional: guarantees consistent box size */
}

.pkg-card .muted {
  margin-top: auto;      /* push "Best for..." to bottom */
  font-style: italic;
  opacity: 0.9;
}
/* Make feather icons inside Recruitment Packages white */
.pkg-card i[data-feather] {
  stroke: #fff !important;
}
/* Recruitment package icons in white */
.pkg-card .fi {
  stroke: #fff !important;     /* white icons */
  stroke-width: 2.2;           /* slightly bolder lines */
}

/* Recruitment package headings */
.pkg-card h3 {
  color: var(--accent);        /* your theme's orange */
  font-weight: 700;            /* bold */
  margin: 0;                   /* keep spacing tidy */
}
/* Force "Value for You" section to use white text */
.service-section--white {
  background: var(--nav-bg);   /* navy background if not already */
  color: #fff;                 /* make base text white */
}

.service-section--white h2,
.service-section--white ul,
.service-section--white li,
.service-section--white p,
.service-section--white .muted {
  color: #fff !important;      /* enforce white text */
  opacity: 1;                  /* remove faded look */
}

.service-section--white .checklist li::before {
  color: var(--accent);        /* keep checkmarks in orange */
}
/* Force VALUE section to be white with dark text */
.service-section--white {
  background: #fff !important;
  color: var(--text) !important;
}

.service-section--white h2,
.service-section--white p,
.service-section--white li,
.service-section--white .muted {
  color: var(--text) !important;
  opacity: 1 !important;
}

/* keep orange bullets in the checklist */
.service-section--white .checklist li::before{
  background: var(--accent) !important;
}

/* ensure no leftover borders/shadows on the image */
.service-section--white .service-media img{
  border: none !important;
  box-shadow: none !important;
}
/* Extra breathing room only for Value section */
.service-section--white {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 768px) {
  .service-section--white {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}
/* Recruitment Packages section spacing */
.service-section.recruitment-packages {
  padding-bottom: 80px;   /* extra breathing room below cards */
}

@media (max-width: 768px) {
  .service-section.recruitment-packages {
    padding-bottom: 50px;
  }
}
.pkg-grid {
  margin-bottom: 60px; /* pushes down the whole grid */
}
/* ===== Why Recrutiva section ===== */
/* Why Recrutiva cards */
.why-item .fi {
  width: 40px;
  height: 40px;
  stroke: #fff; /* feather icons white */
  margin-bottom: 12px;
}

.why-item h3 {
  color: var(--accent) !important; /* force orange */
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 12px;
}

/* Add breathing room below the final CTA button */
.service-section .contact-btn,
.service-section .pkg-card .cta-inline,
.service-section .cta-inline {
  margin-bottom: 28px;  /* adjust value as needed */
  display: inline-block;
}
/* WHY RECRUTIVA — match Recruitment Packages heading style */
.why-item h3,
.why-item h4,
.why-item p > strong:first-child {
  color: var(--accent) !important;   /* orange */
  font-weight: 700 !important;       /* bold */
  font-size: 1.1rem !important;      /* same as pkg-head h3 */
  margin: 0 0 8px !important;
  display: block;
}

/* keep icons white */
.why-item .fi {
  width: 40px;
  height: 40px;
  stroke: #fff !important;
  margin-bottom: 12px;
}

/* extra spacing below CTA button */
.why-grid ~ .contact-btn {
  margin-top: 20px;
  margin-bottom: 40px;
  display: inline-block;
}
.packages-cta {
  margin-top: 24px;
  text-align: center;   /* centers the button */
}

.packages-cta .contact-btn {
  display: inline-block;
}

/* --- Feather "check" bullets for The Value for You --- */

/* remove any existing custom bullet styles */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 28px;          /* space for the icon */
  margin-bottom: 12px;
  line-height: 1.5;
}

/* hard override: clear any previous square/background styles */
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;                 /* vertical alignment */
  width: 18px;
  height: 18px;

  /* ensure no leftover square styles apply */
  background: none !important;
  box-shadow: none !important;
  border: 0 !important;

  /* Feather check as an inline SVG background image */
  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%23ff751f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='20 6 9 17 4 12'/>\
</svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
/* --- Force Feather-style check bullets (orange) --- */

/* 1) Reset list and spacing */
.checklist{
  list-style: none;
  margin: 0;
  padding: 0;
}
.checklist li{
  position: relative;
  padding-left: 28px;         /* room for the icon */
  margin-bottom: 12px;
  line-height: 1.5;
}

/* 2) HARD stop any old square bullets */
.checklist li::before{
  content: none !important;   /* nukes the previous orange square */
}

/* 3) Add the Feather 'check' as the new bullet via ::after */
.checklist li::after{
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;                /* nice vertical alignment */
  width: 18px;
  height: 18px;

  background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' \
stroke='%23ff751f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'>\
<polyline points='20 6 9 17 4 12'/>\
</svg>");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;

  /* just in case anything tries to color the square again */
  background-color: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
}
.eor-hero h1 .fi {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  vertical-align: middle; /* keeps aligned with text */
  margin-right: 8px;
}
.eor-hero {
  padding-bottom: 60px; /* adjust to taste */
}
.hero-note {
  font-style: italic;
  margin-top: 16px;
  opacity: 0.9;
}
/* How It Works: blue cards inside white section */
.service-section--white .pkg-card.card-blue{
  background: var(--nav-bg);          /* your dark blue */
  color: #fff;
  border: 1.5px solid var(--accent);  /* orange */
}

/* keep headings orange & bold as elsewhere */
.service-section--white .pkg-card.card-blue h3{
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 6px;
}

/* white feather icons on blue cards */
.service-section--white .pkg-card.card-blue .fi{
  width: 28px; height: 28px;
  stroke: #fff;
  stroke-width: 2.25;
  flex: 0 0 28px;
}

/* align icon + heading nicely */
.service-section--white .pkg-card.card-blue .pkg-head{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

/* checklist bullets (orange checks) on dark card */
.service-section--white .pkg-card.card-blue .checklist{
  margin: 8px 0 0;
}
.service-section--white .pkg-card.card-blue .checklist li{
  position: relative;
  padding-left: 26px;
  margin: 6px 0;
}
.service-section--white .pkg-card.card-blue .checklist li::before{
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 16px; height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,\
  <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") no-repeat center / contain;
  color: var(--accent); /* orange tick */
}

/* subtle spacing under this section so it doesn't collide with next */
#how-it-works .container{ padding-bottom: 10px; }
/* Force white text for all body copy inside blue cards */
.service-section--white .pkg-card.card-blue,
.service-section--white .pkg-card.card-blue p,
.service-section--white .pkg-card.card-blue ul,
.service-section--white .pkg-card.card-blue li {
  color: #fff;   /* white text */
}
/* Blue cards in EOR "How It Works" section */
.pkg-card.card-blue {
  background: #001246; /* your dark blue */
  color: #fff !important;   /* force white text for default */
}

/* Force white for all child text */
.pkg-card.card-blue * {
  color: #fff !important;
}

/* Keep headings orange */
.pkg-card.card-blue h3 {
  color: var(--accent) !important;  /* your orange */
  font-weight: 700;
}
/* EOR – How It Works: 2x2 grid */
#eor-how .pkg-grid{
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Keep single column on narrow screens */
@media (max-width: 700px){
  #eor-how .pkg-grid{
    grid-template-columns: 1fr;
  }
}

/* (Optional) make each card equal height and tidy inside */
#eor-how .pkg-card{
  display: flex;
  flex-direction: column;
}
#eor-how .pkg-card .muted{ margin-top: auto; }
/* Make cards same height and align content */
#eor-how .pkg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

#eor-how .pkg-card {
  background: #001a57; /* navy */
  color: #fff;
  border: 1px solid #ff751f;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* keep top padding consistent */
  height: 100%; /* force equal height in grid */
}

#eor-how .pkg-card h3 {
  margin-bottom: 12px;
  color: #ff751f;
}

#eor-how .pkg-card p,
#eor-how .pkg-card ul {
  margin: 0 0 12px 0;
  flex-grow: 0; /* prevent uneven stretching */
}

#eor-how .pkg-card ul {
  list-style: none;
  padding: 0;
}

#eor-how .pkg-card ul li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

#eor-how .pkg-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff751f;
}
/* EOR How It Works – grid + consistent alignment */
#eor-how .pkg-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}

/* Card styling + alignment */
#eor-how .pkg-card{
  background:#001a57;                 /* navy card */
  color:#fff;
  border:1px solid var(--accent, #ff751f);
  border-radius:12px;
  padding:24px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  height:100%;                         /* equal heights on desktop */
}

/* Headings & body spacing */
#eor-how .pkg-card h3{
  margin:0 0 12px;
  color:var(--accent, #ff751f);
}
#eor-how .pkg-card p{ margin:0 0 12px; }

/* Checklist */
#eor-how .pkg-card ul{
  list-style:none;
  padding:0;
  margin:0;
}
#eor-how .pkg-card ul li{
  position:relative;
  margin:0 0 8px 0;
  padding-left:20px;
}
#eor-how .pkg-card ul li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--accent, #ff751f);
  font-weight:700;
}

/* --- Mobile fixes (1×1, natural height) --- */
@media (max-width: 900px){
  #eor-how .pkg-grid{
    grid-template-columns:1fr;         /* stack cards */
    gap:18px;
  }
  #eor-how .pkg-card{
    height:auto;                       /* let cards grow naturally on mobile */
    padding:20px;
  }
}

.step-card {
  position: relative;
  padding-top: 40px; /* keep space for icon + header row */
}

.step-card .fi {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 22px;
  height: 22px;
  stroke: var(--accent, #ff751f);
}

.step-card .card-title {
  position: absolute;
  top: 15px;
  left: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent, #ff751f);
}
/* Unify card headers across all sections */
.step-card h3,
.step-card .card-title,
.pkg-card h3 {
  font-size: 1.1rem;   /* same size everywhere */
  font-weight: 700;    /* bold */
  color: var(--accent, #ff751f);
  margin: 0 0 10px 0;  /* consistent spacing */
}
/* Bigger cards ONLY in How Payments Work */
#payments .step-card {
  padding: 2rem;          /* more spacing */
  min-height: 180px;      /* taller */
  font-size: 1rem;        /* body text */
}

/* Headers inside the cards */
#payments .step-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent, #ff751f); /* your orange */
  margin-bottom: 12px;
}

/* Paragraphs inside */
#payments .step-card p {
  font-size: 1.05rem;
  line-height: 1.6;
}
/* Payments section layout */
#payments .steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  justify-items: center;
}

/* Center the 3rd card */
#payments .step-card:nth-child(3) {
  grid-column: 1 / span 2;
  max-width: 400px;   /* adjust size to match others */
  justify-self: center;
}
/* Payments grid */
#payments .steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-items: center;
}

/* Force equal sizing */
#payments .step-card {
  flex: 1;
  min-width: 320px;   /* consistent width */
  min-height: 220px;  /* consistent height */
  background: #fff;
  color: #0a1a4f;
  border: 1px solid #ff6600;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
/* === How Payments Work – equal card sizing & centered last card === */
#payments .steps-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(420px, 1fr)); /* two equal columns */
  gap: 28px;
  justify-content: center;      /* center the two columns block on wide screens */
  align-items: stretch;         /* cards stretch to same row height */
}

/* Make every card the same size on desktop/tablet */
#payments .step-card{
  width: 100%;
  max-width: 560px;             /* keeps all three visually equal */
  height: 180px;                /* same height for all */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Put the third card on its own centered row, same size as others */
#payments .step-card:nth-child(3){
  grid-column: 1 / -1;          /* spans both columns */
  justify-self: center;         /* centers the card on that row */
}

/* Mobile: single column, let cards grow naturally */
@media (max-width: 900px){
  #payments .steps-grid{
    grid-template-columns: 1fr;
  }
  #payments .step-card{
    max-width: 700px;
    height: auto;               /* allow content height on small screens */
  }
  #payments .step-card:nth-child(3){
    grid-column: auto;
    justify-self: stretch;
  }
}
/* Force equal width + height for all cards */
#payments .steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  justify-content: center;
}

#payments .step-card {
  width: 480px;      /* ✅ consistent width for all */
  height: 220px;     /* ✅ same height */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Center the last card on its own row */
#payments .step-card:nth-child(3) {
  grid-column: 1 / -1;
  justify-self: center;
}

/* Mobile view: stack 1x1 */
@media (max-width: 900px) {
  #payments .steps-grid {
    grid-template-columns: 1fr;
  }
  #payments .step-card {
    width: 100%;     /* fill container on mobile */
    max-width: 500px;
    height: 120px;
    justify-self: center;
  }
}
/* === HOW PAYMENTS WORK: Responsive, clean desktop === */

/* Base grid (mobile-first): 1 column */
#payments .steps-grid{
  display:grid;
  gap:28px;
  grid-template-columns:1fr;
  justify-items:center;           /* center cards in their column */
}

/* Card sizing and polish */
#payments .step-card{
  width:100%;
  max-width:560px;                /* consistent card width */
  min-height:220px;               /* same visual height */
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
}

/* Medium: 2 columns with the 3rd centered below */
@media (min-width: 900px){
  #payments .steps-grid{
    grid-template-columns:repeat(2, minmax(420px, 1fr));
    justify-content:center;       /* center the 2-col grid */
  }
  #payments .step-card:nth-child(3){
    grid-column:1 / -1;           /* full row */
    justify-self:center;          /* center the third card */
  }
}

/* Large desktop: 3 equal columns in one row */
@media (min-width: 1200px){
  #payments .steps-grid{
    grid-template-columns:repeat(3, minmax(360px, 1fr));
    max-width:1200px;             /* keeps the row from stretching too wide */
    margin:0 auto;
  }
  #payments .step-card{
    max-width:none;               /* let the grid control width */
    min-height:230px;             /* slight lift for balance on wide screens */
  }
  #payments .step-card:nth-child(3){
    grid-column:auto;             /* back to normal flow */
    justify-self:stretch;
  }
}
/* === HOW PAYMENTS WORK: Blue cards with white icons === */

/* Card base */
#payments .step-card{
  background-color:transparent;   /* dark blue background */
  color:#fff;                 /* white text */
  border:1px solid #ff751f;   /* orange border */
  border-radius:12px;
  padding:28px 24px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

/* Icon + header row */
#payments .step-card h3 {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:1.25rem;
  font-weight:700;
  color:#ff751f; /* keep header text orange */
  margin-bottom:12px;
}

/* Feather icons inside cards */
#payments .step-card .fi{
  stroke:#fff !important;   /* force white icon */
  width:22px;
  height:22px;
}

/* Paragraph text stays readable in white */
#payments .step-card p{
  color:#fff;
  font-size:1rem;
  line-height:1.5;
}
/* === VALUE FOR YOU SECTION === */
#value {
  background:#fff; /* white background */
  padding:80px 0;
}

#value h2 {
  font-size:2rem;
  font-weight:700;
  margin-bottom:24px;
  color:#001242; /* deep navy for headers */
}

/* Checklist grid */
#value .checklist {
  list-style:none;
  padding:0;
  margin:0 0 24px 0;

  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:18px 32px; /* spacing between items */
}

#value .checklist li {
  font-size:1.05rem;
  font-weight:500;
  display:flex;
  align-items:flex-start;
  gap:10px;
  color:#001242;
}

/* Emoji/icon styling (acts like an icon column) */
#value .checklist li::before {
  content:"✔️"; /* fallback */
  font-size:1.2rem;
  color:#ff751f; /* orange brand color */
  flex-shrink:0;
}

/* Muted paragraph */
#value .muted {
  font-size:1rem;
  color:#555;
  margin-bottom:20px;
}


#value .actions .contact-btn:hover {
  background:#e06612;
}
#value .actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}
#value h2 {
  font-size: 24px; /* match other section headers */
  font-weight: 700;
}
/* Keep headings consistent with other sections */
#recruitment-value h2 { font-size: 24px; font-weight: 700; }

#recruitment-value .value-list {
  max-width: 980px;
  margin: 16px auto 24px;
}

/* Orange check icons like EOR */
.checklist--checks li {
  position: relative;
  padding-left: 28px;
  margin: 10px 0;
}
.checklist--checks li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  background: var(--accent); /* your orange */
}

/* Center CTA like EOR */
.actions.center { text-align: center; }
.actions.center .contact-btn { margin: 8px auto 0; }
.muted.center { text-align: center; }

/* Consistent section title sizing with EOR */
.value-for-you h2.center {
  font-size: 24px; /* same as EOR after your tweak */
  margin-bottom: 24px;
}

/* 2×2 grid on desktop, 1 column on mobile */
.value-for-you .value-grid {
  list-style: none;
  padding: 0;
  margin: 0 auto 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
  max-width: 1100px; /* same width vibe as EOR */
}

/* Mobile: single column */
@media (max-width: 900px) {
  .value-for-you .value-grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }
}

/* Orange check bullets to match EOR */
.value-for-you .value-grid li {
  position: relative;
  padding-left: 28px;
  line-height: 1.55;
}
.value-for-you .value-grid li::before {
  content: "✔";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(1px);
  font-size: 0.95em;
}

/* Centered CTA (shared with EOR) */
.value-for-you .actions--center {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.service-section--blue .subt {
  margin-bottom: 24px; /* adjust spacing as needed */
}
.service-section--white h2 {
  text-align: center;
}
/* Strategy page minor helpers */

.strategy-page .service-hero .actions { margin-top: 20px; }

/* Two-column checklist on desktop, single column on mobile */
.checklist--two-col {
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 900px){
  .checklist--two-col { columns: 1; }
}

/* Keep CTA under headings nicely spaced (used in multiple sections) */
.service-section .packages-cta { margin-top: 22px; }

/* Ensure step icons look consistent */
.steps-grid .fi { width: 28px; height: 28px; }

/* Blue card styling (Strategy How It Works) */
.step-card--blue {
  background-color: #0a1a4f; /* navy */
  border: 1px solid #ff6600; /* orange border */
  border-radius: 8px;
  padding: 20px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Icon + header row (fix overlap issue) */
.step-card--blue .step-header {
  display: flex;
  align-items: center;
  gap: 10px;            /* spacing between icon and text */
  margin-bottom: 12px;  /* spacing below header row */
}

/* Feather icons */
.step-card--blue .step-header .fi,
.step-card--blue .white-icon {
  stroke: #fff !important; /* white icons */
  width: 22px;
  height: 22px;
  flex-shrink: 0;          /* prevents icon from shrinking */
  position: static !important; /* kill absolute positioning */
}

/* Headings inside header row */
.step-card--blue .step-header h3 {
  color: var(--accent, #ff751f); /* orange headings */
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Paragraph text */
.step-card--blue p {
  color: #ffffff; /* white text */
  margin: 0;
  line-height: 1.5;
}
.step-card--blue p {
  color: #ffffff !important; /* force white text */
  margin: 0;
  line-height: 1.5;
}

/* ——— HR Audits page tweaks ——— */

/* Ensure hero has comfortable but tight spacing on mobile (fix the "too much space" vibe) */
.page-template-page-hr-audits .service-hero .service-split {
  row-gap: 18px;
}
@media (max-width: 900px){
  .page-template-page-hr-audits .service-hero .service-media { margin-top: 8px; }
}

/* Keep step-card layout consistent */
.page-template-page-hr-audits .step-card--blue p { color:#fff; }
.page-template-page-hr-audits .step-card--blue h3 { color: var(--accent, #ff6600); }
.page-template-page-hr-audits .white-icon { stroke:#fff!important; }

/* Value grid icons (white on blue sections / accent on white sections) */
.value-grid { 
  display:grid; gap:18px; 
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width:980px){ .value-grid { grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .value-grid { grid-template-columns:1fr; } }
.value-item { text-align:left; }
.value-item .value-icon { width:28px; height:28px; stroke:var(--accent, #ff6600); }

/* Why-choose cards reuse your existing .why-grid/.why-item styles */

/* Button spacing harmony in sections */
.page-template-page-hr-audits .packages-cta { margin-top: 22px; }

/* Performance: small polish for hero spacing on mobile */
@media (max-width: 900px){
  .service-hero .service-media { margin-top: 12px; }
}

/* Make package cards equal-height and keep blue theme readable */
.service-section--blue .pkg-card {
  min-height: 320px;
  color: #fff;
}
.service-section--blue .pkg-card h3 { color: var(--accent); }

/* 2-column list for "Value for You" on wide screens */
.checklist--columns {
  columns: 2;
  column-gap: 36px;
}
@media (max-width: 900px){
  .checklist--columns { columns: 1; }
}
/* HERO image consistency on mobile */
@media (max-width: 900px){
  .page-template-compensation .service-hero .service-media { order: -1; margin-bottom: 14px; }
  .page-template-compensation .service-hero .service-media img { width:100%; max-width:560px; height:auto; border-radius:12px; }
}

/* Blue cards (reuse) */
.step-card--blue{
  background:#0a1a4f;
  border:1px solid var(--accent, #ff6600);
  border-radius:12px;
  padding:18px;
  color:#fff;
  box-shadow:0 6px 14px rgba(0,0,0,.18);
}
.step-card--blue h3{ color:var(--accent, #ff6600); margin:0; font-weight:700; }
.step-card--blue p{ color:#fff; margin:10px 0 0; }

.step-header{ display:flex; align-items:center; gap:10px; margin-bottom:10px; }
.white-icon{ stroke:#fff !important; width:22px; height:22px; flex-shrink:0; }

/* Packages grid reuse + white icons inside cards */
.pkg-card .fi.white-icon{ stroke:#fff !important; }

/* Value list two-column on desktop */
.value-two-col{
  columns:2;
  column-gap:32px;
  max-width:1000px;
  margin:16px auto 0;
}
@media (max-width:900px){ .value-two-col{ columns:1; } }

/* Tighten spacing between subt and button for final CTA when used */
.service-section .packages-cta{ margin-top:18px; }

/* Compensation page — give the hero some breathing room at the bottom */
.page-compensation .service-hero,
.page-template-page-compensation .service-hero {
  padding-bottom: clamp(32px, 5vw, 64px); /* works for mobile + desktop */
}

/* Optional: a little extra gap under the button block */
.page-compensation .service-hero .actions,
.page-template-page-compensation .service-hero .actions {
  margin-bottom: 0;
}

/* If you want even more space on small screens only */
@media (max-width: 640px) {
  .page-compensation .service-hero,
  .page-template-page-compensation .service-hero {
    padding-bottom: 24px;
  }
}
/* Add space under the button in Learning hero section */
.page-learning .service-hero .actions,
.page-template-page-learning .service-hero .actions {
  margin-bottom: 24px;  /* or 40px if you want more space */
}

@media (max-width: 640px) {
  .page-learning .service-hero,
  .page-template-page-learning .service-hero {
    padding-bottom: 24px;
  }
}
/* Why Choose grid (same structure used across service pages) */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

/* Card look to match other sections */
.why-card {
  background: transparent;              /* keep blue section showing through */
  border: 1px solid #ff6600;            /* orange outline */
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* White icons + consistent sizing */
.why-card .white-icon {
  stroke: #fff !important;
  width: 28px;
  height: 28px;
}

/* Orange headings inside cards */
.why-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ff6600;
}

/* Body copy inside cards */
.why-card p {
  margin: 0;
  color: #e9eef8; /* soft white for readability on blue */
}

/* CTA block same as other pages */
.packages-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

/* Responsive grid */
@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.why-card {
  background: transparent;
  border: 1px solid #ff6600;
  border-radius: 12px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.why-card .white-icon { stroke: #fff !important; width: 28px; height: 28px; }
.why-card h3 { margin: 0; color: #ff6600; font-weight: 700; font-size: 1.05rem; }
.why-card p { margin: 0; color: #e9eef8; }

.packages-cta { display: flex; justify-content: center; margin-top: 28px; }

@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .why-grid { grid-template-columns: 1fr; } }

/* ===== Mission / Vision / Values (About) ===== */

.mv-section { overflow: hidden; }

.mv-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap:56px;
  align-items:center;
}

.mv-media img{
  width:100%;
  height:auto;
  border-radius:14px;
  display:block;
}

.mv-copy p{ margin:0 0 14px; }

.mv-heading{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0 0 10px;
}

.mv-icon{
  width:28px;
  height:28px;
  stroke:var(--brand-orange, #ff6600);
  stroke-width:2.2;
}

.section--blue .mv-copy,
.section--blue .mv-copy p,
.section--blue .mv-points h4{ color:#fff; }

.mv-points{
  display:grid;
  gap:16px;
  margin:12px 0 20px;
  padding:0;
  list-style:none;
}

.mv-points li{
  display:grid;
  grid-template-columns: 26px auto;
  gap:12px;
  align-items:flex-start;
}

.mv-points h4{
  margin:0 0 4px;
  color:var(--brand-orange, #ff6600);
  font-weight:600;
}

.mv-points p{ margin:0; }

/* 2-column values list on larger screens */
.mv-columns-2{
  grid-template-columns: 1fr;
}
@media (min-width: 900px){
  .mv-columns-2{
    grid-template-columns: 1fr 1fr;
    column-gap:24px;
  }
}

.mv-bullet{
  width:22px;
  height:22px;
  stroke:var(--brand-orange, #ff6600);
}

/* Reverse order helper (image left / copy right and vice versa) */
.about__reverse .mv-media{ order:2; }
.about__reverse .mv-copy{ order:1; }

/* Responsive stacking */
@media (max-width: 980px){
  .mv-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
  .about__reverse .mv-media{ order:1; }
  .about__reverse .mv-copy{ order:2; }
}
/* ===== Footer ===== */
.site-footer{
  background:#07133b;
  color:#fff;
  padding:56px 0 24px;
}

.site-footer a{ color:#fff; text-decoration:none; }
.site-footer a:hover{ color:#ff7a1a; }

.footer-grid{
  display:grid;
  gap:32px;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  align-items:start;
}

.footer-brand .footer-logo img{
  width:200px; height:auto; display:block; margin-bottom:12px;
}
.footer-tagline{ opacity:.9; margin-bottom:16px; max-width:28ch; }

.footer-social{ display:flex; gap:12px; margin:10px 0 0; padding:0; list-style:none; }
.footer-social a{ display:inline-flex; width:38px; height:38px; border:1px solid rgba(255,255,255,.25);
                  border-radius:10px; align-items:center; justify-content:center; }
.footer-social i{ width:18px; height:18px; }

.footer-col .footer-head{ font-size:1rem; letter-spacing:.02em; color:#ff7a1a; margin:0 0 10px; }
.footer-links, .footer-contact{ list-style:none; margin:0; padding:0; }
.footer-links li{ margin:7px 0; }
.footer-links a{ opacity:.95; }
.footer-links a:hover{ opacity:1; }

.footer-contact li{ display:flex; align-items:center; gap:10px; margin:9px 0; }
.footer-contact i{ width:18px; height:18px; }

.contact-btn--sm{ margin-top:10px; padding:10px 14px; font-size:.9rem; }

.footer-bottom{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:space-between;
}
.footer-bottom .copy{ margin:0; opacity:.85; }
.footer-bottom .copy a{ text-decoration:underline; }

.to-top{ background:transparent; color:#fff; border:1px solid rgba(255,255,255,.25);
         border-radius:12px; width:40px; height:40px; display:inline-flex;
         align-items:center; justify-content:center; cursor:pointer; }
.to-top:hover{ border-color:#ff7a1a; color:#ff7a1a; }
.to-top i{ width:18px; height:18px; }

/* Responsive */
@media (max-width: 1024px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: 1fr; }
  .footer-brand .footer-logo img{ width:180px; }
  .footer-bottom{ flex-direction:column; gap:12px; }
}
/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
}

/* Footer columns */
.footer-col h4 {
  color: #ff6600;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-links,
.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-brand .brand-logo {
  max-width: 160px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: #ccc;
  margin-bottom: 16px;
}

.footer-socials a {
  display: inline-block;
  margin-right: 12px;
  color: #fff;
}

.footer-socials a:hover {
  color: #ff6600;
}

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #aaa;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ff6600;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.site-footer {
  background: #010e49;
  color: #fff;
  padding: 50px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand img {
  max-width: 160px;
  margin-bottom: 15px;
}

.footer-brand .tagline {
  margin: 10px 0 15px;
  font-size: 14px;
  color: #ccc;
}

.footer-social a {
  margin-right: 10px;
  color: #fff;
}
.footer-social a:hover {
  color: #ff6600;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ff6600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover {
  color: #ff6600;
}

.footer-contact p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}
.footer-bottom a {
  color: #ff6600;
  text-decoration: none;
}
/* ========= Footer: mobile clean layout ========= */
@media (max-width: 640px) {
  .site-footer {
    padding: 36px 0 16px;
  }

  /* Stack columns */
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr !important; /* one column on mobile */
    gap: 24px;
  }

  /* Brand block */
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;       /* left align (or center if you prefer) */
    text-align: left;
  }
  .footer-brand .brand-logo {
    max-width: 150px;
  }
  .footer-brand .tagline {
    font-size: 14px;
    line-height: 1.5;
    margin: 10px 0 14px;
  }
  .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    margin-right: 8px;
  }
  .footer-social a svg { width: 18px; height: 18px; }

  /* Headings */
  .footer-links h4,
  .footer-contact h4 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  /* Links list – remove bullets, tighter spacing, prevent jumping */
  .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-links li {
    margin: 0 0 8px;
    line-height: 1.4;
  }
  .footer-links a {
    display: inline-block;         /* no layout shift on hover */
    text-decoration: none;
    font-size: 16px;
    transition: color .2s ease;
  }

  /* Contact block */
  .footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 6px 0;
    font-size: 16px;
    line-height: 1.4;
  }
  .footer-contact svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;                /* keep icon width fixed to avoid text shift */
  }

  /* Bottom line */
  .footer-bottom {
    margin-top: 22px;
    padding-top: 12px;
    text-align: center;
    font-size: 13px;
  }
}

/* Slightly wider phones (optional) */
@media (min-width: 641px) and (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 columns on small tablets */
    gap: 28px 36px;
  }
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; /* brand, quick, services, contact */
  gap: 40px;
  align-items: start;
  text-align: center;
}

/* Brand */
.footer-brand .brand-logo {
  max-width: 190px;
  height: auto;
}
.footer-brand .tagline {
  margin-top: 14px;
  color: #d9d9e6;
}

/* Column headings */
.footer-links h4,
.footer-contact h4 {
  color: #ff751f;
  margin: 0 0 14px;
  font-weight: 700;
}

/* Link lists */
.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  text-decoration: none;
  color: #ffffff;
}

/* Contact list (center icon + text) */
.footer-contact .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-contact .contact-list li {
  display: flex;
  justify-content: center;  /* centers the row */
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #ffffff;
}

/* Social row below links (full width, centered) */
.footer-social-row {
  grid-column: 1 / -1;     /* span all columns */
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.footer-social-row a {
  color: #ffffff;
  display: inline-flex;
}
.footer-social-row svg {
  width: 22px;
  height: 22px;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom a { color: #ffffff; }

/* Responsive layout */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;  /* two columns */
  }
  .footer-social-row {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;     /* single column */
    gap: 28px;
  }
  .footer-social-row {
    margin-top: 4px;
  }
}
/* Adjust footer spacing on mobile */
@media (max-width: 768px) {
  .site-footer {
    padding-top: 20px;   /* reduce top padding */
    padding-bottom: 20px; /* optional: reduce bottom padding */
  }

  .footer-brand {
    margin-top: 0;       /* remove extra spacing above */
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 10px;   /* tighten spacing */
  }

  .footer-bottom {
    margin-top: 15px;
    text-align: center;
  }
}
/* Pull footer content higher on mobile */
@media (max-width: 768px) {
  /* Trim the footer's top/bottom padding */
  .site-footer {
    padding-top: 8px !important;
    padding-bottom: 16px !important;
  }

  /* Remove any extra spacing inside the container/grid */
  .site-footer .container,
  .footer-grid {
    padding-top: 0 !important;
    margin-top: 0 !important;
    gap: 12px !important; /* tighter vertical gaps between blocks */
  }

  /* Kill any column-specific top margins */
  .footer-brand,
  .footer-links,
  .footer-contact {
    margin-top: 0 !important;
  }

  /* Logo block */
  .footer-brand .brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .footer-brand .brand-logo {
    display: block;
    margin: 0 auto 8px !important;  /* no margin above, small space below */
    max-width: 180px;                /* optional: keep logo tidy on small screens */
    height: auto;
  }

  /* Footer bottom line */
  .footer-bottom {
    margin-top: 12px !important;
    padding-top: 8px !important;
    text-align: center;
  }
}
/* Footer bottom style */
.footer-bottom {
  text-align: center;       /* center text */
  padding: 15px 0;          /* spacing */
  border-top: none !important; /* remove divider line */
}

.footer-bottom p {
  margin: 0;
  color: #fff;              /* keep text white */
  font-size: 0.9rem;        /* optional: adjust size */
}

.footer-bottom a {
  color: #ff751f;           /* keep Privacy Policy orange */
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.footer-bottom {
  text-align: center !important;   /* force center */
  padding: 15px 0;
  border-top: none !important;
  display: flex;
  justify-content: center;         /* center horizontally */
}

.footer-bottom p {
  margin: 0 auto;                  /* override default left margin */
  color: #fff;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #ff751f;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}
.section-head.center {
  text-align: center;
  margin-bottom: 2rem;
}

.section-head.center .h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff; /* match your theme */
}
#home-services-title {
  text-align: center;
  margin: 24px 0 32px;
}
#home-services-title .h2 {
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
}

@media (max-width: 768px){
  /* Hide the images */
  .about-vision .mv-media,
  .about-values .mv-media{
    display: none !important;
  }

  /* Make the grid a single column when the image is gone */
  .about-vision .mv-grid,
  .about-values .mv-grid{
    grid-template-columns: 1fr !important;
  }
}
/* ===== Footer base ===== */
.site-footer{
  background:#010e49;
  color:#fff;
  /* Thick white dividers top & bottom */
  border-top:4px solid #fff;
  border-bottom:4px solid #fff;
}

/* Layout: desktop left-aligned */
.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; /* slogan | quick | services | contact */
  gap:40px;
  padding:28px 0;
  text-align:left;
}

/* Slogan (no logo) */
.footer-slogan p{
  margin:0;
  font-weight:700;
  font-size:20px;
  line-height:1.3;
  color:#fff;
}

/* Headings + lists */
.footer-links h4,
.footer-contact h4,
.footer-social h4{
  color:#ff751f;
  margin:0 0 10px;
  font-weight:700;
  font-size:16px;
}

.footer-links ul,
.contact-list{
  list-style:none;
  margin:0;
  padding:0;
}
.footer-links li{ margin:8px 0; }
.footer-links a{
  color:#fff; text-decoration:none;
}
.footer-links a:hover{ text-decoration:underline; }

/* Contact lines (left-aligned) */
.contact-list li{
  display:flex; align-items:center; gap:8px;
  margin:8px 0; color:#fff;
}
.contact-list i{ width:18px; height:18px; }

/* Social */
.footer-social .social-row{
  display:flex; gap:12px;
}
.footer-social a{ color:#fff; display:inline-flex; }
.footer-social svg{ width:20px; height:20px; }

/* Bottom bar (also left-aligned) */
.footer-bottom{
  padding:14px 0;
  text-align:left;
}
.footer-bottom p{ margin:0; }
.footer-bottom a{ color:#fff; text-decoration:underline; }

/* ===== Mobile (2×2 grid, left-aligned, no logo) ===== */
@media (max-width: 640px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;  /* 2×2 */
    gap:24px 20px;
  }

  /* Slogan spans full width at top; still left-aligned */
  .footer-slogan{
    grid-column: 1 / -1;
  }
  .footer-slogan p{
    font-size:18px;
  }

  /* Make each block left aligned and compact */
  .footer-links h4,
  .footer-contact h4,
  .footer-social h4{
    margin-bottom:8px;
    font-size:15px;
  }
  .footer-links li,
  .contact-list li{ margin:6px 0; }

  .footer-bottom{
    text-align:left; /* keep left aligned as requested */
    padding-top:10px;
  }
}

/* Small tablet */
@media (min-width: 641px) and (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr 1fr; /* two columns */
    gap:30px 36px;
  }
  .footer-slogan{ grid-column: 1 / -1; }
}
/* ===== Footer base ===== */
.site-footer{
  background:#010e49;
  color:#fff;
  border-top:4px solid #fff;         /* keep top divider */
  border-bottom:none;                /* bottom line now on footer-bottom */
}

.footer-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr; /* slogan | quick | services | contact */
  gap:40px;
  padding:28px 0 22px;
  text-align:left;                   /* everything left-aligned on desktop */
}

/* Slogan + social under it */
.footer-slogan p{
  margin:0 0 14px;
  font-weight:700;
  font-size:20px;
  line-height:1.3;
  color:#fff;
}
.footer-slogan .social-row{
  display:flex; gap:12px;
}
.footer-slogan .social-row a{
  color:#fff; display:inline-flex;
}
.footer-slogan .social-row svg{
  width:20px; height:20px;
}

/* Column headings & links */
.footer-links h4,
.footer-contact h4{
  color:#ff751f; margin:0 0 10px; font-weight:700; font-size:16px;
}
.footer-links ul,
.contact-list{ list-style:none; margin:0; padding:0; }
.footer-links li{ margin:8px 0; }
.footer-links a{ color:#fff; text-decoration:none; }
.footer-links a:hover{ text-decoration:underline; }

/* Contact list: icon + text left-aligned */
.contact-list li{
  display:flex; align-items:center; gap:8px;
  margin:8px 0; color:#fff;
}
.contact-list i{ width:18px; height:18px; }
.contact-list span{ display:inline-block; }

/* Bottom area: divider above copyright */
.footer-bottom{
  border-top:4px solid #fff;         /* bottom divider goes here */
  padding:12px 0 14px;
  text-align:left;                   /* desktop left */
}
.footer-bottom p{ margin:0; }
.footer-bottom a{ color:#fff; text-decoration:underline; }

/* ===== Mobile ===== */
@media (max-width: 640px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;  /* 2 x 2 grid */
    gap:24px 20px;
  }

  /* Hide the slogan on mobile */
  .footer-slogan p{ display:none; }

  /* Move social icons to bottom, centered */
  .footer-slogan{
    grid-column: 1 / -1;             /* take full width row */
    order: 5;                        /* push after other columns */
  }
  .footer-slogan .social-row{
    justify-content:center;
    margin-top:4px;
  }

  .footer-links h4,
  .footer-contact h4{
    margin-bottom:8px; font-size:15px;
  }
  .footer-links li,
  .contact-list li{ margin:6px 0; }

  .footer-bottom{
    text-align:left;                 /* as requested */
  }
}

/* Small tablet */
@media (min-width: 641px) and (max-width: 900px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;  /* two columns */
    gap:30px 36px;
  }
}
/* Reset list and align to heading edge */
.footer-contact { padding-left: 0; }
.footer-contact h4 { margin-left: 0; }

.contact-list {
  list-style: none;
  margin: 10px 0 0 0;   /* no indentation */
  padding: 0;
}

.contact-list li {
  margin: 10px 0;
}

/* Whole row clickable; perfectly left-aligned */
.contact-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

/* Icon sizing but no extra indent */
.contact-list i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;   /* reserve icon column; keeps text aligned */
}

/* Optional: improve touch target on mobile */
@media (max-width: 640px) {
  .contact-list a {
    padding: 6px 0;
  }
}

.site-footer .footer-contact ul,
.site-footer .footer-contact .contact-list {
  list-style: none;
  margin: 0;
  padding: 0 !important; /* kill default UL padding */
}

.site-footer .footer-contact li {
  margin: 12px 0;
  padding: 0; /* no built-in insets */
}

.site-footer .footer-contact li a {
  display: flex;
  align-items: center;
  gap: 12px;        /* space between icon and text */
  color: #ffffff;
  text-decoration: none;
  padding: 0;       /* make the row start at exact left edge */
}

.site-footer .footer-contact li a:hover {
  text-decoration: underline;
}

.site-footer .footer-contact li a i {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;   /* fixed icon column */
  margin: 0;        /* no stray default margins */
}

/* --- Bottom divider above the © line --- */
.site-footer .footer-bottom {
  text-align: center;
  padding: 16px 0;
  border-top: 3px solid rgba(255, 255, 255, 0.25);
}
.site-footer .footer-grid,
.site-footer .footer-contact { padding-left: 0 !important; }

/* =========================
   Footer – Get in Touch fix
   ========================= */

/* Make sure we’re starting from a clean slate */
.site-footer .footer-contact {
  text-align: left !important;
}
.site-footer .footer-contact ul,
.site-footer .footer-contact .contact-list {
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

/* Each row is a left-aligned flex line */
.site-footer .footer-contact .contact-list li {
  margin: 12px 0 !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* If you wrapped the whole row in an <a> (recommended) */
.site-footer .footer-contact .contact-list li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  margin: 0 !important;
  padding: 0 !important;
}
.site-footer .footer-contact .contact-list li > a:hover {
  text-decoration: underline;
}

/* Feather renders <svg> – style that, not <i> */
.site-footer .footer-contact .contact-list svg,
.site-footer .footer-contact .contact-list .feather {
  width: 20px !important;
  height: 20px !important;
  flex: 0 0 20px !important;
  margin: 0 !important;
  stroke: #fff;
}

/* Normalize heading alignment for all columns */
.site-footer .footer-links,
.site-footer .footer-contact {
  text-align: left !important;
}

/* =========================
   Divider above © line
   ========================= */
.site-footer .footer-bottom {
  position: relative;
  text-align: center;
  padding: 16px 0;
}
.site-footer .footer-bottom::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;                /* sits directly above the © text block */
  height: 3px;
  background: #fff
}
/* Last resort: kill any left padding on the column wrapper */
.site-footer .footer-grid > * { padding-left: 0 !important; }

/* remove any leftover left padding on the contact column only */
.site-footer .footer-grid .footer-contact {
  padding-left: 0 !important;
  margin-left: 0 !important;
  justify-self: start !important;   /* grid */
  align-self: start !important;     /* grid */
}
.site-footer .footer-contact .contact-list {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  width: max-content;               /* prevents centering by grid */
}
.site-footer .footer-grid > * {
  padding-left: 0 !important;
}

/* Force "Get in Touch" items to left-align */
.footer-contact .contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact .contact-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* <-- ensures icon + text start from left */
  gap: 8px; /* space between icon and text */
  text-align: left; /* text stays left-aligned */
}
/* MOBILE FOOTER: give the footer the same side padding as the site content */
@media (max-width: 768px) {
  /* make sure the footer itself has safe padding */
  .site-footer {
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* if your footer uses a container + grid, ensure nothing cancels the padding */
  .site-footer .container,
  .site-footer .footer-grid {
    padding-left: 16px;
    padding-right: 16px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* add a tiny inner nudge so headings/links line up nicely with the body copy */
  .site-footer .footer-headline,
  .site-footer .footer-links,
  .site-footer .footer-contact,
  .site-footer .footer-social-row {
    padding-left: 4px;   /* optional; remove if you don’t want it */
  }
}



/* new value for you design - delete if not likeable */
/* Value section container width tweak (optional but nice) */
.value-wrap { 
  max-width: 980px; 
  margin: 0 auto; 
}

/* Header with icon */
.value-heading {
  display: inline-flex;
  align-items: center;
  justify-content: center; /* center horizontally */
  gap: 10px;
  margin: 0 auto 18px auto;  /* auto left/right margins for centering */
  text-align: center;
}

/* Icon inside heading */
.value-heading .value-icon {
  width: 28px;
  height: 28px;
  color: #ff6600;
}
.value-head-inner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}


/* Fancy checklist (no cards, subtle structure) */
.checklist--fancy {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist--fancy li {
  position: relative;
  padding: 14px 0 12px 34px;         /* left indent for custom check */
  border-bottom: 1px solid rgba(10, 26, 79, 0.15); /* subtle underline */
}

.checklist--fancy li:last-child {
  border-bottom: none;
}

/* Orange check dot (CSS-only) */
.checklist--fancy li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  background: #ff6600;
  box-shadow: 0 0 0 2px rgba(255, 102, 0, 0.15);
}

/* Emphasize the lead-in label */
.checklist--fancy li strong {
  color: #0a1a4f;                 /* navy text in white section */
  font-weight: 700;
}

/* Slight fade-in on hover for a bit of life (desktop) */
@media (hover:hover) {
  .checklist--fancy li:hover::before {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255,102,0,0.25);
  }
}

/* Mobile spacing */
@media (max-width: 640px) {
  .checklist--fancy li {
    padding: 12px 0 10px 30px;
  }
  .value-icon { width: 24px; height: 24px; }
}

.service-copy.center-content h2 {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 0.5rem; /* spacing between icon and text */
  margin-bottom: 2rem;
}
.checklist--checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist--checks li {
  position: relative;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee; /* subtle underline */
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checklist--checks li:last-child {
  border-bottom: none; /* remove last underline */
}

.checklist--checks li::before {

  color: #ff751f; /* your orange accent */
  font-weight: bold;
}
.checklist--checks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist--checks li {
  position: relative;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eee; /* underline for all items */
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checklist--checks li::before {
 
  color: #ff751f; /* your accent orange */
  font-weight: bold;
  flex-shrink: 0;
}
/* Layout: flex so the last row can be centered */
.checklist--checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;               /* centers the leftover items on the last row */
  gap: 1.25rem 2rem;                     /* row/column gaps */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Items */
.checklist--checks li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;

  /* sizing: 3-ish columns on large screens, 2 on medium, full width on small */
  flex: 1 1 340px;                       /* base width */
  max-width: 540px;

  /* underline on ALL items */
  border-bottom: 1px solid #e9e9e9 !important;
  padding-bottom: 0.75rem;
}

/* Check mark */
.checklist--checks li::before {
  
  color: #ff751f;                        /* your orange */
  font-weight: 700;
  line-height: 1.2;
  flex-shrink: 0;
}

/* Headline area centered */
.service-section .center-content h2 {
  text-align: center;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-inline: auto;
}

/* Optional: keep the feather icon next to the heading tidy */
.service-section .center-content h2 svg,
.service-section .center-content h2 i {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .checklist--checks li {
    flex: 1 1 300px;                     /* naturally becomes 2 columns */
  }
}
@media (max-width: 640px) {
  .checklist--checks {
    justify-content: stretch;            /* full-width stack on small screens */
  }
  .checklist--checks li {
    flex: 1 1 100%;
    max-width: none;
  }
}
/* ===========================
   VALUE section overrides
   (force flex + center last row + lines on ALL items)
   =========================== */

#value .service-copy { text-align: center !important; }

#value .service-copy h2 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 auto 20px !important;
  text-align: center !important;
}

/* Force flex layout for the checklist */
#value .checklist.checklist--checks {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;   /* centers the last row */
  gap: 1.25rem 2rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Each item: underline EVERY item, including the last */
#value .checklist.checklist--checks li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;

  /* 3 cols on large, 2 on medium, full on small */
  flex: 1 1 340px !important;
  max-width: 540px !important;

  border-bottom: 1px solid #e9e9e9 !important;
  padding-bottom: 12px !important;
}

/* In case an old rule zeroes the last item’s border */
#value .checklist.checklist--checks li:last-child {
  border-bottom: 1px solid #e9e9e9 !important;
}

/* Optional: small orange check before each item */
#value .checklist.checklist--checks li::before {

  color: #ff751f !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  flex-shrink: 0 !important;
}

/* Responsive widths */
@media (max-width: 1024px) {
  #value .checklist.checklist--checks li { flex: 1 1 300px !important; }
}

@media (max-width: 640px) {
  #value .checklist.checklist--checks {
    justify-content: stretch !important; /* normal full-width stack */
  }
  #value .checklist.checklist--checks li {
    flex: 1 1 100% !important;
    max-width: none !important;
  }
}
/* Turn on feather style bullets */
.checklist--feather > li {
  /* grid keeps the icon and text aligned nicely */
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  column-gap: 12px;
  padding: 12px 0;
  position: relative;
  border-bottom: 0; /* avoid double borders if any old rule remains */
}

/* Draw the underline for every item, including the last */
.checklist--feather > li::after {
  content: "";
  display: block;
  height: 1px;
  background: #e9e9e9;
  margin-top: 12px;
  grid-column: 1 / -1;  /* span icon + text */
}

/* The feather icon itself */
.checklist--feather > li .fi {
  width: 20px; height: 20px;
  stroke: #ff7a00;        /* theme orange */
  stroke-width: 2.2;
  fill: none;
  margin-top: 2px;        /* small nudge to align with text */
}

/* If your old bullets were added via pseudo elements, turn them off for this list */
.checklist--feather > li::marker { content: none; }
.checklist--feather > li:before { content: none !important; }

/* Make the very long lines breathe a bit on small screens */
@media (max-width: 640px) {
  .checklist--feather > li { grid-template-columns: 22px 1fr; }
}
.value-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 1000px;
  text-align: center;
}

.value-checklist li {
  border-bottom: 1px solid #ddd;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-checklist li:last-child {
  border-bottom: 1px solid #ddd; /* ensures underline shows even on last */
}

.value-checklist i {
  color: #ff751f;
  width: 28px;
  height: 28px;
  margin-bottom: 0.5rem;
  flex-shrink: 0;
}

.value-checklist span {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
  color: #0a022b;
}
.value-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem 2rem;
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  max-width: 1000px;
  justify-content: center; /* centers the last row */
}

.value-checklist li {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding: 0.75rem 0;
}

.value-checklist li:last-child {
  border-bottom: 1px solid #ddd; /* keep underline for last one */
}

.value-checklist i {
  color: #ff751f;
  width: 22px;
  height: 22px;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
/* Value for You Section */
.value-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-content: center; /* ensures centering */
}

.value-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e5e5;
  justify-content: flex-start; /* icons on left, text after */
}

/* Feather icon consistency */
.value-checklist li i,
.value-checklist li svg {
  width: 22px;
  height: 22px;
  color: #ff751f;
  flex-shrink: 0;
}

/* Center heading */
.service-copy h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}
/* ========== Value for You – mobile / tablet (default) ========== */
.value-checklist {
  /* stacked list by default */
  display: block;
  margin-top: 1.25rem;
}

.value-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;   /* keep the underline on all items */
}

.value-checklist .fi {
  width: 20px;
  height: 20px;
  stroke: #ff751f;                    /* your orange */
  stroke-width: 2;
  flex: 0 0 auto;
}

/* ========== Desktop only ========== */
@media (min-width: 1024px) {
  .value-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;          /* center both rows */
    gap: 2rem 3rem;                   /* row/column gaps */
    text-align: left;                 /* text stays left of icon */
    margin-top: 2rem;
  }

  .value-checklist li {
    flex: 0 1 30%;                    /* ~3 items per row */
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5; /* keep the underline on desktop too */
  }
}
/* Mobile/tablet (default stacked layout, icon left of text) */
.value-checklist {
  display: block;
  margin-top: 1.25rem;
}

.value-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.value-checklist li i,
.value-checklist li svg {
  color: #ff751f;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Desktop grid */
@media (min-width: 1024px) {
  .value-checklist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;   /* center 2nd row */
    gap: 2rem 3rem;
    margin-top: 2rem;
  }

  .value-checklist li {
    flex: 0 1 30%;             /* ~3 per row */
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    text-align: left;
  }
}
/* Contact Page Only */
.contact-info-card {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Contact page list (separate from footer) */
.contact-page-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-page-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #010e49; /* dark text for readability */
}

.contact-page-list li a {
  margin-left: 0.5rem;
  text-decoration: none;
  color: #010e49; /* text color */
  transition: color 0.2s ease-in-out;
}

.contact-page-list li a:hover {
  color: #ff751f; /* hover matches your orange theme */
}

.contact-page-list .ci-icon {
  color: #ff751f; /* icon orange */
  display: inline-flex;
  align-items: center;
}

/* WhatsApp style */
.contact-page-list li.whatsapp a {
  color: #001242; /* WhatsApp green */
}

.contact-page-list li.whatsapp a:hover {
  color: #1ebe5d;
}

/* Socials scoped for contact page */
.contact-page-socials {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.contact-page-socials a {
  color: #ff751f;
  transition: color 0.2s ease-in-out;
}

.contact-page-socials a:hover {
  color: #010e49;
}


/* ======================================= */
/* === MOBILE HEADER FIXES (MAX-WIDTH 900PX) === */
/* ======================================= */
@media (max-width: 900px) {

  /* FIX 1: Content showing behind header */
  /* Ensure the open navigation panel is completely opaque and has the highest z-index */
  .primary-nav.open {
    /* Raising z-index higher than the fixed header (1002) and menu toggle (1003) to cover everything */
    z-index: 1004 !important;
    /* Ensure background is fully opaque just in case */
    background: var(--nav-bg) !important; 
  }

  /* FIX 2: Submenu arrow not flipping back down */
  /* This ensures the default (closed) state is prioritized when the submenu-open class is removed by JavaScript */
  .site-header .primary-nav .submenu-toggle {
    transition: transform 0.2s ease; /* Ensure transition exists */
    transform: rotate(0deg) !important; /* Force closed state (pointing down) */
  }

  /* When open, it flips up */
  .primary-nav .menu li.submenu-open > .submenu-toggle {
    transform: rotate(180deg) !important; /* Force open state (pointing up) */
  }

  /* FIX 3: Submenu opens on the right, needs to open below */
  /* Ensure the parent <li> is full width and positioned statically */
  .primary-nav .menu > li {
    width: 100%;
    position: static !important;
  }

  /* Force submenu to be a block element within the flow, opening below the parent link */
  .primary-nav .menu .sub-menu {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    /* Ensure no residual left/right positioning causes misalignment */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}


/* ===== Mobile Header - Fix background showing through ===== */
@media (max-width: 900px){
  /* FIX 2: Submenu arrow rotation (must be in @media (max-width: 900px)) */

/* Default/Closed state: Arrow points down (0 degrees) */
.primary-nav .menu .menu-arrow {
    transform: rotate(0deg) !important;
    transition: transform 0.2s ease-in-out; /* Keep the animation smooth */
}

/* Open state: Arrow points up (180 degrees) */
.primary-nav .menu .menu-arrow.is-open {
    transform: rotate(180deg) !important;
}
/* ======================================= */
/* === FINAL FIX 3: Submenu opens BELOW === */
/* ======================================= */

/* 1. Force the parent LI to lose all positioning context */
.primary-nav .menu .menu-item-has-children {
    position: static !important; /* CRITICAL: Must be static for children to flow */
    width: 100% !important;
    /* Clear any potential list item floats or display properties */
    float: none !important;
    display: block !important; 
}

/* 2. Force the submenu (the nested UL) to stack below */
.primary-nav .menu .menu-item-has-children > .sub-menu {
    /* CRITICAL: Stack below parent */
    position: static !important; 
    
    /* Ensure it takes full width */
    width: 100% !important;
    
    /* Reset all absolute positioning offsets */
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    
    /* Ensure display is correct */
    display: none; 
    
    /* Reset desktop properties */
    opacity: 1 !important;
    visibility: visible !important;
}

/* 3. Show the submenu when the JS adds the class */
.primary-nav .menu li.submenu-open > .sub-menu {
    display: block !important;
    /* Optional visual indentation */
    padding-left: 20px;
}

}


/* ======================================= */
/* === REFINED FIX 1: Mobile Menu Coverage (max-width 900px) === */
/* ======================================= */

/* ================================================= */
/* === FIX 1: Prevent Desktop Scroll Lock Conflict === */
/* ================================================= */

/* A. Full Screen Coverage for the Mobile Menu (max-width 900px) */
@media (max-width: 900px) {
    .primary-nav.open {
        /* Ensure the menu covers the entire viewport */
        height: 100vh;
        height: 100dvh; 
        /* Ensure it's the highest layer, preventing content from bleeding through */
        z-index: 9999 !important; 
    }
}

/* B. Global Scroll Lock (Applied by JS on 'nav-open') */
/* Applies to BOTH mobile and desktop when the class is added */
body.nav-open {
    /* Locks the page in place to prevent scrolling */
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* C. Reset Scroll Lock on Desktop (min-width 901px) */
@media (min-width: 901px) {
    /* Explicitly disables the scroll lock when on desktop widths, 
       even if the 'nav-open' class is present. */
    body.nav-open {
        overflow: visible !important; /* Allow scrolling */
        position: static !important; /* Unfix the body */
        width: auto !important;
        height: auto !important;
    }
}


/* ===== Careers (Apply for a Job) ===== */
.jobs-intro {
  padding: 48px 0 16px;
}
.jobs-intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

/* Mobile: media first, then copy */
.jobs-intro__media { order: 0; }
.jobs-intro__copy  { order: 1; }

.jobs-intro__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;          /* soften corners to match site feel */
}

.jobs-intro__copy h1 {
  margin: 0 0 10px;
  color: #fff;                  /* your heading color on dark bg */
}
.jobs-intro__text {
  color: rgba(255,255,255,.86); /* body text over dark */
}

/* Desktop split: text left, image right */
@media (min-width: 992px) {
  .jobs-intro__grid {
    grid-template-columns: 1.1fr 0.9fr; /* tweak ratio to taste */
    gap: 40px;
  }
  .jobs-intro__media { order: 2; }
  .jobs-intro__copy  { order: 1; }
}

/* Listings section spacing + minor tint */
.jobs-section {
  padding: 24px 0 80px;
}

/* Optional: align plugin bits with your accent color (#ff751f) */
.jobs-section .awsm-job-listings a,
.jobs-section .awsm-job-listings .awsm-job-listing a {
  color: #ff751f;
}
.jobs-section .awsm-job-listings .awsm-btn,
.jobs-section .awsm-job-listings .awsm-load-more {
  background: transparent;
  border: 2px solid #ff751f;
  color: #ff751f;
  border-radius: 999px;
  padding: 10px 16px;
}
.jobs-section .awsm-job-listings .awsm-btn:hover,
.jobs-section .awsm-job-listings .awsm-load-more:hover {
  background: #ff751f;
  color: #0a0740;
}


/* Force job title to show in the GRID cards */
.awsm-job-item .awsm-job-item-title,
.awsm-job-grid .awsm-job-item-title,
.awsm-grid .awsm-job-item-title {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 8px !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0a0740 !important; /* tweak if needed for your bg */
  line-height: 1.2;
}

.awsm-job-item .awsm-job-item-title a {
  color: inherit !important;
  text-decoration: none;
}
.awsm-job-item .awsm-job-item-title a:hover {
  color: #ff751f !important;
}

/* Grid cards: make title visible on your dark background */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-title,
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-title a{
  display:block;
  color:#fff;              /* white on navy */
  font-weight:700;
  font-size:20px;
  line-height:1.3;
  text-decoration:none;
}

.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-title a:hover{
  color:#ff751f;           /* your orange */
}

/* Nice card treatment on dark theme */
.awsm-job-container.awsm-grid .awsm-job-item{
  background:transparent;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:22px;
}

/* Meta line colours (category / type / location) */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-meta{
  color:#cfd3ff;
}

/* “Apply Now” link as a subtle CTA */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-more a{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#ff751f;
  font-weight:700;
  text-decoration:none;
}

.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-more a::after{
  content:"→";
  transition:transform .2s ease;
}

.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-more a:hover::after{
  transform: translateX(4px);
}


/* Apply Page Layout */
.apply-section {
  padding: 100px 0;
  display: flex;
  align-items: center;
}
.apply-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}
.apply-text {
  flex: 1 1 45%;
}
.apply-text h1, .apply-text h2 {
  color: #010e49;
  font-weight: 700;
  margin-bottom: 20px;
}
.apply-text p {
  color: #333;
  margin-bottom: 25px;
  line-height: 1.7;
}
.apply-image {
  flex: 1 1 45%;
}
.apply-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.theme-bg {
  background-color: rgba(1, 14, 73, 0.05); /* transparent theme blue */
}
.white-bg {
  background-color: #fff;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  margin-right: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #010e49;
  color: #fff;
}
.btn-primary:hover {
  background-color: #ff751f;
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid #010e49;
  color: #010e49;
}
.btn-secondary:hover {
  background-color: #010e49;
  color: #fff;
}
.reverse-mobile {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .apply-grid {
    flex-direction: column;
  }
  .reverse-mobile {
    flex-direction: column;
  }
  .apply-text, .apply-image {
    flex: 1 1 100%;
  }
  .apply-section {
    padding: 60px 0;
  }
}


/* Alternate layout */
.apply-section:nth-child(odd) .apply-grid {
  flex-direction: row;
}
.apply-section:nth-child(even) .apply-grid {
  flex-direction: row-reverse;
}
@media (max-width: 768px) {
  .apply-section .apply-grid {
    flex-direction: column;
  }
}
.theme-bg .apply-text h1,
.theme-bg .apply-text h2,
.theme-bg .apply-text p {
  color: #fff;
}
.theme-bg .apply-text p {
  color: rgba(255,255,255,0.85);
}
.btn-primary {
  background-color: #ff751f;
  color: #fff;
  border: 2px solid #ff751f;
}
.btn-primary:hover {
  background-color: transparent;
  color: #ff751f;
}
.btn-secondary {
  border: 2px solid #ff751f;
  color: #ff751f;
  background: transparent;
}
.btn-secondary:hover {
  background-color: #ff751f;
  color: #fff;
}
.theme-bg {
  background-color: rgba(1, 14, 73, 0.05); /* soft transparent navy */
}



/* ===== Base Section Layout ===== */
.apply-section {
  padding: 100px 0;
}
.apply-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

/* Alternate layout (desktop) */
.section1 .apply-grid,
.section3 .apply-grid {
  flex-direction: row;
}
.section2 .apply-grid,
.section4 .apply-grid {
  flex-direction: row-reverse;
}

/* Elements */
.apply-text {
  flex: 1 1 45%;
}
.apply-text h1, .apply-text h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #010e49;
}
.apply-text p {
  color: #333;
  margin-bottom: 25px;
  line-height: 1.7;
}
.apply-image {
  flex: 1 1 45%;
}
.apply-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Theme Background */
.theme-bg {
  background-color: rgba(1, 14, 73, 0.05);
}
.theme-bg .apply-text h1,
.theme-bg .apply-text h2,
.theme-bg .apply-text p {
  color: #010e49; /* stays readable on transparent background */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  margin-right: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-primary {
  background-color: #ff751f;
  color: #fff;
  border: 2px solid #ff751f;
}
.btn-primary:hover {
  background-color: transparent;
  color: #ff751f;
}
.btn-secondary {
  border: 2px solid #ff751f;
  color: #ff751f;
  background: transparent;
}
.btn-secondary:hover {
  background-color: #ff751f;
  color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .apply-grid {
    flex-direction: column;
  }
  .apply-image, .apply-text {
    flex: 1 1 100%;
  }
  .apply-section {
    padding: 60px 0;
  }
  .apply-image {
    order: -1; /* image on top */
  }
}


/* General */
.apply-section {
  padding: 100px 0;
}
.apply-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
}

/* Desktop order */
.section1 .apply-grid,
.section3 .apply-grid {
  flex-direction: row; /* text left, image right */
}
.section2 .apply-grid,
.section4 .apply-grid {
  flex-direction: row-reverse; /* image left, text right */
}

/* Elements */
.apply-text {
  flex: 1 1 45%;
}
.apply-image {
  flex: 1 1 45%;
}
.apply-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.apply-text h1, .apply-text h2 {
  font-weight: 700;
  margin-bottom: 20px;
  color: #010e49;
}
.apply-text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Theme Background (transparent navy) */
.theme-bg {
  background-color: rgba(1, 14, 73, 0.05);
}
.theme-bg .apply-text h1,
.theme-bg .apply-text h2,
.theme-bg .apply-text p {
  color: #010e49; /* readable on soft background */
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-right: 10px;
}
.btn-primary {
  background-color: #ff751f;
  border: 2px solid #ff751f;
  color: #fff;
}
.btn-primary:hover {
  background-color: transparent;
  color: #ff751f;
}
.btn-secondary {
  background-color: transparent;
  border: 2px solid #ff751f;
  color: #ff751f;
}
.btn-secondary:hover {
  background-color: #ff751f;
  color: #fff;
}

/* Job Listings Section */
.jobs-listing {
  margin-top: 60px;
}

/* Mobile */
@media (max-width: 768px) {
  .apply-grid {
    flex-direction: column;
  }
  .apply-image {
    order: -1;
  }
  .apply-text, .apply-image {
    flex: 1 1 100%;
  }
  .apply-section {
    padding: 60px 0;
  }
}
@media (max-width: 980px){
  .mv-grid{ grid-template-columns:1fr; }
  .about__reverse .mv-media{ order:1; } /* image on top */
  .about__reverse .mv-copy{ order:2; }
}

/* Force alternating layout for Apply for a Job sections */
.mv-grid.about__reverse .mv-media {
  order: 1;
}
.mv-grid.about__reverse .mv-copy {
  order: 2;
}

/* For larger screens only */
@media (min-width: 981px) {
  .mv-grid.about__reverse .mv-media {
    order: 2;
  }
  .mv-grid.about__reverse .mv-copy {
    order: 1;
  }
}

/* For mobile — always image above text */
@media (max-width: 980px) {
  .mv-grid,
  .mv-grid.about__reverse {
    display: flex;
    flex-direction: column;
  }
  .mv-grid .mv-media {
    order: 1;
  }
  .mv-grid .mv-copy {
    order: 2;
  }
}
/* Fix alternating layout for Apply for a Job page */
@media (min-width: 981px) {
  /* Normal sections (text left, image right) */
  .mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  /* Reversed sections (image left, text right) */
  .mv-grid.about__reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* flips the column visual order */
  }
  .mv-grid.about__reverse > * {
    direction: ltr; /* reset text direction */
  }
}

@media (max-width: 980px) {
  /* On mobile: stack image above text */
  .mv-grid,
  .mv-grid.about__reverse {
    display: flex;
    flex-direction: column;
  }
  .mv-grid .mv-media {
    order: 1;
  }
  .mv-grid .mv-copy {
    order: 2;
  }
}
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
}
.form-wrapper form {
  width: 100%;
}



/* === General Application Form Styling (Forminator) === */
.forminator-ui.forminator-custom-form {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.05);
  max-width: 900px;
  margin: 0 auto;
}

/* Labels */
.forminator-label {
  color: #ff751f;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 6px;
}

/* Inputs */
.forminator-input,
.forminator-textarea,
.forminator-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
  transition: border-color 0.3s ease;
}
.forminator-input:focus,
.forminator-textarea:focus,
.forminator-select:focus {
  border-color: #ff751f;
  box-shadow: 0 0 0 3px rgba(255, 117, 31, 0.15);
  outline: none;
}

/* Submit Button */
.forminator-button-submit {
  background: #ff751f !important;
  border: none;
  color: #fff !important;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 6px;
  transition: all 0.3s ease;
}
.forminator-button-submit:hover {
  background: transparent !important;
  color: #ff751f !important;
  border: 2px solid #ff751f;
}

/* Two-column layout on wide screens */
@media (min-width: 900px) {
  .forminator-row {
    display: flex;
    gap: 25px;
  }
  .forminator-row .forminator-field {
    flex: 1;
  }
}

/* File upload field styling */
.forminator-upload-button {
  background: #ff751f !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}
.forminator-upload-button:hover {
  background: transparent !important;
  color: #ff751f !important;
  border: 2px solid #ff751f;
}

/* Confirmation message */
.forminator-success {
  background-color: #d8e9e2;
  border: 1px solid #92C7C5;
  color: #010e49;
  padding: 20px;
  border-radius: 6px;
  font-weight: 500;
  margin-top: 25px;
}
/* General Application Blue Layout */
.form-wrapper {
  background: #fff;
  border-radius: 10px;
  padding: 35px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Match Contact Form styling */
.forminator-ui.forminator-custom-form {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.forminator-label {
  color: #010e49;
  font-weight: 600;
}
.forminator-input,
.forminator-textarea,
.forminator-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 14px;
}
.forminator-button-submit {
  background: #ff751f !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 25px;
  font-weight: 600;
  transition: 0.3s;
}
.forminator-button-submit:hover {
  background: transparent !important;
  color: #ff751f !important;
  border: 2px solid #ff751f;
}

/* Responsive: stack on mobile */
@media (max-width: 980px) {
  .mv-grid {
    display: flex;
    flex-direction: column;
  }
  .form-wrapper {
    margin-top: 40px;
  }
}
/* === GENERAL APPLICATION PAGE === */

/* Container grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left info box */
.contact-info-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  color: #010e49;
}
.contact-info-box p {
  line-height: 1.7;
  margin-bottom: 0;
}

/* Right form box */
.contact-form-box {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Form fields (Forminator) */
.forminator-ui.forminator-custom-form {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.forminator-label {
  color: #010e49;
  font-weight: 600;
}
.forminator-input,
.forminator-textarea,
.forminator-select {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
}
.forminator-input:focus,
.forminator-textarea:focus {
  border-color: #ff751f;
  box-shadow: 0 0 0 3px rgba(255,117,31,0.15);
  outline: none;
}

/* Button */
.forminator-button-submit {
  background: #ff751f !important;
  color: #fff !important;
  border-radius: 6px;
  padding: 12px 30px;
  font-weight: 600;
  transition: 0.3s;
}
.forminator-button-submit:hover {
  background: transparent !important;
  color: #ff751f !important;
  border: 2px solid #ff751f;
}

/* Responsive layout */
@media (max-width: 980px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
/* === Fix invisible text in upload field === */
.forminator-file-upload .forminator-file-name,
.forminator-file-upload .forminator-file-name span,
.forminator-file-upload .forminator-file-name a,
.forminator-uploaded-files .forminator-uploaded-file-name {
  color: #010e49 !important; /* dark navy for visibility */
  font-weight: 500;
}

/* Uploaded file remove (X) icon */
.forminator-file-upload .forminator-remove-upload {
  background: #ff751f !important;
  color: #fff !important;
  border-radius: 50%;
  font-size: 13px;
}
.forminator-file-upload .forminator-remove-upload:hover {
  background: #010e49 !important;
}

/* Choose File button */
.forminator-upload-button {
  background: #ff751f !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px;
  padding: 10px 20px !important;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}
.forminator-upload-button:hover {
  background: transparent !important;
  color: #ff751f !important;
  border: 2px solid #ff751f !important;
}
/* === Field Labels in Orange === */
.forminator-label,
.forminator-label span,
.forminator-field label {
  color: #ff751f !important; /* Recrutiva orange */
  font-weight: 600;
}

/* Optional: a bit more spacing for a clean layout */
.forminator-row {
  margin-bottom: 20px;
}

/* Keep placeholders readable */
.forminator-input::placeholder,
.forminator-textarea::placeholder {
  color: #777 !important;
  opacity: 1;
}

/* Ensure radio/checkbox labels also follow theme */
.forminator-radio label,
.forminator-checkbox label {
  color: #010e49 !important;
  font-weight: 500;
}

/* For better visual balance on white background */
.forminator-input,
.forminator-textarea,
.forminator-select {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  color: #010e49;
}
/* === General Application - Transparent Text Section === */
.contact-info-box {
  background: transparent !important;  /* remove white box */
  color: #fff !important;
  padding: 20px 0;  /* reduced padding for better vertical alignment */
  box-shadow: none !important;
}

/* Title and paragraph styling */
.contact-info-box h2 {
  color: #ff751f !important;  /* keep the title orange */
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-info-box p {
  color: #ffffff !important;
  line-height: 1.7;
  font-size: 16px;
  margin-bottom: 15px;
}
/* === Fix invisible uploaded file text === */
.forminator-uploaded-file,
.forminator-uploaded-file-name,
.forminator-uploaded-file-name a,
.forminator-uploaded-file span,
.forminator-file-upload .forminator-file-name,
.forminator-file-upload .forminator-file-name span {
  color: #010e49 !important;      /* Recrutiva dark navy text */
  font-weight: 600 !important;
  background: #fff !important;    /* white tag-style background for clarity */
  padding: 6px 10px !important;
  border-radius: 6px !important;
  display: inline-block;
}

/* Make the upload area tidy */
.forminator-uploaded-files {
  margin-top: 10px;
}

/* Optional: style the remove (X) button next to file name */
.forminator-remove-upload {
  background: #ff751f !important;
  color: #fff !important;
  border-radius: 50% !important;
  font-size: 13px !important;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  transition: 0.3s;
}
.forminator-remove-upload:hover {
  background: #010e49 !important;
}


/* Fine-tune job cards under dark blue layout */
.jobs-section {
  padding-top: 64px; /* extra breathing room under intro image */
}

/* Slightly thicker border in your translucent blue */
.awsm-job-container.awsm-grid .awsm-job-item {
  border: 1.5px solid rgba(1,14,73,.3);
  margin-top: 32px;
}

/* Meta text in your softer blue instead of light lavender */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-meta {
  color: rgba(173, 190, 255, 0.9);
}

/* Job title still orange, hover white for better contrast */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-title a {
  color: #ff751f !important;
}
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-title a:hover {
  color: #fff !important;
}

/* Apply Now button - white section style */
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-more a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #fff;
  color: #010e49;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 600;
  transition: 0.3s ease;
}
.awsm-job-container.awsm-grid .awsm-job-item .awsm-job-item-more a:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
/* === Recrutiva Job Card Fix (Highest Priority) === */
.jobs-section {
  margin-top: 40px !important;
}

/* Single Border only (clean look) */
/*.awsm-job-listing-item.awsm-grid-item {
  border: 2px solid rgba(1, 14, 73, 0.3) !important;
  border-radius: 12px !important;
  background: transparent !important;
  padding: 26px !important;
  margin-bottom: 30px !important;
  box-shadow: none !important;
}*/

/* Remove parent border if plugin adds one */
.awsm-job-listings,
.awsm-job-container,
.awsm-grid {
  border: none !important;
  box-shadow: none !important;
}

/* Job title */
.awsm-job-post-title {
  color: #ff751f !important;
  font-weight: 700 !important;
  font-size: 20px !important;
  margin-bottom: 12px !important;
}

/* Job details text */
.awsm-job-specification-term {
  color: #010e49 !important;
  font-weight: 500 !important;
}

/* Apply Now button */
.awsm-job-more-container .awsm-job-more a,
.awsm-job-more-container .awsm-job-more {
  background: #fff !important;
  color: #010e49 !important;
  border: 2px solid #010e49 !important;
  border-radius: 25px !important;
  padding: 8px 22px !important;
  font-weight: 600 !important;
  display: inline-block !important;
  text-decoration: none !important;
  transition: 0.3s ease !important;
}

.awsm-job-more-container .awsm-job-more a:hover,
.awsm-job-more-container .awsm-job-more:hover {
  background: #010e49 !important;
  color: #fff !important;
  border-color: #010e49 !important;
}

/* Spacing between filter bar and job cards */
.awsm-job-listings {
  padding-top: 30px !important;
}

.contact-info-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.contact-left {
  flex: 1 1 50%;
  max-width: 600px;
}

.contact-right {
  flex: 1 1 40%;
}

.how-it-works {
  margin-top: 25px;
}

.how-it-works h3 {
  color: #010e49;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.how-it-works ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.how-it-works li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(1, 14, 73, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.how-it-works li i {
  color: #ff751f;
  width: 18px;
  height: 18px;
}
.how-it-works h3 {
  color: #010e49;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 18px;
}

.how-it-works h3 i {
  color: #ff751f;
  width: 20px;
  height: 20px;
  position: relative;
  top: 2px; /* lowers the icon slightly to align with text baseline */
}


/* === Single Job Page Layout === */
.single-job__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
  padding: 60px 0;
}

/* Desktop: side-by-side layout */
@media (min-width: 992px) {
  .single-job__grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.single-job__details h1 {
  margin-bottom: 20px;
}

.single-job__form {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: 16px;
}

.single-job__form form input,
.single-job__form form textarea,
.single-job__form form select {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
}

.single-job__form form label {
  color: #ff751f !important;
  font-weight: 600;
}

.single-job__form .forminator-button-submit {
  background: #fff !important;
  color: #010e49 !important;
  border-radius: 25px !important;
  padding: 10px 28px !important;
  font-weight: 600 !important;
  border: 2px solid #010e49 !important;
  transition: 0.3s ease;
}

.single-job__form .forminator-button-submit:hover {
  background: #010e49 !important;
  color: #fff !important;
}

/* === Single Job Page Layout (WP Job Openings) === */

/* 2-column layout: left = job details, right = form card */
.section.single-job .single-job__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: flex-start;
}

/* Keep the job description on the left nicely spaced */
.section.single-job .single-job__details {
  max-width: 640px;
}

/* Remove extra outer margin on the plugin wrapper */
.section.single-job .awsm-job-single-wrap {
  margin: 0;
}

/* Form container on the right – white card like General Application */
.section.single-job .awsm-job-form {
  background: #fff;
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

/* Inner heading "Apply for this position" */
.section.single-job .awsm-job-form-inner > h2 {
  color: #ff751f;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Inputs full width inside the card */
.section.single-job .awsm-job-form-inner input[type="text"],
.section.single-job .awsm-job-form-inner input[type="email"],
.section.single-job .awsm-job-form-inner input[type="url"],
.section.single-job .awsm-job-form-inner input[type="tel"],
.section.single-job .awsm-job-form-inner textarea,
.section.single-job .awsm-job-form-inner select {
  width: 100%;
}
/* WP Job Openings – Fix invisible labels */
.awsm-job-form label {
    color: #ff751f !important;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* Style the WP Job Openings Submit Button */
.awsm-job-form input[type="submit"],
.awsm-job-form button[type="submit"] {
    background-color: #ff751f !important; /* orange */
    color: #ffffff !important; /* white text */
    border: none !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    font-weight: 600;
    border-radius: 6px; /* rounded */
    cursor: pointer;
    display: inline-block;
}

/* Hover effect */
.awsm-job-form input[type="submit"]:hover,
.awsm-job-form button[type="submit"]:hover {
    background-color: #e46616 !important; /* slightly darker orange */
}

/* ==== SINGLE JOB PAGE: DETAILS LEFT, FORM RIGHT ==== */

/* Make the whole job section a two-column grid on desktop */
.section.section--blue.single-job {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  column-gap: 60px;
  align-items: flex-start;
}

/* Left column: title, job category/type/location, description */
.section.section--blue.single-job .single-job__details {
  grid-column: 1;
}

/* Right column: plugin form wrapper */
.section.section--blue.single-job .awsm-job-single-wrap {
  grid-column: 2;
  width: 100%;
}

/* Style the white form card a bit */
.section.section--blue.single-job .awsm-job-form-inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #ddd;
}

/* Form heading */
.section.section--blue.single-job .awsm-job-form-inner h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #ff751f;
  font-weight: 700;
}

/* ==== MOBILE: STACK (DETAILS TOP, FORM BELOW) ==== */
@media (max-width: 768px) {
  .section.section--blue.single-job {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .section.section--blue.single-job .single-job__details {
    grid-column: 1;
  }

  .section.section--blue.single-job .awsm-job-single-wrap {
    grid-column: 1;
  }
}
/* RESET single job section layout */
.section.section--blue.single-job {
  display: block; /* back to default */
}

/* ==== SINGLE JOB PAGE LAYOUT ==== */

/* Desktop: 2 columns (details left, form right) */
.section.section--blue.single-job > .container.single-job__grid {
  display: grid !important;
  grid-template-columns: minmax(0, 60%) minmax(0, 40%);
  column-gap: 60px;
  align-items: flex-start;
}

/* Make sure each piece sits in the correct column */
.section.section--blue.single-job .single-job__details {
  grid-column: 1;
}

.section.section--blue.single-job .awsm-job-single-wrap {
  grid-column: 2;
  width: 100%;
}

/* Optional: make the white form card nice and clean */
.section.section--blue.single-job .awsm-job-form-inner {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid #ddd;
}

/* Form heading styling */
.section.section--blue.single-job .awsm-job-form-inner h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #ff751f;
  font-weight: 700;
}

/* ==== Mobile: stack (details top, form below) ==== */
@media (max-width: 768px) {
  .section.section--blue.single-job > .container.single-job__grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .section.section--blue.single-job .single-job__details,
  .section.section--blue.single-job .awsm-job-single-wrap {
    grid-column: 1;
  }
}

/* Make job title (Single Job Page) use brand orange */
.single-job__details h1,
.awsm-job-single-wrap h1,
.single-job__details .h2,
.awsm-job-single-wrap .h2 {
    color: #F7751F !important; /* Your accent orange */
}
/* Make single job title use the site accent orange */
.awsm-job-single-wrap .awsm-job-title,
.awsm-job-single-wrap h1,
.awsm-job-single-wrap h2 {
  color: #ff751f !important;
}
/* Make SINGLE JOB PAGE title use the brand orange */
.single-job__details h1,
.single-job__details .h2 {
    color: #ff751f !important;
}
/* Job single page title color */
h1.entry-title.awsm-jobs-single-title {
    color: #ff751f !important;   /* your accent orange */
}
/* Fix mobile padding for job single page */
@media (max-width: 768px) {
    .awsm-job-single-content,
    .awsm-job-main,
    .awsm-job-col-1,
    .awsm-job-col-2 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box;
    }

    /* Prevent title from sticking to the very top */
    h1.entry-title.awsm-jobs-single-title {
        margin-top: 10px !important;
    }
}
/* WP Job Openings – make job spec values visible */
.awsm-job-specification-item {
  display: flex;
  gap: 4px;
}


.awsm-job-specification-label {
  color: #ffffff;          /* label text – white */
  font-weight: 600;
}

.awsm-job-specification-item span:last-child {
  color: #ffffff;          /* the value text (Sales, Remote, Chicago, etc.) */
  font-weight: 400;
}
/* Keep first three rows side-by-side */
.awsm-job-specification-item:not(.awsm-job-specification-full-description) {
    display: flex;
    gap: 6px;
    align-items: flex-start;
}

/* Make Description behave like a paragraph */
.awsm-job-specification-full-description {
    display: block !important;
    white-space: normal;
    word-break: break-word;
    max-width: 600px;
}

/* Job specification VALUES (Sales, Remote, Chicago, etc.) */
.awsm-job-single-wrap .awsm-job-specification-term {
  color: #ffffff !important;  /* white on dark background */
  font-weight: 400 !important;
}

/* Optional: keep labels bold-ish and white */
.awsm-job-single-wrap .awsm-job-specification-label {
  color: #ff751f !important;
  font-weight: 600 !important;
}


/* Make LinkedIn URL field match the other inputs */
.awsm-job-form-group input[type="url"] {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;   /* match your other fields’ padding */
  border: 1px solid #ccc;
  border-radius: 4px;
}
/* Make LinkedIn URL field same width as other fields */
.awsm-job-form-group input[type="url"],
.awsm-job-form-group input[name="awsm_applicant_linkedin"] {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: block;
}
/* Make LinkedIn field look like the other inputs */
.awsm-job-form-group input[name="awsm_applicant_linkedin"],
.awsm-job-form-group input[type="url"] {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;

  /* copy look & feel of other fields */
  padding: 12px 10px;
  border: 1px solid #d3d3d3;
  border-radius: 4px;
  font-size: 16px;
  line-height: 1.5;
}

/* WP Job Openings – Success Message Styling */
.awsm-application-message.awsm-success-message {
    color: #000 !important; /* change text color */
    font-weight: 600;       /* optional: make it stronger */
}

/* Optional: adjust the green border if desired */
.awsm-success-message {
    border-color: #32c832 !important; /* brighter modern green */
}
/* WP Job Openings – Make 'Allowed Types' text visible */
.awsm-job-form-group small {
    color: #555 !important;   /* dark grey */
    font-size: 14px !important;  /* slightly larger */
    font-weight: 400 !important; /* normal weight */
    opacity: 0.9; /* a bit stronger */
}

.footer-credit {
  margin-top: 6px;
  font-size: 13px;
  color: #b0b7c3; /* soft gray */
  text-align: center;
}

.footer-credit a {
  color: #b0b7c3;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #ff751f; /* your orange accent */
}





.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding: 14px 20px 18px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p:first-child {
  color: #fff;
}

.footer-credit {
  color: #b0b7c3;
  font-size: 13px;
  margin-top: 10px !important;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.1); /* subtle inner divider */
}

.footer-credit a {
  color: #b0b7c3;
  text-decoration: none;
}

.footer-credit a:hover {
  color: #ff751f;
}

/* Desktop */
@media (min-width: 769px) {
  .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-bottom {
    padding: 12px 16px 16px;
  }

  .footer-bottom p:first-child {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-credit {
    font-size: 13px;
    margin-top: 6px !important;
  }
}
