/* ════════════════════════════════════════════════════════════
   SINMAR – custom overrides & additions
   (Keep all project-specific CSS here, not in style.css)
════════════════════════════════════════════════════════════ */

/* ── CSS Variables (Eteon has no :root — define them here) ─ */
:root {
  --theme-color:     #c90826;
  --title-color:     #001840;
  --body-color:      #51668a;
  --white-color:     #ffffff;
  --border-color:    #e8e8e8;
  --secondary-color: #f4f6fb;
  --title-font:      'Barlow', sans-serif;
  --body-font:       'Inter', sans-serif;
}

/* ── Global font override: Inter replaces Heebo ──────────── */
body,
p, span, li, td, th, label, input, textarea, select, button,
.form-control, .btn, .nav-link {
  font-family: 'Inter', sans-serif !important;
}

/* ── Mobile Menu Sidebar ──────────────────────────────────── */
.vs-menu-wrapper {
  position: fixed;
  inset: 0;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}
.vs-menu-wrapper.vs-body-visible {
  visibility: visible;
  transition-delay: 0s;
}
.vs-menu-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.vs-menu-wrapper.vs-body-visible::before {
  opacity: 1;
}
.vs-menu-area {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.12);
}
.vs-menu-wrapper.vs-body-visible .vs-menu-area {
  transform: translateX(0);
}
.vs-menu-toggle {
  background: none;
  border: none;
  padding: 4px 8px;
  font-size: 18px;
  color: var(--title-color);
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}
.vs-menu-toggle:hover { color: var(--theme-color); }
.vs-mobile-menu { padding: 8px 0; flex: 1; overflow-y: auto; }
.vs-mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.vs-mobile-menu ul li a {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--title-color);
  border-bottom: 1px solid var(--border-color);
  font-family: var(--title-font);
  text-transform: capitalize;
  transition: color 0.2s, padding-left 0.2s;
}
.vs-mobile-menu ul li a:hover,
.vs-mobile-menu ul li.active a {
  color: var(--theme-color);
  padding-left: 28px;
}

/* ── Nav Social (Follow Us) ───────────────────────────────── */
.nav-social-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-social-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
}
.nav-social-list { gap: 10px; }
.nav-social-list a {
  color: #ffffff;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-social-list a:hover { color: var(--theme-color); }

/* ── Footer logos ─────────────────────────────────────────── */
.footer-logo-main { max-height: 60px; width: auto; }
.footer-logo-secondary { max-height: 40px; }

/* ── Mobile Menu ──────────────────────────────────────────── */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  flex-shrink: 0;
}
.mob-logo { max-height: 28px; width: auto; }

.mob-body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mob-contact {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
}
.mob-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--body-color);
  text-decoration: none;
  line-height: 1.4;
  transition: color .2s;
}
.mob-contact-row:hover { color: var(--theme-color); }
.mob-contact-icon {
  width: 28px;
  height: 28px;
  background: var(--theme-color);
  color: var(--white-color);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}
.mob-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border-color);
  flex-shrink: 0;
}

/* ── Consultation Banner Info Rows ────────────────────────── */
.cta-info-row {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 18px 22px;
  transition: background 0.3s ease;
}
.cta-info-row:hover { background: rgba(255,255,255,0.18); }
.cta-info-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--white-color);
  flex-shrink: 0;
  transition: background 0.3s ease;
}
.cta-info-row:hover .cta-info-icon { background: rgba(255,255,255,0.25); }
.cta-info-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 4px;
  font-family: var(--title-font);
}
.cta-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white-color);
  text-decoration: none;
  font-family: var(--title-font);
  line-height: 1.3;
  display: block;
}
.cta-info-value:hover { color: var(--white-color); opacity: 0.85; }
.mb-35 { margin-bottom: 35px; }

/* ── Certification Cards ──────────────────────────────────── */
.cert-card {
  position: relative;
  background: var(--white-color);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* Red left-edge accent that grows on hover */
.cert-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--theme-color);
  transition: height 0.4s ease;
  z-index: 5;
}
.cert-card:hover::after { height: 100%; }
.cert-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.13), 0 4px 14px rgba(0,0,0,0.07);
  transform: translateY(-8px);
}
/* Top red bar — always visible */
.cert-card-top {
  height: 4px;
  background: var(--theme-color);
  flex-shrink: 0;
}
/* Image area */
.cert-card-img {
  position: relative;
  overflow: hidden;
  background: #f8f7f3;
  aspect-ratio: 3/4;
  flex-shrink: 0;
}
/* Inner frame */
.cert-card-img::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(0,0,0,0.08);
  z-index: 2;
  pointer-events: none;
  transition: inset 0.4s ease, border-color 0.4s ease;
}
.cert-card:hover .cert-card-img::before {
  inset: 10px;
  border-color: rgba(0,0,0,0.14);
}
.cert-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
  display: block;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}
.cert-card:hover .cert-card-img img { transform: scale(1.04); }
/* ISO badge — top-right corner */
.cert-card-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--theme-color);
  color: var(--white-color);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-family: var(--title-font);
  padding: 6px 10px;
  text-transform: uppercase;
  z-index: 4;
  line-height: 1;
}
/* Hover overlay */
.cert-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.18) 50%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  opacity: 0;
  transition: opacity 0.38s ease;
  z-index: 3;
}
.cert-card:hover .cert-card-overlay { opacity: 1; }
.cert-card-overlay span {
  color: var(--white-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--title-font);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.cert-card-overlay span i { font-size: 11px; transition: transform 0.25s ease; }
.cert-card:hover .cert-card-overlay span i { transform: translateX(4px); }
/* Footer */
.cert-card-footer {
  padding: 20px 24px 22px;
  border-top: 1px solid rgba(0,0,0,0.07);
  background: var(--white-color);
}
.cert-card-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--title-color);
  font-family: var(--title-font);
  margin: 0 0 5px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.cert-card-sub {
  font-size: 0.78rem;
  color: #777;
  margin: 0;
  line-height: 1.45;
  font-family: var(--body-font);
}

/* ── Accordion icon — FA Pro (not Free) fix ─────────────── */
.accordion-item .accordion-item__title:after,
.accordion-item.opened .accordion-item__header:not(.collapsed) .accordion-item__title:after {
  font-family: "Font Awesome 5 Pro" !important;
}

