/* ==========================================================================
   CHANGI TRADING LIMITED - METALS, COPPER & SULFUR TRADING PLATFORM
   Light Theme Design System with Premium Typography & Micro-Animations
   ========================================================================== */

:root {
  --primary-copper: #c26d36;
  --primary-copper-dark: #9a4c1c;
  --primary-copper-light: #fbeee6;
  --accent-sulfur: #d97706;
  --accent-sulfur-light: #fef3c7;
  --accent-gold: #f59e0b;
  --navy-slate: #1e3a5f;
  --navy-slate-dark: #0f1f33;
  --navy-deep: #0b1727;
  
  --bg-pure: #ffffff;
  --bg-pearl: #f8fafc;
  --bg-slate: #f1f5f9;
  --bg-sand: #fbfbf9;
  --card-border: #e2e8f0;
  --card-border-hover: #cbd5e1;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 9999px;

  --shadow-subtle: 0 2px 10px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-hover: 0 20px 40px -10px rgba(194, 109, 54, 0.16), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-body);
  background-color: var(--bg-pure);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-copper {
  background: var(--primary-copper-light);
  color: var(--primary-copper-dark);
  border: 1px solid rgba(194, 109, 54, 0.25);
}

.badge-sulfur {
  background: var(--accent-sulfur-light);
  color: #92400e;
  border: 1px solid rgba(217, 119, 6, 0.25);
}

.badge-navy {
  background: rgba(30, 58, 95, 0.08);
  color: var(--navy-slate);
  border: 1px solid rgba(30, 58, 95, 0.2);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-copper) 0%, var(--primary-copper-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(194, 109, 54, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(194, 109, 54, 0.42);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy-slate);
  border: 1.5px solid var(--card-border);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  border-color: var(--navy-slate);
  color: var(--navy-slate-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-smooth);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-subtle);
  border-bottom-color: var(--card-border);
}

/* Top bar with contact info (No social icons) */
.top-bar {
  background: linear-gradient(90deg, #0f1f33 0%, #1e3a5f 100%);
  color: #f1f5f9;
  font-size: 0.8125rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2e8f0;
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent-gold);
}

.top-bar-item a:hover {
  color: var(--accent-gold);
}

/* Nav container */
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  transition: padding var(--transition-fast);
}

.site-header.scrolled .nav-container {
  padding: 8px 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-copper), var(--accent-gold));
  border-radius: 2px;
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary-copper);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text-main);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 82%;
  max-width: 360px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.drawer-nav a {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: 155px;
  padding-bottom: 90px;
  min-height: 94vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-pearl);
  overflow: hidden;
}

.hero-bg-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  filter: saturate(1.08) contrast(1.02);
}

/* Light overlay with glassmorphic transparency to highlight light aesthetic */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.94) 0%,
    rgba(255, 255, 255, 0.88) 45%,
    rgba(255, 255, 255, 0.45) 85%,
    rgba(255, 255, 255, 0.3) 100%
  );
  backdrop-filter: blur(1.5px);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 980px;
}

.hero-headline {
  font-size: clamp(2.05rem, 3.8vw, 3.4rem);
  font-weight: 800;
  color: var(--navy-slate-dark);
  margin: 20px 0 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hero-headline .headline-line-1 {
  display: block;
  color: var(--navy-slate-dark);
}

.hero-headline .headline-line-2 {
  display: block;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .hero-headline .headline-line-2 {
    white-space: normal;
  }
}

.hero-pan-anim {
  animation: heroBgPan 26s ease-in-out infinite alternate;
}

@keyframes heroBgPan {
  0% { transform: scale(1.02) translate(0, 0); }
  50% { transform: scale(1.07) translate(-14px, -6px); }
  100% { transform: scale(1.02) translate(0, 0); }
}

.badge-float-anim {
  animation: badgeFloat 3.8s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.hero-headline span.highlight-copper {
  background: linear-gradient(135deg, var(--primary-copper) 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-headline span.highlight-sulfur {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 680px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Hero Stats Row */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: var(--shadow-card);
}

.hero-stat-item {
  border-right: 1px solid var(--card-border);
  padding-right: 14px;
}

.hero-stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-slate);
  display: block;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ==========================================================================
   COMMODITIES TICKER STRIP
   ========================================================================== */
.ticker-strip {
  background: #ffffff;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 16px 0;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.ticker-track {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
}

.ticker-item span.label {
  color: var(--text-muted);
  font-weight: 500;
}

.ticker-item span.value {
  color: var(--primary-copper);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.section-padding {
  padding: 100px 0;
  position: relative;
}

.bg-pearl {
  background-color: var(--bg-pearl);
}

.bg-white {
  background-color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--navy-slate-dark);
  margin: 14px 0 16px;
  letter-spacing: -0.03em;
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.about-narrative h3 {
  font-size: 1.75rem;
  margin-bottom: 18px;
  color: var(--navy-slate);
}

.about-narrative p {
  color: var(--text-body);
  font-size: 1.03rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.highlight-card {
  background: #ffffff;
  padding: 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-smooth);
}

.highlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-copper);
  box-shadow: var(--shadow-card);
}

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-copper-light);
  color: var(--primary-copper);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.highlight-card h4 {
  font-size: 1.0625rem;
  margin-bottom: 6px;
}

.highlight-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* About Visual Stack */
.about-visual-box {
  position: relative;
}

.about-visual-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--card-border);
  position: relative;
}

