/* ==========================================================================
   Opal Weave — design system
   A modern, corporate look inspired by clean federal-services branding:
   deep navy, a confident azure accent, generous whitespace, and calm type.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #001630;
  --navy-800: #001f42;
  --primary-color: #00234a; /* kept for backwards compatibility */
  --navy: #00234a;
  --navy-600: #0a3a6b;

  /* Accent */
  --accent: #2e90fa;
  --accent-600: #1a7ae0;
  --accent-soft: rgba(46, 144, 250, 0.1);

  /* Neutrals */
  --ink: #0f1b2d;
  --body: #45566b;
  --muted: #6b7a8d;
  --line: #e4e9f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;

  /* Type */
  --font-heading: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & motion */
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 16px rgba(15, 27, 45, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 27, 45, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 27, 45, 0.16);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Keep media and embeds inside the viewport */
img,
video,
svg {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

/* Full-width layout shells */
.navbar,
.hero,
main,
.footer,
.container-fluid,
.impact-mission-wrapper,
.stats-band {
  width: 100%;
  max-width: 100%;
}

.hero,
.hero-video,
.hero-overlay,
.partner-hero,
.faq-hero,
.about-hero,
.terms-hero,
.privacy-hero {
  width: 100%;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
  font-family: var(--font-heading);
  color: var(--ink);
  letter-spacing: -0.01em;
}

section {
  scroll-margin-top: 80px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ===== Buttons ===== */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 50px;
  padding: 0.7rem 1.7rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(46, 144, 250, 0.28);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--accent-600);
  border-color: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(46, 144, 250, 0.38);
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  color: var(--navy) !important;
}

.btn-lg {
  padding: 0.85rem 2.1rem;
  font-size: 1rem;
}

/* ===== Navbar ===== */
.navbar {
  transition: all 0.35s var(--ease);
  box-shadow: none;
  background: linear-gradient(
    180deg,
    rgba(0, 22, 48, 0.75) 0%,
    rgba(0, 22, 48, 0) 100%
  );
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: #fff !important;
  transition: opacity 0.3s ease;
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-brand .brand-logo {
  display: block;
  height: 49px;
  width: auto;
}

.navbar-brand:hover {
  opacity: 0.85;
  color: #fff !important;
}

.navbar-nav .nav-link {
  position: relative;
  margin: 0 12px;
  padding: 8px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  color: rgba(255, 255, 255, 0.82) !important;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s var(--ease);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Contact CTA in the navbar */
.navbar .nav-cta {
  margin-left: 8px;
  padding: 0.5rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50px;
  color: #fff !important;
}

.navbar .nav-cta::after {
  display: none;
}

.navbar .nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* ===== Language Switcher ===== */


.lang-switcher-item {
  position: relative;
  display: flex;
  align-items: center;
}

.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 10px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    color 0.25s var(--ease), transform 0.2s var(--ease);
  white-space: nowrap;
}

.lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.lang-switcher-btn[aria-expanded="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  opacity: 0.75;
  flex-shrink: 0;
}

.lang-switcher-btn[aria-expanded="true"] .lang-globe-icon {
  opacity: 1;
}

.lang-switcher-btn img {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  flex-shrink: 0;
}

.lang-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  opacity: 0.7;
}

.lang-switcher-btn[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.lang-dropdown {
  position: fixed;
  top: 0;    /* overridden by JS */
  right: 0;  /* overridden by JS */
  min-width: 172px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(15, 27, 45, 0.18), 0 2px 8px rgba(15, 27, 45, 0.08);
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 1050;
  /* hidden state */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.97);
  transform-origin: top right;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
  pointer-events: none;
}

.lang-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.lang-dropdown-header {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px 4px;
  pointer-events: none;
  user-select: none;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  cursor: pointer;
}

.lang-option img {
  border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.18);
  flex-shrink: 0;
}

.lang-name {
  flex: 1;
}

.lang-check {
  width: 15px;
  height: 15px;
  color: var(--accent);
  opacity: 0;
  flex-shrink: 0;
  transition: opacity 0.15s ease;
}

.lang-option.active .lang-check {
  opacity: 1;
}

.lang-option:hover {
  background: var(--bg-soft);
  color: var(--navy);
}

.lang-option.active {
  background: var(--accent-soft);
  color: var(--navy);
}

