/* ==========================================================================
   ValOfficer - Design System
   Palette: Deep Blue / Royal Blue (primary), Gold/Orange (accent), White & Grey
   Typography: Poppins (display/headings), Manrope (body)
   ========================================================================== */

:root {
  /* Deep indigo-navy + warm copper + berry accent, drawn from the brand
     mark's own blue-to-magenta gradient rather than a generic finance
     blue/gold combination. Warm ivory background instead of stark white. */
  --color-deep-blue: #1E2240;      /* deep indigo-navy - primary */
  --color-royal-blue: #3D4372;     /* mid indigo - secondary */
  --color-royal-blue-light: #5B5F94; /* lighter indigo - links/hover */
  --color-berry: #7C2E52;          /* deep berry accent (from logo magenta) */
  --color-berry-dark: #5B2140;
  --color-gold: #C17A3B;           /* warm copper - CTA accent (replaces gold) */
  --color-gold-dark: #9C5F2A;
  --color-white: #FFFFFF;          /* clean white page background */
  --color-bg-light: #F7F8FA;       /* near-white cool grey for alternating sections */
  --color-bg-grey: #EEF1F5;
  --color-text: #201F30;
  --color-text-muted: #625F72;
  --color-border: #E3E7EE;
  --gradient-primary: linear-gradient(135deg, #1E2240 0%, #363B6E 55%, #63406A 100%);
  --gradient-gold: linear-gradient(135deg, #D08A47 0%, #9C5F2A 100%);
  --gradient-berry: linear-gradient(135deg, #8C3560 0%, #5B2140 100%);
  --shadow-sm: 0 2px 10px rgba(30, 34, 64, 0.07);
  --shadow-md: 0 10px 30px rgba(30, 34, 64, 0.12);
  --shadow-lg: 0 20px 50px rgba(30, 34, 64, 0.18);
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-display: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-deep-blue);
  line-height: 1.25;
}

a { text-decoration: none; color: var(--color-royal-blue); transition: color .2s ease; }
a:hover { color: var(--color-gold-dark); }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-deep-blue);
  color: #fff; padding: 12px 20px; z-index: 3000; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

section { padding: 90px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--color-gold-dark); font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; font-size: .8rem; margin-bottom: 12px;
}
.section-label::before { content: ''; width: 28px; height: 3px; background: var(--color-gold); border-radius: 3px; }

