@charset "UTF-8";

:root {
  /* Brand blues */
  --blue-800: #006699;
  --blue-700: #0a4da2;
  --blue-600: #1b63d6;
  --blue-500: #2d7ff9;
  /* Status */
  --success-600: #1b8f4e;
  --warning-600: #b37d00;
  --error-600: #c52a2a;
  /* Neutrals */
  --neutral-900: #0e1523;
  --neutral-700: #2a3647;
  --neutral-500: #5a6676;
  --neutral-300: #a3adba;
  --neutral-200: #cdd3dd;
  --neutral-100: #e9edf3;
  --neutral-50: #f7f9fc;
  /* Typography & radius */
  --text-strong: var(--blue-800);
  --text: var(--neutral-700);
  --text-muted: var(--neutral-500);
  --focus: #2d7ff9;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --maxw: 1200px;
}

/* Global responsive box model */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Images & SVGs shrink in smaller viewports */
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.recycle-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Who We Serve images */
.who-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover .who-img {
  transform: scale(1.03);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
}

/* Responsive tweak for mobile */
@media (max-width: 768px) {
  .who-img {
    height: 140px;
  }
}

.card:hover .recycle-img {
  transform: scale(1.03);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
}

.card {
  position: relative;
  overflow: hidden;
}

.card:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 60%,
    rgba(0, 0, 0, 0.15)
  );
  pointer-events: none;
}

/* Base */
html {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    "Noto Sans", sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  scroll-behavior: smooth;
}

:lang(zh-CN) {
  font-family: "Noto Sans SC", system-ui, sans-serif;
}

:lang(ja) {
  font-family: "Noto Sans JP", system-ui, sans-serif;
}

:lang(ko) {
  font-family: "Noto Sans KR", system-ui, sans-serif;
}

:lang(ar) {
  font-family: "Noto Kufi Arabic", system-ui, sans-serif;
}

body {
  margin: 0;
}

a {
  color: var(--blue-500);
  text-decoration: none;
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding: 0 20px;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -40px;
  background: #fff;
  border: 2px solid var(--blue-700);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 1000;
}

.skip-link:focus {
  top: 8px;
}

:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--focus);
}

/* Top utility */
.topbar {
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-100);
  font-size: 0.875rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.lang-select {
  display: flex;
  gap: 8px;
  align-items: center;
}

select {
  padding: 6px 10px;
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.linkedin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-strong);
}

.linkedin svg {
  width: 18px;
  height: 18px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 900;
  border-bottom: 1px solid var(--neutral-100);
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0; /* slightly larger default padding */
  transition: padding 0.25s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-strong);
}

.logo-img {
  width: 200px;
  max-width: 100%;
  height: auto;
  transition: max-width 0.25s ease, transform 0.25s ease;
}

.badge img {
  max-height: 32px;
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.85rem;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 22px; /* slightly wider spacing between items */
}

nav a {
  color: var(--text-strong);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: padding 0.25s ease, font-size 0.25s ease;
}

nav a.active,
nav a:hover {
  background: var(--neutral-50);
}

/* Header size when scrolled down */
header.header-compact {
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.18);
  background: #ffffff;
}

header.header-compact .nav {
  padding: 8px 0; /* smaller height */
}

header.header-compact .logo-img {
  max-width: 150px; /* shrink logo a bit */
  transform: translateY(1px);
}

header.header-compact nav a {
  font-size: 0.95rem;
  padding: 6px 10px;
}

.burger {
  display: none;
  background: none;
  border: 1px solid var(--neutral-200);
  border-radius: 10px;
  padding: 8px;
}

/* Sections */
section {
  padding: 80px 0 56px;
}

.hero {
  padding: 72px 0;
}

.hero h1 {
  color: var(--text-strong);
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 10px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 12px 30px rgba(3, 18, 41, 0.06);
}

.hero-highlight h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}

.hero-highlight p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}
/* ===========================
   About section layout & visuals
   =========================== */