@media (max-width: 991px) {
  .lang-switcher-item {
    margin-top: 0.4rem;
  }
}

/* Solid navbar once scrolled */
.navbar-scrolled {
  background: rgba(0, 22, 48, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

@media (max-width: 991px) {
  .navbar-scrolled,
  .navbar-collapse.show {
    background: rgba(0, 22, 48, 0.98);
  }
  .navbar .nav-cta {
    display: inline-block;
    margin: 0.5rem 0 0;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  padding: 150px 20px 100px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  background: #001630 url("../images/15.png") center / cover no-repeat;
}

/* Mobile / reduced-motion: poster image only — no video download */
@media (max-width: 767.98px) {
  .hero {
    background: #001630 url("../images/15.png") center / cover no-repeat;
  }

  .hero-video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero {
    background: #001630 url("../images/15.png") center / cover no-repeat;
  }

  .hero-video {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 16, 34, 0.82) 0%,
    rgba(0, 22, 48, 0.62) 45%,
    rgba(0, 16, 34, 0.94) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 1.6rem;
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(46, 144, 250, 0.5);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8fc4ff;
  background-color: rgba(46, 144, 250, 0.12);
}

.hero h1.brand-wordmark {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.4);
}

.hero h1.brand-wordmark span {
  color: var(--accent);
}

.hero #typed-text {
  display: block;
  min-height: 2.2em;
  margin: 0 auto 2.4rem;
  max-width: 720px;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.6rem;
  animation: hero-bounce 2s infinite;
}

@keyframes hero-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, 10px);
  }
  60% {
    transform: translate(-50%, 5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ===== Section rhythm & headers ===== */
section.container,
.impact-mission-wrapper,
.container-fluid > section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

h2,
.section-title {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  letter-spacing: -0.02em;
  text-transform: none; /* drop the old all-caps */
  text-shadow: none;     /* drop the old blue drop-shadow */
  text-align: center;
  margin-bottom: 1rem;
}

.title-underline {
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-600));
  margin: 0 auto;
}

.section-subtitle {
  color: var(--muted) !important;
  font-size: 1.08rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== About component ===== */





.about-values-title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--ink);
  margin-top: 0.3rem;
}

.about-value-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.about-text {
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--body);
}

.about-text + .about-text {
  margin-top: 1rem;
}

.about-visual {
  display: grid;
  gap: 0.75rem;
}

.about-visual__main {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.about-visual__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.about-visual__grid img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .about-visual__main {
    height: 220px;
  }

  .about-visual__grid img {
    height: 120px;
  }
}

/* ===== Stats band ===== */
.stats-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.08) 1px,
    transparent 0
  );
  background-size: 22px 22px;
  opacity: 0.5;
}

.stats-band .container {
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 1rem 0.5rem;
}

.stat-item .stat-value {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item .stat-value span {
  color: var(--accent);
}

.stat-item .stat-caption {
  margin-top: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

/* ===== Capabilities cards ===== */
.equipment-card {
  height: 320px;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  color: white;
}

/* Zoomable background layer */
.equipment-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease);
  z-index: 0;
}

.equipment-card.construction::before {
  background-image: url("../images/Support Informatique.png");
}
.equipment-card.terrassement::before {
  background-image: url("../images/Infrastructure Réseaux.png");
}
.equipment-card.grues::before {
  background-image: url("../images/Gestion de Projet.png");
}
.equipment-card.betonniere::before {
  background-image: url("../images/professional-services.png");
}
.equipment-card.camions::before {
  background-image: url("../images/Matériel de Terrassement.png");
}
.equipment-card.foreuses::before {
  background-image: url("../images/Outils de Levage et Fondation.png");
}
.equipment-card.construction-minor::before {
  background-image: url("../images/1.jpg");
}

.equipment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.equipment-card:hover::before {
  transform: scale(1.08);
}

.card-img-overlay {
  position: relative;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 16, 34, 0.92) 0%,
    rgba(0, 16, 34, 0.35) 55%,
    rgba(0, 16, 34, 0.1) 100%
  );
  padding: 28px 24px;
}

.equipment-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  padding-bottom: 12px;
}

.equipment-card .card-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.equipment-card:hover .card-title::after {
  width: 64px;
}

.equipment-card .card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}

