/* ==========================================================================
   Suryansh Fincoll Services — Site Stylesheet
   Static frontend only. Built on Bootstrap 5 (CDN) + custom brand theme.
   Multi-color vibrant theme: navy structure, orange CTAs, purple links,
   teal icon accents, red tags — surfaces are warm tinted, never white.
   ========================================================================== */

:root {
  --navy: #1d3557;
  --navy-deep: #142640;
  --gold: #e07a1f;
  --gold-light: #f0a955;
  --royal-blue: #6a4c93;
  --royal-blue-light: #8a6bb5;
  --teal: #2a9d8f;
  --teal-light: #4dbfb0;
  --red: #d62839;
  --red-light: #e2596a;
  --white: #ffffff;
  --bg-page: #f0ece2;
  --surface: #f8f4ea;
  --bg-light: #e9e1d0;
  --bg-soft: #ddd2b7;
  --text-dark: #2a2420;
  --text-muted: #6b6157;
  --border-soft: #d6cab0;

  --shadow-sm: 0 2px 10px rgba(29, 53, 87, 0.08);
  --shadow-md: 0 10px 30px rgba(29, 53, 87, 0.12);
  --shadow-lg: 0 20px 45px rgba(29, 53, 87, 0.18);

  --radius: 14px;
  --transition: all 0.3s ease;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

p { color: var(--text-muted); }

a { text-decoration: none; color: var(--royal-blue); transition: var(--transition); }
a:hover { color: var(--gold); }

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

.section-pad { padding: 72px 0; }
@media (max-width: 767.98px) {
  .section-pad { padding: 48px 0; }
}

.section-pad-sm { padding: 44px 0; }
@media (max-width: 767.98px) {
  .section-pad-sm { padding: 34px 0; }
}

.bg-light-soft { background: var(--bg-light); }
.bg-navy { background: var(--navy) !important; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(224, 122, 31, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.section-title { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-sub { max-width: 680px; color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; padding: 12px 28px; transition: var(--transition); border: 2px solid transparent; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
}
.btn-gold:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light-custom {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-light-custom:hover { background: var(--surface); color: var(--navy); transform: translateY(-2px); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--royal-blue); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border-soft);
  transition: var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.navbar-brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; font-family: "Poppins", sans-serif; white-space: nowrap; }
.brand-text-main { font-weight: 800; color: var(--navy); font-size: 1.3rem; letter-spacing: 0.5px; }
.brand-text-sub { font-weight: 600; color: var(--gold); font-size: 0.76rem; letter-spacing: 1.6px; }
@media (max-width: 420px) {
  .navbar-brand img { height: 36px; }
  .navbar-brand.d-flex { gap: 6px !important; }
  .brand-text-main { font-size: 1.05rem; }
  .brand-text-sub { font-size: 0.6rem; letter-spacing: 0.9px; }
}
@media (max-width: 340px) {
  .brand-text-main { font-size: 0.92rem; }
  .brand-text-sub { font-size: 0.52rem; letter-spacing: 0.6px; }
}

.navbar-nav .nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 10px 16px !important;
  position: relative;
  white-space: nowrap;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--gold); }

.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-cta { margin-left: 8px; }

/* Tighten nav spacing right above the mobile breakpoint, where 8 items + a
   dropdown + CTA button are otherwise too cramped to fit on one line. */
@media (min-width: 992px) and (max-width: 1230px) {
  .navbar-nav .nav-link { padding: 10px 10px !important; font-size: 0.86rem; }
  .navbar-brand .brand-text-main { font-size: 1.1rem; }
  .navbar-brand .brand-text-sub { font-size: 0.66rem; }
  .nav-cta .btn { padding: 10px 18px; font-size: 0.86rem; }
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 18px 0; }
  .nav-cta { margin: 12px 0 0; display: inline-block; }
}

