/* =========================================================
   PacificPine HR Solutions Pvt. Ltd. — Main Stylesheet
   Built on Bootstrap 5.3
   ========================================================= */

/* ---------- Self-hosted webfonts (no external requests) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-latin-700-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/poppins-latin-800-normal.woff2') format('woff2');
}

:root {
  --pp-navy-dark:   #0b1230;
  --pp-navy:        #163e7a;
  --pp-navy-mid:    #0d2b5e;
  --pp-teal:        #1a9c96;
  --pp-teal-dark:   #0e7a76;
  --pp-orange:      #ef8b1e;
  --pp-orange-light:#f5a83d;
  --pp-ink:         #1c2333;
  --pp-gray-700:    #4a5164;
  --pp-gray-100:    #f4f6f9;
  --pp-border:      #e6e9f0;

  --pp-font-head: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --pp-font-body: 'Inter', 'Segoe UI', Arial, sans-serif;

  --pp-radius: 14px;
  --pp-shadow: 0 10px 30px rgba(11, 18, 48, 0.08);
  --pp-shadow-lg: 0 20px 45px rgba(11, 18, 48, 0.14);
}

/* IMPORTANT: Bootstrap 5.3's own reboot CSS sets
   `:root{scroll-behavior:smooth}` inside `@media (prefers-reduced-motion:
   no-preference)` — i.e. for almost every visitor. That makes the browser
   ANIMATE the jump-to-anchor on a fresh page load whenever the URL has a
   #hash (e.g. a footer link to services.html#staffing, or a "Learn More"
   link), which is exactly the visible "jump/shake" reported after clicking
   menu links. We explicitly override it back to instant jumps here (this
   stylesheet loads after Bootstrap's, so it wins). In-page smooth
   scrolling for the Back-to-top button is handled explicitly in JS, so
   normal page loads are never animated. */
html, :root {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--pp-font-body);
  color: var(--pp-ink);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-head {
  font-family: var(--pp-font-head);
  font-weight: 700;
  color: var(--pp-navy-dark);
}

p { color: var(--pp-gray-700); }

a { text-decoration: none; }

.text-teal { color: var(--pp-teal) !important; }
.text-navy { color: var(--pp-navy) !important; }
.text-orange { color: var(--pp-orange) !important; }
.bg-navy { background-color: var(--pp-navy) !important; }
.bg-navy-dark { background-color: var(--pp-navy-dark) !important; }
.bg-teal { background-color: var(--pp-teal) !important; }
.bg-orange { background-color: var(--pp-orange) !important; }
.bg-soft { background-color: var(--pp-gray-100) !important; }

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

@media (max-width: 767.98px) {
  .section { padding: 3.5rem 0; }
  .section-sm { padding: 2.5rem 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--pp-font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pp-teal-dark);
  margin-bottom: .75rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--pp-orange);
  display: inline-block;
  border-radius: 2px;
}

.section-title { margin-bottom: 1rem; }
.section-lead { max-width: 720px; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: 50px;
  font-weight: 600;
  padding: .7rem 1.6rem;
  transition: all .2s ease-in-out;
}
.btn-sm { padding: .5rem 1.1rem; }

.btn-orange {
  background-color: var(--pp-orange);
  border-color: var(--pp-orange);
  color: #fff;
}
.btn-orange:hover, .btn-orange:focus {
  background-color: #d97a10;
  border-color: #d97a10;
  color: #fff;
  transform: translateY(-2px);
}
.btn-outline-light:hover { transform: translateY(-2px); }

