/* Kenturian Pulp & Paper Mills — corporate theme: navy blue accents */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');
:root{
  --brand-blue: #14335c;
  --brand-blue-light: #1f4a82;
  --brand-dark: #0a1a2e;
  --muted: #6c757d;
  --brand-gold: #d9a441;
  --brand-gold-dark: #a67c1e;
}
html {
  font-size: 17px; /* was default 16px — scales all rem-based sizing site-wide */
 scroll-behavior: smooth;
}
body {
  font-size: 1.05rem;
  line-height: 1.65;
}
body {
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background: #fff;
}
/* Navbar */
.navbar-custom {
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-light) 100%);
  border-bottom: none;
}
.navbar-brand .site-title {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
}
.navbar-brand .site-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
}
/* Hero */
.site-hero {
  background: linear-gradient(180deg, rgba(20,51,92,0.06), rgba(255,255,255,0));
  padding: 48px 0;
  margin-top: 8px;
}
.hero-card {
  border: 0;
  background: #fff;
  box-shadow: 0 6px 18px rgba(15,30,15,0.06);
  padding: 28px;
  border-radius: 8px;
}
/* Headings */
h1, .hero-title {
  color: var(--brand-dark);
  font-weight: 700;
}
.lead {
  color: var(--muted);
}
/* Cards */
.card-custom {
  border-radius: 8px;
  border: 1px solid #e9ecef;
  transition: transform .12s ease, box-shadow .12s ease;
}
.card-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(20,51,92,0.08);
}
/* Gallery thumbnails */
.gallery-thumb {
  width:150px;
  height:100px;
  overflow:hidden;
  border-radius:8px;
  border:1px solid #eee;
  background:#f8f9fa;
}

/* ================= FOOTER ================= */


.site-footer {
  background: #ffffff;
  padding: 8px 0 0;
}
.footer-top {
  padding: 0;
}

.footer-inner {
  background: #14335c;
  border-radius: 16px;
  max-width: 1750px;
  width: calc(100% - 8px);
  margin: 0 auto;
   padding: 28px 40px 20px;
  color: #d7e3f0;
  font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

.footer-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffffff;
  text-align: left;
  margin-bottom: 0;
}

.footer-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .footer-header-row {
    justify-content: center;
    text-align: center;
  }
  .footer-name { width: 100%; }
}

.footer-sections {
  border-top: none;
   padding-top: 16px; 
}

@media (min-width: 768px) {
  .footer-sections .footer-section:not(:first-child) {
    border-left: 1px solid rgba(255,255,255,0.15);
    padding-left: 28px;
  }
}
.footer-section {
  padding-right: 12px;
}

.footer-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;  
}

.footer-list li,
.footer-contact-list li {
  margin-bottom: 5px; 
}

.footer-link {
  color: #b9c8db;
  text-decoration: none;
  transition: color .12s ease;
}
.footer-link:hover,
.footer-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

.footer-address {
  color: #b9c8db;
  font-size: 0.93rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  text-decoration: none;
  transition: background .12s ease;
}
.social-btn:hover {
  background: rgba(255,255,255,0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
   margin-top: 16px;          /* was 28px */
  padding-top: 14px;  
  color: #b9c8db;
}


.footer-bottom .footer-link {
  color: #cbd8e8;
  opacity: 1;
}
.footer-bottom .footer-link:hover {
  color: #ffffff;
}

@media (max-width: 767px) {
  .footer-name { font-size: 1.4rem; }
  .footer-inner { padding: 28px 20px; border-radius: 10px; }
  .footer-section {
    border-left: none !important;
    padding-left: 0 !important;
  }
}
.section-block { padding: 4rem 0; }
.section-label {
  color: var(--brand-gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
}
.section-label .dot { display: inline-block; width: 8px; height: 8px; background: var(--brand-gold); border-radius: 50%; margin-right: 6px; }
.section-heading {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #14335c;
  font-size: 3rem;
  line-height: 1.1;
}
.arrow-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #14335c; color: #fff; font-size: 1.3rem; text-decoration: none;
}
.arrow-btn:hover { background: #0d223d; color: #fff; }

.purpose-dream-card {
  background: #14335c; color: #fff; border-radius: 16px;
  padding: 3rem 2.5rem; margin-top: 2rem;
}
.purpose-dream-card h3 { font-weight: 700; margin-bottom: 0.75rem; }
.vertical-divider { width: 1px; height: 100%; background: rgba(255,255,255,0.3); min-height: 120px; }

.values-heading {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2.5rem 0 2rem; font-weight: 600; letter-spacing: 1px;
}
.values-heading .line { flex: 1; height: 1px; background: rgba(255,255,255,0.4); max-width: 200px; }
.values-row .value-icon { font-size: 1.8rem; margin-bottom: 0.75rem; color: #fff; }
.values-row h4 { font-weight: 600; font-size: 1rem; }
.values-row p { font-size: 0.9rem; opacity: 0.85; }

.product-slideshow {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 0 2.5rem;
  overflow: visible;
}
.product-slideshow #productCarousel,
.product-slideshow .carousel-inner { overflow: hidden; }

.product-slideshow .carousel-item {
  --slide-accent: var(--brand-gold);
  position: relative;
  height: 60vh;
  min-height: 480px;
  max-height: 640px;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 120% 60% at 50% 0%,
      color-mix(in srgb, var(--slide-color) 70%, white 30%) 0%,
      transparent 65%
    ),
    linear-gradient(
      to bottom,
      var(--slide-color) 0%,
      color-mix(in srgb, var(--slide-color) 88%, white 12%) 45%,
      color-mix(in srgb, var(--slide-color) 62%, white 38%) 78%,
      color-mix(in srgb, var(--slide-color) 45%, white 55%) 100%
    );
}

/* subtle moving sheen so the color isn't flat/static */
.product-slideshow .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18), transparent 55%),
    radial-gradient(circle at 75% 85%, var(--slide-accent), transparent 60%);
  background-size: 160% 160%, 150% 150%;
  mix-blend-mode: soft-light;
  animation: productSheenMove 9s ease-in-out infinite alternate;
}
@keyframes productSheenMove {
  0%   { background-position: 0% 0%; }
  100% { background-position: 100% 40%; }
}

/* bring the arrows above the floating images */
.product-slideshow .carousel-control-prev,
.product-slideshow .carousel-control-next {
  width: 56px;
  height: 56px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  opacity: 1;
  z-index: 4;
  transition: background 0.2s ease, transform 0.2s ease;
}
.product-slideshow .carousel-control-prev { left: 24px; }
.product-slideshow .carousel-control-next { right: 24px; }
.product-slideshow .carousel-control-prev:hover,
.product-slideshow .carousel-control-next:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-50%) scale(1.08);
}

.product-slide-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 48px;
  max-width: 520px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.product-slide-content h2,
.product-slide-content h2 a { color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 700; text-decoration: none; }
.product-slide-content p {
  color: rgba(255,255,255,0.92);
  max-width: 420px;
  margin: 0 auto;
  text-align: center;
}

