/* ============================================================
   pro-layout.css — Singapore Express Electronics
   Modern professional layout. Replaces main.css + index.css.
   Original files kept as backup.
   Includes: mobile menu, breadcrumb, footer, ABOUT + CONTACT page styles
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  --primary: #0b2b40;
  --primary-light: #14405c;
  --primary-dark: #071d2b;
  --accent: #0e7c9e;
  --accent-bright: #17a2c4;
  --accent-soft: #e0f0e8;
  --gold: #e6b422;
  --text: #1a2733;
  --text-muted: #5a6b7c;
  --text-light: #a0b3c9;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --bg-dark: #0b1c2f;
  --border: #e2e8ef;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(11, 43, 64, 0.06);
  --shadow: 0 8px 28px rgba(11, 43, 64, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 43, 64, 0.16);

  --container: 1240px;
  --header-h: 76px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset / base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--primary-dark);
}

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
  overflow-x: clip;
}

/* ---------- 3. Header / navigation ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(11, 43, 64, 0.04);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
  background: var(--bg-alt);
}

.nav-link.active {
  font-weight: 600;
}

.dropdown { position: relative; }

.dropdown-toggle i {
  font-size: 0.65rem;
  transition: transform 0.2s var(--ease);
}

.dropdown:hover .dropdown-toggle i { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s var(--ease);
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}

.dropdown-menu li a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #1eb955;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.38);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 24px;
  padding: 0;
  z-index: 1002;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: right center;
}

.menu-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translateY(-2px); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translateY(2px); }

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: hidden;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ---------- 4. Breadcrumb section ---------- */
#breadcrumb-container {
  position: relative;
  z-index: 900;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.breadcrumb-wrapper {
  background: var(--primary);
  border-bottom: 2px solid #facc15;
  padding: 0.8rem 0;
  position: relative;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.breadcrumb-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.breadcrumb-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.breadcrumb-nav li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  min-width: 0;
}

.breadcrumb-nav li:not(:last-child):after {
  content: "/";
  color: #facc15;
  font-weight: 500;
  margin-left: 0.4rem;
}

.breadcrumb-nav a {
  color: #ffd966;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

.breadcrumb-nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.breadcrumb-nav .current-page {
  color: var(--white);
  font-weight: 600;
  background: rgba(250, 204, 21, 0.2);
  padding: 0.2rem 0.8rem;
  border-radius: 30px;
  letter-spacing: 0.2px;
}

.product-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  min-width: 0;
}

.product-shortcut {
  background: rgba(255, 255, 240, 0.12);
  border-radius: 40px;
  padding: 0.3rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #facc15;
  transition: all 0.2s;
  border: 1px solid rgba(250, 204, 21, 0.4);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-shortcut i {
  font-size: 0.7rem;
  color: #ffd966;
}

.product-shortcut:hover {
  background: #facc15;
  color: var(--primary);
  border-color: #facc15;
  transform: translateY(-2px);
}

.product-shortcut:hover i {
  color: var(--primary);
}

/* ---------- 5. Hero ---------- */
.hero-mobile {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
  isolation: isolate;
  width: 100%;
  max-width: 100%;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(7, 29, 43, 0.94) 0%, rgba(7, 29, 43, 0.78) 42%, rgba(11, 43, 64, 0.45) 100%);
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding-block: 96px;
  min-width: 0;
}

.hero-left { min-width: 0; }
.hero-right { min-width: 0; }

.hero-left .pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 26px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #dce9f3;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(6px);
  max-width: 100%;
}

.hero-left h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  line-height: 1.06;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.hero-left p {
  max-width: 560px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  color: #c3d5e3;
  margin-bottom: 34px;
  overflow-wrap: break-word;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(230, 180, 34, 0.35);
  transition: all 0.24s var(--ease);
}

.btn-glow:hover {
  background: #f2c53d;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(230, 180, 34, 0.45);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 15px 28px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  transition: all 0.22s var(--ease);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  min-width: 0;
}