/* ── About snippet: cta-banner responsive ───────────────── */
@media (max-width: 991px) {
  .about-layout1 .about__img { padding-right: 0; }
  .about-layout1 .cta-banner {
    position: static;
    transform: none;
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
    border: 10px solid #fff;
    padding: 20px 24px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }
  .about-layout1 .cta-banner .cta-banner__subtitle { font-size: 36px; margin-bottom: 0; }
  .about-layout1 .cta-banner .cta-banner__title { font-size: 16px; margin-bottom: 0; flex: 1; }
  .about-layout1 .cta-banner .btn { margin-top: 0; }
}
@media (max-width: 575px) {
  .about-layout1 .cta-banner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── FAQ section — better style & responsive ────────────── */
.faq .accordion-item {
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease;
  margin-bottom: 16px;
}
.faq .accordion-item .accordion-item__body {
  display: none;
}
.faq .accordion-item.opened .accordion-item__body {
  display: block;
}
.faq .accordion-item.opened {
  border-left-color: var(--theme-color);
}
.faq .accordion-item .accordion-item__title {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--title-color);
}
.faq .accordion-item.opened .accordion-item__header:not(.collapsed) .accordion-item__title {
  color: var(--theme-color);
}
.faq .accordion-item .accordion-item__body p {
  font-size: 14px;
  line-height: 1.75;
  color: var(--body-color);
  margin: 0;
}
@media (max-width: 991px) {
  .faq .row#faq-accordion { flex-direction: column; }
  .faq .row#faq-accordion > [class*="col"] { width: 100%; }
}

/* ── Section spacing on mobile ───────────────────────────── */
@media (max-width: 991px) {
  .space, .space-top { padding-top: 50px !important; }
}

/* ── Footer overflow fix (small screens) ─────────────────── */
.footer-wrapper { overflow-x: hidden; }

/* ══════════════════════════════════════════════════════════
   About page — Who We Are (split-panel layout)
══════════════════════════════════════════════════════════ */
.aw-section {
  display: flex;
  align-items: stretch;
  min-height: 700px;
  margin: 0 !important;
  padding: 0 !important;
}
.aw-img-panel {
  width: 48%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: #001d40;
}
.aw-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.aw-img-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,26,64,.55) 0%, rgba(201,8,38,.18) 100%);
  pointer-events: none;
}
.aw-text-panel {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 80px 70px;
}
.aw-content {
  max-width: 540px;
  width: 100%;
}
.aw-heading {
  margin-bottom: 28px;
}
.aw-heading__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #c90826;
  margin-bottom: 14px;
}
.aw-heading__tag::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: #c90826;
  flex-shrink: 0;
}
.aw-heading__title {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  color: #002a5c;
  line-height: 1.2;
  margin-bottom: 18px;
}
.aw-heading__line {
  width: 56px;
  height: 4px;
  background: #c90826;
  border-radius: 2px;
}
.aw-desc {
  font-size: 15px;
  line-height: 1.85;
  color: #5a6a7a;
  margin-top: 20px;
}
.aw-badge {
  position: absolute;
  bottom: 48px;
  right: 40px;
  z-index: 2;
  background: #c90826;
  color: #fff;
  padding: 20px 22px 16px;
  border-radius: 6px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 10px 30px rgba(201,8,38,.35);
}
.aw-badge__num {
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 4px;
}
.aw-badge__label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .88;
  line-height: 1.5;
}
@media (max-width: 991px) {
  .aw-section { flex-direction: column; }
  .aw-img-panel { width: 100%; height: 420px; }
  .aw-text-panel { padding: 50px 30px; }
  .aw-badge { bottom: 24px; right: 24px; }
}
@media (max-width: 575px) {
  .aw-text-panel { padding: 40px 20px; }
  .aw-stat__num { font-size: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════
   About page — Why SINMAR section
══════════════════════════════════════════════════════════ */
.why-sinmar {
  display: flex;
  min-height: 520px;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 4px solid #c90826;
}
.why-sinmar__left {
  width: 36%;
  flex-shrink: 0;
  background: #002a5c;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.why-sinmar__left::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  bottom: -120px; right: -100px;
  background: rgba(255,255,255,.04);
  pointer-events: none;
}
.why-sinmar__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c90826;
  margin-bottom: 18px;
  display: block;
}
.why-sinmar__heading {
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 28px;
}
.why-sinmar__bar {
  width: 48px;
  height: 4px;
  background: #c90826;
  border-radius: 2px;
  margin-bottom: 0;
}
.why-sinmar__right {
  flex: 1;
  background: #f8f9fc;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.why-sinmar__item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  padding: 32px 56px;
  border-bottom: 1px solid #e8ecf4;
  transition: background .2s;
}
.why-sinmar__item:last-child { border-bottom: none; }
.why-sinmar__item:hover { background: #fff; }
.why-sinmar__num {
  font-size: 2.5rem;
  font-weight: 900;
  color: #e8ecf4;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  transition: color .2s;
}
.why-sinmar__item:hover .why-sinmar__num { color: #c90826; }
.why-sinmar__title {
  font-size: 16px;
  font-weight: 700;
  color: #002a5c;
  margin-bottom: 6px;
}
.why-sinmar__desc {
  font-size: 14px;
  line-height: 1.75;
  color: #6c757d;
  margin: 0;
}
@media (max-width: 991px) {
  .why-sinmar { flex-direction: column; }
  .why-sinmar__left { width: 100%; padding: 50px 30px; }
  .why-sinmar__item { padding: 24px 30px; gap: 20px; }
  .why-sinmar__num { font-size: 1.8rem; width: 40px; }
}

/* ══════════════════════════════════════════════════════════
   About page — Mission & Vision cards
══════════════════════════════════════════════════════════ */
.mv-card {
  position: relative;
  border-radius: 12px;
  padding: 48px 40px 44px;
  overflow: hidden;
  height: 100%;
}
.mv-card--mission { background: #002a5c; }
.mv-card--vision  { background: #c90826; }
.mv-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.mv-label {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.mv-text {
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
  color: rgba(255,255,255,.88);
}
.mv-card::after {
  content: '';
  position: absolute;
  width: 180px; height: 180px;
  border-radius: 50%;
  bottom: -50px; right: -50px;
  pointer-events: none;
  background: rgba(255,255,255,.06);
}
@media (max-width: 767px) {
  .mv-card { padding: 36px 28px 32px; }
  .mv-icon { width: 58px; height: 58px; font-size: 1.6rem; }
  .mission-vision .col-12 + .col-12 { margin-top: 28px; }
}

/* ── Footer primary padding ──────────────────────────────── */
.footer-primary {
  padding-top: 100px !important;
  padding-bottom: 20px !important;
}

/* ── Footer Company Profile Download Card ─────────────────── */
.footer-dl-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-top: 22px;
  border: 1px solid rgba(255,255,255,0.12);
  border-left: 3px solid var(--theme-color);
  border-radius: 4px;
  background: rgba(255,255,255,0.05);
  text-decoration: none;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s ease;
}
.footer-dl-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateX(4px);
}
.footer-dl-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--theme-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  color: var(--white-color);
  flex-shrink: 0;
  transition: background 0.25s ease;
}
.footer-dl-card:hover .footer-dl-icon-wrap { background: color-mix(in srgb, var(--theme-color) 85%, white); }
.footer-dl-body { flex: 1; min-width: 0; }
.footer-dl-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--white-color);
  font-family: var(--title-font);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.footer-dl-sub {
  display: block;
  font-size: 10px;
  color: rgba(255,255,255,0.40);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-dl-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  flex-shrink: 0;
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.footer-dl-card:hover .footer-dl-btn {
  border-color: var(--theme-color);
  color: var(--theme-color);
  transform: translateY(2px);
}

/* ── WhatsApp Float Button ────────────────────────────────── */
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.5); opacity: 0;   }
  100% { transform: scale(1.5); opacity: 0;   }
}
.whatsapp-float {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 9990;
  width: 52px;
  height: 52px;
  background-color: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}