.product-float-img {
  position: absolute;
  bottom: -20px;
  height: 82%;
  width: 38%;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.25));
  pointer-events: none;
  border-radius: 12px;
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at center, #000 70%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 90% at center, #000 70%, transparent 100%);
}
.product-float-img.left { left: -2%; }
.product-float-img.right { right: -2%; transform: scaleX(-1); }
.product-dots {
  position: static;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.product-dots [data-bs-target] {
  width: 16px; height: 16px;
  border-radius: 4px;
  opacity: 0.55;
  border: 2px solid rgba(0,0,0,0.15);
  margin: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.product-dots [data-bs-target].active { opacity: 1; transform: scale(1.15); }

@media (max-width: 767px) {
  .product-slideshow .carousel-item { height: 320px; }
  .product-float-img { height: 70%; max-width: 32%; }
}
.process-step .process-num {
  font-size: 2rem; font-weight: 700; color: var(--brand-gold-dark); margin-bottom: 0.5rem;
}
.process-step h4 { font-weight: 600; color: #14335c; }
.process-step p { font-size: 0.9rem; color: #555; }

.stats-strip { background: #14335c; color: #fff; padding: 3rem 0; }
.stat-number { font-size: 2.5rem; font-weight: 700; }
.stat-label { font-size: 0.9rem; opacity: 0.85; }

.quote-strip { background: #f4f4f4; padding: 3.5rem 0; text-align: center; }
.quote-strip h2 { color: #14335c; font-weight: 700; margin-bottom: 0.5rem; }
.btn-quote {
  background: var(--brand-gold); color: var(--brand-dark); border: none;
  padding: 0.7rem 2rem; font-weight: 600; border-radius: 6px; margin-top: 1rem;
}
.btn-quote:hover { background: var(--brand-gold-dark); color: #fff; }

.whatsapp-bubble {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  background: #25D366; color: #fff; width: 56px; height: 56px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.whatsapp-bubble:hover { color: #fff; transform: scale(1.05); }
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;               /* was 40-44px depending on rule */
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  transform: translateY(-2px);
}
.social-row { flex-wrap: wrap; }
.container {
  max-width: 1600px;
}
.hero-card {
  border-radius: 0;
  padding: 0;
  margin: 0;
}
/* Underline-on-hover for nav links (not the Contact button) */
.navbar-custom .nav-link {
  position: relative;
  padding-bottom: 4px;
  color: rgba(255, 255, 255, 0.9);
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: #ffffff;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}
.navbar-custom .nav-link:hover::after {
  width: 100%;
}

/* Contact Us pill button */
.btn-contact-pill {
  background: #fff;
  color: #14335c;
  border: 2px solid #fff;
  border-radius: 30px;
  padding: 0.4rem 1.4rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-contact-pill:hover {
  background: #14335c;
  color: #fff;
  border-color: #fff;
}

.nav-search-toggle {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
}
.nav-search-toggle:hover,
.nav-search-toggle:focus {
  color: #ffffff;
}

/* Expanding search box */
.nav-search-box {
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.3s ease;
}
.nav-search-box.open {
  max-width: 240px;
}
.nav-search-input {
  width: 100%;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  margin-top: 0.5rem;
}
/* Ken Burns effect for hero carousel images */
.carousel-item {
  overflow: hidden;
}

.hero-img {
  will-change: transform;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }
  100% {
    transform: scale(1.15) translate(-2%, -2%);
  }
}
/* Shrinking sticky header on scroll */
.navbar-custom {
  transition: padding 0.3s ease, box-shadow 0.3s ease;
  padding-top: 14px;
  padding-bottom: 14px;
}
.navbar-custom.scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}
.navbar-custom .site-logo {
  transition: height 0.3s ease;
}
.navbar-custom.scrolled .site-logo {
  height: 44px;
}
/* Hover-reveal effect on value cards */
.value-item {
  padding: 1.5rem 1rem;
  border-radius: 12px;
  transition: transform 0.25s ease, background 0.25s ease;
  cursor: default;
}
.value-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}
.value-item .value-icon {
  transition: transform 0.25s ease, color 0.25s ease;
}
.value-item:hover .value-icon {
  transform: scale(1.25);
  color: #ffffff;
}
.value-item p {
  opacity: 0.85;
  transition: opacity 0.25s ease;
}
.value-item:hover p {
  opacity: 1;
}
.purpose-dream-icon {
  color: #ffffff;
  font-size: 1.4rem;
  margin-right: 0.5rem;
  vertical-align: -2px;
}
/* Active nav link (current page) */
.navbar-custom .nav-link.active {
  color: #ffffff;
  font-weight: 700;
}
.navbar-custom .nav-link.active::after {
  width: 100%;
}
/* ===== About Us page ===== */

/* Page banner hero (smaller than homepage) */
.page-banner {
  position: relative;
  height: 380px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}
.page-banner .banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: kenburns 10s ease-in-out infinite alternate;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11,31,58,0.40) 0%, rgba(11,31,58,0) 70%),
    linear-gradient(to top, rgba(11,31,58,0.65) 0%, rgba(11,31,58,0.10) 45%, rgba(11,31,58,0.25) 100%);
  z-index: 1;
}
.page-banner .banner-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.page-banner .banner-content h1 {
  font-weight: 800;
  font-size: 2.6rem;
  color: #ffffff;
}
.page-banner .banner-subtitle {
  display: inline-block;
  color: var(--brand-gold);
  background: rgba(10, 26, 46, 0.45);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.3px;
  margin-top: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
.page-banner .breadcrumb-text {
  color: rgba(255,255,255,0.95);
  font-size: 0.9rem;
  margin-top: 0.75rem;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.page-banner .banner-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  text-align: center;
}
.page-banner .banner-badge .badge-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.page-banner .banner-badge .badge-label {
  font-size: 0.7rem;
  opacity: 1;
  letter-spacing: 0.5px;
  color: var(--brand-gold);
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}
/* Our Story */
.story-image {
  border-radius: 16px;
  overflow: hidden;
}
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(20, 51, 92, 0.2);
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #14335c;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px rgba(20, 51, 92, 0.2);
}
.timeline-year {
  color: var(--brand-gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
.timeline-item h4 {
  font-weight: 700;
  color: #14335c;
  margin-top: 0.25rem;
}

/* Values as light icon cards (About page variant, distinct from navy homepage cards) */
.value-card-light {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card-light:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20, 51, 92, 0.12);
}
.value-card-light .value-icon-light {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #14335c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.leadership-card {
    text-align: center;
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
}

.leadership-photo {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.25rem;
    border: 3px solid var(--brand-gold);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.leadership-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--brand-navy, #14335c);
    margin-bottom: 0.25rem;
}

.leadership-title {
    color: var(--brand-gold);
    font-weight: 700;   /* was 500 */
    font-size: 1rem;    /* slightly bigger helps too */
}

.leadership-bio {
    background: #fdfaf4;
    border: 1px solid #eee1c8;
    border-radius: 10px;
    padding: 1.25rem;
    margin-top: 1.25rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic; /* optional, gives it a "personal statement" feel */
}
/* Footer: subtle background pattern (diagonal recycling-inspired lines) */
.footer-inner {
  position: relative;
  overflow: hidden;
}

.row.justify-content-center.g-4 {
    display: flex;
    align-items: stretch;
}

.leadership-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.leadership-bio {
    background: #faf6ec;
    border: none;
    border-left: 3px solid var(--brand-gold);
    border-radius: 6px 10px 10px 6px;
    padding: 1.25rem;
    margin-top: 1.25rem;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.7;
    font-style: italic;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
}

/* Footer mini stats row */
.footer-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0;
  border-bottom: none;
  margin-bottom: 0;
}
.footer-stats .footer-stat {
  text-align: center;
}
.footer-stats .footer-stat-number {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.footer-stats .footer-stat-label {
  font-size: 0.7rem;
  color: #b9c8db;
  letter-spacing: 0.4px;
  margin-top: 2px;
}
.breadcrumb-link {
  color: rgba(255,255,255,0.95);
  text-decoration: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.breadcrumb-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* WhatsApp button tooltip */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  bottom: 14px;
  background: #14335c;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.whatsapp-bubble:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}
.whatsapp-bubble {
  transition: bottom 0.25s ease;
}
.whatsapp-bubble.above-footer {
  bottom: 90px;
}
.process-step p {
  font-size: 1rem; /* was 0.9rem */
}
.values-row p {
  font-size: 1rem; /* was 0.9rem */
}
.value-card-light p {
  font-size: 0.95rem !important; /* was inheriting Bootstrap's .small at 0.875rem */
}
/* ===== Careers Page ===== */

.page-hero-careers {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 120px 0 90px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,46,0.55) 0%, rgba(20,51,92,0.35) 50%, rgba(10,26,46,0.7) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  z-index: 1;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-careers h1 {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.page-hero-careers .lead {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  color: var(--brand-gold);
  background: rgba(10, 26, 46, 0.45);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 1.15rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.page-hero-careers .hero-intro {
  max-width: 640px;
  font-size: 1rem;
  opacity: 0.9;
  margin: 1rem auto 0;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  z-index: 2;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}
/* Vacancies section */
.vacancies-section .vacancies-icon {
  font-size: 2.75rem;
  color: #14335c;
  margin-bottom: 1rem;
  display: inline-block;
}

.vacancies-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #14335c;
  margin-bottom: 0.5rem;
}

.vacancies-section p {
  max-width: 480px;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Employee Stories carousel */
.employee-stories h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #14335c;
}

.story-quote {
  overflow: visible;
}

.story-quote::before {
  content: "\201C";
  font-size: 3.5rem;
  color: #d4af37;
  font-family: Georgia, serif;
  position: absolute;
  top: -1.5rem;
  left: 0.5rem;
  line-height: 1;
}

.story-author {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: #14335c;
  font-size: 0.95rem;
}



/* CTA banner */
.careers-cta {
  background: #f7f8fa;
  color: #14335c;
}

.careers-cta h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #14335c;
  margin-bottom: 0.5rem;
}

.careers-cta p {
  color: #555;
  opacity: 1;
  margin-bottom: 1.5rem;
}

.btn-light-arrow {
  background: #d4af37; /* gold accent */
  color: #14335c;
  border: none;
  font-weight: 600;
}

.btn-light-arrow:hover {
  background: #c29c2f;
  color: #14335c;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}
.scroll-cue {
  bottom: 60px; /* was 24px */
}
.job-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(20,51,92,0.08);
  border-top: 4px solid var(--brand-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(20,51,92,0.14);
}

.job-card h3 {
  color: #14335c;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.job-meta i {
  color: #d4af37;
  margin-right: 0.25rem;
}

.job-card p {
  color: #444;
  margin-bottom: 1.25rem;
}

.no-vacancies {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.job-detail-body {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  line-height: 1.7;
}.application-form-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.application-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.application-form label {
  font-weight: 600;
  color: #14335c;
  margin-top: 1.1rem;
  display: block;
  font-size: 0.95rem;
}

.application-form label i {
  color: #d4af37;
  margin-right: 0.4rem;
}

.application-form input[type="text"],
.application-form input[type="email"],
.application-form textarea,
.application-form input[type="file"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  margin-top: 0.4rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.application-form input:focus,
.application-form textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
}

.form-error-note {
  color: #c0392b;
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

/* Success state */
.application-success-card {
  background: #fff;
  border-radius: 16px;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.success-check {
  width: 72px;
  height: 72px;
  background: #14335c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-check i {
  color: #d4af37;
  font-size: 2rem;
}

@keyframes popIn {
  0% { transform: scale(0); opacity: 0; }
  70% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

.application-success-card h3 {
  color: #14335c;
  font-weight: 700;
}
.job-overview {
  max-width: 800px;
  margin: 0 auto;
}

.job-key-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1rem 0 2rem;
  padding: 1.25rem 1.5rem;
  background: #f7f8fa;
  border-left: 4px solid #d4af37;
  border-radius: 8px;
}

.key-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #14335c;
  font-weight: 600;
  font-size: 0.95rem;
}

.key-detail i {
  color: #d4af37;
  font-size: 1.1rem;
}

.job-detail-body {
  color: #333;
  line-height: 1.8;
  font-size: 1.02rem;
}

.job-detail-body p {
  margin-bottom: 1.1rem;
}
/* Employee stories - true filmstrip carousel */
.stories-viewport {
  overflow: hidden;
  max-width: 1264px;
  margin: 0 auto;
}
.stories-track {
  display: flex;
  align-items: stretch;
  gap: 2rem;
  width: max-content;
}
.story-slot {
  flex: 0 0 400px;
  min-height: 320px;
  border-radius: 20px;
  padding: 2.25rem 2rem;
  display: flex;
  align-items: center;
  position: relative;
  background: transparent;
  color: var(--muted);
  transition: opacity 0.3s ease;
}
.story-slot .story-slot-text {
  display: -webkit-box;
  -webkit-line-clamp: 9;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.story-slot-active {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 12px 30px rgba(20,51,92,0.2);
}
.story-slot-active .story-slot-text {
  font-size: 1rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}
.story-slot-quote-mark {
  position: absolute;
  top: 0.75rem;
  left: 1.5rem;
  font-size: 3rem;
  font-family: Georgia, serif;
  color: var(--brand-gold);
  line-height: 1;
  opacity: 0.9;
}
.story-slot-tail {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 20px;
  height: 20px;
  background: var(--brand-blue);
  border-radius: 3px;
}
.story-author-name {
  font-weight: 700;
  color: var(--brand-blue);
  font-size: 1.05rem;
}
.story-author-role {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2px;
}
@media (max-width: 767px) {
  .stories-viewport { max-width: 100%; }
  .story-slot { flex: 0 0 260px; min-height: 240px; padding: 1.75rem 1.5rem; }
}

/* News page: category filters + badges */
.btn-navy {
  background-color: #14335c;
  border-color: #14335c;
  color: #fff;
}
.btn-navy:hover {
  background-color: #0f2745;
  border-color: #0f2745;
  color: #fff;
}
.btn-outline-navy {
  background-color: transparent;
  border-color: #14335c;
  color: #14335c;
}
.btn-outline-navy:hover {
  background-color: #14335c;
  color: #fff;
}
.badge-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background-color: #14335c;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}
.badge-category:hover {
  background-color: #0f2745;
  color: #fff;
}
.pagination .page-link {
  color: #14335c;
}
.pagination .page-item.active .page-link {
  background-color: #14335c;
  border-color: #14335c;
}

/* Simple navy banner for interior pages (news, etc.) that don't use the carousel hero */
.page-hero-navy {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: #14335c;
  min-height: 320px;
  display: flex;
  align-items: center;      /* was flex-end — lifts "Stay Informed" up */
  overflow: hidden;
  margin: 0px 4px;
  border-top: 8px solid #ffffff;
}

.page-hero-navy.hero-bg-animated::before {
  content: '';
  position: absolute;
  inset: -10%;
  background-image: var(--hero-bg-url);
  background-size: cover;
  background-position: var(--hero-bg-pos, center); 
  animation: kenburns 10s ease-in-out infinite alternate;
  z-index: 0;
}
.page-hero-navy.hero-bg-animated::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,46,0.55) 0%, rgba(20,51,92,0.35) 50%, rgba(10,26,46,0.7) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  z-index: 1;
}

.page-hero-navy-content {
  position: relative;
  z-index: 2;
}
.page-hero-navy-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 2.5rem 3rem;
  width: 100%;
}
.page-hero-navy .hero-title {
  color: #fff;
}
.page-hero-navy .lead {
  color: rgba(255, 255, 255, 0.85);
}
/* News detail: readable article layout */
.news-article-wrap {
  max-width: 800px;
}

/* Remove the header's bottom padding specifically on interior pages
   using the navy banner (news, careers, etc.) — keeps the homepage
   carousel's spacing untouched */
.site-hero:has(.page-hero-navy) {
    padding-bottom: 0;
}
.article-featured-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  box-shadow: 0 8px 24px rgba(20, 51, 92, 0.15);
}
.article-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #2a2a2a;
}
.article-body p {
  margin-bottom: 1.25rem;
}
.hero-meta-link {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.hero-meta-link:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
/* Separate navbar visually from the page hero banner below it */
.navbar-custom {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}
/* Push page content below the fixed navbar */
/* Push page content below the fixed navbar */
body {
  padding-top: 38px;
}

body.nav-scrolled {
  padding-top: 68px;
}
/* News page: tighter top spacing since page-hero-navy sits directly above */
.section-block-tight-top {
    padding-top: 1.5rem;
}

/* ===== Contact Page ===== */

.contact-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.contact-form-title {
  color: #14335c;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.contact-form-subtitle {
  color: #666;
  font-size: 0.95rem;
}
.contact-submit-btn {
  margin-top: 1.5rem;
  padding: 0.7rem 2rem;
  border-radius: 8px;
  font-weight: 600;
}

/* Right-hand navy info panel */
/* ===== Contact Page ===== */

/* Navy variant of the arrow-circle button, for the contact form
   (careers page uses the gold .btn-light-arrow variant) */
.btn-navy-arrow {
  background: #14335c;
  color: #fff;
  border: none;
  font-weight: 600;
}
.btn-navy-arrow:hover {
  background: #0d223d;
  color: #fff;
}

/* Right column: info card + map, laid out so the map can stretch
   to fill whatever height is left next to the form on the left */
.contact-right-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.contact-info-card {
  background: #14335c;
  color: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  flex: 0 0 auto;
}
.contact-info-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: #d7e3f0;
  font-size: 0.98rem;
  line-height: 1.5;
}
.contact-info-item a {
  color: #fff;
  text-decoration: none;
}
.contact-info-item a:hover {
  text-decoration: underline;
}
.contact-info-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-gold);
  font-size: 1.1rem;
}

.contact-map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  flex: 1 1 auto;
  min-height: 220px;
}
.contact-map-card iframe {
  display: block;
}

@media (max-width: 991px) {
  .contact-info-card {
    padding: 2rem 1.5rem;
  }
  .contact-map-card {
    min-height: 260px;
  }
}

.contact-map-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  line-height: 0;
}

@media (max-width: 991px) {
  .contact-form-card,
  .contact-info-card {
    padding: 2rem 1.5rem;
  }
}
.contact-map-card iframe {
  display: block;
  max-width: 100%;
}
.navbar-custom .nav-link {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1100px) {
  .navbar-custom .navbar-nav {
    gap: 0.25rem;
  }
  .navbar-custom .nav-link {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .navbar-brand .site-title {
    font-size: 0.95rem;
  }
}
.btn-order-pill {
  background: var(--brand-gold);
  color: var(--brand-dark);
  border: 2px solid var(--brand-gold);
  border-radius: 30px;
  padding: 0.4rem 1.4rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}
.btn-order-pill:hover {
  background: var(--brand-gold-dark);
  color: #fff;
  border-color: var(--brand-gold-dark);
}

/* Darkening overlay for hero-bg-animated (order page and any other page-hero-navy
   using a real photo) so white text stays readable regardless of photo brightness */
.page-hero-navy:not(.hero-bg-animated) .page-hero-navy-content {
  position: relative;
  z-index: 1;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main.container.mb-5 {
  flex: 1 0 auto;
}

.site-footer {
  flex-shrink: 0;
}

/* ================= HERO CAROUSEL — navy overlay + Ken Burns ================= */
:root {
  --brand-navy: #14335c;
  --brand-navy-deep: #0b1f3a;
  
  --brand-gold-hover: #c48f31;
}

#heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item {
  height: 92vh;
  min-height: 560px;
  max-height: 900px;
}

.hero-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
  will-change: transform;
}
/* Navy gradient scrim: darker top/bottom so caption + nav stay readable,
   lighter through the middle so the photo still reads clearly */
.hero-overlay-home {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(11, 31, 58, 0.40) 0%,
    rgba(11, 31, 58, 0.25) 25%,
    rgba(11, 31, 58, 0.08) 50%,
    rgba(11, 31, 58, 0) 65%
  ),
  linear-gradient(
    to top,
    rgba(11, 31, 58, 0.65) 0%,
    rgba(11, 31, 58, 0.15) 30%,
    rgba(11, 31, 58, 0) 55%
  );
  pointer-events: none;
  z-index: 1;
}
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;   /* anchor text toward the bottom, not center */
  padding-bottom: 80px;
}