/* Capability cards as links */
a.equipment-card {
  display: block;
  color: #fff;
  text-decoration: none;
}

.card-more {
  margin-top: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.card-more i {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}

.equipment-card:hover .card-more,
.equipment-card:focus-visible .card-more {
  opacity: 1;
  transform: translateY(0);
}

.equipment-card:hover .card-more i {
  transform: translateX(4px);
}

/* ===== Capabilities Bento Grid ===== */
.capabilities-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.bento-featured {
  grid-column: span 3;
}

.bento-featured .equipment-card {
  height: 380px;
}

.bento-standard {
  grid-column: span 2;
}

.bento-center-left {
  grid-column: 2 / span 2;
}

.bento-center-right {
  grid-column: 4 / span 2;
}

.card-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  border-radius: 50px;
  width: fit-content;
}

@media (max-width: 991px) {
  .capabilities-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-featured {
    grid-column: span 1;
  }

  .bento-featured .equipment-card {
    height: 320px;
  }

  .bento-standard {
    grid-column: span 1;
  }

  .bento-center-left,
  .bento-center-right {
    grid-column: span 1;
  }
}

@media (max-width: 575px) {
  .capabilities-bento {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .bento-featured,
  .bento-standard,
  .bento-center-left,
  .bento-center-right {
    grid-column: span 1;
  }

  .bento-featured .equipment-card,
  .equipment-card {
    height: 280px;
  }
}

/* ===== Services / centered icon list (shared by services + partner) ===== */
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 1.25rem;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.75rem;
  transition: transform 0.35s var(--ease), background-color 0.35s ease,
    color 0.35s ease;
}

.service-item:hover .service-icon {
  transform: translateY(-4px);
  background: var(--accent);
  color: #fff;
}

.service-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.service-item p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ===== Impact & Mission ===== */
.impact-mission-wrapper {
  background: var(--bg-soft);
  position: relative;
}

.impact-title,
.mission-title {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 800;
  font-size: 1.7rem;
}

.separator-line {
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-600));
}

.impact-text,
.mission-text {
  color: var(--body);
  font-size: 1.05rem;
  line-height: 1.75;
}

.impact-text + .impact-text {
  margin-top: 1rem;
}

.impact-stats {
  display: grid;
  gap: 0.75rem;
}

.impact-stat-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

.mission-values {
  margin-top: 0.5rem;
}

.value-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  color: var(--accent);
  font-size: 1.45rem;
  margin-bottom: 0.7rem;
}

.value-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.value-desc {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 991px) {
  .mission-container .row {
    flex-direction: column-reverse;
  }
  .mission-container .order-lg-1 {
    order: 2;
  }
  .mission-container .order-lg-2 {
    order: 1;
  }
}

/* ===== Contact ===== */
#contact .contact-intro {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2.4rem 2.2rem;
}

.contact-info-col {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  color: #fff;
  height: 100%;
}

.contact-info-col h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.contact-info-col p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.65;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.3rem;
}

.contact-info-item i {
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-info-item span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.contact-info-item a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.contact-info-item a:hover {
  color: var(--accent);
}

.contact-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1.8rem 0;
}

.contact-form .form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-soft);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(46, 144, 250, 0.15);
  background: #fff;
  outline: none;
}

.contact-form .form-control::placeholder {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* intl-tel-input overrides */
.iti-wrap {
  position: relative;
}

.iti-wrap .iti {
  width: 100%;
}

.iti-wrap .iti__flag-container {
  z-index: 2;
}

.iti-wrap input.form-control {
  padding-left: 90px !important;
}

.iti--separate-dial-code .iti__selected-dial-code {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
}

.iti__country-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink);
  max-height: 240px;
}

.iti__country.iti__highlight {
  background: var(--accent-soft);
}