.whatsapp-float:hover {
  color: #fff;
  background-color: #1aad55;
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
.whatsapp-float .wa-tooltip {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #001840;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  letter-spacing: 0.02em;
}
.whatsapp-float .wa-tooltip::before {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #001840;
}
.whatsapp-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ── Scroll Top Button overrides ─────────────────────────── */
#scrollTopBtn {
  right: 28px;
  bottom: 28px;
  width: 44px;
  height: 44px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scrollTopBtn:hover { background-color: #c90826 !important; }

/* ── Footer credit link ───────────────────────────────────── */
.footer-credit {
  color: var(--theme-color);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-credit:hover { opacity: 0.8; color: var(--theme-color); }

/* ── Footer secondary slim copyright bar ─────────────────── */
.footer-secondary--slim {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
.ftr-copy-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.ftr-copy-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ftr-copy-text {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.ftr-legal-links {
  gap: 0;
}
.ftr-legal-links li a {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  padding: 2px 10px;
  border-left: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s;
  text-decoration: none;
}
.ftr-legal-links li:first-child a { border-left: none; }
.ftr-legal-links li a:hover { color: #c90826; }
@media (max-width: 767px) {
  .ftr-copy-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
  .ftr-legal-links li a { padding-left: 0; border-left: none; padding-right: 12px; }
}

/* ── Newsletter subscribe form AJAX feedback ─────────────── */
@keyframes sub-spin { to { transform: rotate(360deg); } }
.sub-btn-spin {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sub-spin 0.7s linear infinite;
  vertical-align: middle;
}
.sub-feedback {
  margin-top: 10px;
  font-size: 12.5px;
  padding: 7px 12px;
  border-radius: 4px;
  line-height: 1.4;
}
.sub-feedback--ok    { color: #fff; background: rgba(37,211,102,0.20); border: 1px solid rgba(37,211,102,0.45); }
.sub-feedback--error { color: #fff; background: rgba(201,8,38,0.20);   border: 1px solid rgba(201,8,38,0.50); }

/* ── Footer Social (inside Quick Contact widget) ─────────── */
.ftr-social {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.ftr-social-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  white-space: nowrap;
  margin-right: 4px;
}
.ftr-social-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.ftr-social-links a {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.70);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.ftr-social-links a:hover {
  background: #c90826;
  color: #ffffff;
}

/* ── Footer Quick Contact items ──────────────────────────── */
.ftr-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  line-height: 1.55;
}
.ftr-contact-item:last-child { margin-bottom: 0; }
.ftr-contact-icon {
  font-size: 17px;
  color: #c90826;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  text-align: center;
}
.ftr-contact-item span {
  font-size: 14px;
  color: rgba(255,255,255,0.70);
}
.ftr-contact-item a {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s;
}
.ftr-contact-item a:hover { color: #c90826; }

/* ── Footer bottom logo — white filter ───────────────────── */
.footer-logo-white {
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

/* ── About author image: circular with padding ───────────── */
.author-style1 .author-img { padding: 10px !important; border-radius: 50% !important; }
.author-style1 .author-img img { border-radius: 0 !important; }

/* ── CTA box3 image decorative shapes ────────────────────── */
.cta-box3 .cta-img:after, .cta-box3 .cta-img::before { background-color: #000 !important; }

/* ── Hero slider button: smooth transition ────────────────── */
.hero-layout1 .ls-button-layer {
  transition: background-color 0.25s ease, color 0.25s ease !important;
}

/* ── Social icons: square flex containers ────────────────── */
.social-style3 a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 45px !important;
  height: 45px !important;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   Contact Page
══════════════════════════════════════════════════════════ */

/* ── Info cards (top strip) ──────────────────────────────── */
.contact-info-bar {
  background: var(--title-color);
  padding: 0;
  position: relative;
  z-index: 3;
}
.contact-info-bar [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
.ci-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 20px 32px;
  height: 100%;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.25s;
  cursor: default;
}
.col-lg-3:last-child .ci-card { border-right: none; }
.ci-card:hover { background: rgba(255,255,255,0.03); }
.ci-card__icon {
  width: 60px;
  height: 60px;
  background: #c90826;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 16px rgba(201,8,38,0.35);
}
.ci-card:hover .ci-card__icon {
  transform: scale(1.10);
  box-shadow: 0 6px 22px rgba(201,8,38,0.50);
}
.ci-card__label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-bottom: 8px;
}
.ci-card__value { display: flex; flex-direction: column; gap: 4px; }
.ci-card__value strong,
.ci-card__value a {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.2s;
}
.ci-card__value a:hover { color: rgba(255,255,255,0.60); }

/* ── Contact section ─────────────────────────────────────── */
.contact-page-section {
  padding-top: 70px;
  padding-bottom: 70px;
  background: var(--smoke-color);
}

/* ── Unified wrapper: card + footer as one visual block ───── */
.cp-wrapper {
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 83px rgba(40,40,40,0.12);
  position: relative;
  z-index: 2;
}

/* strip the theme's default padding/shadow — wrapper handles it */
.contact-layout1 .contact-panel {
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* ── Left: image-only panel ──────────────────────────────── */
.cp-img-panel {
  position: relative;
  overflow: hidden;
}

/* pattern container fills the panel */
.cp-img-pattern {
  position: absolute;
  inset: 0;
  /* dark navy base */
  background-color: #001840;
  /* dot-grid pattern */
  background-image:
    radial-gradient(rgba(255,255,255,.07) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  /* red glow corners */
  box-shadow: inset 0 0 80px rgba(201,8,38,.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
/* subtle top-left red accent circle */
.cp-img-pattern::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,8,38,.18) 0%, transparent 70%);
  pointer-events: none;
}
/* bottom-right accent */
.cp-img-pattern::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,8,38,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* PNG image sits at bottom, full width */
.cp-img-png {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.cp-img-panel::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 100%;
  background: #c90826;
  z-index: 2;
}

/* ── Right: form panel ───────────────────────────────────── */
.contact-layout1 .contact-panel .contact-panel__form {
  padding: 52px 52px 44px !important;
}

/* ── Card footer bar: WhatsApp + Follow Us (white) ────────── */
.cp-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 42px 38px;
  background: #fff;
  border-top: 1px solid #eaeef4;
  gap: 20px;
  flex-wrap: wrap;
}

.cp-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.22s;
}
.cp-wa-btn:hover { opacity: 0.80; }
.cp-wa-btn__icon {
  width: 52px; height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(37,211,102,0.30);
}
.cp-wa-btn__text span {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--body-color);
  margin-bottom: 3px;
}
.cp-wa-btn__text strong {
  display: block;
  font-size: 15px;
  color: var(--title-color);
  font-family: var(--title-font);
}

.cp-follow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.cp-follow__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--body-color);
  white-space: nowrap;
}
.cp-follow__links { display: flex; gap: 8px; }
.cp-follow__links a {
  width: 36px; height: 36px;
  background: var(--title-color);
  color: rgba(255,255,255,0.70);
  border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.22s, color 0.22s;
}
.cp-follow__links a:hover { background: #c90826; color: #fff; }

/* ── Map — below the form section ───────────────────────── */
.contact-map--page {
  position: relative;
  border-top: 3px solid #c90826;
  line-height: 0;
}
.contact-map--page iframe { width: 100%; height: 480px; border: 0; display: block; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1199px) {
  .contact-layout1 .contact-panel .contact-panel__form { padding: 42px 38px 36px !important; }
  .cp-card-footer { padding: 24px 32px 32px; }
}
@media (max-width: 991px) {
  .contact-page-section { padding: 60px 0 60px; }
  .ci-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.07); padding: 28px 16px 24px; }
  .col-sm-6:nth-child(2n) .ci-card { border-right: none; }
  .col-sm-6:last-child .ci-card,
  .col-lg-3:last-child .ci-card { border-bottom: none; }
  .cp-img-panel::before { display: none; }
}
@media (max-width: 767px) {
  .contact-page-section { padding: 40px 0 40px; }
  .contact-map--page iframe { height: 320px; }
  .ci-card { padding: 24px 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .ci-card__icon { width: 50px; height: 50px; font-size: 18px; margin-bottom: 14px; }
  .contact-layout1 .contact-panel .contact-panel__form { padding: 30px 24px 28px !important; }
  .cp-card-footer { padding: 20px 20px 28px; justify-content: center; }
}


/* ══════════════════════════════════════════════════════════
   Services Page
══════════════════════════════════════════════════════════ */

.svc-page-section {
  padding: 80px 0 90px;
  background: var(--smoke-color);
}
@media (max-width: 991px) { .svc-page-section { padding: 50px 0 60px; } }

/* Category header */
.svc-cat-header {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 32px;
  background: #fff;
  border-left: 4px solid #c90826;
  box-shadow: 0 2px 20px rgba(0,0,0,.055);
  border-radius: 0 6px 6px 0;
}
.svc-cat-header__icon {
  width: 60px; height: 60px;
  background: var(--title-color);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,.18);
}
.svc-cat-header__name {
  font-size: 22px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 6px;
}
.svc-cat-header__desc {
  font-size: 14px;
  color: var(--body-color);
  margin: 0;
  line-height: 1.7;
}

/* ── Capabilities block (split-panel layout) ─────────────── */
.svc-cap-block {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 36px rgba(0,0,0,.09);
}
.svc-cap-block > .row {
  align-items: stretch;
  margin: 0;
}
.svc-cap-block > .row > [class*="col"] {
  padding: 0;
}

/* Left panel — dark navy */
.svc-cap-panel {
  background: var(--title-color);
  padding: 52px 44px;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 320px;
}
.svc-cap-panel::before {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.06);
  pointer-events: none;
}
.svc-cap-panel::after {
  content: '';
  position: absolute;
  right: -20px; bottom: -20px;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.04);
  pointer-events: none;
}
.svc-cap-num {
  position: absolute;
  top: 20px; right: 28px;
  font-size: 4rem;
  font-weight: 900;
  font-family: var(--title-font);
  color: rgba(255,255,255,.07);
  line-height: 1;
  letter-spacing: -.06em;
  pointer-events: none;
}
.svc-cap-icon {
  width: 64px; height: 64px;
  background: #c90826;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 22px rgba(201,8,38,.4);
}
.svc-cap-name {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  font-family: var(--title-font);
  margin: 0;
  line-height: 1.2;
}
.svc-cap-desc {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin: 0;
  line-height: 1.75;
  flex: 1;
}
/* red accent strip at bottom */
.svc-cap-panel > .svc-cap-strip {
  height: 3px;
  width: 48px;
  background: #c90826;
  border-radius: 2px;
  margin-top: auto;
}

/* Right panel — white service list */
.svc-cap-list {
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.svc-cap-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  padding: 26px 40px;
  border-bottom: 1px solid #f0f3f8;
  position: relative;
  transition: background .22s, padding-left .22s;
}
.svc-cap-item:last-child { border-bottom: none; }
.svc-cap-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: transparent;
  transition: background .22s;
}
.svc-cap-item:hover { background: #fafbff; }
.svc-cap-item:hover::before { background: #c90826; }

.svc-cap-item-num {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  color: #c90826;
  font-family: var(--title-font);
  padding-top: 4px;
  flex-shrink: 0;
  min-width: 28px;
}
.svc-cap-item-thumb {
  width: 72px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #edf0f5;
}
.svc-cap-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.svc-cap-item:hover .svc-cap-item-thumb img { transform: scale(1.07); }
.svc-cap-item-body { flex: 1; min-width: 0; }
.svc-cap-item-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--title-color);
  font-family: var(--title-font);
  margin: 0 0 7px;
  line-height: 1.3;
}
.svc-cap-item-desc {
  font-size: 13px;
  color: var(--body-color);
  margin: 0;
  line-height: 1.68;
}
.svc-cap-empty {
  padding: 40px;
  font-size: 13px;
  color: var(--body-color);
}

@media (max-width: 991px) {
  .svc-cap-panel { padding: 36px 30px; min-height: auto; }
  .svc-cap-item { padding: 22px 28px; }
  .svc-cap-name { font-size: 22px; }
  /* stacked: list panel connects flush under dark panel */
  .svc-cap-list { border-top: none; }
}
@media (max-width: 767px) {
  .svc-cap-panel { padding: 28px 24px; }
  .svc-cap-item { padding: 18px 20px; gap: 14px; }
  .svc-cap-name { font-size: 20px; }
  .svc-cap-item-thumb { width: 58px; height: 48px; }
}

/* ══════════════════════════════════════════════════════════
   Projects Page
══════════════════════════════════════════════════════════ */

.prj-page-section {
  padding: 80px 0 90px;
  background: #f5f7fa;
}
@media (max-width: 991px) { .prj-page-section { padding: 50px 0 60px; } }

/* Stats strip */
.prj-stats {
  display: flex;
  background: #fff;
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
  border-radius: 8px;
  overflow: hidden;
}
.prj-stat {
  flex: 1;
  text-align: center;
  padding: 30px 20px;
  border-right: 1px solid #eef0f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  transition: background .22s;
}
.prj-stat:last-child { border-right: none; }
.prj-stat:hover { background: #fafbff; }
.prj-stat-icon {
  font-size: 18px;
  color: #c90826;
  opacity: .6;
  margin-bottom: 4px;
}
.prj-stat strong {
  display: block;
  font-family: var(--title-font);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1;
  letter-spacing: -.02em;
}
.prj-stat span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9a9ab0;
}

/* Filter tabs */
.prj-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.prj-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  border: 2px solid #dde1ea;
  border-radius: 4px;
  background: #fff;
  color: var(--body-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: var(--title-font);
  cursor: pointer;
  transition: all .22s;
}
.prj-tab:hover {
  border-color: var(--title-color);
  color: var(--title-color);
}
.prj-tab.active {
  background: var(--title-color);
  border-color: var(--title-color);
  color: #fff;
}
.prj-tab-count {
  background: rgba(255,255,255,.22);
  border-radius: 20px;
  padding: 1px 8px;
  font-size: 10px;
  letter-spacing: 0;
}
.prj-tab:not(.active) .prj-tab-count {
  background: #eef0f6;
  color: var(--body-color);
}

/* Project card grid — 3 cols */
.prj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) { .prj-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 575px)  { .prj-grid { grid-template-columns: 1fr; } }