.hero-caption-inner {
  max-width: 600px;
  margin-left: 60px;
  color: #fff;
  /* no background box — rely on the gradient overlay + text-shadow instead */
}

.hero-caption .hero-title {
  text-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 4px 18px rgba(0,0,0,0.4);
}
.hero-caption .lead {
  display: inline-block;
  color: #f0c869;
  background: rgba(10, 26, 46, 0.45);
  padding: 6px 14px;
  border-radius: 8px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

/* ---------- Ken Burns motion ---------- */
@keyframes kbZoomIn {
  0%   { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@keyframes kbPanRight {
  0%   { transform: scale(1.08) translateX(-2%); }
  100% { transform: scale(1.08) translateX(2%); }
}
@keyframes kbPanLeft {
  0%   { transform: scale(1.08) translateX(2%); }
  100% { transform: scale(1.08) translateX(-2%); }
}
.carousel-item.active .kb-zoom-in   { animation: kbZoomIn 7s ease-out forwards; }
.carousel-item.active .kb-pan-right { animation: kbPanRight 7s ease-in-out forwards; }
.carousel-item.active .kb-pan-left  { animation: kbPanLeft 7s ease-in-out forwards; }

/* ---------- Caption ---------- */
.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 780px;
  padding: 0 60px;
  color: #fff;
}

.hero-accent-line {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--brand-gold);
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.btn-gold {
  background-color: var(--brand-gold);
  border-color: var(--brand-gold);
  color: var(--brand-navy-deep);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-gold:hover {
  background-color: var(--brand-gold-hover);
  border-color: var(--brand-gold-hover);
  color: var(--brand-navy-deep);
  transform: translateY(-2px);
}

.btn-outline-light-cta {
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 600;
  padding: 10px 26px;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.btn-outline-light-cta:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- Indicators ---------- */
.hero-indicators { z-index: 3; bottom: 28px; }
.hero-indicators [data-bs-target] {
  width: 10px; height: 10px; border-radius: 50%;
  background-color: rgba(255,255,255,0.5);
  border: none; margin: 0 5px; opacity: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hero-indicators .active {
  background-color: var(--brand-gold);
  transform: scale(1.25);
}

/* ---------- Controls ---------- */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next { z-index: 3; width: 6%; opacity: 0.75; }
#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover { opacity: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  #heroCarousel, #heroCarousel .carousel-inner, #heroCarousel .carousel-item {
    height: 80vh; min-height: 480px;
  }
  .hero-caption { text-align: center; align-items: center; padding: 0 24px; }
  .hero-cta-group { justify-content: center; }
}
.hero-title {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-img.kb-tight {
  transform: scale(1.15);
}

.hero-caption-inner {
  opacity: 0;
  transform: translateY(24px);
}

.carousel-item.active .hero-caption-inner {
  animation: heroCaptionIn 0.8s ease forwards;
  animation-delay: 0.3s; /* let the fade transition finish first */
}

@keyframes heroCaptionIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.article-body h4 {
  color: #14335c;       /* matches your brand navy, used elsewhere for headings */
  font-weight: 700;
  margin-top: 2rem;      /* breathing room from the previous paragraph */
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.article-body h4:first-of-type {
  margin-top: 0;          /* avoid extra gap before the very first heading */
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  padding: 1.75rem;
  text-decoration: none;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #14335c;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20,51,92,0.25);
  color: #fff;
}
.news-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,46,0.1) 0%, rgba(10,26,46,0.75) 65%, rgba(10,26,46,0.95) 100%);
  z-index: 1;
}
.news-card-noimage {
  background: linear-gradient(135deg, #14335c 0%, #1f4a82 100%);
}
.news-card-content {
  position: relative;
  z-index: 2;
}
.news-card-date {
  color: #d9a441;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 0.4rem;
}
.news-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.news-card-excerpt {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
}
.news-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  border-radius: 12px;
  overflow: hidden;
  padding: 1.75rem;
  text-decoration: none !important;
  color: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #14335c;
}
.news-card,
.news-card:hover,
.news-card:focus,
.news-card * {
  text-decoration: none !important;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(20,51,92,0.25);
  color: #fff;
}
.news-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.news-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,46,0.1) 0%, rgba(10,26,46,0.75) 65%, rgba(10,26,46,0.95) 100%);
  z-index: 1;
}
.news-card-noimage {
  background: linear-gradient(135deg, #14335c 0%, #1f4a82 100%);
}
.news-card-content {
  position: relative;
  z-index: 2;
}
.news-card-date {
  color: #d9a441 !important;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 0.4rem;
}
.news-card-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: #fff !important;
}
.news-card-excerpt {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88) !important;
}
.news-card-date {
  display: inline-block;
  color: #f0c869 !important;
  background: rgba(10,26,46,0.55);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-bottom: 0.6rem;
}