.iti__search-input {
  border-bottom: 1px solid var(--line) !important;
  padding: 0.5rem 0.75rem !important;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.iti__selected-country {
  background: var(--bg-soft);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  border-right: 1px solid var(--line);
  padding: 0 10px;
}

.iti--separate-dial-code input.form-control:focus ~ .iti__flag-container .iti__selected-country,
.iti--separate-dial-code input.form-control:focus + .iti__flag-container .iti__selected-country {
  border-color: var(--accent);
}

.contact-form .btn-submit {
  width: 100%;
  padding: 0.85rem;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-wrapper {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.map-wrapper iframe {
  display: block;
  filter: grayscale(0.15);
}

/* ===== Footer ===== */
.footer {
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-900) 100%);
}

.footer h5 {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.brand-wordmark {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.brand-wordmark span {
  color: var(--accent);
}

.brand-logo {
  display: block;
  height: auto;
  max-width: 100%;
}

.footer .brand-logo--footer {
  height: 49px;
  width: auto;
}

.footer .brand-wordmark {
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.footer p,
.footer address {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.72) !important;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links li a:hover {
  color: #fff !important;
  padding-left: 6px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 1.15rem;
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  background: var(--accent);
}

.copyright-bar {
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Partner page
   ========================================================================== */

/* Hero background photo (assets/images/1.jpg) with a friendly headline */
.partner-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 68vh;
  padding: 170px 20px 90px;
  color: #fff;
  overflow: hidden;
  background: url("../images/1.jpg") center / cover no-repeat;
  background-attachment: fixed;
}

.partner-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 16, 34, 0.72) 0%,
    rgba(0, 22, 48, 0.62) 50%,
    rgba(0, 16, 34, 0.88) 100%
  );
  z-index: 0;
}

.partner-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.partner-hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2.3rem, 5.2vw, 3.9rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1.1rem;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.45);
}

.partner-hero-subtitle {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
  .partner-hero {
    background-attachment: scroll;
  }
}

/* Sidebar */
.partner-sidebar {
  position: sticky;
  top: 96px;
}

.partner-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.5rem;
}

.partner-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  text-align: left;
  text-transform: none;
  text-shadow: none;
  margin-bottom: 1.1rem;
}

.partner-nav li + li {
  margin-top: 0.35rem;
}

.partner-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease,
    transform 0.25s var(--ease);
}

.partner-nav a i {
  color: var(--accent);
  font-size: 1.1rem;
}

.partner-nav a:hover {
  background: var(--accent-soft);
  color: var(--accent-600);
  transform: translateX(3px);
}

.partner-contact-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
  border: none;
  color: rgba(255, 255, 255, 0.85);
}

.partner-contact-card .partner-card-title {
  color: #fff;
}

.partner-contact-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
}

.partner-contact-line i {
  color: var(--accent);
}

.partner-contact-line a {
  color: #fff;
  text-decoration: none;
}

.partner-contact-line a:hover {
  color: var(--accent);
}

/* Main column */
.partner-section-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: left;
  text-transform: none;
  text-shadow: none;
  margin-bottom: 0.75rem;
}

.partner-lead {
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--body);
  max-width: 640px;
}

