/* ─── CSS Variables ─── */
:root {
  --nav-h: 120px;
  --nav-h-shrunk: 68px;
  --logo-h: 95px;
  --logo-h-shrunk: 44px;
  --nav-transition: 0.1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: "Roboto", sans-serif; color: #333132; margin: 0; }
img { max-width: 100%; height: auto; }

/* ─── Navbar ─── */
.site-nav {
  background-color: #fffbf2;
  border: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: var(--nav-transition);
  /* Bootstrap navbar-fixed-top handles position:fixed */
}

/* ── Mobile header bar ── */
.site-nav-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
}
.site-nav-brand img { height: 42px; width: auto; }

/* ── Hamburger ── */
.navbar-toggle {
  border-color: #f39332;
  background: transparent;
  margin: 0;
  padding: 8px 10px;
  float: none;
}
.navbar-toggle .icon-bar { background-color: #f39332; }
.navbar-toggle .fa { color: #f39332; font-size: 18px; }

/* ── Mobile collapse: stacked links ── */
.site-nav-collapse {
  background: #fffbf2;
  border-top: 1px solid #e8e4da;
}
.site-nav-left,
.site-nav-right {
  display: flex;
  flex-direction: column;
}
.site-nav-left a,
.site-nav-right a {
  color: #333132;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 15px;
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.site-nav-left a:hover,
.site-nav-right a:hover { color: #f39332; }
.site-nav-logo { display: none; } /* hidden on mobile */

/* ─── Main content offset ─── */
.main-content { margin-top: 70px; }

/* ─── Hero Banner ─── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes kenburns {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}
.hero-section picture,
.hero-section img.hero-img {
  width: 100%;
  display: block;
  min-height: 220px;
  object-fit: cover;
  transform-origin: center center;
  opacity: 0;
  animation: fadeIn 0.4s ease forwards, kenburns 12s ease-out forwards;
  will-change: transform, opacity;
}
.home-carousel-content-holder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 20px 8%;
  background: linear-gradient(to right, rgba(0,0,0,.6) 0%, rgba(0,0,0,.25) 65%, transparent 100%);
}
.home-carousel-content { max-width: 620px; }

.home-carousel-content h1 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(22px, 4vw, 42px);
  margin-top: 0;
  margin-bottom: 16px;
  line-height: 1.2;
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}
.home-carousel-content p {
  color: #fff;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeSlideUp 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.55s forwards;
}
.home-carousel-content .btn-2 {
  opacity: 0;
  animation: fadeIn 0.8s ease 0.85s forwards;
}

/* ─── Buttons ─── */
.btn-2 {
  background: #f39332;
  background-image: linear-gradient(to bottom, #f39332, #c26f1c);
  color: #fff !important;
  padding: 10px 24px;
  text-decoration: none !important;
  display: inline-block;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: opacity .2s ease;
  line-height: 1.4;
  border-radius: 2px;
}
.btn-2:hover { opacity: .88; }
.btn-2.fs-22 { font-size: 16px; }
.btn-2.fs-24 { font-size: 16px; }
.margin-top-1 { margin-top: 15px; }

/* ─── Highlight Cards ─── */
.highlights-row {
  display: flex;
  flex-direction: column;
}
.banner-highlights {
  position: relative;
  flex: 1;
  min-height: 260px;
  overflow: hidden;
}
.banner-highlights .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0; left: 0;
}
.banner-highlight-holder {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, .65);
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background-color .4s ease;
}
.banner-highlight-show { padding: 30px; width: 100%; }
.banner-highlight-show h1 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 34px);
  color: #fff;
  margin: 0;
  line-height: 1.25;
}
.banner-highlight-hide { padding: 30px; display: none; width: 100%; }
.banner-highlight-hide h1 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 30px);
  color: #333132;
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.25;
}
.banner-highlight-hide p {
  color: #444;
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  margin-bottom: 16px;
}

/* Desktop hover reveal */
@media (hover: hover) {
  .banner-highlight-holder:hover { background-color: rgba(255, 255, 255, .88); }
  .banner-highlight-holder:hover .banner-highlight-show { display: none; }
  .banner-highlight-holder:hover .banner-highlight-hide { display: block; }
}

/* Touch tap toggle */
.banner-highlight-holder.is-open { background-color: rgba(255, 255, 255, .88); }
.banner-highlight-holder.is-open .banner-highlight-show { display: none; }
.banner-highlight-holder.is-open .banner-highlight-hide { display: block; }