.cap-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 14px;
  text-align: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  transition: all 0.24s var(--ease);
  min-width: 0;
}

.cap-item:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-4px);
}

.cap-item i {
  font-size: 1.35rem;
  color: var(--gold);
  margin-bottom: 4px;
}

.cap-item span {
  font-size: 0.86rem;
  font-weight: 600;
  overflow-wrap: break-word;
}

.cap-item small {
  font-size: 0.7rem;
  color: #9fb7c9;
  letter-spacing: 0.02em;
  overflow-wrap: break-word;
}

/* ---------- 6. Section scaffolding ---------- */
.section {
  padding-block: 96px;
  background: var(--bg);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.section:nth-of-type(even) { background: var(--bg-alt); }

.section-header {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- 7. Service cards ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  min-width: 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  min-width: 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 124, 158, 0.35);
}

.card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-alt);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.service-card:hover .card-img img { transform: scale(1.06); }

.card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 24px;
  min-width: 0;
}

.card-content h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
  overflow-wrap: break-word;
}

.card-content p {
  flex: 1;
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  overflow-wrap: break-word;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.01em;
}

.card-link i { transition: transform 0.24s var(--ease); }

.service-card:hover .card-link i { transform: translateX(5px); }

/* ---------- 8. About section (index page) ---------- */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 64px;
  min-width: 0;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--white);
  padding: 14px;
  min-width: 0;
  max-height: 420px;
  height: 100%;
  width: 100%;
}

.about-visual img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--bg-alt);
}

.year-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--primary-dark);
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.about-text { min-width: 0; }
.about-text .section-subtitle { margin-bottom: 12px; }

.about-text h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  margin-bottom: 18px;
}

.about-text > p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 26px;
}

.about-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  min-width: 0;
}

.highlight-item i {
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 6px;
}

.highlight-item strong {
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.highlight-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- 9. Stats ---------- */
.stats-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 72px;
  min-width: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 34px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
  min-width: 0;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.stat-detail {
  margin-top: 4px;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- 10. CTA block ---------- */
.cta-block {
  padding-block: 88px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 196, 0.35), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.cta-block h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 10px;
}

.cta-block p { color: #c3d5e3; }

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.cta-buttons .btn-glow { background: var(--white); color: var(--primary); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); }
.cta-buttons .btn-glow:hover { background: var(--gold); color: var(--primary-dark); }

/* ---------- 11. Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 52px;
  height: 52px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0.7;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), background 0.24s var(--ease);
}

.back-to-top i { font-size: 0.95rem; }

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-4px);
  background: var(--primary);
}

.back-to-top span { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- 12. Footer section ---------- */
#footer-container {
  background: linear-gradient(145deg, #0a1929 0%, #0f2740 100%);
  color: #e5e9f0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(15, 123, 90, 0.3);
  width: 100%;
  max-width: 100%;
}

#footer-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(15, 123, 90, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-main {
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  min-width: 0;
}

.footer-col { min-width: 0; }

.footer-col h3 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: 0.5px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #0f7b5a, #1abc9c);
  border-radius: 2px;
}

.footer-about p {
  color: #b0c4de;
  line-height: 1.6;
  margin: 20px 0;
  font-size: 0.95rem;
  overflow-wrap: break-word;
}

.footer-logo {
  filter: brightness(1.1);
  margin-bottom: 5px;
}

.footer-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(15, 123, 90, 0.3);
  border-radius: 50%;
  color: #b0c4de;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #0f7b5a;
  border-color: #0f7b5a;
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(15, 123, 90, 0.3);
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #b0c4de;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a:hover {
  color: #1abc9c;
  padding-left: 8px;
}

.footer-links a::before {
  content: '›';
  position: absolute;
  left: -15px;
  color: #0f7b5a;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -8px;
}

.footer-contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-info li {
  display: flex;
  margin-bottom: 18px;
  color: #b0c4de;
  font-size: 0.95rem;
  line-height: 1.5;
  min-width: 0;
}