.btn-navy {
  background-color: var(--pp-navy);
  border-color: var(--pp-navy);
  color: #fff;
}
.btn-navy:hover {
  background-color: var(--pp-navy-dark);
  border-color: var(--pp-navy-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-navy {
  border: 2px solid var(--pp-navy);
  color: var(--pp-navy);
  background: transparent;
}
.btn-outline-navy:hover {
  background-color: var(--pp-navy);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Navbar ----------
   Fixed height at all times (no padding/logo-size change on scroll) so
   toggling the "scrolled" state never triggers layout reflow — only a
   box-shadow fades in, which is a paint-only change. The navbar is
   position:sticky so it stays put without needing extra body padding. */
#mainNav {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding-top: .7rem;
  padding-bottom: .7rem;
  background-color: rgba(255,255,255,0.98);
  box-shadow: 0 0 0 rgba(11,18,48,0);
  transition: box-shadow .25s ease-in-out;
}
#mainNav.scrolled {
  box-shadow: 0 6px 24px rgba(11,18,48,.08);
}
#mainNav .navbar-brand img { height: 42px; }

.navbar-nav .nav-link {
  font-family: var(--pp-font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--pp-ink) !important;
  padding: .6rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--pp-teal-dark) !important;
}
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: .1rem;
  height: 3px;
  border-radius: 3px;
  background: var(--pp-orange);
}
.top-bar {
  background-color: var(--pp-navy-dark);
  color: #cfe3ff;
  font-size: .85rem;
}
.top-bar a { color: #cfe3ff; }
.top-bar a:hover { color: var(--pp-orange-light); }

/* ---------- Hero ---------- */
/* ---------- Hero banner carousel ----------
   Every slide is forced to the SAME fixed height (via .hero-slide), so
   rotating between them never changes the page's layout/scroll height —
   that would reintroduce the same kind of "shake" we fixed for nav
   clicks. Bootstrap's own Carousel JS (already vendored) drives the
   rotation; no extra script is needed. */
.hero-carousel-section { position: relative; overflow: hidden; }
.hero-carousel-section .carousel,
.hero-carousel-section .carousel-inner,
.hero-carousel-section .carousel-item { height: 640px; }
.hero-slide {
  height: 640px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}
.hero-slide-1 { background-image: linear-gradient(120deg, rgba(11,18,48,.82) 0%, rgba(22,62,122,.72) 55%, rgba(14,122,118,.7) 100%), url('../img/hero-banner.svg'); }
.hero-slide-2 { background-image: linear-gradient(120deg, rgba(14,122,118,.78) 0%, rgba(22,62,122,.74) 55%, rgba(11,18,48,.78) 100%), url('../img/hero-banner-2.svg'); }
.hero-slide-3 { background-image: linear-gradient(120deg, rgba(11,18,48,.82) 0%, rgba(13,43,94,.72) 55%, rgba(26,156,150,.68) 100%), url('../img/hero-banner-3.svg'); }
.hero-slide h1 { color: #fff; }
.hero-slide .lead { color: #dbe6ff; }

@media (max-width: 991.98px) {
  .hero-carousel-section .carousel,
  .hero-carousel-section .carousel-inner,
  .hero-carousel-section .carousel-item,
  .hero-slide { height: 760px; }
}
@media (max-width: 575.98px) {
  .hero-carousel-section .carousel,
  .hero-carousel-section .carousel-inner,
  .hero-carousel-section .carousel-item,
  .hero-slide { height: 860px; }
}

/* Indicators + controls restyled to match the brand */
.hero-carousel-section .carousel-indicators { margin-bottom: .5rem; }
.hero-carousel-section .carousel-indicators [data-bs-target] {
  width: 10px; height: 10px;
  border-radius: 50%;
  background-color: #fff;
  opacity: .45;
  margin: 0 5px;
  border: none;
}
.hero-carousel-section .carousel-indicators .active {
  opacity: 1;
  background-color: var(--pp-orange);
}
.hero-carousel-section .carousel-control-prev,
.hero-carousel-section .carousel-control-next {
  width: 4%;
  opacity: .6;
}
.hero-carousel-section .carousel-control-prev:hover,
.hero-carousel-section .carousel-control-next:hover { opacity: 1; }
.hero-carousel-section .carousel-control-prev-icon,
.hero-carousel-section .carousel-control-next-icon {
  width: 2.25rem; height: 2.25rem;
}

/* Stats bar sits below the carousel so the numbers never rotate/shift */
.hero-stats-bar {
  background: var(--pp-navy-dark);
  padding: 2rem 0;
}
.hero-stats-bar .stat-num {
  font-family: var(--pp-font-head);
  font-weight: 700;
  font-size: 2rem;
  color: #fff;
}
.hero-stats-bar .stat-label {
  font-size: .82rem;
  color: #b9caee;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--pp-navy-dark) 0%, var(--pp-navy) 60%, var(--pp-teal-dark) 130%);
  color: #fff;
  padding-top: 6.75rem;
  padding-bottom: 3.25rem;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/pattern-dots.svg');
  background-repeat: repeat;
  opacity: .45;
}
.page-header .blob {
  position: absolute;
  opacity: .3;
  filter: blur(30px);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.page-header h1 { color: #fff; margin-bottom: .5rem; }
.page-header .breadcrumb { margin-bottom: 0; }
.page-header .breadcrumb a { color: #cfe3ff; }
.page-header .breadcrumb .active { color: var(--pp-orange-light); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: #7f97c6; }

/* ---------- Cards ---------- */
.card { border: 1px solid var(--pp-border); border-radius: var(--pp-radius); }

.feature-card {
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border);
  padding: 2rem 1.75rem;
  height: 100%;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--pp-shadow-lg);
  border-color: transparent;
}
.feature-icon {
  width: 62px; height: 62px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--pp-navy), var(--pp-teal));
}
.feature-icon.alt { background: linear-gradient(135deg, var(--pp-orange), var(--pp-orange-light)); }

.icon-circle-sm {
  width: 42px; height: 42px;
  display: inline-flex; align-items:center; justify-content:center;
  border-radius: 50%;
  background: rgba(26,156,150,.12);
  color: var(--pp-teal-dark);
  flex: 0 0 auto;
}

.badge-soft {
  display: inline-block;
  background: rgba(239,139,30,.12);
  color: var(--pp-orange);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .35rem .8rem;
  border-radius: 50px;
}

/* ---------- Checklists ---------- */
.list-check { list-style: none; padding-left: 0; margin: 0; }
.list-check li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .4rem 0;
  color: var(--pp-gray-700);
}
.list-check li i {
  color: var(--pp-teal);
  margin-top: .2rem;
  flex: 0 0 auto;
}
.list-check.on-dark li { color: #dbe6ff; }
.list-check.on-dark li i { color: var(--pp-orange-light); }

/* ---------- Approach / Know-Serve-Trust ---------- */
.approach-card {
  border-radius: var(--pp-radius);
  padding: 2rem;
  height: 100%;
  color: #fff;
}
.approach-card.know  { background: linear-gradient(160deg, var(--pp-navy), var(--pp-navy-mid)); }
.approach-card.serve { background: linear-gradient(160deg, var(--pp-teal), var(--pp-teal-dark)); }
.approach-card.trust  { background: linear-gradient(160deg, var(--pp-orange), #d97a10); }
.approach-card.trust .list-check.on-dark li i { color: #ffffff; }
.approach-card .step-num {
  font-family: var(--pp-font-head);
  font-weight: 700;
  font-size: 2.2rem;
  opacity: .35;
  line-height: 1;
}

/* ---------- Timeline (process pages) ---------- */
.pp-timeline { position: relative; padding-left: 2.75rem; }
.pp-timeline::before {
  content: "";
  position: absolute;
  left: 14px; top: 6px; bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--pp-teal), var(--pp-navy));
  border-radius: 3px;
}
.pp-timeline .pp-timeline-item { position: relative; padding-bottom: 2.1rem; }
.pp-timeline .pp-timeline-item:last-child { padding-bottom: 0; }
.pp-timeline .pp-timeline-dot {
  position: absolute;
  left: -2.75rem;
  top: 2px;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--pp-teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--pp-font-head);
  font-weight: 700;
  font-size: .8rem;
  color: var(--pp-navy);
}
.pp-timeline .pp-timeline-card {
  background: var(--pp-gray-100);
  border-radius: 12px;
  padding: 1.1rem 1.35rem;
}

/* Horizontal process flow (recruitment process, staffing model) */
.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: stretch;
}
.flow-step {
  flex: 1 1 150px;
  background: #fff;
  border: 1px solid var(--pp-border);
  border-radius: 12px;
  padding: 1rem 1rem;
  text-align: center;
  font-size: .92rem;
  font-weight: 600;
  color: var(--pp-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pp-shadow);
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pp-teal);
  font-size: 1.3rem;
  flex: 0 0 auto;
}
@media (max-width: 767.98px) {
  .flow-row { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); }
}