.section-title { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 16px; }
.section-subtitle { color: var(--color-text-muted); font-size: 1.05rem; max-width: 680px; }
.bg-light-section { background: var(--color-bg-light); }
.bg-grey-section { background: var(--color-bg-grey); }
.bg-dark-section { background: var(--gradient-primary); color: #fff; }
.bg-dark-section h2, .bg-dark-section h3, .bg-dark-section p { color: #fff; }

/* ---------------------------------------------------------------------- */
/* Buttons */
/* ---------------------------------------------------------------------- */
.btn { border-radius: 50px; font-weight: 600; padding: 12px 28px; transition: all .25s ease; }
.btn-cta {
  background: var(--gradient-gold); color: #FBF3E9; border: none;
  box-shadow: 0 8px 20px rgba(208, 138, 71, 0.35);
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(208, 138, 71, 0.45); color: #FBF3E9; }
.btn-outline-primary-custom { border: 2px solid var(--color-royal-blue); color: var(--color-royal-blue); background: transparent; }
.btn-outline-primary-custom:hover { background: var(--color-royal-blue); color: #fff; }
.btn-outline-light:hover { color: var(--color-deep-blue); }

/* ---------------------------------------------------------------------- */
/* Page Loader */
/* ---------------------------------------------------------------------- */
#page-loader {
  position: fixed; inset: 0; background: var(--color-white); z-index: 9999;
  display: flex; align-items: center; justify-content: center; transition: opacity .4s ease, visibility .4s ease;
}
#page-loader.loaded { opacity: 0; visibility: hidden; }
.loader-spinner {
  width: 46px; height: 46px; border: 4px solid var(--color-bg-grey);
  border-top-color: var(--color-royal-blue); border-radius: 50%; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------------------------------------------------------------------- */
/* Navigation */
/* ---------------------------------------------------------------------- */
/* Single-row header: the old separate blue topbar strip was removed (it
   added a whole extra band of height and read as dated). The phone number
   and a "Request a Valuation" CTA now live inline in the main nav row
   instead, at xl+ widths, keeping the header compact at every size. */
.main-nav { background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px); padding: 10px 0; box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1030; transition: padding .25s ease, box-shadow .25s ease; }
.main-nav.scrolled { padding: 6px 0; box-shadow: var(--shadow-md); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700;
  color: var(--color-deep-blue); font-size: .95rem; white-space: nowrap;
}
.nav-phone i { color: var(--color-gold-dark); }
.nav-phone:hover { color: var(--color-gold-dark); }
.main-menu .nav-link { font-weight: 600; color: var(--color-deep-blue); padding: 10px 16px !important; position: relative; }
.main-menu .nav-link:hover, .main-menu .nav-link.active { color: var(--color-royal-blue-light); }
.main-menu .dropdown-menu { border: none; box-shadow: var(--shadow-lg); border-radius: var(--radius-md); padding: 10px; }
.main-menu .dropdown-item { border-radius: 8px; padding: 10px 14px; font-weight: 500; }
.main-menu .dropdown-item:hover { background: var(--color-bg-light); color: var(--color-royal-blue-light); }

/* Nav items that both link to their own page AND open a submenu: the label
   is a plain <a> so clicking it always navigates (no separate toggle
   button/icon needed). The submenu opens on hover via JS (assets/js/main.js
   initHoverDropdowns), toggling the same .show class Bootstrap's own CSS
   already uses to display .dropdown-menu. */
.nav-item-clickable { position: relative; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--color-border);
  background: #fff; display: inline-flex; align-items: center; justify-content: center; color: var(--color-deep-blue);
}
.icon-btn:hover { background: var(--color-royal-blue); color: #fff; }

.navbar-toggler { border: none; width: 40px; height: 34px; display: flex; flex-direction: column; justify-content: center; gap: 6px; background: transparent; }
.navbar-toggler span { display: block; height: 3px; width: 100%; background: var(--color-deep-blue); border-radius: 3px; }

/* Mega menu - plain text list, no icons or dividers */
.mega-menu { min-width: 460px; padding: 18px; }
.mega-menu-item-plain {
  display: block; padding: 12px 14px; border-radius: 8px; font-weight: 600;
  color: var(--color-deep-blue); font-family: var(--font-body);
}
.mega-menu-item-plain:hover { background: var(--color-bg-light); color: var(--color-berry); }
.mega-menu-footer { border-top: 1px solid var(--color-border); margin-top: 10px; padding-top: 12px; text-align: right; }
.mega-menu-footer a { font-weight: 700; color: var(--color-gold-dark); }

/* Mobile off-canvas */
.offcanvas-header { border-bottom: 1px solid var(--color-border); }
.mobile-menu { list-style: none; padding: 0; margin: 0; }
.mobile-menu li a { display: block; padding: 12px 4px; color: var(--color-deep-blue); font-weight: 600; border-bottom: 1px solid var(--color-border); }
.mobile-submenu-title { padding: 10px 4px 4px; font-size: .75rem; text-transform: uppercase; letter-spacing: 1px; color: var(--color-gold-dark); font-weight: 700; }
.mobile-call-cta { margin-top: 16px; text-align: center; }
.mobile-call-cta a { font-weight: 700; color: var(--color-royal-blue); }

/* ---------------------------------------------------------------------- */
/* Hero */
/* ---------------------------------------------------------------------- */
.hero {
  background: var(--gradient-primary); color: #fff; position: relative; overflow: hidden;
  padding: 110px 0 130px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(231,168,60,0.25), transparent 55%);
}
.hero .eyebrow { color: var(--color-gold); font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; font-size: .85rem; }
.hero h1 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.4rem); margin: 14px 0 20px; }
.hero p.lead { color: #d9e3f5; font-size: 1.15rem; max-width: 620px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 40px; }
.hero-stats .stat-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: var(--color-gold); }
.hero-stats .stat-label { font-size: .85rem; color: #c8d5ee; }
.hero-visual { position: relative; z-index: 2; }
/* Hero image rotation: all frames stacked in the same spot, crossfaded via
   opacity so the layout never shifts between images. */
.hero-carousel { min-height: 460px; }
.hero-carousel-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease; border-radius: var(--radius-lg);
}
.hero-carousel-img.active { position: relative; opacity: 1; }
.hero-carousel-img:not(.active) { position: absolute; }
.hero-badge {
  position: absolute; bottom: -20px; left: -20px; background: #fff; color: var(--color-deep-blue);
  padding: 16px 20px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-weight: 700; display: flex; gap: 12px; align-items: center;
}
.hero-badge i { color: var(--color-gold-dark); font-size: 1.6rem; }
.page-hero { background: var(--gradient-primary); color: #fff; padding: 98px 0 126px; position: relative; } /* +40% vs original 70px/90px */
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d9e3f5; max-width: 700px; }
/* Photo variant: a real photo behind a gradient overlay (set inline per
   page/service) instead of the flat gradient, applied via background-image
   so pages without a photo keep the plain gradient unchanged. */