.footer-contact-info i {
  margin-right: 15px;
  color: #0f7b5a;
  font-size: 1.2rem;
  min-width: 20px;
  margin-top: 3px;
}

.footer-contact-info a {
  color: #b0c4de;
  text-decoration: none;
  transition: color 0.3s ease;
  overflow-wrap: break-word;
}

.footer-contact-info a:hover {
  color: #1abc9c;
}

.footer-contact-info span {
  flex: 1;
  min-width: 0;
  overflow-wrap: break-word;
}

.footer-bottom {
  background: #051220;
  padding: 20px 0;
  border-top: 1px solid rgba(15, 123, 90, 0.2);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  color: #8ba0bc;
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.footer-legal a {
  color: #8ba0bc;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
}

.footer-legal a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -15px;
  color: #2e405b;
}

.footer-legal a:hover {
  color: #1abc9c;
}

/* ---------- 13. ABOUT PAGE styles (appended) ---------- */

.page-header {
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 196, 0.30), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
  text-align: center;
  padding-block: 96px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: #c3d5e3;
  max-width: 640px;
  margin: 0 auto;
}

.section-alt { background: var(--bg-alt); }

.divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 24px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}

.about-content { min-width: 0; }

.about-content h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.about-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.about-image { min-width: 0; }

.about-image .image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.about-image .image-wrapper img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--bg-alt);
}

.about-grid > .mission,
.about-grid > .vision {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
}

.about-grid > .mission:hover,
.about-grid > .vision:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.mission h3,
.vision h3 {
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mission p,
.vision p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.mission ul,
.vision ul {
  margin-top: 15px;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.mission ul li,
.vision ul li {
  margin-bottom: 6px;
  list-style: disc;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  min-width: 0;
}

.value-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  min-width: 0;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 124, 158, 0.35);
}

.value-icon {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.value-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

.section.values-section,
.values-section {
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 196, 0.30), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  color: var(--white);
}

.section.values-section:nth-of-type(even),
.values-section:nth-of-type(even) {
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 196, 0.30), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
}

.values-section .section-subtitle { color: #9fb7c9; }
.values-section .section-title { color: var(--white); }
.values-section .divider { background: var(--gold); }

.value-card-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.value-card-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.30);
}

.value-card-dark h3 { color: var(--white); }
.value-card-dark p { color: rgba(255, 255, 255, 0.85); }

.value-icon-dark {
  background: rgba(255, 255, 255, 0.16);
  color: var(--gold);
}

/* ---------- 14. CONTACT PAGE styles (appended) ---------- */

/* Contact layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  min-width: 0;
}

.contact-info,
.contact-form-container { min-width: 0; }

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.contact-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.contact-card h2 i {
  color: var(--accent);
  font-size: 1.2rem;
}

.contact-method { margin-bottom: 20px; }

.contact-method:last-child { margin-bottom: 0; }

.contact-method h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.contact-method p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-link {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s var(--ease);
  word-break: break-word;
}

.contact-link:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* Contact form */
.contact-form .form-group {
  margin-bottom: 18px;
  min-width: 0;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(14, 124, 158, 0.15);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form .btn-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 22px;
  font-size: 1rem;
}