/* ---------- Clients marquee (auto-scrolling logo/wordmark slider) ---------- */
.clients-section { padding: 3.25rem 0; border-bottom: 1px solid var(--pp-border); }
.clients-marquee {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: clients-scroll 32s linear infinite;
}
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.client-pill {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--pp-gray-100);
  border: 1px solid var(--pp-border);
  border-radius: 50px;
  padding: .85rem 1.5rem;
  font-family: var(--pp-font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--pp-navy-dark);
  white-space: nowrap;
}
.client-pill i { color: var(--pp-teal); font-size: 1.1rem; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .clients-track { animation: none; }
  .clients-marquee { overflow-x: auto; }
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--pp-navy-dark);
  color: #fff;
}
.stats-strip .stat-num {
  font-family: var(--pp-font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: #fff;
}
.stats-strip .stat-label { color: #b9caee; font-size: .88rem; }

/* ---------- Presence / city cards ---------- */
.city-card {
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border);
  padding: 1.5rem;
  height: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
  background: #fff;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--pp-shadow); }
.city-card.hq { background: linear-gradient(160deg, var(--pp-navy), var(--pp-teal-dark)); color: #fff; border: none; }
.city-card.hq h5, .city-card.hq p { color: #fff; }
.city-card .pin {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(26,156,150,.12);
  color: var(--pp-teal-dark);
  margin-bottom: .8rem;
  font-size: 1.25rem;
}
.city-card.hq .pin { background: rgba(255,255,255,.18); color: #fff; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--pp-navy-dark), var(--pp-navy) 60%, var(--pp-teal-dark));
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../img/pattern-dots.svg');
  opacity: .4;
}
.cta-band .content { position: relative; z-index: 1; }

/* ---------- Contact page ---------- */
.contact-card {
  border-radius: var(--pp-radius);
  border: 1px solid var(--pp-border);
  padding: 1.75rem;
  height: 100%;
}
.contact-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--pp-navy), var(--pp-teal));
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}
.social-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pp-navy-100);
  color: var(--pp-navy);
  border: 1px solid var(--pp-border);
  transition: all .2s ease;
}
.social-btn:hover { background: var(--pp-navy); color: #fff; transform: translateY(-3px); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--pp-navy-dark);
  color: #b9c6e6;
}
footer.site-footer a { color: #b9c6e6; }
footer.site-footer a:hover { color: var(--pp-orange-light); }
footer.site-footer h6 {
  color: #fff;
  font-family: var(--pp-font-head);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  margin-bottom: 1.1rem;
}
footer.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
footer.site-footer .footer-links li { margin-bottom: .55rem; }
footer.site-footer .footer-links i { margin-right: .4rem; color: var(--pp-teal); }
footer.site-footer hr { border-color: rgba(255,255,255,.12); }
footer.site-footer .bottom-bar { font-size: .85rem; color: #8ea0c9; }

/* ---------- Back to top ---------- */
#backToTop {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--pp-navy);
  color: #fff;
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--pp-shadow-lg);
  z-index: 999;
  border: none;
}
#backToTop:hover { background: var(--pp-orange); }

/* ---------- Utility ---------- */
.divider-sm { width: 60px; height: 4px; border-radius: 4px; background: var(--pp-orange); }
.rounded-xl { border-radius: var(--pp-radius) !important; }
.shadow-soft { box-shadow: var(--pp-shadow) !important; }

.table-labour th, .table-labour td { vertical-align: middle; }
.table-labour thead th {
  background: var(--pp-navy-dark);
  color: #fff;
  font-family: var(--pp-font-head);
  font-weight: 600;
  border: none;
}
.list-arrow {
  list-style: none;
  padding-left: 0;
  margin: 0 0 .25rem;
}
.list-arrow.mb-0 {
  margin-bottom: 0;
}
.list-arrow li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .32rem 0;
  color: var(--pp-gray-700);
}
.list-arrow li i {
  color: var(--pp-teal);
  margin-top: .3rem;
  flex: 0 0 auto;
  font-size: .95rem;
}