.page-hero.has-photo { background-size: cover; background-position: center; }

/* Breadcrumb */
.breadcrumb-nav { background: var(--color-bg-light); padding: 14px 0; }
.breadcrumb { margin: 0; background: transparent; font-size: .9rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--color-text-muted); }
.breadcrumb-item.active { color: var(--color-text-muted); }

/* ---------------------------------------------------------------------- */
/* Cards */
/* ---------------------------------------------------------------------- */
.card-modern {
  background: #fff; border-radius: var(--radius-lg); padding: 38px 32px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border); transition: transform .3s ease, box-shadow .3s ease; height: 100%;
}
.card-modern:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
/* Keep card body copy to a fixed number of lines so cards with longer
   descriptions don't feel over-stuffed next to shorter ones. */
.card-clamp-text {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar columns (services detail page, blog post page) stack several
   independent cards vertically rather than laying them out as an
   equal-height grid row. Bootstrap's row is a flex container that stretches
   columns to match the tallest sibling by default, and .card-modern's
   height:100% (meant for grid layouts) would otherwise make every stacked
   card balloon to that full stretched height, causing the cards to
   visually overlap/collide. Force auto height in this context instead. */
.service-sidebar .card-modern,
.service-sidebar .contact-info-card { height: auto; }
.card-icon {
  width: 60px; height: 60px; border-radius: 16px; background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 18px;
}
.card-modern h3, .card-modern h4 { font-size: 1.2rem; margin-bottom: 10px; }
.card-modern p { color: var(--color-text-muted); margin-bottom: 14px; }
.card-link { font-weight: 700; color: var(--color-royal-blue); }
.card-link i { transition: transform .2s ease; }
.card-link:hover i { transform: translateX(4px); }

.industry-card { text-align: center; padding: 30px 18px; }
.industry-card .card-icon { margin: 0 auto 16px; }

/* Industries Served - compact chip row, deliberately distinct from the
   boxed Services cards above it */
.industry-chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.industry-chip {
  display: inline-flex; align-items: center; gap: 12px; background: #fff;
  border: 1px solid var(--color-border); border-radius: 50px; padding: 12px 22px 12px 12px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.industry-chip:hover { border-color: var(--color-berry); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.industry-chip-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-bg-light); color: var(--color-berry);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0;
}
.industry-chip-label { font-weight: 700; color: var(--color-deep-blue); font-size: .95rem; }

/* Why ValOfficer - clean divided list, distinct from both the Services
   cards and the Industries chip row */
.why-us-panel {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  border-left: 5px solid var(--color-gold); overflow: hidden;
}
.why-us-row {
  display: flex; align-items: center; gap: 18px; padding: 22px 30px;
  border-bottom: 1px solid var(--color-border);
}
.why-us-row:last-child { border-bottom: none; }
.why-us-row .why-us-icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--gradient-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; flex-shrink: 0;
}
.why-us-row h3 { font-size: 1.05rem; margin: 0 0 2px; }
.why-us-row p { margin: 0; color: var(--color-text-muted); font-size: .9rem; }