.about-visual-main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-visual-main:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: #ffffff;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
  border: 1px solid var(--card-border);
  max-width: 280px;
}

.floating-badge-title {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-copper);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.floating-badge-body {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy-slate-dark);
  line-height: 1.35;
}

/* ==========================================================================
   CORE COMMODITIES SHOWCASE
   ========================================================================== */
.commodities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.commodity-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.commodity-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(194, 109, 54, 0.4);
}

.commodity-img-box {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.commodity-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.commodity-card:hover .commodity-img-box img {
  transform: scale(1.05);
}

.commodity-type-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
}

.commodity-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.commodity-title {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--navy-slate-dark);
}

.commodity-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
}

.commodity-specs-list {
  list-style: none;
  background: var(--bg-pearl);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.commodity-specs-list li {
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--card-border);
  padding-bottom: 6px;
}

.commodity-specs-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-name {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--navy-slate);
  font-weight: 700;
}

/* ==========================================================================
   GLOBAL LOGISTICS & SUPPLY CHAIN
   ========================================================================== */
.logistics-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--card-border);
  padding: 44px;
  box-shadow: var(--shadow-card);
  margin-bottom: 40px;
}

.logistics-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.logistics-item {
  background: var(--bg-pearl);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  transition: transform var(--transition-fast);
}

.logistics-item:hover {
  transform: translateY(-4px);
  background: #ffffff;
  border-color: var(--primary-copper);
}

.logistics-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 58, 95, 0.08);
  color: var(--navy-slate);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.logistics-item h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.logistics-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Inspection & Quality Bar */
.quality-banner {
  background: linear-gradient(135deg, #0f1f33 0%, #1e3a5f 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.quality-content h3 {
  color: #ffffff;
  font-size: 1.65rem;
  margin-bottom: 8px;
}

.quality-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: 600px;
}

.quality-badges-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quality-badge {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fcd34d;
}

/* ==========================================================================
   CONTACT SECTION & ANIMATED FLYING PAPER PLANE FORM
   ========================================================================== */
.contact-section {
  position: relative;
  background-color: var(--bg-pearl);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: stretch;
}

/* Contact Details Card */
.contact-info-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-header h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
  color: var(--navy-slate-dark);
}

.info-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-card-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  background: var(--bg-pearl);
  border-radius: var(--radius-md);
  border: 1px solid var(--card-border);
  transition: all var(--transition-fast);
}

.contact-card-item:hover {
  border-color: var(--primary-copper);
  background: #ffffff;
  transform: translateX(4px);
}

.contact-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-copper-light);
  color: var(--primary-copper-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-text h5 {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-card-text p, .contact-card-text a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 0;
}

.contact-card-text a:hover {
  color: var(--primary-copper);
}

/* Map Frame */
.map-frame-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--card-border);
  height: 220px;
  box-shadow: var(--shadow-subtle);
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Form Box */
.contact-form-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 44px;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-hover);
  position: relative;
  overflow: hidden;
}

.form-header {
  margin-bottom: 28px;
}