/* Partner form */
.partner-form-wrapper {
  scroll-margin-top: 96px;
  padding: 2.25rem 2rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.partner-form-note {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.partner-form .form-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.partner-form .form-control,
.partner-form .form-select {
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font-size: 0.98rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.partner-form .form-control:focus,
.partner-form .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

@media (max-width: 991px) {
  .partner-sidebar {
    position: static;
    top: auto;
  }
}

/* ==========================================================================
   Capability detail page
   ========================================================================== */
.capability-block-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.partner-nav a.active {
  background: var(--accent-soft);
  color: var(--accent-600);
}

.capability-benefits {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.capability-benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.capability-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--ink);
}

.capability-benefit i {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
}

.capability-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.capability-service-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 50px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.capability-stat {
  height: 100%;
  text-align: center;
  padding: 1.25rem 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.capability-stat-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  line-height: 1.1;
  color: var(--navy);
}

.capability-stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

@media (max-width: 575px) {
  .capability-benefits-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Global Responsive Overrides
   ========================================================================== */

/* ── Mobile layout: full-width content, no horizontal squeeze ── */
@media (max-width: 991.98px) {
  .container,
  .container-fluid {
    max-width: 100%;
    width: 100%;
  }

  /* Bootstrap g-5 rows extend past container padding on small screens */
  .row.g-5,
  .row.g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1.5rem;
  }

  .navbar-brand .brand-logo {
    height: 40px;
    width: auto;
    max-width: 150px;
  }

  .navbar > .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ── Reduce section vertical rhythm on mobile ── */
@media (max-width: 767.98px) {
  .container,
  .container-fluid > .container,
  section.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Prevent iOS from zooming inputs (which makes the page feel "narrow") */
  .form-control,
  .form-select,
  .contact-form textarea.form-control {
    font-size: 16px;
  }
  section.container,
  .impact-mission-wrapper,
  .container-fluid > section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Hero — tighten padding on small phones */
  .hero {
    padding: 110px 16px 70px;
  }

  /* Contact form card — reduce horizontal padding */
  .contact-form-card {
    padding: 1.5rem 1.25rem;
  }

  /* Contact info column — reduce padding */
  .contact-info-col {
    padding: 1.75rem 1.5rem;
  }

  /* Partner form wrapper */
  .partner-form-wrapper {
    padding: 1.5rem 1.25rem;
  }

  /* About CTA band */
  .about-cta-band {
    padding: 2rem 1.5rem;
  }

  /* FAQ CTA */
  .faq-cta {
    padding: 2rem 1.25rem;
  }

  /* Terms / Privacy hero */
  .terms-hero,
  .privacy-hero,
  .faq-hero,
  .about-hero {
    padding: 120px 16px 60px;
    min-height: 48vh;
  }

  /* Partner hero */
  .partner-hero {
    padding: 120px 16px 60px;
    min-height: 55vh;
  }

  /* Impact / mission content blocks */
  .impact-content,
  .mission-content {
    padding: 1rem !important;
  }

  .impact-mission-wrapper .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* intl-tel-input must not overflow its column */
  .iti-wrap,
  .iti-wrap .iti {
    width: 100%;
    max-width: 100%;
  }

  .map-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Partner form — full-width button */
  .partner-form .btn {
    width: 100%;
  }
}

/* ── Equipment cards — slightly shorter on small phones ── */
@media (max-width: 575px) {
  .equipment-card {
    height: 260px;
  }
}

/* ── Phone input — prevent layout overflow on very narrow screens ── */
@media (max-width: 360px) {
  .iti-wrap input.form-control {
    padding-left: 78px !important;
  }
}

/* ── Capability stat cards — stack on very small screens ── */
@media (max-width: 479px) {
  #capStats .col-4 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .impact-stats .impact-stat-card {
    width: 100%;
  }
}

/* ── Navbar: ensure collapsed menu looks clean at every size ── */
@media (max-width: 991px) {
  .navbar-collapse.show,
  .navbar-collapse.collapsing {
    padding: 0.5rem 0 1rem;
  }

  .navbar-nav .nav-link {
    margin: 0;
    padding: 0.55rem 0;
  }

  .lang-switcher-item {
    padding: 0.25rem 0;
  }
}

/* ── Improve hero actions stacking on small phones ── */
@media (max-width: 479px) {
  .hero-actions .btn {
    width: 100%;
  }
}

/* ── Ensure map never breaks layout on mobile ── */
@media (max-width: 767px) {
  .map-wrapper iframe {
    height: 280px;
  }
}

/* ==========================================================================
   FAQ page
   ========================================================================== */
.faq-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  padding: 170px 20px 80px;
  color: #fff;
  overflow: hidden;
  background: url("../images/3.png") center / cover no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .faq-hero {
    background-attachment: scroll;
  }
}

.faq-accordion .accordion-item {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  padding: 1.25rem 1.4rem;
  background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-600);
  background: var(--accent-soft);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Recolor the chevron to the brand accent */
.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='%232e90fa' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 1rem 1.4rem 1.35rem;
  color: var(--body);
  font-size: 1.02rem;
  line-height: 1.75;
}

/* Still-have-questions CTA */
.faq-cta {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-600));
  color: rgba(255, 255, 255, 0.85);
}

.faq-cta-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.faq-cta-text {
  max-width: 480px;
  margin: 0 auto 1.5rem;
}

/* ==========================================================================
   About Us page
   ========================================================================== */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 60vh;
  padding: 170px 20px 90px;
  color: #fff;
  overflow: hidden;
  background: url("../images/15.png") center / cover no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .about-hero {
    background-attachment: scroll;
  }
}

.about-value-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.about-value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.about-value-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 1rem;
}

.about-value-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.about-value-card p {
  font-size: 0.92rem;
  color: var(--body);
  line-height: 1.65;
  margin: 0;
}

.about-timeline {
  position: relative;
  padding-left: 2rem;
}