.prj-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0,0,0,.07);
  border: 1px solid #edf0f5;
  display: flex;
  flex-direction: column;
  transition: box-shadow .28s, transform .28s;
}
.prj-card:hover {
  box-shadow: 0 12px 44px rgba(0,0,0,.13);
  transform: translateY(-5px);
}

/* Image */
.prj-card__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e5ec;
}
.prj-card__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .55s ease;
}
.prj-card:hover .prj-card__img img { transform: scale(1.06); }
.prj-card__img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #dde2ec 0%, #c8cedc 100%);
  color: rgba(0,38,94,.18);
  font-size: 3.5rem;
}
.prj-card__status {
  position: absolute;
  top: 12px; left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  font-family: var(--title-font);
}
.prj-card__status--ongoing   { background: #c90826; color: #fff; }
.prj-card__status--completed { background: #1b6b2f; color: #fff; }

/* Body */
.prj-card__body {
  padding: 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prj-card__name {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--title-font);
  color: var(--title-color);
  margin: 0;
  line-height: 1.35;
}
.prj-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.prj-card__meta-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--body-color);
  line-height: 1.5;
}
.prj-card__meta-row i {
  color: #c90826;
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 13px;
}
.prj-meta-label {
  font-weight: 700;
  color: var(--title-color);
  font-family: var(--title-font);
  font-size: 10.5px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-right: 2px;
}
.prj-card__meta-row--sow {
  padding-top: 8px;
  border-top: 1px solid #f0f3f8;
  align-items: flex-start;
}
.prj-card__meta-row--sow span {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}