.product-slide-content h2,
.product-slide-content p {
  opacity: 0;
  transform: translateY(20px);
}

.carousel-item.active .product-slide-content h2 {
  animation: productTextIn 0.7s ease forwards;
  animation-delay: 0.2s;
}

.carousel-item.active .product-slide-content p {
  animation: productTextIn 0.7s ease forwards;
  animation-delay: 0.4s;
}

@keyframes productTextIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.page-hero-careers .hero-content h1,
.page-hero-careers .hero-content .lead,
.page-hero-careers .hero-content .breadcrumb-text ,
.page-hero-careers .hero-content .hero-intro
{
  opacity: 0;
  transform: translateY(24px);
  animation: heroCaptionIn 0.7s ease forwards;
}

.page-hero-careers .hero-content h1 {
  animation-delay: 0.2s;
}

.page-hero-careers .hero-content .lead {
  animation-delay: 0.4s;
}

.page-hero-careers .hero-content .breadcrumb-text {
  animation-delay: 0.6s;
}
.page-hero-careers .hero-content .hero-intro {
  animation-delay: 0.6s;
}

.job-detail-body {
  background: #f7f8fa;
  border-left: 4px solid var(--brand-gold);
  border-radius: 8px;
  padding: 1.5rem 1.75rem;
  margin-top: 1rem;
}
.application-form-card h3 {
  color: #14335c;
  font-weight: 700;
}