.form-header h3 {
  font-size: 1.75rem;
  color: var(--navy-slate-dark);
  margin-bottom: 8px;
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.rfq-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--card-border);
  background: var(--bg-pearl);
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--primary-copper);
  box-shadow: 0 0 0 3px rgba(194, 109, 54, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Flying Paper Plane Animation Container */
.submit-btn-wrapper {
  position: relative;
  margin-top: 10px;
}

.btn-submit-rfq {
  width: 100%;
  padding: 15px 30px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* Paper Airplane Flight Stage */
.paper-plane-arena {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 100;
}

.paper-plane-projectile {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 6px 12px rgba(194, 109, 54, 0.4));
  pointer-events: none;
}

/* Flight trajectory keyframes:
   Launches from button, loops upwards through the air, flies off screen to the top-right and vanishes/invisible */
@keyframes planeTakeoffAndVanish {
  0% {
    transform: translate(-50%, -50%) scale(0.6) rotate(-15deg);
    opacity: 0;
  }
  15% {
    transform: translate(-30%, -90%) scale(1.1) rotate(-35deg);
    opacity: 1;
  }
  40% {
    transform: translate(60px, -220px) scale(1.25) rotate(-15deg);
    opacity: 1;
  }
  70% {
    transform: translate(260px, -450px) scale(0.9) rotate(-40deg);
    opacity: 0.85;
  }
  100% {
    transform: translate(650px, -800px) scale(0.2) rotate(-50deg);
    opacity: 0;
    visibility: hidden;
  }
}

.plane-flying {
  animation: planeTakeoffAndVanish 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards !important;
}

/* Trailing smoke / flight path dots */
.flight-trail {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  opacity: 0;
  pointer-events: none;
}

/* Success Card Modal / Overlay */
.form-success-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all var(--transition-smooth);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.success-icon-badge {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--accent-sulfur-light);
  color: var(--accent-sulfur);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.2);
}

.form-success-overlay h4 {
  font-size: 1.6rem;
  color: var(--navy-slate-dark);
  margin-bottom: 12px;
}

.form-success-overlay p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 24px;
}

/* ==========================================================================
   FOOTER (NO SOCIAL MEDIA ICONS)
   ========================================================================== */
.site-footer {
  background: var(--navy-slate-dark);
  color: #cbd5e1;
  padding-top: 72px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin: 18px 0 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary-copper);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-contact-info p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact-info a {
  color: var(--accent-gold);
  font-weight: 600;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .commodities-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin: 0 auto;
  }
  .logistics-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-section {
    padding-top: 105px;
  }
  .hero-headline {
    font-size: 2.35rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .logistics-card {
    padding: 28px;
  }
  .quality-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .about-highlights-grid {
    grid-template-columns: 1fr;
  }
  .about-floating-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    max-width: 100%;
  }
  .contact-form-panel {
    padding: 28px 20px;
  }
  .contact-info-panel {
    padding: 28px 20px;
  }
}

/* ==========================================================================
   FLOATING SCROLL-TO-TOP BUTTON (CORNER UP ARROW)
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-copper) 0%, var(--navy-slate) 100%);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 25px rgba(194, 109, 54, 0.4), 0 4px 12px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transform: translateY(24px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-top-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--primary-copper) 100%);
  box-shadow: 0 14px 32px rgba(194, 109, 54, 0.55), 0 6px 16px rgba(15, 23, 42, 0.22);
}

.scroll-top-btn:hover svg {
  animation: bounceUp 0.6s ease infinite alternate;
}

@keyframes bounceUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.scroll-top-btn:active {
  transform: translateY(0) scale(0.95);
}

/* ==========================================================================
   DYNAMIC PAGE ANIMATIONS SUITE (SCROLLING, MOVEMENT & HOVER MICRO-EFFECTS)
   ========================================================================== */

/* Scroll Reveal Base */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Left & Right directional reveals */
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

/* Continuous floating badge animation */
.about-floating-badge {
  animation: floatBadgeContinuous 4.5s ease-in-out infinite;
}

@keyframes floatBadgeContinuous {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Button Shimmer Wave */
.btn-animated {
  position: relative;
  overflow: hidden;
}

.btn-animated::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 35%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 65%
  );
  transform: rotate(25deg) translateX(-120%);
  animation: shimmerPass 4.5s infinite;
}

@keyframes shimmerPass {
  0%, 70% { transform: rotate(25deg) translateX(-120%); }
  100% { transform: rotate(25deg) translateX(120%); }
}

/* Card 3D Lift & Shadow Expansion */
.commodity-card {
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.commodity-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 24px 50px -12px rgba(194, 109, 54, 0.22), 0 10px 20px -4px rgba(15, 23, 42, 0.08);
}

.highlight-card:hover .highlight-icon,
.logistics-item:hover .logistics-icon,
.contact-card-item:hover .contact-card-icon {
  transform: scale(1.15) rotate(6deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 16px rgba(194, 109, 54, 0.25);
}

/* Pulsing aura on hero stats */
.hero-stats-grid {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats-grid:hover {
  box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12);
}

.hero-stat-item {
  transition: transform 0.25s ease;
}

.hero-stat-item:hover {
  transform: translateY(-3px);
}

.hero-stat-item:hover .stat-value {
  color: var(--primary-copper);
  transition: color 0.25s ease;
}

/* Table row interactive hover */
tbody tr {
  transition: background-color 0.2s ease, transform 0.2s ease;
}

tbody tr:hover {
  background-color: rgba(194, 109, 54, 0.06) !important;
}