/* Footer */
.prj-card__foot {
  padding: 12px 22px;
  background: #f8fafd;
  border-top: 1px solid #f0f3f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.prj-card__location {
  font-size: 11px;
  color: #9a9ab0;
  display: flex;
  align-items: center;
  gap: 5px;
}
.prj-card__location i { color: #c90826; }
.prj-card__num {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(0,0,0,.12);
  font-family: var(--title-font);
}

.prj-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--body-color);
}
.prj-empty i { font-size: 3rem; display: block; margin-bottom: 14px; opacity: .25; color: var(--title-color); }

@media (max-width: 575px) {
  .prj-stats { flex-wrap: wrap; }
  .prj-stat { flex: 0 0 50%; border-bottom: 1px solid #eef0f5; }
  .prj-stat:nth-child(odd) { border-right: 1px solid #eef0f5; }
  .prj-stat:nth-child(even) { border-right: none; }
  .prj-stat:last-child, .prj-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════
   Gallery Page
══════════════════════════════════════════════════════════ */

.gallery-section {
  padding: 80px 0 90px;
  background: #f5f7fa;
}
@media (max-width: 991px) { .gallery-section { padding: 50px 0 60px; } }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
@media (max-width: 1199px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 5px; } }
@media (max-width: 479px)  { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  overflow: hidden;
  background: #c5cad6;
  border-radius: 6px;
  position: relative;
}

.gallery-thumb {
  position: relative;
  overflow: hidden;
  height: 240px;
}
@media (max-width: 767px) { .gallery-thumb { height: 190px; } }

.gallery-link {
  display: block;
  width: 100%; height: 100%;
  text-decoration: none;
  position: relative;
}
.gallery-link img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .7s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover .gallery-link img { transform: scale(1.07); }

.gallery-thumb-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: #1c2340;
  color: rgba(255,255,255,.18);
  font-size: 2.5rem;
}

/* always-visible bottom gradient + title */
.gallery-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* bottom gradient always present */
  background: linear-gradient(to top,
    rgba(0,8,40,.82) 0%,
    rgba(0,8,40,.30) 38%,
    transparent 60%);
}

/* inner: title pinned to bottom, zoom centered */
.gallery-overlay-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: auto;
}

/* zoom — hidden until hover */
.gallery-zoom {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.12);
  border: 2px solid rgba(255,255,255,.75);
  border-radius: 50%;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 17px;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: scale(.75);
  transition: opacity .28s, transform .28s, background .22s, border-color .22s;
}
.gallery-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
  background: #c90826;
  border-color: #c90826;
}

/* title — always visible at bottom */
.gallery-overlay-title {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,.92);
  font-family: var(--title-font);
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* red bottom edge accent */
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #c90826;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.gallery-item:hover::after { transform: scaleX(1); }