.about-layout {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-layout .section-heading {
  margin-bottom: 1.5rem;
}

.about-card {
  border-radius: 16px;
  border: 1px solid var(--neutral-100);
  background: #ffffff;
  padding: 14px 16px 16px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2.1fr);
  gap: 14px;
  align-items: stretch;
  max-width: 100%;
}

.about-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(45, 127, 249, 0.09),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.about-card:hover::before {
  opacity: 1;
}

/* Left image column in About cards */
.about-card-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  height: 100%; /* stretch to full card height on desktop */
}

/* Image fills the whole media column */
.about-card-img {
  display: block;
  width: 100%;
  height: 100%; /* remove white space at bottom */
  min-height: 160px; /* avoid being too short */
  object-fit: cover;
}

.about-card-body h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.about-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text);
}

/* Responsive tweaks for About section */
@media (max-width: 960px) {
  .about-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-card-media {
    height: auto;           /* normal behaviour on stacked layout */
  }

  .about-card-img {
    height: 200px;          /* fixed nice height above text */
  }
}

@media (max-width: 600px) {
  .about-layout {
    gap: 16px;
  }

  .about-card {
    padding: 12px 12px 14px;
  }

  .about-card-img {
    height: 160px;
  }
}

/* ===========================
   Metal Resources section
   =========================== */

.resources-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 1.5rem;
}

.resources-intro {
  margin-top: 0.75rem;
  font-size: 1.02rem;
  color: var(--text);
}

.resources-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}

/* Card layout re-using .card visual style */
.resource-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px; /* refine spacing inside card */
}

.resource-card-body h3 {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: var(--text-strong);
}

.resource-card-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
}

/* Small animated icons for each resource topic */
.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
}

.resource-icon-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.35);
}
.resources-materials {
  max-width: 960px;
  margin: 0 auto 2rem;
}

.resources-subheading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.5rem;
}

.resources-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text);
}

.resources-list li {
  margin-bottom: 0.2rem;
}

/* Material Portfolio card – same visual language as other resource cards */
.resource-card--materials {
  /* if in future resources-grid becomes 2 columns, this makes the list span full width */
  grid-column: 1 / -1;
}

/* Two-column layout inside the card */
.resource-matrix {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.1fr);
  gap: 16px 24px;
  margin-top: 0.35rem;
}

.resource-subheading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-strong);
  margin-bottom: 0.3rem;
}

.resource-list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text);
}

.resource-list li {
  margin-bottom: 0.15rem;
}