/* ---------- Nav dropdown (Services) ---------- */
.navbar-nav .dropdown-toggle::after { margin-left: 6px; vertical-align: 2px; }
.navbar-nav .dropdown-menu {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  margin-top: 10px;
  min-width: 300px;
}
.navbar-nav .dropdown-item {
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  white-space: normal;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
  background: var(--bg-light);
  color: var(--gold);
}
.navbar-nav .dropdown-divider { margin: 6px 4px; }
@media (min-width: 992px) {
  .navbar-nav .dropdown-menu { border-top: 3px solid var(--gold); }
}
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu { box-shadow: none; border: none; background: var(--bg-light); margin-top: 4px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 55%, var(--royal-blue) 100%);
  color: var(--white);
  padding: 0 0 56px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(224, 122, 31, 0.18), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(138, 107, 181, 0.35), transparent 50%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 20px; }
.hero .lead { color: rgba(255, 255, 255, 0.85); font-size: 1.15rem; max-width: 620px; }
.hero .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero-cta-group { flex-wrap: nowrap; }
@media (max-width: 575.98px) {
  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px !important;
    margin-top: 12px !important;
  }
  .hero-cta-group .btn {
    padding: 12px 8px;
    font-size: 0.86rem;
    text-align: center;
    white-space: nowrap;
  }
}
@media (max-width: 360px) {
  .hero-cta-group { gap: 14px !important; }
  .hero-cta-group .btn { padding: 10px 4px; font-size: 0.78rem; }
}

.hero-stats-strip {
  position: relative;
  margin-top: 40px;
  padding-top: 28px;
}
.hero-stats-strip::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12px;
  right: 12px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22) 15%, rgba(255, 255, 255, 0.22) 85%, transparent);
}
@media (max-width: 767.98px) {
  .hero-stats-strip { margin-top: 28px; padding-top: 22px; }
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: var(--transition);
}
.hero-stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(224, 122, 31, 0.4);
  transform: translateY(-2px);
}
.hero-stat-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 1.15rem;
}
.hero-stats-strip .stat-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 767.98px) {
  .hero-stat-item { padding: 12px; gap: 10px; border-radius: 12px; }
  .hero-stat-icon { width: 36px; height: 36px; font-size: 1rem; }
  .hero-stats-strip .stat-label { font-size: 0.78rem; }
}
@media (max-width: 360px) {
  .hero-stat-item { flex-direction: column; text-align: center; gap: 8px; }
}

/* ---------- Hero carousel ---------- */
.hero-carousel .carousel-item {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-carousel .carousel-item.active,
.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev { display: flex; }
.hero-carousel .carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Balanced scrim: dark enough on the text side for white-text contrast,
     but lets the photograph read clearly rather than disappearing. */
  background: linear-gradient(100deg, rgba(20, 38, 64, 0.82) 0%, rgba(29, 53, 87, 0.64) 45%, rgba(106, 76, 147, 0.32) 100%);
}
.hero-carousel .carousel-item .container { position: relative; z-index: 1; }
.hero-carousel h1,
.hero-carousel .hero-badge { text-shadow: 0 2px 12px rgba(20, 38, 64, 0.55); }
.hero-carousel .lead { text-shadow: 0 1px 8px rgba(20, 38, 64, 0.45); }

.hero-slide-1 { background-image: url("../images/hero/hero-photo-1.jpg"); background-position: center 35%; }
.hero-slide-2 { background-image: url("../images/hero/hero-photo-2.jpg"); background-position: 70% 48%; }

@media (max-width: 767.98px) {
  .hero-carousel .carousel-item {
    min-height: 460px;
    padding: 38px 0 46px;
    align-items: flex-start;
  }
  .hero-carousel .carousel-item::before {
    background: linear-gradient(180deg, rgba(20, 38, 64, 0.75) 0%, rgba(29, 53, 87, 0.58) 55%, rgba(29, 53, 87, 0.42) 100%);
  }
  .hero-slide-1 { background-position: 32% center; }
  .hero-slide-2 { background-position: 62% 25%; }
}

.hero-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  transition: var(--transition);
}
.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next { width: auto; opacity: 1; }
.hero-carousel .carousel-control-prev { left: 12px; }
.hero-carousel .carousel-control-next { right: 12px; }
.hero-carousel .carousel-control-prev:hover .hero-carousel-arrow,
.hero-carousel .carousel-control-next:hover .hero-carousel-arrow {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
@media (max-width: 767.98px) {
  .hero-carousel .carousel-control-prev,
  .hero-carousel .carousel-control-next { display: none; }
}
@media (max-width: 575.98px) {
  .hero-carousel-arrow { width: 34px; height: 34px; font-size: 0.9rem; }
}

.hero-carousel-indicators { bottom: -6px; margin-bottom: 0; }
.hero-carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  opacity: 1;
  margin: 0 5px;
}
.hero-carousel-indicators [data-bs-target].active {
  background-color: var(--gold);
  width: 26px;
  border-radius: 5px;
}