/* video play badge — always visible */
.gallery-type-badge {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: rgba(201,8,38,.85);
  color: #fff;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  z-index: 3;
  pointer-events: none;
  transition: transform .25s, box-shadow .25s;
  box-shadow: 0 4px 20px rgba(201,8,38,.4);
}
.gallery-type-badge .fa-play { margin-left: 3px; }
.gallery-type-badge span { display: none; }
.gallery-item:hover .gallery-type-badge {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(201,8,38,.55);
}

.gallery-loadmore-wrap {
  text-align: center;
  margin-top: 44px;
}

/* ══════════════════════════════════════════════════════════
   Downloads Page
══════════════════════════════════════════════════════════ */

.dl-page-section {
  padding: 80px 0 90px;
  background: #f5f7fa;
}
@media (max-width: 991px) { .dl-page-section { padding: 50px 0 60px; } }

/* 2-column card grid */
.dl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 767px) { .dl-grid { grid-template-columns: 1fr; gap: 16px; } }

.dl-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf4;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .28s, transform .28s;
}
.dl-card:hover {
  box-shadow: 0 14px 48px rgba(0,0,0,.12);
  transform: translateY(-5px);
}
.dl-card--unavailable { opacity: .5; pointer-events: none; }

/* Colored header */
.dl-card__header {
  padding: 28px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.dl-card--pdf   .dl-card__header { background: linear-gradient(135deg, #c62828 0%, #e53935 100%); }
.dl-card--word  .dl-card__header { background: linear-gradient(135deg, #0d47a1 0%, #1565c0 100%); }
.dl-card--excel .dl-card__header { background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 100%); }
.dl-card--ppt   .dl-card__header { background: linear-gradient(135deg, #bf360c 0%, #e65100 100%); }
.dl-card--zip   .dl-card__header { background: linear-gradient(135deg, #4a148c 0%, #6a1b9a 100%); }
.dl-card--img   .dl-card__header { background: linear-gradient(135deg, #006064 0%, #00838f 100%); }
.dl-card--file  .dl-card__header { background: linear-gradient(135deg, var(--title-color) 0%, #0d2f6e 100%); }

/* large watermark number */
.dl-card__header::after {
  content: attr(data-num);
  position: absolute;
  right: 18px; bottom: -8px;
  font-size: 5.5rem;
  font-weight: 900;
  font-family: var(--title-font);
  color: rgba(255,255,255,.1);
  line-height: 1;
  letter-spacing: -.04em;
  pointer-events: none;
}

.dl-card__icon-wrap {
  width: 58px; height: 58px;
  background: rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: #fff;
  flex-shrink: 0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.dl-card:hover .dl-card__icon-wrap { transform: scale(1.1) rotate(-5deg); }

.dl-card__ext {
  font-size: 22px;
  font-weight: 900;
  font-family: var(--title-font);
  color: rgba(255,255,255,.9);
  letter-spacing: -.01em;
  line-height: 1;
}
.dl-card__ext-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  font-family: var(--title-font);
  margin-top: 3px;
  display: block;
}

/* Body */
.dl-card__body {
  flex: 1;
  padding: 22px 26px 16px;
}
.dl-card__title {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--title-font);
  color: var(--title-color);
  margin: 0 0 8px;
  line-height: 1.35;
}
.dl-card__desc {
  font-size: 13px;
  color: var(--body-color);
  margin: 0;
  line-height: 1.65;
}

/* Footer */
.dl-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 26px;
  border-top: 1px solid #f0f3f8;
  background: #f8fafd;
}
.dl-card__meta {
  display: flex; align-items: center; gap: 8px;
}
.dl-card__size {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #9a9ab0;
  background: #edf0f7;
  padding: 3px 8px;
  border-radius: 2px;
}
.dl-card__dlcount {
  font-size: 11px;
  color: #b0b0c0;
  display: flex; align-items: center; gap: 3px;
}
.dl-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 20px;
  background: var(--title-color);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-family: var(--title-font);
  text-decoration: none;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background .22s, box-shadow .22s, transform .2s;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,24,64,.14);
}
.dl-card__btn:hover {
  background: #c90826;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(201,8,38,.28);
}
.dl-card__btn--soon {
  background: #eef0f5;
  color: #b8b8c8;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

.dl-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--body-color);
}
.dl-empty i { font-size: 3.5rem; display: block; margin-bottom: 16px; opacity: .26; color: var(--title-color); }

/* ══════════════════════════════════════════════════════════
   Clients Page
══════════════════════════════════════════════════════════ */

.clients-page-section {
  padding: 80px 0 90px;
  background: #f5f7fa;
}
@media (max-width: 991px) { .clients-page-section { padding: 50px 0 60px; } }

/* ── cl-grid: masonry-feel list of client cards ────────── */
.cl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e4e9f2;
  box-shadow: 0 8px 40px rgba(0,24,64,.07);
}
@media (max-width: 1199px) { .cl-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .cl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479px)  { .cl-grid { grid-template-columns: 1fr; } }

.cl-card {
  background: #fff;
  border-right: 1px solid #e4e9f2;
  border-bottom: 1px solid #e4e9f2;
  position: relative;
  overflow: hidden;
  transition: background .25s;
}
.cl-card:hover { background: #fafbff; }
/* remove right border on last in each row */
.cl-grid { grid-auto-rows: 1fr; }

.cl-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  cursor: default;
  height: 100%;
}
.cl-card--linked .cl-card-inner { cursor: pointer; }
a.cl-card-inner { color: inherit; }

/* top accent bar — hidden by default, slides on hover */
.cl-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #c90826;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.cl-card:hover::before { transform: scaleX(1); }

/* logo area */
.cl-logo-area {
  width: 100%;
  padding: 38px 28px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  flex: 1;
}
.cl-logo-area img {
  max-width: 85%;
  max-height: 64px;
  object-fit: contain;
  filter: grayscale(1) opacity(.38);
  transition: filter .4s ease;
}
.cl-card:hover .cl-logo-area img { filter: grayscale(0) opacity(1); }

/* monogram fallback */
.cl-monogram {
  width: 72px; height: 72px;
  background: #edf2ff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--title-color);
  font-family: var(--title-font);
  letter-spacing: -.02em;
  transition: background .28s, color .28s;
}
.cl-card:hover .cl-monogram {
  background: var(--title-color);
  color: #fff;
}

/* footer strip */
.cl-card-footer {
  width: 100%;
  padding: 10px 16px 12px;
  border-top: 1px solid #f0f3f8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}
.cl-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--title-color);
  font-family: var(--title-font);
  line-height: 1.35;
  margin: 0;
}
.cl-ext {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #c90826;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transition: opacity .28s;
  white-space: nowrap;
  flex-shrink: 0;
}
.cl-card--linked:hover .cl-ext { opacity: 1; }

.cl-empty {
  text-align: center;
  padding: 80px 20px;
  color: var(--body-color);
}
.cl-empty i { font-size: 3rem; display: block; margin-bottom: 12px; opacity: .28; color: var(--title-color); }

/* ══════════════════════════════════════════════════════════
   About Page – Vision & Mission Cards
══════════════════════════════════════════════════════════ */

.vm-card {
  padding: 44px 36px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--theme-color);
  background: var(--white-color);
  box-shadow: 0 4px 28px rgba(0,0,0,.07);
  transition: box-shadow .3s, transform .3s;
}
.vm-card:hover {
  box-shadow: 0 12px 44px rgba(36,81,158,.13);
  transform: translateY(-4px);
}
.vm-card--message { border-top-color: var(--title-color); }

.vm-card::before {
  content: '';
  position: absolute;
  right: -30px; bottom: -30px;
  width: 120px; height: 120px;
  background: rgba(36,81,158,.04);
  transform: rotate(20deg);
  pointer-events: none;
}
.vm-card--message::before { background: rgba(22,23,26,.04); }

.vm-icon {
  width: 56px; height: 56px;
  background: var(--theme-color);
  color: var(--white-color);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
}
.vm-card--message .vm-icon { background: var(--title-color); }

.vm-title {
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 14px;
}
.vm-text {
  font-size: 14.5px;
  color: var(--body-color);
  line-height: 1.8;
  margin: 0;
}

/* About image placeholder */
.about-img-placeholder {
  background: var(--secondary-color);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(0,0,0,.12);
}

/* ══════════════════════════════════════════════════════════
   About Page – Manager's Message Section
══════════════════════════════════════════════════════════ */
.manager-msg-section {
  padding: 80px 0;
  background: var(--secondary-color);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.manager-msg-title {
  font-family: var(--title-font);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: var(--title-color);
  margin: 0 0 20px;
  position: relative;
  padding-bottom: 16px;
}
.manager-msg-title::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 48px; height: 3px;
  background: var(--theme-color);
}

.manager-msg-text {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--body-color);
}

.manager-img {
  max-width: 280px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
}

/* Manager's message inside the about section */
.about-manager-quote {
  margin-top: 16px;
  padding: 16px 20px;
  border-left: 3px solid var(--theme-color);
  background: rgba(36,81,158,.04);
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--body-color);
}

/* ══════════════════════════════════════════════════════════
   Products Page – Col-6 Square Cards
══════════════════════════════════════════════════════════ */
.pc {
  background: var(--white-color);
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow .3s, transform .3s;
}
.pc:hover {
  box-shadow: 0 12px 48px rgba(36,81,158,.15);
  transform: translateY(-5px);
}

/* Square image */
.pc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, #eef1f7 0%, #dce4f0 100%);
}
.pc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pc:hover .pc-img { transform: scale(1.06); }

.pc-img-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: rgba(36,81,158,.13);
}

