/*==========================================================
  HR Campus — brand overrides & motion layer
  Loaded after style.css so it wins on specificity ties.
==========================================================*/

:root {
  /* Brand palette sampled from the HR Campus logo */
  --hrc-navy:        #1F3866;
  --hrc-navy-deep:   #142644;
  --hrc-navy-ink:    #0E1B33;
  --hrc-slate:       #5C6C84;
  --hrc-gold:        #C4922C;
  --hrc-gold-light:  #E0B45A;
  --hrc-gold-soft:   #F6EEDC;
  --hrc-mist:        #F4F6FA;

  /* Re-point the theme's primaries at the brand palette */
  --color-primary:   #1F3866;
  --color-primary-2: #1F3866;
  --color-primary-3: #C4922C;
  --color-primary-4: #2E4E86;
  --color-primary-5: #1F3866;
  --color-primary-6: #C4922C;
  --color-primary-7: #E0B45A;
  --color-primary-8: #2E4E86;
  --color-primary-9: #142644;
  --color-primary-alta: #F6EEDC;
  --color-secondary: #C4922C;
  --color-heading-1: #14243F;

  --hrc-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/*---------------------------------------------------------
  1. Logo
---------------------------------------------------------*/
.header-main-one .thumbnail img {
  max-width: 258px;
  width: 100%;
  height: auto;
  transition: transform 0.45s var(--hrc-ease);
}
.header-main-one .thumbnail a { display: inline-block; }
.header-main-one .thumbnail a:hover img { transform: translateY(-2px) scale(1.02); }
.rts-sidebar-menu-desktop .logo-1 .logo { max-width: 220px; height: auto; }

@media only screen and (max-width: 1199px) {
  .header-main-one .thumbnail img { max-width: 190px; }
}
@media only screen and (max-width: 575px) {
  .header-main-one .thumbnail img { max-width: 175px; }
}

/*---------------------------------------------------------
  2. Brand colour corrections for hardcoded theme colours
---------------------------------------------------------*/
.bg-1 { background: var(--hrc-navy) !important; }
.bg-blue { background-color: var(--hrc-navy-ink) !important; }
.header-top-one .right .mail a,
.header-top-one .right .call a,
.header-top-one .left .left-text { color: #fff; }
.header-top-one i { color: var(--hrc-gold-light) !important; }

.banner-inner-six .title .primary,
.title-area-style-six .pre,
.pre-title .pre { color: var(--hrc-gold) !important; }

.rts-btn.btn-primary,
.rts-btn.btn-primary-5 { background: var(--hrc-navy); color: #fff; }
.rts-btn.btn-primary-5.six,
.rts-btn.btn-primary-5.seven { background: var(--hrc-gold); color: #fff; }
.rts-btn.btn-primary:hover,
.rts-btn.btn-primary-5:hover { background: var(--hrc-gold); color: #fff; }
.rts-btn.btn-primary-5.six:hover,
.rts-btn.btn-primary-5.seven:hover { background: var(--hrc-navy); color: #fff; }

.progress-wrap::after { color: var(--hrc-navy); }
.progress-wrap svg.progress-circle path { stroke: var(--hrc-gold); }

a:hover, .mainmenu li a:hover { color: var(--hrc-gold); }

/*---------------------------------------------------------
  3. Motion layer — initial states
  Only applied when JS is running (html.hrc-motion), so the
  page stays fully readable if scripts fail or are blocked.
---------------------------------------------------------*/
.hrc-motion [data-hrc-reveal],
.hrc-motion [data-hrc-stagger] > * { will-change: transform, opacity; }

.hrc-motion [data-hrc-reveal]:not(.hrc-in) { opacity: 0; }
.hrc-motion [data-hrc-stagger] > *:not(.hrc-in) { opacity: 0; }

.hrc-revealed [data-hrc-reveal],
.hrc-revealed [data-hrc-stagger] > * { will-change: auto; }

/*---------------------------------------------------------
  4. Hover / interaction polish
---------------------------------------------------------*/
.rts-single-service-h2,
.service-single-style-six,
.rts-single-service-h2.inner {
  transition: box-shadow 0.4s var(--hrc-ease), border-color 0.4s var(--hrc-ease);
}
.hrc-lift { transition: box-shadow 0.4s var(--hrc-ease); }
.hrc-lift:hover { box-shadow: 0 22px 48px -18px rgba(31, 56, 102, 0.35); }

.rts-btn { position: relative; overflow: hidden; }
.rts-btn .hrc-ripple {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255, 255, 255, 0.35);
  pointer-events: none;
}

/* Gold underline that draws in under section titles */
.hrc-underline { position: relative; display: inline-block; }
.hrc-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--hrc-gold), var(--hrc-gold-light));
  transform: scaleX(var(--hrc-underline-scale, 0));
  transform-origin: left center;
  border-radius: 3px;
}

/* Accordion + link accents */
.accordion-button:not(.collapsed) { color: var(--hrc-navy); }
.btn-red-more { color: var(--hrc-navy); transition: color 0.3s var(--hrc-ease), gap 0.3s var(--hrc-ease); }
.btn-red-more:hover { color: var(--hrc-gold); }
.btn-red-more i { transition: transform 0.35s var(--hrc-ease); }
.btn-red-more:hover i { transform: translateX(6px); }

/*---------------------------------------------------------
  5. Sticky header shrink
---------------------------------------------------------*/
.header--sticky .header-main-one {
  transition: padding 0.4s var(--hrc-ease), box-shadow 0.4s var(--hrc-ease),
              background-color 0.4s var(--hrc-ease);
}
.header--sticky.hrc-scrolled .header-main-one {
  box-shadow: 0 8px 30px -12px rgba(20, 38, 68, 0.28);
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}

/*---------------------------------------------------------
  6. Accessibility — honour reduced motion
---------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .hrc-motion [data-hrc-reveal],
  .hrc-motion [data-hrc-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hrc-underline::after { transform: scaleX(1); }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/*---------------------------------------------------------
  7. Preloader — brand colours + HR Campus mark in the ring
---------------------------------------------------------*/
.loader-wrapper {
  --outer-line-color:  #E0B45A;
  --middle-line-color: #1F3866;
  --inner-line-color:  #C4922C;
}
.loader-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 56px;
  margin: -28px 0 0 -27px;
  background: url(../images/logo/logo-mark.png) no-repeat center / contain;
  z-index: 1002;
  animation: hrcPulse 1.6s ease-in-out infinite;
}
@keyframes hrcPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50%      { opacity: 1;    transform: scale(1.04); }
}