.stat-card { text-align: center; padding: 20px; }
.stat-card .stat-value { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--color-gold); }
.stat-card .stat-label { color: #d9e3f5; font-weight: 600; }

/* Process timeline */
.process-step { text-align: center; position: relative; padding: 0 12px; }
.process-step .step-num {
  width: 70px; height: 70px; border-radius: 50%; background: #fff; border: 3px solid var(--color-gold);
  color: var(--color-deep-blue); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: var(--shadow-sm);
}
.process-line { position: absolute; top: 35px; left: 55%; width: 90%; height: 3px; background: repeating-linear-gradient(90deg, var(--color-gold) 0 8px, transparent 8px 16px); z-index: -1; }

/* About section - compact icon + title feature tiles. Each tile carries a
   distinct accent color (cycled via nth-child) and a colored top edge so
   the row reads as four deliberate highlights rather than four identical
   plain boxes. */
.feature-mini {
  background: #fff; border: 1px solid var(--color-border); border-top: 3px solid var(--color-royal-blue);
  border-radius: var(--radius-md); padding: 26px 18px; text-align: center; height: 100%;
  transition: transform .25s ease, box-shadow .25s ease; position: relative; overflow: hidden;
}
.feature-mini:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-mini .card-icon {
  margin: 0 auto 14px; width: 56px; height: 56px; font-size: 1.4rem; border-radius: 50%;
  background: var(--color-bg-light); color: var(--color-royal-blue); box-shadow: none;
}
.feature-mini h4 { font-size: .95rem; margin: 0; line-height: 1.35; font-family: var(--font-body); font-weight: 700; }
.feature-mini:nth-child(4n+1) { border-top-color: var(--color-royal-blue); }
.feature-mini:nth-child(4n+1) .card-icon { color: var(--color-royal-blue); }
.feature-mini:nth-child(4n+2) { border-top-color: var(--color-berry); }
.feature-mini:nth-child(4n+2) .card-icon { color: var(--color-berry); }
.feature-mini:nth-child(4n+3) { border-top-color: var(--color-gold); }
.feature-mini:nth-child(4n+3) .card-icon { color: var(--color-gold-dark); }
.feature-mini:nth-child(4n+4) { border-top-color: var(--color-deep-blue); }
.feature-mini:nth-child(4n+4) .card-icon { color: var(--color-deep-blue); }
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-image-badge {
  position: absolute; bottom: -18px; right: -18px; background: var(--gradient-gold); color: #FBF3E9;
  padding: 18px 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); text-align: center;
}
.about-image-badge .num { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; display: block; }
.about-image-badge .label { font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; }

/* Review-platform icon row (replaces a standalone "Google Reviews" section) */
.review-platforms { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 18px; }
.review-platform-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--color-border);
  border-radius: 50px; padding: 10px 22px; font-weight: 700; font-size: .95rem; color: var(--color-deep-blue);
  transition: box-shadow .2s ease, transform .2s ease;
}
.review-platform-badge:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); color: var(--color-deep-blue); }
.review-platform-badge i { font-size: 1.2rem; color: var(--color-gold-dark); }
.review-platform-badge .stars { color: var(--color-gold); font-size: .85rem; margin-left: 4px; }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); position: relative; height: 100%; }
.testimonial-card .quote-icon { color: var(--color-gold); font-size: 2.4rem; opacity: .5; }
.testimonial-rating i { color: var(--color-gold); }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.testimonial-author img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-weight: 700; color: var(--color-deep-blue); }
.testimonial-author .role { font-size: .82rem; color: var(--color-text-muted); }

/* Client logos */
.client-badge {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 20px 14px; text-align: center; font-weight: 700; color: var(--color-deep-blue); height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.client-badge:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.client-badge .client-cat { font-size: .72rem; color: var(--color-text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: .5px; }
.client-badge .client-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--color-bg-light); color: var(--color-berry);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 4px;
}

.logo-slider { overflow: hidden; position: relative; }
.logo-track { display: flex; gap: 40px; width: max-content; animation: scrollLogos 30s linear infinite; }
.logo-track span { white-space: nowrap; font-weight: 700; color: var(--color-text-muted); font-size: 1rem; padding: 10px 22px; border: 1px solid var(--color-border); border-radius: 50px; }
@keyframes scrollLogos { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Blog */
.blog-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); height: 100%; background: #fff; transition: box-shadow .3s ease, transform .3s ease; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.blog-card img { width: 100%; height: 210px; object-fit: cover; }
.blog-card .blog-body { padding: 24px; }
.blog-meta { font-size: .82rem; color: var(--color-text-muted); display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; }
.blog-category-badge { background: var(--color-bg-light); color: var(--color-royal-blue); padding: 4px 12px; border-radius: 50px; font-size: .75rem; font-weight: 700; }
.tag-pill { display: inline-block; background: var(--color-bg-grey); border-radius: 50px; padding: 4px 14px; font-size: .78rem; margin: 3px 4px 3px 0; color: var(--color-text-muted); }