/* News hero: gold subtitle + staggered fade-in, matching About/Careers pattern */
.page-hero-navy .lead-gold {
  display: inline-block;
  color: var(--brand-gold);
  background: rgba(10, 26, 46, 0.45);
  padding: 6px 16px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 0.5rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.6);
}

.page-hero-navy .breadcrumb-text {
  margin-top: 0.75rem;
}

.page-hero-navy-content h1,
.page-hero-navy-content .lead,
.page-hero-navy-content .breadcrumb-text {
  opacity: 0;
  transform: translateY(24px);
  animation: heroCaptionIn 0.7s ease forwards;
}

.page-hero-navy-content h1 {
  animation-delay: 0.2s;
}

.page-hero-navy-content .lead {
  animation-delay: 0.4s;
}

.page-hero-navy-content .breadcrumb-text {
  animation-delay: 0.6s;
}

.page-hero-navy-content {
  text-align: center;
}
.breadcrumb-current {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8), 0 2px 8px rgba(0,0,0,0.6);
}
.card-title a,
.card-title a:visited {
  color: #14335c;
}

.card-title a:hover {
  color: #0f2745;
}

.card a.fw-semibold,
.card a.fw-semibold:visited {
  color: var(--brand-gold-dark);
}

.card a.fw-semibold:hover {
  color: var(--brand-gold);
}
.related-news-heading {
  color: #14335c;
  font-weight: 700;
}
.text-center.mt-4 a {
  color: #14335c;
  font-weight: 600;
}

.text-center.mt-4 a:hover,
.text-center.mt-4 a:visited {
  color: #14335c;
}
.related-news-section {
  background: #f7f8fa;
  border-radius: 16px;
  padding: 2.5rem;
  margin-top: 3rem;
}

.hero-badge {
  color: var(--brand-gold);
  border: 1px solid rgba(217, 164, 65, 0.4);
}

.hero-badge i {
  color: var(--brand-gold);
}
/* 1. Animated gradient background for the flat-navy hero (order page, and any other page-hero-navy without a photo) */
/* 1. Solid navy base for the flat hero (order page, and any other page-hero-navy without a photo) */
.page-hero-navy:not(.hero-bg-animated) {
  background: var(--brand-navy);
  position: relative;
  overflow: hidden;
}

/* 2. Single calm gold glow behind the heading */
.page-hero-navy:not(.hero-bg-animated)::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 50% at 50% 40%,
    rgba(217, 164, 65, 0.22),
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}


/* 3. Gold accent line above the heading */
.hero-accent-line.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* 4. Subtle breathing glow on the heading */
@keyframes titleGlow {
  0%, 100% { text-shadow: 0 2px 12px rgba(0,0,0,0.35); }
  50% { text-shadow: 0 2px 12px rgba(0,0,0,0.35), 0 0 24px rgba(217,164,65,0.25); }
}
.page-hero-navy:not(.hero-bg-animated) h1.hero-title {
  animation: heroCaptionIn 0.7s ease 0.2s forwards, titleGlow 4s ease-in-out 0.9s infinite;
}
.page-banner .banner-content h1,
.page-banner .banner-content .banner-subtitle,
.page-banner .banner-content .breadcrumb-text {
  opacity: 0;
  transform: translateY(24px);
  animation: heroCaptionIn 0.7s ease forwards;
}

.page-banner .banner-content h1 { animation-delay: 0.2s; }
.page-banner .banner-content .banner-subtitle { animation-delay: 0.4s; }
.page-banner .banner-content .breadcrumb-text { animation-delay: 0.6s; }
.application-form input[type="text"],
.application-form input[type="email"],
.application-form input[type="tel"],
.application-form input[type="number"],
.application-form input[type="date"],
.application-form select,
.application-form textarea,
.application-form input[type="file"] {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  margin-top: 0.4rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
/* Warmer tone for the order-success hero specifically */
.page-hero-navy.hero-success {
  background: linear-gradient(135deg, #14335c 0%, #3a5f8a 50%, #d9a441 100%);
}

.page-hero-navy.hero-success::before {
  background: radial-gradient(
    ellipse 70% 60% at 50% 35%,
    rgba(217, 164, 65, 0.35),
    transparent 70%
  );
}
/* Subtle background behind the success card, instead of flat white */
.success-page-bg {
  background:
    radial-gradient(circle at 20% 20%, rgba(20,51,92,0.04), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(217,164,65,0.05), transparent 45%),
    #ffffff;
}

/* Receipt-style treatment for the confirmed order summary */
.order-summary-confirmed {
  position: relative;
  border: 1px dashed rgba(20,51,92,0.35);
  border-radius: 10px;
  padding: 1.5rem 1.5rem 1rem;
  background: #fdfaf4;
}

.order-summary-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-gold);
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 14px;
  border-radius: 20px;
}

.order-summary-confirmed .job-key-details {
  background: transparent;
  border-left: none;
  padding: 0.5rem 0 0;
  margin: 0;
}
/* ===== Contact hero: taller, text below the sign, static photo ===== */
.page-hero-navy.hero-contact {
  min-height: 440px;
  align-items: flex-end;
}
.page-hero-navy.hero-contact .page-hero-navy-content {
  padding-bottom: 2rem;
}
.page-hero-navy.hero-contact .hero-accent-line {
  display: none;
}