/*---------------------------------------------------------
  8. Dark sections — accents must be gold, not navy-on-navy
---------------------------------------------------------*/
.bg-blue .faq-two-inner .title-area-faq .sub,
.bg-blue .faq-two-inner .title-area-faq span.sm-title span,
.bg-blue .accordion-button span,
.bg-blue .accordion-button.collapsed span,
.rts-faq-section.bg-blue .sub,
.bg-footer-one .wized-title .title,
.bg-footer-one a:hover,
.bg-footer-one .links a:hover,
.bg-footer-one i {
  color: var(--hrc-gold-light) !important;
}

.bg-blue .accordion-button:not(.collapsed) {
  color: var(--hrc-navy);
}
.bg-blue .accordion-button:not(.collapsed) span {
  color: var(--hrc-gold) !important;
}

.bg-footer-one .rts-btn.btn-primary,
.bg-footer-one .opening-time-inner .rts-btn,
.bg-footer-one .rts-btn.contact-us {
  background: var(--hrc-gold) !important;
  color: #fff !important;
}
.bg-footer-one .rts-btn.btn-primary:hover,
.bg-footer-one .rts-btn.contact-us:hover {
  background: #fff;
  color: var(--hrc-navy);
}

/*=========================================================
  9. HERO
=========================================================*/
.hrc-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(540px, 74vh, 760px);
  padding: 140px 0 76px;
  background: linear-gradient(135deg, #FBFAF7 0%, #F3F5F9 55%, #EDEFF5 100%);
}

.hrc-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 1000px);
  z-index: -2;
}
.hrc-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
/* fades the photo into the page so the headline always has clean ground */
.hrc-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      #F4F6FA 0%,
      #F4F6FA 30%,
      rgba(244, 246, 250, 0.94) 48%,
      rgba(244, 246, 250, 0.55) 70%,
      rgba(244, 246, 250, 0.10) 100%),
    linear-gradient(180deg, rgba(31, 56, 102, 0.05) 0%, rgba(31, 56, 102, 0.16) 100%);
}