/* Responsive: stack lists on smaller screens */
@media (max-width: 900px) {
  .resource-matrix {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Slightly different gradient per topic */
.resource-icon-accepted {
  background: linear-gradient(135deg, #1B63D6, #2D7FF9);
}

.resource-icon-specs {
  background: linear-gradient(135deg, #0A4DA2, #22c55e);
}

.resource-icon-process {
  background: linear-gradient(135deg, #6366f1, #0ea5e9);
}

.resource-icon-logistics {
  background: linear-gradient(135deg, #F97316, #ec4899);
}

/* Gentle pulse on scroll-in (leveraging .reveal-visible) */
.resource-card.reveal-visible .resource-icon {
  animation: resourcePulse 1s ease-out;
}

@keyframes resourcePulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  60% {
    transform: scale(1.06);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive – keep consistent with other sections */
@media (max-width: 900px) {
  .resources-header {
    margin-bottom: 1.25rem;
  }

  .resource-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .resource-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 600px) {
  .resources-intro {
    font-size: 0.98rem;
  }

  .resource-card {
    padding: 14px 14px 15px;
  }
}

/* === Back to Top button === */

.back-to-top {
  position: fixed;
  right: 25px;
  bottom: 24px;
  width: 5cap;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: #ffffff;
  color: var(--blue-700);
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease,
    border-color 0.2s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--blue-500);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.3);
}

/* Slightly adjust for very small screens */
@media (max-width: 480px) {
  .back-to-top {
    right: 14px;
    bottom: 18px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
}

/* === Certifications & Memberships Banner === */

.cert-marquee {
  position: relative;
  overflow: hidden;
  padding: 24px 0 12px;
  margin-top: 24px;
}

.cert-track {
  display: flex;
  align-items: stretch;
  gap: 24px;
  animation: cert-scroll 26s linear infinite;
  will-change: transform;
}

/* Bigger, more prominent Certifications section */
#cert-memberships {
  padding: 56px 24px 64px; /* more vertical space */
  margin-top: 56px;
  margin-bottom: 32px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

#cert-memberships .section-heading {
  font-size: 1.9rem; /* larger heading */
  margin-bottom: 12px;
}

/* Pause animation on hover */
.cert-marquee:hover .cert-track {
  animation-play-state: paused;
}

.cert-card {
  flex: 0 0 280px; /* was 240px – wider cards */
  max-width: 100%;
  min-height: 88px; /* slightly taller */
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cert-card img {
  max-height: 40px;
  width: auto;
  flex-shrink: 0;
}

.cert-text h3 {
  font-size: 1rem;
  margin: 0 0 4px;
}

.cert-text p {
  font-size: 0.8rem;
  margin: 0;
  color: var(--text-muted);
}

/* Hover lift */
.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
  border-color: rgba(37, 99, 235, 0.55); /* blue accent */
}

/* Right-to-left floating animation */
@keyframes cert-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .cert-card {
    flex: 0 0 240px;
    padding: 10px 16px;
    min-height: 80px;
  }

  #cert-memberships {
    padding: 40px 16px 48px;
    margin-top: 40px;
    margin-bottom: 24px;
    border-radius: 16px;
  }

  .cert-text h3 {
    font-size: 0.9rem;
  }

  .cert-text p {
    font-size: 0.76rem;
  }
}

/* Stack nicely on mobile */
@media (max-width: 900px) {
  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    background-color 0.18s ease, border-color 0.18s ease;
}

.carasoul-text {
  color: #fff;
}

.btn-primary {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover {
  background: #083d82;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.btn-secondary {
  background: #fff;
  border-color: var(--neutral-200);
  color: var(--blue-800);
}

.btn-secondary:hover {
  border-color: var(--neutral-300);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  border-color: var(--blue-500);
}

.strip {
  background: #fff;
  border: 1px solid var(--neutral-100);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin: 25px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-100);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.875rem;
  color: var(--text-strong);
}

.icon {
  width: 16px;
  height: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  position: relative;
  border: 1px solid var(--neutral-100);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  transition: transform 0.22s ease, box-shadow 0.22s ease,
    border-color 0.22s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top left,
    rgba(45, 127, 249, 0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.card h3 {
  margin: 0 0 6px;
  color: var(--text-strong);
}

.card p {
  margin: 0;
  color: var(--text);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(3, 18, 41, 0.12);
  border-color: rgba(45, 127, 249, 0.35);
}

.card:hover::before {
  opacity: 1;
}

.icon-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.icon-card {
  border: 1px dashed var(--neutral-200);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.icon-card h4 {
  margin: 8px 0;
  color: var(--text-strong);
}

/* --- Icon bubbles for cards --- */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #2d7ff9 40%,
    #006699 100%
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 22px rgba(4, 19, 34, 0.25);
}

/* --- Trusted Across Continents rectangular badges --- */

.trusted-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.trusted-card-header h3 {
  margin: 0;
}

/* Rectangular country flags in Trusted Across Continents */

.trusted-flag {
  width: 64px; /* increased from 40px */
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .trusted-flag {
    width: 52px; /* slightly smaller on very small screens */
  }
}

/* Base rectangular badge 
.trusted-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  padding: 4px 12px;
  border-radius: 8px; /* rectangular, not circular 
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.25);
  white-space: nowrap;
}
*/
/* Optional slight color variations per region */
.trusted-badge-cn {
  background: linear-gradient(90deg, #1b63d6, #2d7ff9);
}
.trusted-badge-gcc {
  background: linear-gradient(90deg, #006699, #1b63d6);
}
.trusted-badge-in {
  background: linear-gradient(90deg, #1b8f4e, #2d7ff9);
}
.trusted-badge-kr {
  background: linear-gradient(90deg, #0a4da2, #2d7ff9);
}
.trusted-badge-jp {
  background: linear-gradient(90deg, #b37d00, #2d7ff9);
}
.trusted-badge-es {
  background: linear-gradient(90deg, #c52a2a, #2d7ff9);
}

/* On very small screens, keep them readable */
@media (max-width: 480px) {
  .trusted-badge {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

/* small variants per type (optional) */
.icon-seller {
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #1b63d6 40%,
    #006699 100%
  );
}
.icon-buyer {
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #2d7ff9 40%,
    #0a4da2 100%
  );
}
.icon-invest {
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #2d7ff9 40%,
    #006699 100%
  );
}

.icon-region {
  background: radial-gradient(
    circle at 30% 30%,
    #ffffff 0,
    #2d7ff9 40%,
    #041322 100%
  );
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--neutral-100);
  border-radius: 12px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

th,
td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--neutral-100);
  text-align: start;
}

thead th {
  background: var(--neutral-50);
  color: var(--text-strong);
}

.cta-band {
  background: var(--blue-800);
  color: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band h3 {
  margin: 0;
  font-size: 1.25rem;
}

/* CTA buttons row in hero */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem; /* increased gap between "Enquire Now" and secondary */
  margin-top: 1.5rem;
  align-items: center;
}

@media (max-width: 600px) {
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
address {
  font-style: inherit;
}
footer {
  padding: 24px 0;
  border-top: 1px solid var(--neutral-100);
  color: var(--text);
}

/* Utility helpers */
.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mb-0 {
  margin-bottom: 0;
}

.section-heading {
  position: relative;
  margin: 0 0 2.2rem; /* more space below the heading */
  padding-bottom: 1rem;
  text-align: center;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #034ea2;
}

/* Vibrant underline + accent line for section headings */
.section-heading::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.3rem;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-500));
  box-shadow: 0 4px 12px rgba(45, 127, 249, 0.45);
}

.section-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.7);
}

/* Give a bit more air above the first heading in each section (except hero) */
section:not(#gm-hero) .section-heading {
  margin-top: 1.5rem;
}

.section-alt {
  background: none;
}

.section-alt + section {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.frame-size {
  width: 100%;
  max-width: 100%;
  height: min(320px, 60vh);
  border: 0;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .icon-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }
  nav ul {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  nav.open ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: absolute;
    right: 20px;
    top: 58px;
    background: #fff;
    padding: 12px;
    border: 1px solid var(--neutral-100);
    border-radius: 12px;
    width: min(260px, calc(100vw - 40px));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
}

/* RTL overrides */
html[dir="rtl"] nav.open ul {
  right: auto;
  left: 20px;
}

html[dir="rtl"] th,
html[dir="rtl"] td {
  text-align: start;
} /* start respects dir */

/* Viewport & track ensure only one slide is visible */
.gm-carousel {
  position: relative;
  background: radial-gradient(
    circle at top left,
    #1b63d6 0,
    #006699 40%,
    #041322 100%
  );
  color: #fff;
  overflow: hidden;
}
/* Soft abstract light shapes behind hero content */
.gm-carousel::before,
.gm-carousel::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.22;
  pointer-events: none;
}

.gm-carousel::before {
  width: 440px;
  height: 440px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0)
  );
  top: -120px;
  right: -80px;
}

.gm-carousel::after {
  width: 280px;
  height: 280px;
  background: radial-gradient(
    circle,
    rgba(45, 127, 249, 0.75),
    rgba(45, 127, 249, 0)
  );
  bottom: -120px;
  left: -80px;
}

/* Slight parallax feel */
.gm-inner {
  position: relative;
  z-index: 1;
}

.gm-viewport {
  overflow: hidden;
  width: 100%;
}

.gm-track {
  display: flex;
  flex-wrap: nowrap;
  transform: translateX(0);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Each slide occupies 100% width of the carousel */
.gm-slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center; /* vertical center */
  justify-content: flex-start;
  padding: 4.5rem 0; /* slightly taller hero */
}

.gm-inner {
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  width: 100%;
  text-align: left; /* ensure heading & copy are left-aligned */
}

/* Hero slide artwork – place PNG/SVGs into /images */
#gm-slide-1 {
  background-image: url("../images/hero-recycling-metals.png");
  background-repeat: no-repeat;
  background-position: 85% center;
  background-size: 720px auto;
}

#gm-slide-2 {
  background-image: url("../images/hero-connecting-markets.png");
  background-repeat: no-repeat;
  background-position: 85% center;
  background-size: 720px auto;
}

