/* ============================================================
   PNG TRADE — Premium One-Page Website
   Color Palette: Deep Navy + Vibrant Orange (from logo)
   ============================================================ */

:root {
  /* Colors — matched to PNG Trade logo */
  --navy: #0B1426;
  --navy-mid: #12203A;
  --navy-light: #1A2D4D;
  --logo-navy: #2B3A67;
  --accent: #E8651A;
  --accent-light: #F07A3A;
  --accent-glow: rgba(232, 101, 26, 0.13);
  --white: #FFFFFF;
  --off-white: #F5F6F8;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-on-dark: #E2E8F0;
  --text-on-dark-muted: #8B9BBF;
  --border-light: #E2E8F0;
  --border-dark: rgba(232, 101, 26, 0.15);

  /* Typography */
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 7rem);
  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;

  /* Transitions */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --duration: 0.6s;
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}

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

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, backdrop-filter 0.35s;
}

.header.scrolled {
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(232, 101, 26, 0.08);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
}

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

.logo-img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-on-dark-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.25s;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s var(--ease);
}

.nav a:hover {
  color: var(--white);
}

.nav a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-btn {
  border: 1px solid rgba(232, 101, 26, 0.4);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.25s, border-color 0.25s;
}

.lang-btn:hover {
  background: rgba(232, 101, 26, 0.12);
  border-color: var(--accent);
}

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(11, 20, 38, 0.97);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.mobile-nav a {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(11, 20, 38, 0.88) 0%, rgba(11, 20, 38, 0.6) 50%, rgba(11, 20, 38, 0.78) 100%),
    linear-gradient(to top, rgba(11, 20, 38, 0.95) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 1.5rem;
  margin: 0 auto;
  text-align: center;
  padding-top: 6rem;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  vertical-align: middle;
  opacity: 0.5;
}

.hero-eyebrow::before {
  margin-right: 0.75rem;
}

.hero-eyebrow::after {
  margin-left: 0.75rem;
}

.hero-title {
  color: var(--white);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  border: 1.5px solid transparent;
}

.btn-accent {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232, 101, 26, 0.3);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%      { opacity: 0.4; transform: scaleY(0.6); transform-origin: top; }
}

/* ===== STATS BAR ===== */
.stats {
  background: var(--navy);
  border-bottom: 1px solid var(--border-dark);
}

.stats-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  gap: 2.5rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
  letter-spacing: 0.02em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(232, 101, 26, 0.2);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: var(--section-pad) 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== SERVICES ===== */
.services {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(11, 20, 38, 0.08);
  border-color: rgba(232, 101, 26, 0.25);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== GLOBAL REACH ===== */
.reach {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.reach-bg {
  position: absolute;
  inset: 0;
}

.reach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reach-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 20, 38, 0.92), rgba(11, 20, 38, 0.85));
}

.reach-content {
  position: relative;
  z-index: 2;
}

.reach-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.reach-text .section-title {
  color: var(--white);
}

.reach-desc {
  color: var(--text-on-dark-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.reach-regions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.region-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 101, 26, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: background 0.35s, border-color 0.35s, transform 0.35s var(--ease);
}

.region-card:hover {
  background: rgba(232, 101, 26, 0.06);
  border-color: rgba(232, 101, 26, 0.35);
  transform: translateY(-4px);
}

.region-flag {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.region-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.region-card p {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  line-height: 1.55;
}

/* ===== SECTORS ===== */
.sectors {
  background: var(--white);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.sector-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: default;
  transition: transform 0.5s var(--ease);
}

.sector-card:hover {
  transform: scale(1.02);
}

.sector-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.sector-card:hover .sector-img {
  transform: scale(1.08);
}

.sector-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 20, 38, 0.92) 0%, rgba(11, 20, 38, 0.2) 60%, transparent 100%);
  transition: background 0.4s;
}

.sector-card:hover .sector-overlay {
  background: linear-gradient(to top, rgba(11, 20, 38, 0.95) 0%, rgba(11, 20, 38, 0.4) 60%, rgba(11, 20, 38, 0.15) 100%);
}

.sector-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  color: var(--white);
}

.sector-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.sector-body p {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}

.sector-card:hover .sector-body p {
  opacity: 1;
  transform: translateY(0);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--navy);
  color: var(--white);
}

.contact .section-title {
  color: var(--white);
}

.contact .section-desc {
  color: var(--text-on-dark-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.contact-info {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 101, 26, 0.12);
  border-radius: var(--radius);
}

.info-block {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.info-block h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text-on-dark);
}

.info-block p {
  font-size: 0.9rem;
  color: var(--text-on-dark-muted);
}

.info-company {
  font-weight: 600;
  color: var(--text-on-dark) !important;
  margin-bottom: 0.3rem;
}

.info-link {
  color: var(--accent-light);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.info-link:hover {
  color: var(--accent);
}

.contact-note {
  font-size: 0.85rem;
  color: var(--text-on-dark-muted);
  line-height: 1.6;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(232, 101, 26, 0.1);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 101, 26, 0.12);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: block;
  margin-bottom: 1.15rem;
}

.form-group span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(232, 101, 26, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: border-color 0.25s, background 0.25s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(139, 155, 191, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: rgba(232, 101, 26, 0.04);
}

.form-feedback {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  min-height: 1.25rem;
}

.form-feedback.success {
  color: #34D399;
}

.form-feedback.error {
  color: #FB7185;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--off-white);
  padding: 2.5rem 1.5rem;
  border-top: 1px solid var(--border-light);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo .logo-img {
  height: 64px;
  filter: none;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reach-regions {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .hero-content {
    padding-top: 5rem;
  }

  .hero-title br {
    display: none;
  }

  .stats-inner {
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
  }

  .stat-divider {
    display: none;
  }

  .stat {
    flex: 0 0 40%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .reach-regions {
    grid-template-columns: 1fr;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sector-card {
    aspect-ratio: 1 / 1.1;
  }

  .sector-body p {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-title br {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    aspect-ratio: 4 / 3;
  }
}