/* No zoom: the photo has lettering in it, so keep it still */
.page-hero-navy.hero-contact.hero-bg-animated::before {
  inset: 0;
  animation: none;
}
/* Contact map: fill the card completely */
.contact-map-card {
  display: flex;
}
.contact-map-card iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}
/* Careers hero: breadcrumb spacing + room for it above the wave */
.page-hero-careers {
  padding-bottom: 140px;   /* was 90px, the breadcrumb adds a line */
}
.page-hero-careers .hero-content .breadcrumb-text {
  margin-top: 1rem;
  font-size: 0.9rem;
  animation-delay: 0.8s;   /* after the intro paragraph (0.6s) */
}
/* Homepage intro sections: About Us + Our Business */
#who-we-are,
#our-company {
  padding: 3.25rem 0;
}
#our-company {
  padding-top: 0.5rem; /* About Us's bottom padding already gives the gap above */
}
#who-we-are .col-md-7 > p,
#our-company .col-md-7 > p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}
.site-hero:has(#heroCarousel) {
  padding-bottom: 0;
}

/* Product slideshow: stacked layout on tablets/phones so text never overlaps images */
@media (max-width: 991px) {
  .product-slideshow .carousel-item {
    height: auto;
    min-height: 520px;
    max-height: none;
  }
  .product-slide-content {
    position: relative;
    inset: auto;
    max-width: 100%;
    /* py-5 on the element uses !important, so override it the same way */
    padding-top: 2.5rem !important;
    padding-bottom: 14rem !important; /* reserved band for the images */
  }
  .product-slide-content h2 {
    font-size: 1.6rem;
  }
  .product-slide-content p {
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 100%;
  }
  .product-float-img {
    height: 210px;
    width: 36%;
    max-width: none;
    bottom: -10px;
  }
  .product-float-img.left { left: -4%; }
  .product-float-img.right { right: -4%; }

  /* arrows: smaller, moved into the image band instead of over the text */
  .product-slideshow .carousel-control-prev,
  .product-slideshow .carousel-control-next {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: 90px;
    transform: none;
  }
  .product-slideshow .carousel-control-prev { left: 12px; }
  .product-slideshow .carousel-control-next { right: 12px; }
  .product-slideshow .carousel-control-prev:hover,
  .product-slideshow .carousel-control-next:hover {
    transform: scale(1.08);
  }
}
body {
  overflow-x: hidden;
}
@media (min-width: 768px) {
  .footer-header-row {
    padding-right: 56px; /* keeps the stats clear of the WhatsApp bubble */
  }
}
#our-process {
  padding: 3.25rem 0;
}
.footer-logo { height: 56px; width: auto; }