/* Page (inner) hero — for non-home pages */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 60%, var(--royal-blue) 100%);
  color: var(--white);
  padding: 64px 0 52px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .page-hero { padding: 48px 0 40px; }
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 90% 10%, rgba(224, 122, 31, 0.2), transparent 45%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.breadcrumb-custom { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; }
.breadcrumb-custom a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb-custom a:hover { color: var(--gold-light); }

/* ---------- Cards ---------- */
.card-custom {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card-custom:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(224, 122, 31, 0.4);
}

/* Cards meant to stack vertically by content (not stretch to match a
   sibling column's height) — e.g. the Contact page info list. */
.card-stack .card-custom { height: auto; }

/* Compact info card used for stacked contact-style content */
.info-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.info-card:hover { border-color: rgba(224, 122, 31, 0.4); box-shadow: var(--shadow-md); }
.info-card h5 { font-size: 1.05rem; margin-bottom: 4px; }
.info-card p { font-size: 0.92rem; margin-bottom: 0; }

.icon-tile {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  color: var(--gold-light);
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.card-custom h3, .card-custom h5 { font-size: 1.15rem; margin-bottom: 10px; }
.card-custom p { font-size: 0.95rem; margin-bottom: 18px; }

.learn-more-link {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.learn-more-link:hover { color: var(--gold); gap: 10px; }

/* ---------- Service card with photo ---------- */
.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}
.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card-media img { transform: scale(1.06); }
.service-card-body { padding: 26px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.service-card-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; }
.service-card-body p { font-size: 0.92rem; margin-bottom: 16px; }
.service-card-body .learn-more-link { margin-top: auto; }

/* ---------- Why choose us ---------- */
.feature-row {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
}
.feature-row:last-child { border-bottom: none; }
.feature-row .icon-tile { width: 50px; height: 50px; font-size: 1.25rem; margin-bottom: 0; flex-shrink: 0; }
.feature-row h4 { font-size: 1.02rem; margin-bottom: 4px; }
.feature-row p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Industries ---------- */
.industry-pill {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 26px 18px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.industry-pill:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-pill i { font-size: 1.8rem; color: var(--teal); margin-bottom: 12px; }
.industry-pill h5 { font-size: 0.98rem; margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--royal-blue));
  color: var(--white);
  border-radius: 20px;
  padding: 46px 48px;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 30%, rgba(224, 122, 31, 0.25), transparent 50%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255, 255, 255, 0.85); }
@media (max-width: 767.98px) { .cta-band { padding: 36px 24px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 56px 0 0; }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo-badge {
  background: var(--surface);
  border-radius: 12px;
  padding: 6px 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.footer-logo-badge img { height: 34px; width: auto; display: block; }
.footer-logo-text { font-family: "Poppins", sans-serif; font-weight: 800; color: var(--white); line-height: 1.2; letter-spacing: 0.5px; font-size: 1rem; }
.footer-logo-sub { font-weight: 600; color: var(--gold-light); letter-spacing: 1.6px; font-size: 0.62rem; }
.site-footer h5 { color: var(--white); font-size: 1rem; margin-bottom: 20px; }
.site-footer p { color: rgba(255, 255, 255, 0.65); }
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: var(--gold-light); }
.footer-links li { margin-bottom: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
  color: var(--white);
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 36px; padding: 20px 0; font-size: 0.86rem; }
.footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact-item i { color: var(--gold-light); margin-top: 3px; }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: 10px;
  border: 1.5px solid var(--border-soft);
  padding: 12px 16px;
  font-size: 0.95rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 0.2rem rgba(106, 76, 147, 0.14);
}
.form-label { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; }
.form-card {
  background: var(--surface);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 34px 36px;
  border: 1px solid var(--border-soft);
}
@media (max-width: 575.98px) { .form-card { padding: 24px 20px; } }