.pc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,23,26,.55) 0%, transparent 55%);
  pointer-events: none;
}

/* Number badge */
.pc-num {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--title-font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--theme-color);
  padding: 5px 12px;
  line-height: 1;
  z-index: 2;
}

/* Body */
.pc-body {
  padding: 28px 30px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid var(--theme-color);
}

.pc-body-top { flex: 1; }

.pc-title {
  font-family: var(--title-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--title-color);
  margin: 0 0 12px;
  line-height: 1.25;
}

.pc-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--body-color);
  margin: 0 0 26px;
}

/* Buttons */
.pc-actions {
  display: flex;
  gap: 10px;
}

.pc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
  letter-spacing: .02em;
}
.pc-btn i { font-size: 15px; }

.pc-btn--wa { background: #25D366; color: #fff; }
.pc-btn--wa:hover { background: #1aad55; color: #fff; }

.pc-btn--mail { background: var(--theme-color); color: #fff; }
.pc-btn--mail:hover { background: var(--title-color); color: #fff; }

@media (max-width: 575px) {
  .pc-title { font-size: 19px; }
  .pc-body { padding: 22px 20px 24px; }
}

/* ══════════════════════════════════════════════════════════
   Page CTA Strip — included on all inner pages
══════════════════════════════════════════════════════════ */
.page-cta {
  background-color: #002a5c;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.page-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0,18,40,0.93) 0%,
    rgba(0,30,65,0.82) 55%,
    rgba(0,18,40,0.60) 100%
  );
}
.page-cta > .container { position: relative; z-index: 1; }
.page-cta__subtitle {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c90826;
  margin-bottom: 12px;
}
.page-cta__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 14px;
}
.page-cta__desc {
  font-size: 14px;
  color: rgba(255,255,255,0.60);
  line-height: 1.75;
  margin: 0;
  max-width: 480px;
}
.page-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.page-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Barlow', sans-serif;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  transition: background 0.22s, border-color 0.22s, transform 0.18s, box-shadow 0.22s;
  white-space: nowrap;
}
.page-cta__btn i { font-size: 14px; flex-shrink: 0; }
.page-cta__btn--phone {
  background: #c90826;
  color: #ffffff;
  border-color: #c90826;
  box-shadow: 0 4px 16px rgba(201,8,38,0.40);
}
.page-cta__btn--phone:hover {
  background: #b50720; border-color: #b50720; color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(201,8,38,0.55);
}
.page-cta__btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.35);
}
.page-cta__btn--outline:hover {
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.60);
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 991px) {
  .page-cta { padding: 50px 0; }
  .page-cta__actions { justify-content: flex-start; margin-top: 28px; }
  .page-cta__desc { max-width: 100%; }
}
@media (max-width: 575px) {
  .page-cta__btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   Page Header / Breadcrumb
══════════════════════════════════════════════════════════ */
.pg-header {
  background: #001427;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 90px 0;
  border-bottom: 3px solid #c90826;
}
.pg-header__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 28, 0.78);
}
.pg-header > .container { position: relative; z-index: 1; }

/* horizontal split: title left — trail right */
.pg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pg-header__left {
  flex: 1;
  min-width: 0;
}
.pg-header__right {
  flex-shrink: 0;
}

/* title with red left bar */
.pg-header__title {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  padding-left: 18px;
  border-left: 4px solid #c90826;
}