#gm-slide-3 {
  background-image: url("../images/hero-building-trust.png");
  background-repeat: no-repeat;
  background-position: 85% center;
  background-size: 720px auto;
}

/* Make artwork smaller on mobile */
@media (max-width: 900px) {
  #gm-slide-1,
  #gm-slide-2,
  #gm-slide-3 {
    background-size: 260px auto;
    background-position: right bottom;
  }
}

/* Controls & dots */
.gm-prev,
.gm-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e9edf3;
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  cursor: pointer;
}

.gm-prev {
  left: 12px;
}

.gm-next {
  right: 12px;
}

.gm-prev:hover,
.gm-next:hover {
  border-color: #a3adba;
}

.gm-dots {
  display: flex;
  gap: 0.5rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
}

.gm-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #cdd3dd;
  background: #fff;
}

.gm-dots button[aria-selected="true"] {
  background: #0a4da2;
  border-color: #0a4da2;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#gm-hero .gm-slide.is-active .carasoul-text {
  animation: heroFadeUp 0.7s ease-out forwards;
}

#gm-hero .gm-slide.is-active .carasoul-text:nth-child(2) {
  animation-delay: 0.06s;
}

#gm-hero .gm-slide.is-active .carasoul-text:nth-child(3) {
  animation-delay: 0.12s;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(6, 26, 52, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e6edf7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-600);
  box-shadow: 0 0 0 4px rgba(27, 143, 78, 0.35);
}