/* Primary button (used on contact form) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.22s var(--ease);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Form status messages */
.form-status {
  margin-top: 20px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  max-height: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.form-status.active {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

.status-content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-size: 0.95rem;
}

.status-content i { font-size: 1.15rem; flex-shrink: 0; }

.success-message {
  background: #f0fff4;
  color: #22543d;
  border-left: 4px solid #38a169;
}
.success-message i { color: #38a169; }

.error-message {
  background: #fff5f5;
  color: #742a2a;
  border-left: 4px solid #e53e3e;
}
.error-message i { color: #e53e3e; }

.loading-message {
  background: #ebf8ff;
  color: #2b6cb0;
  border-left: 4px solid #4299e1;
}
.loading-message i { color: #4299e1; }

/* Map section */
.map-section {
  padding-block: 72px;
  background: var(--bg-alt);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.map-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.map-section h2 i { color: var(--accent); }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  background: var(--white);
}

.map-container iframe {
  display: block;
  width: 100%;
  border: 0;
}

/* Floating WhatsApp button */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 90px;
  z-index: 950;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.24s var(--ease), background 0.24s var(--ease);
}

.whatsapp-float:hover {
  background: #1eb955;
  transform: scale(1.08);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-content { grid-template-columns: 1fr; gap: 44px; padding-block: 80px; }
  .hero-right { max-width: 560px; }
  .about-split { grid-template-columns: 1fr; gap: 44px; }
  .about-visual { max-width: 620px; width: 100%; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    height: 100dvh;
    background-color: #f8f9fa;
    flex-direction: column;
    align-items: stretch;
    padding: 100px 30px 30px;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.4s;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    gap: 15px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    visibility: hidden;
  }

  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--primary-dark);
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 8px;
    white-space: normal;
  }

  .nav-link:hover,
  .nav-link.active {
    background-color: var(--primary);
    color: var(--white);
    transform: translateX(5px);
  }

  .nav-link i {
    margin-left: auto;
    transition: transform 0.3s ease;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.8);
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 0;
  }

  .dropdown-menu.active {
    max-height: 500px;
    margin-top: 10px;
    margin-bottom: 20px;
  }

  .dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; }
  .dropdown:hover .dropdown-menu:not(.active) { max-height: 0; }

  .dropdown-menu li { padding: 0; }

  .dropdown-menu a {
    display: block;
    padding: 12px 30px;
    color: var(--primary-dark);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 0;
    white-space: normal;
  }

  .dropdown-menu a:hover {
    background-color: rgba(11, 43, 64, 0.1);
    color: var(--primary);
    padding-left: 35px;
  }

  .dropdown > .nav-link.active i {
    transform: rotate(180deg);
  }

  .nav-menu .btn-whatsapp {
    justify-content: center;
    margin-top: 15px;
    padding: 14px 18px;
    width: 100%;
  }

  .breadcrumb-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .product-shortcuts {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.3rem;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .product-shortcut {
    white-space: nowrap;
  }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-header { padding-block: 72px; }
  .about-image .image-wrapper {
    max-height: none;
    height: auto;
    padding: 12px;
  }
  .about-image .image-wrapper img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
  }

  /* Contact page responsive */
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-card { padding: 26px 22px; }
}

@media (max-width: 700px) {
  .section { padding-block: 68px; }

  .hero-mobile { min-height: 0; }
  .hero-content { padding-block: 64px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .stats-flex { grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 52px; }
  .about-highlight { grid-template-columns: 1fr; }
  .cta-block { padding-block: 64px; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn-glow,
  .cta-buttons .btn-ghost { justify-content: center; }
  .back-to-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }

  .footer-main { padding: 40px 0 20px; }
  .footer-grid { gap: 30px; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
  .footer-legal { justify-content: center; flex-wrap: wrap; gap: 20px; }
  .footer-legal a:not(:last-child)::after { display: none; }

  .values-grid { gap: 20px; }
  .value-card { padding: 24px 20px; }
  .about-grid > .mission,
  .about-grid > .vision { padding: 26px 22px; }

  /* Contact page on tablets/phones */
  .map-section { padding-block: 56px; }
  .map-container iframe { height: 360px; }
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    right: 16px;
    bottom: 76px;
  }
}

@media (max-width: 550px) {
  .breadcrumb-nav li { font-size: 0.7rem; }
  .product-shortcut { font-size: 0.65rem; padding: 0.2rem 0.7rem; }
}

@media (max-width: 420px) {
  .container { padding-inline: 16px; }

  .hero-left h1 { font-size: 1.95rem; }
  .capability-grid { gap: 10px; }
  .cap-item { padding: 14px 10px; }
  .stat-item { padding: 26px 14px; }
  .card-content { padding: 22px 18px 20px; }

  .footer-col h3 { font-size: 1.1rem; margin-bottom: 20px; }
  .footer-contact-info li { font-size: 0.9rem; }

  .nav-menu { width: 90%; padding: 90px 20px 20px; }

  .page-header { padding-block: 56px; }
  .about-image .image-wrapper { padding: 10px; }
  .about-image .image-wrapper img { max-height: 260px; }
  .value-icon { width: 54px; height: 54px; font-size: 1.4rem; }
  .about-grid > .mission,
  .about-grid > .vision { padding: 22px 18px; }

  /* Contact page on small phones */
  .contact-card { padding: 22px 18px; }
  .contact-card h2 { font-size: 1.2rem; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 0.9rem; padding: 10px 12px; }
  .map-container iframe { height: 280px; }
}

/* ---------- 16. Accessibility / motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 17. TERMS PAGE styles (appended) ---------- */

/* Legal layout */
.legal-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 20px 40px;
  min-height: calc(100vh - 200px);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  padding-top: 20px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.legal-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Tabs */
.terms-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 30px 0 40px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--bg-alt);
  border: 1px solid transparent;
  padding: 14px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
}