/* breadcrumb trail */
.pg-header__trail {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  padding: 10px 18px;
}
.pg-header__trail li {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.40);
  white-space: nowrap;
}
.pg-header__trail li + li::before {
  content: '/';
  margin: 0 10px;
  color: rgba(255,255,255,0.18);
}
.pg-header__trail li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.pg-header__trail li a:hover { color: #fff; }
.pg-header__trail li:last-child {
  color: #c90826;
  font-weight: 600;
}

/* responsive */
@media (max-width: 767px) {
  .pg-header { padding: 60px 0; }
  .pg-header__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .pg-header__trail { padding: 8px 14px; }
}
@media (max-width: 479px) {
  .pg-header { padding: 48px 0; }
  .pg-header__title { font-size: 22px; }
  .pg-header__trail li { font-size: 12px; }
}

/* ══════════════════════════════════════════════════════════
   Legal Pages
══════════════════════════════════════════════════════════ */
.legal-section {
  padding: 60px 0 80px;
  background: #f8f9fb;
}
.legal-card {
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  border-top: 4px solid #c90826;
  overflow: hidden;
}
.legal-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  background: #f4f6f9;
  border-bottom: 1px solid #eaecf0;
}
.legal-card__badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #ffffff;
  background: #c90826;
  padding: 3px 10px;
  border-radius: 3px;
}
.legal-card__date {
  font-size: 13px;
  color: #888;
}
.legal-card__body {
  padding: 36px 32px 40px;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}
.legal-card__body h2 {
  font-family: 'Barlow', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #111;
  margin: 0 0 20px;
}
.legal-card__body h3 {
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #002a5c;
  margin: 32px 0 10px;
  padding-left: 12px;
  border-left: 3px solid #c90826;
}
.legal-card__body p { margin: 0 0 14px; }
.legal-card__body ul {
  padding-left: 20px;
  margin: 0 0 14px;
}
.legal-card__body ul li { margin-bottom: 6px; }
.legal-card__body a { color: #c90826; text-decoration: none; }
.legal-card__body a:hover { text-decoration: underline; }
/* related links */
.legal-other {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #eaecf0;
}
.legal-other__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
}
.legal-other__link {
  font-size: 13px;
  font-weight: 600;
  color: #002a5c;
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid #dde1e9;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.legal-other__link:hover {
  background: #c90826;
  color: #ffffff;
  border-color: #c90826;
}
@media (max-width: 575px) {
  .legal-card__body { padding: 24px 20px 28px; }
  .legal-card__meta { padding: 14px 20px; }
}

/* ============================================================
   HERO SLIDER — ENHANCED STYLES
   ============================================================ */

/* Overlay: directional gradient — dark left, fades right */
.slider .slide-item.bg-overlay::before {
  background: linear-gradient(
    100deg,
    rgba(0,15,35,0.88) 0%,
    rgba(0,15,35,0.60) 50%,
    rgba(0,15,35,0.18) 100%
  );
}

/* Slide height — comfortable, not full-screen */
.header-transparent + .slider .slide-item,
.slider .slide-item {
  height: clamp(500px, 72vh, 720px);
  min-height: 0;
  display: flex !important;
  align-items: center;
}

/* Slide content padding */
.slide__content {
  padding: 16px 0;
  max-width: 680px;
}

/* ── Subtitle pill ─────────────────────────────────────── */
.slider .slide__subtitle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: #fff;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 30px;
  padding: 6px 18px 6px 14px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.slider .slide__subtitle::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--theme-color, #c8102e);
  flex-shrink: 0;
  border-radius: 2px;
}

/* ── Title ─────────────────────────────────────────────── */
.slider .slide__title {
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.1;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.30);
  letter-spacing: -0.4px;
}

/* ── Description ───────────────────────────────────────── */
.slider .slide__desc {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.72;
  color: rgba(255,255,255,0.86);
  max-width: 520px;
  margin-bottom: 32px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.20);
}

/* ── Buttons ───────────────────────────────────────────── */
.slider .slide__content .btn {
  height: 52px;
  line-height: 52px;
  padding: 0 30px;
  font-size: 13px;
  font-weight: 700;
  min-width: 0;
}
.slider .slide__content .btn__white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.60);
  line-height: 48px;
}
.slider .slide__content .btn__white:hover {
  background: #fff;
  color: #002a5c;
  border-color: #fff;
}

/* ── Entrance animations — staggered fade + rise ───────── */
.slide__content > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}
.slick-active .slide__content > * { opacity: 1; transform: translateY(0); }
.slick-active .slide__content .slide__subtitle  { transition-delay: 0.10s; }
.slick-active .slide__content .slide__title     { transition-delay: 0.28s; }
.slick-active .slide__content .slide__desc      { transition-delay: 0.44s; }
.slick-active .slide__content .btn:nth-child(4) { transition-delay: 0.58s; }
.slick-active .slide__content .btn:nth-child(5) { transition-delay: 0.70s; }

/* ── Arrows ────────────────────────────────────────────── */
.slider .slick-arrow {
  width: 44px;
  height: 44px;
  line-height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.22s, border-color 0.22s;
  z-index: 10;
}
.slider .slick-arrow:hover {
  background: var(--theme-color, #c8102e);
  border-color: var(--theme-color, #c8102e);
  color: #fff;
}
.slider .slick-arrow.slick-prev { left: 28px; }
.slider .slick-arrow.slick-next { right: 28px; }

/* ── Dots ──────────────────────────────────────────────── */
.slider .slick-dots { bottom: 20px; }
.slider .slick-dots li button::before {
  background: rgba(255,255,255,0.40);
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.slider .slick-dots li.slick-active button::before {
  background: var(--theme-color, #c8102e);
  width: 22px;
  border-radius: 4px;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1199px) {
  .slider .slide-item { height: clamp(460px, 65vh, 640px); }
}
@media (max-width: 991px) {
  .slider .slide-item { height: clamp(420px, 60vh, 580px); }
  .slider .slide__title { font-size: clamp(30px, 4.5vw, 50px); }
  .slider .slide__desc { font-size: 15px; }
  .slider .slick-arrow { display: none !important; }
}
@media (max-width: 767px) {
  .slider .slide-item { height: auto !important; padding: 110px 0 70px; }
  .slider .slide__content { max-width: 100%; }
  .slider .slide__subtitle { font-size: 10px; letter-spacing: 2.5px; }
  .slider .slide__title { font-size: clamp(26px, 7.5vw, 40px); margin-bottom: 14px; }
  .slider .slide__desc { font-size: 14px; margin-bottom: 24px; }
}
@media (max-width: 480px) {
  .slider .slide-item { padding: 100px 0 60px; }
  .slider .slide__content .btn { display: block; width: 100%; margin-right: 0 !important; margin-bottom: 10px; text-align: center; }
}