/* Utilities */
.sr-only {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .gm-slide {
    padding: 2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-track {
    transition: none;
  }
}

/* === Scroll reveal animations === */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  will-change: opacity, transform;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal-left {
  transform: translateX(-24px);
}

.reveal-right {
  transform: translateX(24px);
}

.reveal-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Simple stagger helpers */
.reveal-delay-1 {
  transition-delay: 0.08s;
}
.reveal-delay-2 {
  transition-delay: 0.16s;
}
.reveal-delay-3 {
  transition-delay: 0.24s;
}

/* Respect user's reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Tablet tweaks */
@media (max-width: 900px) {
  .hero {
    padding: 56px 0;
  }

  .hero h1 {
    font-size: 2.1rem;
  }
}

/* Small phones */
@media (max-width: 600px) {
  .topbar .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .logo-img {
    max-width: 160px;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* On very small screens, hide hero background images to keep text readable */
  #gm-slide-1,
  #gm-slide-2,
  #gm-slide-3 {
    background-image: none;
  }
}

/* Extra small phones */
@media (max-width: 420px) {
  nav.open ul {
    width: calc(100vw - 40px);
    right: 20px;
  }
}

.cert-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.cert-logos img {
  max-height: 40px; /* consistent height */
  width: auto;
  filter: grayscale(10%); /* subtle, premium look */
}

.site-footer {
  margin-top: 48px;
  padding: 16px 0 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(148, 163, 184, 0.4);
}

.site-footer a {
  color: var(--blue-600);
  text-decoration: none;
  font-weight: 600;
}

.site-footer a:hover {
  text-decoration: underline;
}