/* FAQ Accordion */
.faq-accordion .accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-md) !important; margin-bottom: 14px; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 700; color: var(--color-deep-blue); background: #fff; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--color-royal-blue-light); background: var(--color-bg-light); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }

/* Contact page - "Other Regional Offices" accordion (grouped by state, so 9
   full addresses don't have to sit inline on the page taking up space). */
.office-accordion .accordion-item { border: 1px solid var(--color-border); border-radius: var(--radius-md) !important; margin-bottom: 12px; overflow: hidden; }
.office-accordion .accordion-button { font-weight: 700; color: var(--color-deep-blue); background: #fff; }
.office-accordion .accordion-button:not(.collapsed) { color: var(--color-royal-blue-light); background: var(--color-bg-light); box-shadow: none; }
.office-accordion .accordion-button:focus { box-shadow: none; }
.office-count-badge { margin-left: 12px; background: var(--color-bg-grey); color: var(--color-text-muted); font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 50px; }
.office-address-item { padding: 12px 14px; background: var(--color-bg-light); border-radius: var(--radius-md); height: 100%; }
.office-address-item strong { color: var(--color-deep-blue); display: block; margin-bottom: 4px; }

/* Company profile page - embedded PDF viewer */
.pdf-viewer-frame {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border); background: var(--color-bg-light);
}
.pdf-viewer-frame iframe { width: 100%; height: 85vh; min-height: 600px; border: 0; display: block; }