/* ─── Footer ─── */
.site-footer {
  background-color: #2e2c2d;
  color: #aaa;
  padding: 8px 0;
  border-top: 3px solid #f39332;
}
.footer-holder {
  padding-top: 14px;
  padding-bottom: 10px;
}
.footer-link {
  color: #aaa;
  text-decoration: none;
  transition: color .2s;
}
.footer-link:hover { color: #f39332; text-decoration: none; }
.vertical-bar { color: #555; }
.fs-12 { font-size: 12px !important; }

/* ═══════════════════════════════════════
   DESKTOP (≥768px)
   ═══════════════════════════════════════ */
@media (min-width: 768px) {

  /* Hide mobile header, show desktop collapse */
  .site-nav-mobile { display: none; }
  .site-nav-logo   { display: flex; align-items: center; flex-shrink: 0; }

  /* Navbar height */
  .site-nav     { min-height: var(--nav-h); }
  .main-content { margin-top: var(--nav-h); }

  /* ── 3-zone flex layout: [left flex:1] [logo] [right flex:1] ──
     .site-nav-collapse does NOT have class navbar-collapse,
     so Bootstrap's display:block !important does NOT target it.
     We just need to override Bootstrap's generic .collapse rule. */
  .site-nav-collapse.collapse,
  .site-nav-collapse.in {
    display:        flex !important;
    flex-direction: row;
    flex-wrap:      nowrap;
    align-items:    center;
    height:         var(--nav-h);
    padding:        0 30px;
    transition:     height var(--nav-transition);
    will-change:    height;
  }

  /* Left zone: items align to the RIGHT (towards logo) */
  .site-nav-left {
    flex:            1;
    display:         flex;
    flex-direction:  row;
    align-items:     center;
    justify-content: flex-end;
    height:          100%;
  }

  /* Right zone: items align to the LEFT (towards logo) */
  .site-nav-right {
    flex:            1;
    display:         flex;
    flex-direction:  row;
    align-items:     center;
    justify-content: flex-start;
    height:          100%;
  }

  /* Nav links */
  .site-nav-left a,
  .site-nav-right a {
    display:        flex;
    align-items:    center;
    height:         100%;
    padding:        0 22px;
    font-size:      12px;
    letter-spacing: 1.2px;
    white-space:    nowrap;
    text-align:     center;
  }

  /* Logo zone */
  .site-nav-logo {
    flex-shrink: 0;
    padding:     8px 20px;
  }
  .site-nav-logo img {
    height:     var(--logo-h);
    width:      auto;
    display:    block;
    transition: height var(--nav-transition), opacity var(--nav-transition);
    will-change: height;
  }

  /* ── Highlight cards ── */
  .highlights-row    { flex-direction: row; }
  .banner-highlights { min-height: 440px; }
  .banner-highlight-show { padding: 40px; }
  .banner-highlight-hide { padding: 40px; }

  .btn-2.fs-22 { font-size: 19px; }
  .btn-2.fs-24 { font-size: 21px; }
}

@media (min-width: 992px) {
  .banner-highlights { min-height: 520px; }
  .btn-2.fs-22 { font-size: 22px; }
  .btn-2.fs-24 { font-size: 24px; }
}

/* ═══════════════════════════════════════
   SCROLL-SHRUNK  (.nav-shrunk via JS)
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  .nav-shrunk.site-nav { min-height: var(--nav-h-shrunk); box-shadow: 0 3px 14px rgba(0,0,0,.14); }
  .nav-shrunk .site-nav-collapse.collapse,
  .nav-shrunk .site-nav-collapse.in { height: var(--nav-h-shrunk) !important; }
  .nav-shrunk .site-nav-logo img    { height: var(--logo-h-shrunk); }
}

/* ═══════════════════════════════════════
   MOBILE (≤767px)
   ═══════════════════════════════════════ */
@media (max-width: 767px) {
  .site-footer .text-right { text-align: left !important; }
}

/* ═══════════════════════════════════════
   INTERIOR PAGE BANNER
   ═══════════════════════════════════════ */
.page-banner {
  position: relative;
  background: #1a1a1a;
  height: 260px;          /* fixed — works with or without image */
  overflow: hidden;
}
.page-banner picture {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.page-banner .page-banner-img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  color: transparent;     /* hide broken-image alt text */
}
.page-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 30px 8%;
  background: rgba(0,0,0,.55);
}
.page-banner-body { max-width: 680px; }
.page-banner-body h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #f39332;
  font-size: clamp(18px, 3vw, 32px);
  margin: 0 0 14px;
  line-height: 1.25;
}
.page-banner-body p {
  color: #fff;
  font-weight: 300;
  font-size: clamp(13px, 1.6vw, 18px);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* ═══════════════════════════════════════
   SPLIT ROWS (alternating image + content)
   ═══════════════════════════════════════ */
.split-row {
  display: flex;
  flex-direction: column;
}
.split-content {
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-img {
  min-height: 280px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(160deg, #1a1a1a 0%, #2e2c2d 100%);
}
.split-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;    /* hide broken-image alt text */
}

/* ── White content panel ── */
.split-content--white { background: #fff; }
.split-content--white h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #333132;
  font-size: clamp(20px, 2.5vw, 30px);
  margin: 0 0 16px;
  line-height: 1.25;
}
.split-content--white h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #333132;
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 20px 0 10px;
}
.split-content--white p {
  color: #555;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* ── Orange content panel ── */
.split-content--orange { background: #f39332; }
.split-content--orange h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(20px, 2.5vw, 30px);
  margin: 0 0 16px;
  line-height: 1.25;
}
.split-content--orange h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  color: #fff;
  font-size: clamp(15px, 1.5vw, 18px);
  margin: 20px 0 10px;
}
.split-content--orange p {
  color: #fff;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Accent link (white bg panels) */
.link-accent { color: #333132; text-decoration: underline; }
.link-accent:hover { color: #f39332; }

/* ═══════════════════════════════════════
   FULL-WIDTH DARK SECTIONS
   ═══════════════════════════════════════ */
.full-section {
  background: #2e2c2d;
  padding: 50px 20px;
  text-align: center;
}
.full-section h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(18px, 2.5vw, 28px);
  margin: 0 0 20px;
}
.full-section p {
  color: #ddd;
  font-weight: 300;
  font-size: clamp(14px, 1.5vw, 18px);
  line-height: 1.75;
  max-width: 800px;
  margin: 0 auto 16px;
}
.full-section .btn-2 { margin-top: 8px; }
.testimonial-quote { font-style: italic; }
.testimonial-attr {
  font-family: "Roboto Slab", serif;
  font-style: normal;
  color: #bbb;
  font-size: 14px;
}

/* ═══════════════════════════════════════
   BOTTOM CTA BANNER
   ═══════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
  height: 280px;          /* fixed — works with or without image */
}
.cta-banner picture {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.cta-banner picture img {
  width: 100%; height: 100%;
  display: block;
  object-fit: cover;
  color: transparent;
}
.cta-banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(0,0,0,.6);
  padding: 30px 24px;
}
.cta-banner-body h2 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  color: #fff;
  font-size: clamp(16px, 2.5vw, 28px);
  margin: 0 0 24px;
  line-height: 1.35;
}

/* Bullet list inside split content */
.ul-bullet { list-style: disc; padding-left: 20px; margin: 0; }
.ul-bullet li { margin-bottom: 4px; }
.split-content--white .ul-bullet li { color: #555; font-size: clamp(14px,1.4vw,17px); }
.split-content--orange .ul-bullet li { color: #fff; font-size: clamp(14px,1.4vw,17px); }

/* Nav active state */
.site-nav-left a.active,
.site-nav-right a.active { color: #f39332; }

/* ═══════════════════════════════════════
   SPLIT ROWS — DESKTOP (≥768px)
   ═══════════════════════════════════════ */
@media (min-width: 768px) {
  .split-row {
    flex-direction: row;
    min-height: 440px;
  }
  /* img-left: on desktop reverse order so content is right, image is left */
  .split-row--img-left {
    flex-direction: row-reverse;
  }
  .split-content,
  .split-img {
    flex: 0 0 50%;
    width: 50%;
  }
  .split-content { padding: 50px 60px; }
  .page-banner   { height: 360px; }
  .cta-banner    { height: 340px; }
}

@media (min-width: 992px) {
  .split-row     { min-height: 520px; }
  .split-content { padding: 60px 80px; }
  .page-banner   { height: 440px; }
  .cta-banner    { height: 400px; }
}

/* ═══════════════════════════════════════
   EFFECTS — scroll reveal & hover
   ═══════════════════════════════════════ */

/* Page banner — content fade-in on load */
@keyframes bannerFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.page-banner-body {
  animation: bannerFadeUp 0.9s ease both;
  animation-delay: 0.2s;
}

/* Page banner — parallax image */
.page-banner .page-banner-img {
  will-change: transform;
}

/* Split image zoom on hover */
.split-img img {
  transition: transform 0.6s ease;
}
.split-img:hover img {
  transform: scale(1.06);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ═══════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════ */
.contact-info-bar {
  background: #333132;
  padding: 36px 20px;
  text-align: center;
}
.contact-info-bar h2 {
  font-family: "Roboto Slab", serif;
  color: #f39332;
  font-size: clamp(18px,2.5vw,26px);
  margin: 0 0 14px;
}
.contact-info-bar p { color: #ddd; font-size: 16px; line-height: 1.9; margin: 0; }
.contact-info-bar a { color: #ddd; text-decoration: none; }
.contact-info-bar a:hover { color: #f39332; }

/* Contact box wrapper */
.contact-box-wrap { background: #f5f0ea; padding: 40px 20px 60px; }
.contact-box {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid #ccc;
  overflow: hidden;
}

/* Tabs */
.contact-tabs { display: flex; }
.contact-tab {
  flex: 1;
  padding: 18px 10px;
  text-align: center;
  font-family: "Roboto Slab", serif;
  font-size: clamp(14px,1.8vw,18px);
  font-weight: 700;
  cursor: pointer;
  border: none;
  margin: 0;
  transition: background 0.2s, color 0.2s;
}
.contact-tab.active { background: #f39332; color: #fff; }
.contact-tab:not(.active) { background: #e0e0e0; color: #555; }
.contact-tab:not(.active):hover { background: #d4d4d4; }

.contact-tab-content { display: none; background: #f5f0ea; padding: 36px 30px; }
.contact-tab-content.active { display: block; }

/* Form */
.contact-tab-content .form-group { margin-bottom: 18px; }
.contact-tab-content label { font-weight: 500; color: #444; font-size: 15px; margin-bottom: 6px; display: block; }
.contact-tab-content .form-control {
  width: 100%; padding: 10px 14px;
  border: 1px solid #ddd; border-radius: 3px;
  font-size: 15px; color: #333; background: #fff;
  transition: border-color 0.2s;
}
.contact-tab-content .form-control:focus { border-color: #f39332; outline: none; box-shadow: 0 0 0 2px rgba(243,147,50,.15); }
.contact-tab-content textarea.form-control { resize: vertical; }
.radio-group { display: flex; gap: 24px; margin-top: 4px; flex-wrap: wrap; }
.radio-group label { font-weight: 400; color: #555; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.radio-group input[type="radio"] { accent-color: #f39332; width: 16px; height: 16px; }
.form-msg { display: none; padding: 12px 16px; border-radius: 3px; margin-top: 12px; font-size: 15px; }
.form-msg.success { display: block; background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.form-msg.error   { display: block; background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* Career tab */
.career-info { max-width: 600px; margin: 0 auto; text-align: center; }
.career-info p { color: #555; font-size: 16px; line-height: 1.8; }
.career-info a { color: #f39332; font-weight: 500; }

/* ═══════════════════════════════════════
   GET INSIGHTS — listing & article
   ═══════════════════════════════════════ */
.insights-section { padding: 50px 20px; background: #f9f9f9; }

.insight-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  margin-bottom: 40px;
  overflow: hidden;
}
.insight-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: #1a1a1a;
}
.insight-card-img img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
  transition: transform 0.6s ease;
}
.insight-card:hover .insight-card-img img { transform: scale(1.05); }
.insight-card-body { padding: 28px 32px 32px; }
.insight-card-date { font-size: 13px; color: #999; margin-bottom: 8px; }
.insight-card-body h2 {
  font-family: "Roboto Slab", serif;
  color: #333;
  font-size: clamp(18px,2vw,24px);
  margin: 0 0 12px;
}
.insight-card-body p { color: #666; font-size: 15px; line-height: 1.7; margin: 0 0 20px; }

@media (min-width: 768px) {
  .insight-card { flex-direction: row; min-height: 260px; }
  .insight-card-img { width: 340px; flex-shrink: 0; height: auto; }
  .insight-card-body { padding: 36px 48px; }
}

/* Article page */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 50px 24px 60px; }
.article-date { font-size: 13px; color: #999; margin-bottom: 8px; }
.article-wrap h1 {
  font-family: "Roboto Slab", serif;
  color: #333;
  font-size: clamp(22px,3vw,36px);
  margin: 0 0 32px;
}
.article-wrap h3 {
  font-family: "Roboto Slab", serif;
  color: #f39332;
  font-size: clamp(16px,2vw,22px);
  margin: 36px 0 12px;
  text-decoration: underline;
}
.article-wrap p { color: #555; font-size: clamp(14px,1.4vw,17px); line-height: 1.8; margin-bottom: 14px; }
.article-wrap ul { color: #555; font-size: clamp(14px,1.4vw,17px); line-height: 1.8; padding-left: 22px; margin-bottom: 14px; }
.article-wrap ul li { margin-bottom: 6px; }
.article-img {
  width: 100%; height: 320px;
  overflow: hidden; position: relative;
  background: #1a1a1a; margin: 20px 0 30px;
  border-radius: 4px;
}
.article-img img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block; color: transparent;
}