.tab-btn i {
  margin-right: 8px;
  color: var(--accent);
  transition: color 0.3s var(--ease);
}

.tab-btn:hover {
  background: var(--white);
  border-color: var(--border);
}

.tab-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(11, 43, 64, 0.2);
}

.tab-btn.active i { color: var(--gold); }

/* Tab panes */
.tab-pane {
  display: none;
  animation: termsFadeIn 0.4s ease;
}

.tab-pane.active { display: block; }

@keyframes termsFadeIn {
  from { opacity: 0.3; transform: translateY(8px); }
  to   { opacity: 1;   transform: translateY(0); }
}

/* Legal sections */
.legal-section {
  margin-bottom: 40px;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  color: var(--primary-dark);
  margin-bottom: 18px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  padding-top: 20px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.legal-section h3 {
  color: var(--text);
  margin: 25px 0 15px;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  padding-top: 10px;
}

.legal-section p {
  margin-bottom: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.legal-section ul,
.legal-section ol {
  margin-left: 20px;
  margin-bottom: 20px;
  padding-left: 4px;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 10px;
  line-height: 1.6;
  list-style: disc;
}

.legal-section ol li { list-style: decimal; }

.legal-section a {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s var(--ease);
}

.legal-section a:hover {
  color: var(--accent-bright);
  text-decoration: underline;
}

/* Highlight boxes */
.highlight-box {
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 20px;
  margin: 20px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-box p {
  margin: 0;
  color: var(--text-muted);
}

.highlight-box strong { color: var(--primary-dark); }

.highlight-box-sourcing {
  border-left-color: #cc7b00;
  background: #fff8ec;
}

/* Sourcing clause card */
.sourcing-clause {
  background: var(--white);
  padding: 1.2rem 1.8rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sourcing-clause h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.badge-sourcing {
  background: #d4e3ff;
  color: #004b9a;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 30px;
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}

/* Definition grid */
.def-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 20px;
  margin: 20px 0;
}

.def-term {
  font-weight: 700;
  color: var(--primary-dark);
}

.def-desc {
  color: var(--text-muted);
}

/* Footer row inside legal content */
.terms-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.last-updated {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.last-updated p { margin: 0; }

.back-to-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}

.back-to-home:hover {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
}

.terms-end {
  margin-top: 25px;
  color: var(--text-muted);
}

/* Terms page responsive */
@media (max-width: 900px) {
  .legal-content { padding: 60px 16px 30px; }
}

@media (max-width: 768px) {
  .legal-content { padding: 48px 15px 30px; }
  .legal-header { margin-bottom: 28px; }
  .tab-btn { padding: 10px 18px; font-size: 0.95rem; }
  .terms-tabs { gap: 8px; margin: 22px 0 30px; }
  .legal-section h2 { font-size: 1.4rem; }
  .legal-section h3 { font-size: 1.15rem; }
  .def-grid { grid-template-columns: 1fr; gap: 4px 0; }
  .def-term { margin-top: 10px; }
  .terms-footer-row { flex-direction: column; align-items: flex-start; }
  .last-updated { text-align: left !important; }
}

/* ---------- 18. SOURCING PAGE styles (appended) ---------- */

/* Hero */
.sourcing-hero {
  position: relative;
  padding-block: 110px;
  text-align: center;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 20%, rgba(23, 162, 196, 0.35), transparent 55%),
    linear-gradient(120deg, var(--primary-dark) 0%, var(--primary) 55%, var(--primary-light) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.sourcing-hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.sourcing-hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.sourcing-hero .subtitle {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: #c3d5e3;
  max-width: 680px;
  margin: 0 auto 30px;
}

.sourcing-hero .cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Services grid */
.sourcing-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  min-width: 0;
}

.sourcing-service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  min-width: 0;
}

.sourcing-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 124, 158, 0.35);
}