/* Gallery */
.gallery-item { border-radius: var(--radius-md); overflow: hidden; position: relative; cursor: pointer; box-shadow: var(--shadow-sm); }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,42,91,.75), transparent 60%); opacity: 0; transition: opacity .3s ease; display: flex; align-items: flex-end; padding: 16px; color: #fff; font-weight: 700; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-filters .btn { border-radius: 50px; margin: 4px; }
.video-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--color-border); }
.video-embed { position: relative; padding-top: 56.25%; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Team */
.team-card { text-align: center; background: #fff; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); height: 100%; }
.team-photo { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 4px solid var(--color-bg-light); }
.team-card h3 { font-size: 1.15rem; margin-bottom: 2px; }
.team-role { color: var(--color-gold-dark); font-weight: 700; font-size: .9rem; margin-bottom: 10px; }
.team-credentials { text-align: left; font-size: .85rem; color: var(--color-text-muted); padding-left: 18px; }
/* Service sidebar - industries shown as compact wrapping pill tags instead
   of a long vertical bullet list, so the "Industries We Serve" + "Why
   Choose ValOfficer" card doesn't read as a wall of text. */
.sidebar-pill-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.sidebar-pill-row .tag-pill { margin: 0; }

/* Locations */
.location-card { background: #fff; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); height: 100%; }
.location-card.is-hq { border: 2px solid var(--color-gold); }
.hq-badge { background: var(--gradient-gold); color: #241505; font-size: .72rem; font-weight: 800; padding: 4px 12px; border-radius: 50px; }
.location-search { max-width: 480px; margin: 0 auto 40px; }

/* Minimal location directory (grouped by state, city-name only) */
.location-state-heading {
  font-size: 1.3rem; color: var(--color-berry); border-bottom: 2px solid var(--color-border);
  padding-bottom: 10px; margin-bottom: 20px;
}
.location-mini-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 20px 16px; text-align: center; transition: transform .2s ease, box-shadow .2s ease;
}
.location-mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.location-mini-card h3 { font-size: 1.05rem; margin: 0; }
.location-mini-card.is-hq { border: 2px solid var(--color-gold); }

/* Case studies */
.case-study-card { border-left: 4px solid var(--color-gold); background: #fff; border-radius: var(--radius-md); padding: 26px; box-shadow: var(--shadow-sm); height: 100%; }
.case-study-value { font-family: var(--font-display); font-weight: 800; color: var(--color-royal-blue); font-size: 1.2rem; }

/* Contact page */
.contact-info-card { background: var(--gradient-primary); color: #fff; border-radius: var(--radius-lg); padding: 36px; }
.contact-info-card a { color: #fff; }
.contact-info-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-info-item i { font-size: 1.4rem; color: var(--color-gold); }
.contact-form-card { background: #fff; border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-md); }
.form-control, .form-select { border-radius: 10px; border: 1px solid var(--color-border); padding: 12px 16px; }
.form-control:focus, .form-select:focus { border-color: var(--color-royal-blue-light); box-shadow: 0 0 0 .2rem rgba(30,93,189,.15); }
.form-feedback.success { color: #1c7c3f; font-weight: 600; }
.form-feedback.error { color: #c0392b; font-weight: 600; }
.hours-table td { padding: 6px 0; }

/* Career */
.job-card { background: #fff; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.job-meta span { display: inline-block; margin-right: 16px; color: var(--color-text-muted); font-size: .88rem; }

/* Footer */
.cta-band { background: var(--gradient-primary); color: #fff; padding: 60px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #d9e3f5; max-width: 600px; margin: 0 auto 26px; }

.site-footer { background: #16192E; color: #b9b6c9; padding: 70px 0 0; }
.footer-top { padding-bottom: 20px; }
.footer-logo { margin-bottom: 16px; }
.footer-about { font-size: .9rem; }
.footer-heading { color: #fff; font-weight: 700; margin-bottom: 18px; font-family: var(--font-display); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #b9c6e0; font-size: .92rem; }
.footer-links a:hover { color: var(--color-gold); }
/* Same .footer-links markup is reused on light/white backgrounds (blog
   sidebar "Categories"/"Recent Posts", service page "Related Services",
   sitemap) with an added .card-link class - the light footer color above
   is far too low-contrast there, so darken it whenever that class is
   present. */
.footer-links a.card-link { color: var(--color-royal-blue); font-weight: 600; }
.footer-links a.card-link:hover { color: var(--color-gold-dark); }
.footer-address { font-size: .9rem; margin-bottom: 12px; }
.footer-social a { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); align-items: center; justify-content: center; color: #fff; margin: 4px 6px 4px 0; }
.footer-social a:hover { background: var(--color-gold); color: #FBF3E9; border-color: var(--color-gold); }
.footer-divider { border-color: rgba(255,255,255,.12); }
.portal-links a { display: inline-flex; align-items: center; gap: 8px; color: #b9c6e0; margin-right: 20px; margin-bottom: 10px; font-size: .9rem; }
.portal-links a:hover { color: var(--color-gold); }
.footer-bottom { background: #100D1F; padding: 18px 0; font-size: .85rem; margin-top: 40px; }
.legal-links { list-style: none; display: flex; gap: 18px; }
.legal-links a { color: #b9c6e0; }
.legal-links a:hover { color: var(--color-gold); }
.footer-credit { color: #8ea0c4; }
.footer-credit a { color: inherit; }
.footer-credit strong { color: var(--color-gold); }
.footer-credit a:hover strong { color: #fff; }

/* Floating buttons */
.floating-btn {
  position: fixed; width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; box-shadow: var(--shadow-lg); z-index: 1040; transition: transform .2s ease;
}
.floating-btn:hover { transform: scale(1.08); }
.whatsapp-btn { background: #25D366; color: #fff; right: 24px; bottom: 24px; }
.call-btn { background: var(--color-royal-blue); color: #fff; right: 24px; bottom: 90px; }
.back-to-top { background: var(--color-deep-blue); color: #fff; right: 24px; bottom: 156px; opacity: 0; visibility: hidden; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Utility */
.text-gold { color: var(--color-gold-dark) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.print-hide { }
@media print {
  .site-header, .site-footer, .floating-btn, .cta-band, .cookie-banner { display: none !important; }
}

/* Responsive tweaks */
@media (max-width: 991px) {
  .hero { padding: 80px 0 100px; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .hero-stats { justify-content: center; }
  .hero-badge { position: static; margin-top: 20px; display: inline-flex; }
}
@media (max-width: 576px) {
  .mega-menu { min-width: 100%; }
}