/* File upload */
.file-upload-box {
  border: 2px dashed var(--royal-blue-light);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  background: var(--bg-light);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.file-upload-box:hover, .file-upload-box.dragover {
  border-color: var(--gold);
  background: rgba(224, 122, 31, 0.06);
}
.file-upload-box i { font-size: 1.8rem; color: var(--royal-blue); margin-bottom: 10px; }
.file-upload-box .upload-title { font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.file-upload-box .upload-hint { font-size: 0.82rem; color: var(--text-muted); }
.file-upload-box input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-name-display {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--royal-blue);
  display: none;
}
.file-name-display.show { display: block; }
.file-upload-box-sm { padding: 16px 14px; }
.file-upload-box-sm i { font-size: 1.3rem; margin-bottom: 6px; }
.file-upload-box-sm .upload-title { font-size: 0.9rem; }
.file-upload-box-sm .upload-hint { font-size: 0.76rem; }

/* ---------- Map placeholder ---------- */
.map-embed-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-soft);
}
.map-embed-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* ---------- Misc ---------- */
.divider-gold { width: 64px; height: 4px; background: var(--gold); border-radius: 4px; margin: 0 0 20px; }
.text-gold { color: var(--gold); }
.about-photo-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--surface);
  outline: 1px solid var(--border-soft);
}
.about-photo-caption {
  background: var(--surface);
  box-shadow: var(--shadow-md);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: -50px;
  margin-left: 24px;
  margin-right: 24px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.value-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
  border-top: 4px solid var(--gold);
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--navy); }

/* Alert (form submit confirmation) */
.form-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 16px;
}

/* Job listing chip */
.chip {
  display: inline-block;
  background: var(--bg-soft);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  margin: 0 6px 6px 0;
}

/* ---------- Job filter buttons ---------- */
.btn-outline-navy.active,
.btn-outline-navy:active {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Timeline (Our Journey) ---------- */
.timeline { position: relative; padding-left: 36px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-soft);
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--red);
}
.timeline-item h5 { font-size: 1rem; margin-bottom: 4px; }
.timeline-item p { font-size: 0.92rem; margin-bottom: 0; }
.timeline-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}

/* ---------- Team card ---------- */
.team-card { text-align: center; }
.team-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--royal-blue));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}
.team-avatar-photo { padding: 0; overflow: hidden; }
.team-avatar-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h5 { margin-bottom: 2px; font-size: 1rem; }
.team-card .team-role { color: var(--red); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; display: block; }

/* ---------- Testimonial placeholder ---------- */
.testimonial-card {
  background: var(--surface);
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  height: 100%;
}
.testimonial-card i.bi-quote { font-size: 1.8rem; color: var(--red); }
.testimonial-card .testimonial-placeholder-text { font-style: italic; color: var(--text-muted); }

/* ---------- Success story card ---------- */
.story-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.story-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.story-card-media {
  padding: 0;
  line-height: 0;
}
.story-card-media img { width: 100%; height: 170px; object-fit: cover; }
.story-card-body { padding: 26px; }
.story-card .category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.story-card dt { font-size: 0.78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; }
.story-card dd { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0; }

/* ---------- Gallery ---------- */
.gallery-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  aspect-ratio: 4 / 3;
}
.gallery-tile:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px 12px;
  background: linear-gradient(0deg, rgba(20, 38, 64, 0.88), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}
.gallery-tile:hover .gallery-tile-caption { opacity: 1; transform: translateY(0); }
.gallery-filter-btn.active,
.gallery-filter-btn:active { background: var(--navy); color: var(--white); }

/* ---------- FAQ accordion ---------- */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius) !important;
  overflow: hidden;
  margin-bottom: 14px;
}
.faq-accordion .accordion-button {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  padding: 20px 24px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--bg-light);
  color: var(--navy);
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; border-color: var(--border-soft); }
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-body { padding: 4px 24px 22px; font-size: 0.95rem; color: var(--text-muted); }
.faq-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--border-soft);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy);
  background: var(--surface);
  transition: var(--transition);
  cursor: pointer;
}
.faq-category-pill.active,
.faq-category-pill:hover {
  border-color: var(--gold);
  background: var(--navy);
  color: var(--white);
}