/* soft brand orbs, gently drifting */
.hrc-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}
.hrc-hero__orb--gold {
  width: 420px; height: 420px;
  left: -140px; top: 8%;
  background: radial-gradient(circle, rgba(196, 146, 44, 0.30), transparent 68%);
}
.hrc-hero__orb--navy {
  width: 380px; height: 380px;
  left: 26%; bottom: -130px;
  background: radial-gradient(circle, rgba(31, 56, 102, 0.22), transparent 68%);
}

.hrc-hero__inner { max-width: 660px; }

.hrc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 18px 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(31, 56, 102, 0.16);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hrc-navy);
}
.hrc-eyebrow__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hrc-gold);
  box-shadow: 0 0 0 4px rgba(196, 146, 44, 0.22);
}

.hrc-hero__title {
  margin: 0 0 22px;
  font-family: var(--font-secondary), sans-serif;
  font-weight: 800;
  font-size: clamp(38px, 5.4vw, 70px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--hrc-navy-ink);
}
.hrc-grad {
  background: linear-gradient(100deg, var(--hrc-gold) 0%, #E0B45A 45%, var(--hrc-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hrc-hero__lead {
  margin: 0 0 34px;
  max-width: 56ch;
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.75;
  color: #46536B;
}

.hrc-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 52px;
}

/*=========================================================
  10. BUTTONS
=========================================================*/
.hrc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--hrc-ease), color 0.35s var(--hrc-ease),
              border-color 0.35s var(--hrc-ease), box-shadow 0.35s var(--hrc-ease);
}
.hrc-btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.35s var(--hrc-ease);
}
.hrc-btn:hover svg { transform: translateX(4px); }

.hrc-btn--primary {
  background: linear-gradient(135deg, var(--hrc-navy) 0%, #2B4C88 100%);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(31, 56, 102, 0.55);
}
.hrc-btn--primary:hover {
  background: linear-gradient(135deg, var(--hrc-gold) 0%, #D9A845 100%);
  color: #fff;
  box-shadow: 0 16px 34px -12px rgba(196, 146, 44, 0.6);
}

.hrc-btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(31, 56, 102, 0.2);
  color: var(--hrc-navy);
  backdrop-filter: blur(6px);
}
.hrc-btn--ghost:hover {
  background: var(--hrc-navy);
  border-color: var(--hrc-navy);
  color: #fff;
}

/*=========================================================
  11. HERO STATS STRIP
=========================================================*/
.hrc-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(31, 56, 102, 0.14);
}
.hrc-hero__stats li { display: flex; flex-direction: column; gap: 6px; }
.hrc-hero__stats strong span { font: inherit; color: inherit; }
.hrc-hero__stats strong {
  font-family: var(--font-secondary), sans-serif;
  font-size: clamp(20px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.1;
  color: var(--hrc-navy);
}
.hrc-hero__stats > li > span {
  font-size: 13.5px;
  line-height: 1.45;
  color: #6B7280;
}

/*=========================================================
  12. HERO RESPONSIVE
=========================================================*/
@media only screen and (max-width: 1199px) {
  .hrc-hero__media { width: 55%; }
  .hrc-hero__inner { max-width: 560px; }
}
@media only screen and (max-width: 991px) {
  .hrc-hero {
    min-height: 0;
    padding: 130px 0 70px;
  }
  .hrc-hero__media { width: 100%; opacity: 0.30; }
  .hrc-hero__scrim {
    background: linear-gradient(180deg, rgba(248, 249, 252, 0.88) 0%, rgba(248, 249, 252, 0.96) 100%);
  }
  .hrc-hero__inner { max-width: none; }
  .hrc-hero__lead { margin-bottom: 28px; }
}
@media only screen and (max-width: 767px) {
  .hrc-hero { padding: 110px 0 60px; }
  .hrc-hero__cta { margin-bottom: 40px; }
  .hrc-btn { padding: 14px 24px; font-size: 14px; }
  .hrc-hero__stats {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media only screen and (max-width: 479px) {
  .hrc-btn { width: 100%; }
}

/*=========================================================
  13. HEADER over the hero
=========================================================*/
.header--sticky .header-main-one {
  background-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 56, 102, 0.07);
}
.header-one-btn.quote-btn {
  border-radius: 100px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--hrc-navy) 0%, #2B4C88 100%);
  box-shadow: 0 12px 26px -12px rgba(31, 56, 102, 0.5);
}
.header-one-btn.quote-btn:hover {
  background: linear-gradient(135deg, var(--hrc-gold) 0%, #D9A845 100%);
}
#menu-btn.menu { border-radius: 100px; }

.mainmenu li a {
  position: relative;
  font-weight: 600;
  transition: color 0.3s var(--hrc-ease);
}
/* animated gold underline on nav items */
.mainmenu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--hrc-gold);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.35s var(--hrc-ease);
}
.mainmenu > li > a:hover::after { transform: scaleX(1); transform-origin: left center; }