.about-timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.3rem;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.about-timeline-item {
  position: relative;
  margin-bottom: 1.8rem;
}

.about-timeline-item::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.about-timeline-item h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.about-timeline-item p {
  font-size: 0.9rem;
  color: var(--body);
  margin: 0;
  line-height: 1.6;
}

.about-cta-band {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius);
  padding: 3rem 2.5rem;
  text-align: center;
  color: #fff;
}

.about-cta-band h2 {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 0.75rem;
}

.about-cta-band p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto 1.8rem;
  line-height: 1.65;
}

/* ==========================================================================
   Terms of Use page
   ========================================================================== */
.terms-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  padding: 170px 20px 80px;
  color: #fff;
  overflow: hidden;
  background: url("../images/7.png") center / cover no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .terms-hero {
    background-attachment: scroll;
  }
}

.terms-toc {
  position: sticky;
  top: 96px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.terms-toc-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.terms-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.terms-toc-list li {
  border-bottom: 1px solid var(--line);
}

.terms-toc-list li:last-child {
  border-bottom: none;
}

.terms-toc-list a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.terms-toc-list a:hover {
  color: var(--accent-600);
}

.terms-section {
  scroll-margin-top: 96px;
}

.terms-section + .terms-section {
  margin-top: 2.8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.terms-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-600);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.terms-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.terms-section h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.terms-section p,
.terms-section li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--body);
}

.terms-section ul,
.terms-section ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.terms-callout {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
  color: var(--body);
  line-height: 1.7;
}

.terms-callout strong {
  color: var(--ink);
}

.terms-warning {
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  font-size: 0.88rem;
  color: #b91c1c;
  line-height: 1.65;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.terms-contact-card {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  color: #fff;
}

.terms-contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.terms-contact-card a {
  color: var(--accent);
  text-decoration: none;
}

.terms-contact-card a:hover {
  text-decoration: underline;
}

.terms-contact-card .btn-primary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
  box-shadow: none;
}

.terms-contact-card .btn-primary:hover,
.terms-contact-card .btn-primary:focus {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

/* ==========================================================================
   Privacy Notice page
   ========================================================================== */
.privacy-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56vh;
  padding: 170px 20px 80px;
  color: #fff;
  overflow: hidden;
  background: url("../images/15.png") center / cover no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .privacy-hero {
    background-attachment: scroll;
  }
}

.privacy-toc {
  position: sticky;
  top: 96px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
}

.privacy-toc-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.privacy-toc-list li {
  border-bottom: 1px solid var(--line);
}

.privacy-toc-list li:last-child {
  border-bottom: none;
}

.privacy-toc-list a {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.privacy-toc-list a:hover {
  color: var(--accent-600);
}

.privacy-section {
  scroll-margin-top: 96px;
}

.privacy-section + .privacy-section {
  margin-top: 2.8rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.privacy-section-number {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-600);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  margin-right: 0.6rem;
  flex-shrink: 0;
}

.privacy-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.privacy-section h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.privacy-section p,
.privacy-section li {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--body);
}

.privacy-section ul {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}

.privacy-in-short {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.2rem;
}

.privacy-in-short i {
  color: var(--accent-600);
  font-size: 1.1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.privacy-in-short p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink);
}

.privacy-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.privacy-summary-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.2rem 1.25rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.privacy-summary-card i {
  font-size: 1.35rem;
  color: var(--accent-600);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.privacy-summary-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.privacy-summary-card span {
  font-size: 0.87rem;
  color: var(--body);
  line-height: 1.55;
}

.privacy-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.privacy-table th {
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
}

.privacy-table td {
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  vertical-align: top;
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

.privacy-table tr:nth-child(even) td {
  background: var(--bg-soft);
}

.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.privacy-badge.yes {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.privacy-badge.no {
  background: rgba(107, 122, 141, 0.12);
  color: var(--muted);
}

.privacy-contact-card {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-600) 100%);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  color: #fff;
}

.privacy-contact-card h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.privacy-contact-card a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-contact-card a:hover {
  text-decoration: underline;
}

.privacy-contact-card .btn-primary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff !important;
  box-shadow: none;
}

.privacy-contact-card .btn-primary:hover,
.privacy-contact-card .btn-primary:focus {
  background: #fff;
  border-color: #fff;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}