.sourcing-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.sourcing-service-card h3 {
  font-size: 1.15rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.sourcing-service-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

/* Process steps */
.sourcing-process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  min-width: 0;
}

.sourcing-step {
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.26s var(--ease), box-shadow 0.26s var(--ease);
  min-width: 0;
}

.sourcing-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.sourcing-step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(14, 124, 158, 0.3);
}

.sourcing-step-content { min-width: 0; }

.sourcing-step-content h3 {
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.sourcing-step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

/* Industries grid */
.sourcing-industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  min-width: 0;
}

.sourcing-industry-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
  min-width: 0;
}

.sourcing-industry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 124, 158, 0.35);
}

.sourcing-industry-icon {
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.sourcing-industry-card h3 {
  font-size: 1.08rem;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.sourcing-industry-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

/* About */
.sourcing-about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  min-width: 0;
}

.sourcing-about-content { min-width: 0; }

.sourcing-highlight {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.sourcing-about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  min-width: 0;
}

.sourcing-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
}

.sourcing-point i {
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.sourcing-point-content { min-width: 0; }

.sourcing-point-content h3 {
  font-size: 0.98rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.sourcing-point-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  overflow-wrap: break-word;
}

.sourcing-about-image {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  max-height: 420px;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.sourcing-about-image img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: calc(var(--radius-lg) - 8px);
  background: var(--bg-alt);
}

/* Testimonials */
.sourcing-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  min-width: 0;
}

.sourcing-testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease);
  min-width: 0;
}

.sourcing-testimonial:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.sourcing-quote {
  position: relative;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 22px;
  padding-left: 28px;
}

.sourcing-quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -10px;
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.5;
  font-family: Georgia, serif;
}

.sourcing-client {
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.sourcing-client-info h4 {
  font-size: 1rem;
  color: var(--primary-dark);
  margin-bottom: 2px;
}

.sourcing-client-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sourcing page responsive */
@media (max-width: 1080px) {
  .sourcing-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .sourcing-about-image { max-width: 620px; width: 100%; }
}

@media (max-width: 900px) {
  .sourcing-hero { padding-block: 84px; }
  .sourcing-about-points { grid-template-columns: 1fr; }
  .sourcing-about-image { max-height: none; height: auto; padding: 12px; }
  .sourcing-about-image img { max-height: 340px; object-fit: contain; }
}

@media (max-width: 700px) {
  .sourcing-hero { padding-block: 64px; }
  .sourcing-process-steps { grid-template-columns: 1fr; gap: 18px; }
  .sourcing-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .sourcing-service-card,
  .sourcing-industry-card,
  .sourcing-testimonial { padding: 24px 20px; }
}

@media (max-width: 480px) {
  .sourcing-industry-grid { grid-template-columns: 1fr; }
  .sourcing-step { flex-direction: column; align-items: flex-start; }
  .sourcing-step-number { width: 42px; height: 42px; font-size: 1.1rem; }
  .sourcing-about-image img { max-height: 260px; }
}