.mainmenu .submenu {
  border-radius: 14px;
  border: 1px solid rgba(31, 56, 102, 0.08);
  box-shadow: 0 24px 50px -20px rgba(20, 38, 68, 0.28);
  overflow: hidden;
}
.mainmenu .submenu li a { transition: background 0.25s var(--hrc-ease), padding-left 0.25s var(--hrc-ease); }
.mainmenu .submenu li a:hover { background: var(--hrc-gold-soft); padding-left: 26px; }

/*=========================================================
  14. CARDS & SURFACES
=========================================================*/
.rts-single-service-h2,
.single-contact-one-inner,
.blog-grid-inner,
.rts-single-wized {
  border-radius: 18px;
  overflow: hidden;
}
.service-single-style-six { border-radius: 18px; }

.service-single-style-six {
  padding: 38px 32px;
  border: 1px solid rgba(31, 56, 102, 0.08);
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFD 100%);
  box-shadow: 0 2px 10px -6px rgba(20, 38, 68, 0.12);
  transition: border-color 0.4s var(--hrc-ease), box-shadow 0.4s var(--hrc-ease);
}
.service-single-style-six:hover {
  border-color: rgba(196, 146, 44, 0.45);
  box-shadow: 0 26px 52px -22px rgba(20, 38, 68, 0.30);
}
/* pull the icon in-flow instead of overhanging the card */
.service-single-style-six .icon {
  position: static;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin-bottom: 18px;
  background: transparent;
}
.service-single-style-six .icon img { width: 100px; max-width: 100px; height: auto; }

.rts-single-service-h2 {
  border: 1px solid rgba(31, 56, 102, 0.08);
  background: #fff;
  transition: border-color 0.4s var(--hrc-ease), box-shadow 0.4s var(--hrc-ease);
}
.rts-single-service-h2:hover { border-color: rgba(196, 146, 44, 0.45); }
.rts-single-service-h2 .thumbnail { display: block; overflow: hidden; }
.rts-single-service-h2 .thumbnail img {
  width: 100%;
  height: auto;
  transition: transform 0.6s var(--hrc-ease);
}
.rts-single-service-h2:hover .thumbnail img { transform: scale(1.06); }

.single-contact-one-inner {
  border: 1px solid rgba(31, 56, 102, 0.08);
  transition: box-shadow 0.4s var(--hrc-ease), border-color 0.4s var(--hrc-ease);
}
.single-contact-one-inner:hover {
  border-color: rgba(196, 146, 44, 0.4);
  box-shadow: 0 22px 46px -22px rgba(20, 38, 68, 0.28);
}

/* accordion */
.accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  transition: box-shadow 0.35s var(--hrc-ease);
}
.accordion-button { border-radius: 14px !important; }

/*=========================================================
  15. FORMS
=========================================================*/
.form-wrapper input,
.form-wrapper textarea,
.rts-contact-form-area input,
.rts-contact-form-area textarea {
  border-radius: 12px;
  border: 1px solid rgba(31, 56, 102, 0.15);
  transition: border-color 0.3s var(--hrc-ease), box-shadow 0.3s var(--hrc-ease);
}
.form-wrapper input:focus,
.form-wrapper textarea:focus,
.rts-contact-form-area input:focus,
.rts-contact-form-area textarea:focus {
  outline: none;
  border-color: var(--hrc-gold);
  box-shadow: 0 0 0 4px rgba(196, 146, 44, 0.15);
}

/* visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--hrc-gold);
  outline-offset: 3px;
}

/*=========================================================
  16. OVERFLOW GUARD - no horizontal scrolling on mobile
=========================================================*/
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; }

@media only screen and (max-width: 991px) {
  /* decorative artwork must never create scroll width */
  .shape, .shape-business-service, .bg-shape-wrapper-main .shape { display: none; }
}

/* the template drew a blurred black blob behind the overhanging icon;
   with the icon in-flow that reads as a smudge, so retire it */
.service-single-style-six .icon::after { display: none; }