@media (max-width: 767px) {
  .footer-brand { width: 100%; justify-content: center; }
  .footer-brand .footer-name { width: auto; }
}
.social-btn[aria-disabled="true"] { cursor: default; }
.social-btn[aria-disabled="true"]:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: none;
}
/* ===== Management team + qualifications ===== */
.team-subheading {
  text-align: center;
  max-width: 1040px;
  margin: 3.5rem auto 1.75rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e3e7ee;
}
.team-subheading h3 { color: #14335c; font-weight: 700; font-size: 1.5rem; margin: 0.25rem 0 0; }
.team-grid { max-width: 1040px; margin: 0 auto; }
.team-card {
  text-align: center;
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem 1.1rem;
  height: 100%;
  box-shadow: 0 4px 16px rgba(20, 51, 92, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(20, 51, 92, 0.14); }
.team-photo {
  width: 120px; height: 120px;
  object-fit: cover; object-position: center top;
  border-radius: 50%;
  border: 3px solid var(--brand-gold);
  margin-bottom: 1rem;
}
.team-name { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.05rem; color: #14335c; margin-bottom: 0.2rem; }
.team-title { color: var(--brand-gold-dark); font-weight: 700; font-size: 0.9rem; margin: 0 0 0.6rem; }
.team-bio { font-size: 0.85rem; line-height: 1.55; color: #555; margin: 0; }

.leadership-qualifications,
.team-qualifications {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  background: rgba(20, 51, 92, 0.07);
  color: #14335c;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  border-radius: 12px;
  padding: 0.3rem 0.8rem;
  margin: 0.4rem 0 0.5rem;
}
.leadership-qualifications { font-size: 0.95rem; }
.team-qualifications { font-size: 0.82rem; }
.leadership-qualifications i,
.team-qualifications i { color: var(--brand-gold-dark); margin-top: 0.15em; }
/* No-JS fallback: show everything that AOS would otherwise keep hidden */
html:not(.js) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

/* No-JS: the mobile menu can't open without Bootstrap's JS, so show it */
html:not(.js) .navbar-toggler {
  display: none;
}
@media (max-width: 991.98px) {
  html:not(.js) .navbar-collapse.collapse:not(.show) {
    display: block;
  }
}
/* No-JS: carousel arrows and dots can't work, so hide them */
html:not(.js) .carousel-control-prev,
html:not(.js) .carousel-control-next,
html:not(.js) .carousel-indicators {
  display: none;
}
/* Employee stories: plain-card fallback when JS is off */
.stories-fallback { display: none; }
html:not(.js) .stories-fallback { display: block; }
html:not(.js) .stories-viewport,
html:not(.js) .story-author { display: none; }

.story-card {
  margin: 0;
  height: 100%;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 20px;
  padding: 1.75rem;
}
.story-card blockquote {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.7;
}
.story-card blockquote::before {
  content: "\201C";
  display: block;
  font-family: Georgia, serif;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand-gold);
}
.story-card figcaption strong { display: block; font-size: 1.05rem; }
.story-card figcaption span { display: block; font-size: 0.9rem; opacity: 0.8; margin-top: 2px; }
/* Order form: invalid fields */
.application-form .is-invalid {
  border-color: #c0392b !important;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}
.application-form .client-error {
  color: #c0392b;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
/* Spam trap: kept off-screen, not display:none, so bots still fill it in */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Success-card action buttons: layout only, the buttons keep their own styles */
.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
@media (max-width: 575px) {
  .success-actions .btn { width: 100%; }
}
.field-error { color: #b42318; font-size: 0.875rem; margin-top: 0.3rem; }
.form-hint { display: block; color: #6c757d; font-size: 0.8rem; margin-top: 0.3rem; }
/* ---- Multi-item order form ---- */
.order-item-row { border: 1px solid #e3e8ef; border-radius: 12px; padding: 1rem 1rem 0.25rem; margin-bottom: 1rem; background: #fafbfd; }
.order-item-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.order-item-title { font-weight: 700; color: #14335c; }
.btn-remove-item { background: none; border: none; color: #b42318; font-size: 0.85rem; padding: 0.25rem 0.5rem; border-radius: 6px; }
.btn-remove-item:hover { background: #fdecea; }

.order-recap { background: #f7f8fa; border-radius: 12px; padding: 1rem; }
.recap-items { padding-left: 1.2rem; margin-bottom: 0.75rem; color: #14335c; font-size: 0.92rem; }
.recap-items li { margin-bottom: 0.25rem; }

/* ---- Multi-item success page ---- */
.order-item-line { padding: 0.75rem 0; border-bottom: 1px dashed #e0d6bd; }
.order-item-line:last-of-type { border-bottom: none; }
.order-item-line-title { font-weight: 600; color: #14335c; margin-bottom: 0.4rem; }
.order-item-line-num { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #d9a441; color: #fff; font-size: 0.8rem; margin-right: 0.4rem; }
.order-total-line { text-align: right; padding-top: 0.6rem; color: #14335c; }

/* ---- Add-item tile ---- */
.add-item-tile { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0.85rem 1rem; margin: 0.25rem 0 0.5rem; background: transparent; border: 2px dashed #d9a441; border-radius: 12px; color: #14335c; font-weight: 600; transition: background 0.2s ease, border-color 0.2s ease; }
.add-item-tile i { color: #d9a441; font-size: 1.1rem; vertical-align: -2px; }
.add-item-tile:hover:not(:disabled) { background: #fdf6e7; border-color: #c48f2c; }
.add-item-tile:disabled { border-color: #ccd3dd; color: #8a94a6; cursor: not-allowed; }
.add-item-tile:disabled i { color: #8a94a6; }
.add-item-count { font-size: 0.85rem; font-weight: 500; color: #6c757d; }

/* ---- Folding item rows ---- */
.order-item-row.is-collapsed { padding: 0; background: #fff; margin-bottom: 0.6rem; }
.order-item-row.is-collapsed .order-item-body { display: none; }
.order-item-row:not(.is-collapsed) .order-item-summary { display: none; }
.order-item-summary { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0.8rem; cursor: pointer; border-radius: 12px; }
.order-item-summary:hover, .order-item-summary:focus-visible { background: #f5f7fa; outline: none; }
.order-item-badge { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: #14335c; color: #fff; font-size: 0.8rem; font-weight: 700; }
.order-item-summary-text { flex: 1 1 auto; min-width: 0; color: #14335c; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-item-actions { flex: 0 0 auto; display: flex; gap: 0.25rem; }
.btn-edit-item { background: none; border: none; color: #14335c; font-size: 0.85rem; padding: 0.25rem 0.5rem; border-radius: 6px; }
.btn-edit-item:hover { background: #e9eef5; }
.order-item-row.has-error { border-color: #b42318; }
.order-item-row.has-error .order-item-badge { background: #b42318; }
.order-item-row.is-collapsed.has-error .order-item-summary-text::after { content: "  · needs attention"; color: #b42318; font-weight: 600; }

@media (max-width: 576px) {
  .btn-edit-item span, .btn-edit-item { font-size: 0; padding: 0.35rem; }
  .btn-edit-item i { font-size: 0.95rem; }
}
/* ---- Success page items table ---- */
.order-items-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; color: #14335c; margin-top: 0.75rem; }
.order-items-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: #8a7a52; padding: 0.5rem 0.6rem; border-bottom: 2px solid #e0d6bd; }
.order-items-table td { padding: 0.55rem 0.6rem; border-bottom: 1px dashed #e8dfc8; }
.order-items-table .num { text-align: right; white-space: nowrap; }
.order-items-table .idx { width: 2rem; font-weight: 700; color: #d9a441; }
.order-items-table tfoot td { border-bottom: none; border-top: 2px solid #e0d6bd; font-weight: 700; padding-top: 0.7rem; }
.order-items-table tfoot td:first-child { text-align: right; font-weight: 500; }

@media (max-width: 576px) {
  .order-items-table thead { display: none; }
  .order-items-table tr { display: block; padding: 0.6rem 0; border-bottom: 1px dashed #e8dfc8; }
  .order-items-table td { display: flex; justify-content: space-between; border: none; padding: 0.15rem 0.2rem; text-align: right; }
  .order-items-table td::before { content: attr(data-label); font-weight: 600; color: #8a7a52; text-align: left; }
  .order-items-table td.idx { display: block; width: auto; text-align: left; }
  .order-items-table td.idx::before { content: "Item "; }
  .order-items-table tfoot tr { border-bottom: none; }
  .order-items-table tfoot td:first-child::before, .order-items-table tfoot td.num::before { content: none; }
}
/* ---- Wide order summary on success page ---- */
.order-summary-wide { max-width: 1000px; margin: 2rem auto 0; padding: 0 1rem; }
.order-summary-wide .order-summary-confirmed { max-width: none; padding: 1.75rem 1.5rem 1.25rem; }
.order-summary-wide .order-items-table { font-size: 0.95rem; }
.order-summary-wide .order-items-table td:nth-child(2) { font-weight: 600; }
.order-summary-meta { display: flex; flex-wrap: wrap; gap: 1.25rem; justify-content: flex-end; margin-top: 0.9rem; font-size: 0.88rem; color: #14335c; }
.order-summary-meta i { color: #d9a441; margin-right: 0.25rem; }

/* ---- Done button and Editing tag ---- */
.order-item-head-actions { display: flex; gap: 0.35rem; align-items: center; }
.btn-done-item { background: #14335c; color: #fff; border: none; font-size: 0.85rem; font-weight: 600; padding: 0.3rem 0.75rem; border-radius: 999px; }
.btn-done-item:hover { background: #0e2747; }
.order-item-editing { display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: #8a5a00; background: #fdf1d6; border-radius: 999px; vertical-align: 2px; }
.item-limit-note { margin: 0.25rem 0 0.5rem; padding: 0.6rem 0.8rem; font-size: 0.85rem; color: #5b6472; background: #f5f7fa; border-radius: 10px; }
.item-limit-note i { color: #14335c; }
.add-item-tile[hidden] { display: none; }
/* ---- Mobile menu button: visible on navy ---- */
.navbar-toggler { border-color: rgba(255,255,255,0.45); }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(217,164,65,0.45); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* ---- Phones: footer stats + WhatsApp button ---- */
@media (max-width: 991.98px) {
  /* Footer stats: all three on one row instead of 2 + 1 */
  .footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: center;
  }

  /* Leave room at the bottom so the WhatsApp button doesn't cover the copyright line */
  .site-footer { padding-bottom: 4.5rem; }

  /* WhatsApp: a little smaller and tucked into the corner */
  .whatsapp-bubble {
    width: 50px;
    height: 50px;
    right: 12px;
    bottom: 12px;
  }
  .whatsapp-bubble i { font-size: 1.5rem; }
  .whatsapp-tooltip { display: none; }
}

/* ---- Footer: long emails wrap instead of spilling into the next column ---- */
.footer-link[href^="mailto:"] { overflow-wrap: anywhere; }

/* ---- Footer on tablets: 2 x 2 instead of 4 narrow columns ---- */
@media (min-width: 768px) and (max-width: 991.98px) {
  .footer-section {
    flex: 0 0 50%;
    max-width: 50%;
    border-left: none !important;
    margin-bottom: 1.75rem;
    padding-left: calc(var(--bs-gutter-x) * 0.5) !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5) !important;
  }
}
/* ---- Never allow sideways scrolling (AOS slide-ins were widening the page) ---- */
html { overflow-x: hidden; }
body { overflow-x: clip; }
/* ---- Phones: big section headings + About values ---- */
@media (max-width: 575.98px) {
  .section-heading { font-size: clamp(1.9rem, 8vw, 2.4rem); line-height: 1.15; }

  /* About page values (light cards): one per row */
  .row:has(> [class*="col"] > .value-card-light) > [class*="col"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* ---- Phones: About hero badge sits below the text instead of over it ---- */
@media (max-width: 575.98px) {
  body .page-banner {
    height: auto;
    min-height: 0;
    padding-bottom: 3.5rem;
    flex-direction: column;      /* stack text, then badge */
    align-items: center;
    justify-content: center;
  }
  body .page-banner .banner-content {
    width: 100%;
    max-width: 100%;
  }
  body .page-banner .banner-badge {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    transform: none;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: max-content;
    margin: 1.25rem auto 0;
  }
}
/* ---- Tablets: values in 2 x 2 instead of 4 cramped columns ---- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .row:has(> [class*="col"] > .value-card-light) > [class*="col"],
  .values-row > [class*="col"] {
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 1.5rem;
  }
}
/* ---- Tablets: directors one per row, photo left, details right ---- */
@media (min-width: 576px) and (max-width: 991.98px) {
  .leadership-section .row > [class*="col"]:has(> .leadership-card) {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .leadership-section .leadership-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    column-gap: 1.75rem;
    align-items: start;
    text-align: left;
    height: auto;
  }

  .leadership-section .leadership-photo {
    grid-column: 1;
    grid-row: 1 / span 4;
    width: 150px;
    height: 150px;
    margin: 0;
  }

  .leadership-section .leadership-name,
  .leadership-section .leadership-qualifications,
  .leadership-section .leadership-title,
  .leadership-section .leadership-bio {
    grid-column: 2;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
  }

  .leadership-section .leadership-name { margin-top: 0.25rem; }
  .leadership-section .leadership-qualifications { justify-self: start; }
  .leadership-section .leadership-title { margin-bottom: 0.75rem; }
}/* ---- Phones: employee stories show one full-width card, no side slivers ---- */
@media (max-width: 991.98px) {
  .stories-track {
    transform: none !important;   /* ignore the JavaScript slide offset */
    width: 100%;                  /* was max-content: kept the text on one line */
    justify-content: center;
  }
  .story-slot:not(.story-slot-active) { display: none; }
    .story-slot-active {
    flex: 0 0 100%;
    max-width: 640px;
    margin: 0 auto;
    min-height: 0;
    padding: 2.75rem 1.5rem 2rem;
  }
  .story-slot-active .story-slot-text {
    display: block;               /* show the whole quote, no line limit */
    width: 100%;
    overflow: visible;
  }
}
/* ---- Full company name on two lines below 1200px ---- */
.brand-compact {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}
@media (min-width: 1200px) {
  .brand-compact { display: none; }     /* full single-line name + tagline take over */
}
@media (max-width: 399.98px) {
  .brand-compact { font-size: 0.8rem; } /* smallest phones */
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-custom .btn { white-space: nowrap; }   /* keep "Order Now" / "Contact Us" on one line */
}
/* ---- Phones: keep crest + name + menu button on one row ---- */
@media (max-width: 575.98px) {
  .navbar-custom .navbar-brand {
    white-space: normal;      /* Bootstrap's nowrap stopped the name from fitting */
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 0.5rem;
  }
  .navbar-custom .site-logo {
    height: 44px;
    width: auto;
    margin-right: 0.6rem !important;
  }
}
/* ---- Phones: wider form fields (less padding inside the form card) ---- */
@media (max-width: 575.98px) {
  .application-form-wrap { padding-left: 0; padding-right: 0; }
  .application-form-card { padding: 1.5rem 1.1rem; }
}
/* ---- Phones: contact hero title readable over the signage ---- */
@media (max-width: 575.98px) {
  .hero-contact .hero-title {
    display: inline-block;
    font-size: 2.2rem;
    padding: 0.15rem 1rem 0.3rem;
    border-radius: 12px;
    background: rgba(12, 28, 52, 0.6);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
  }
}
/* ---- Phones: order form item header, length/GSM, success total ---- */
@media (max-width: 575.98px) {
  /* 1. Item header on one line: hide the EDITING tag, icon-only Remove, compact Save */
  .order-item-head { flex-wrap: nowrap; gap: 0.5rem; }
  .order-item-title { white-space: nowrap; }
  .order-item-editing { display: none; }
  .order-item-head-actions .btn-remove-item { font-size: 0; padding: 0.35rem 0.5rem; }
  .order-item-head-actions .btn-remove-item i { font-size: 1rem; }
  .btn-done-item { white-space: nowrap; padding: 0.35rem 0.85rem; }

  /* 2. Length and GSM full width, one under the other */
  .order-item-body .row > .col-6 { flex: 0 0 100%; max-width: 100%; }

  /* 3. Success page: "Total · 2 items" and the kg on one line */
  .order-items-table tfoot tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.6rem;
  }
  .order-items-table tfoot td { display: block; border: none; padding: 0; }
}/* ---- Smooth Ken Burns (GPU-rendered, no pixel jitter, Firefox-safe) ---- */
@keyframes kenburns {
  0%   { transform: scale3d(1, 1, 1) translate3d(0, 0, 0) rotate(0.02deg); }
  100% { transform: scale3d(1.15, 1.15, 1) translate3d(-2%, -2%, 0) rotate(0.02deg); }
}
@keyframes kbZoomIn {
  0%   { transform: scale3d(1, 1, 1) rotate(0.02deg); }
  100% { transform: scale3d(1.12, 1.12, 1) rotate(0.02deg); }
}
@keyframes kbPanRight {
  0%   { transform: scale3d(1.08, 1.08, 1) translate3d(-2%, 0, 0) rotate(0.02deg); }
  100% { transform: scale3d(1.08, 1.08, 1) translate3d(2%, 0, 0) rotate(0.02deg); }
}
@keyframes kbPanLeft {
  0%   { transform: scale3d(1.08, 1.08, 1) translate3d(2%, 0, 0) rotate(0.02deg); }
  100% { transform: scale3d(1.08, 1.08, 1) translate3d(-2%, 0, 0) rotate(0.02deg); }
}
.kb-zoom-in, .kb-pan-right, .kb-pan-left,
.page-banner .banner-bg,
.page-hero-navy.hero-bg-animated::before {
  will-change: transform;
  backface-visibility: hidden;
  transform-origin: center center;
}
.carousel-item.active .kb-zoom-in,
.carousel-item.active .kb-pan-right,
.carousel-item.active .kb-pan-left {
  animation-timing-function: linear;
}
/* News article photo gallery */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 2rem;
}
.article-gallery-item { margin: 0; }
.article-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}
.article-gallery-item a:hover img { transform: scale(1.02); }
.article-gallery-item figcaption {
  font-size: 0.9rem;
  color: #6c757d;
  margin-top: 0.5rem;
}/* Lightbox caption: light text on the dark overlay instead of a white panel */
.glightbox-container.glightbox-clean .gslide-description {
  background: transparent;
}
.glightbox-container.glightbox-clean .gdesc-inner {
  padding: 12px 0 0;
  text-align: center;
}
.glightbox-container.glightbox-clean .gslide-title {
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
.glightbox-container .gslide-image img {
  max-height: calc(100vh - 100px) !important;
}/* News article featured photo, shown whole above the text */
.article-feature { margin: 0 0 2rem; }
.article-feature img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10, 26, 46, 0.12);
}
/* News cards: taller so more photo shows above the text, focus slightly high for faces */
.news-card {
  height: auto;
  min-height: 300px;
  aspect-ratio: auto;
}
.news-card-bg {
  background-position: center 25%;
}
/* ===== Homepage "Our People" section: header row + navy panel and crossfading photo card ===== */
.people-band {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(360px, 50vh, 480px);
  margin-top: 2.5rem;
  background: var(--brand-navy);
  border-radius: 20px;
  overflow: hidden;
}

/* Navy text panel */
.people-band-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 3rem clamp(1.5rem, 4vw, 3.5rem);
}
.people-band-text h2 {
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
}
.people-band-text p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}
.people-band-btn,
.people-band-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-gold);
  color: var(--brand-navy);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.people-band-btn:hover {
  color: var(--brand-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 164, 65, 0.4);
}

/* Photo side: crossfading slides with a slow zoom */
.people-band-media {
  position: relative;
  overflow: hidden;
}
.people-band-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 70%;
  opacity: 0;
  transition: opacity 1.5s ease;
  animation: peopleZoom 14s ease-in-out infinite alternate;
}
.people-band-slide.is-active { opacity: 1; }
@keyframes peopleZoom {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}

/* Tablets and phones: photo on top, navy panel below */
@media (max-width: 991.98px) {
  .people-band { grid-template-columns: 1fr; }
  .people-band-media { order: -1; min-height: 280px; }
  .people-band-text { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .people-band-slide { animation: none; transition: none; }
}
.people-section.section-block { padding-top: 2rem; }
@media (max-width: 991.98px) {
  .people-section.section-block { padding-top: 1rem; }
  .people-band-text { padding: 1.5rem 1.25rem; }
  .people-band-text h2 { font-size: 1.6rem; }
  .people-band-media { min-height: 240px; }
}
@media (max-width: 991.98px) {
  .news-card { min-height: 320px; }
}
/* Footer: full width like the header, content stays centred */
.site-footer { padding: 0; background: var(--brand-navy); }
.site-footer .footer-inner {
  max-width: none;
  width: 100%;
  margin: 0;
  border-radius: 0;
}
/* Our People band: crossfade only, no zoom (zoom jittered on large photos) */
.people-band-slide {
  animation: none;
  transform: none;
  will-change: opacity;
}