/* ═══════════════════════════════════════════════════════════════
   COURTERY PACIFIC LTD — Premium Corporate Website
   Design: Luxury Dark + Warm Gold / Copper palette
   Fonts: Cormorant Garamond (display) + Archivo (body)
═══════════════════════════════════════════════════════════════ */

:root {
  --black: #0A0A08;
  --dark: #111110;
  --dark-2: #1A1A18;
  --dark-3: #242420;

  /* Logo Extracted Colors */
  --brand-orange: #eb5a22;
  /* Vibrant Logo Orange */
  --brand-brown: #772a15;
  /* Deep Logo Brown */

  /* Applied to global theme */
  --gold: var(--brand-orange);
  --gold-light: #f57d4c;
  --gold-dim: rgba(235, 90, 34, 0.15);

  --orange: var(--brand-brown);
  --orange-dim: rgba(119, 42, 21, 0.2);

  --white: #F5F2EB;
  --white-dim: rgba(245, 242, 235, 0.6);
  --white-faint: rgba(245, 242, 235, 0.08);
  --border: rgba(235, 90, 34, 0.15);
  --border-mid: rgba(235, 90, 34, 0.3);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Archivo', sans-serif;
  --font-narrow: 'Archivo Narrow', sans-serif;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
}

/* Make sure logo background is transparent */
.logo-mark {
  background: transparent;
  padding: 0;
}

/* ─── SUBMENU STYLING ───────────────────────────────── */
.nav-item.dropdown {
  position: relative;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark-2);
  border: 1px solid var(--border);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s var(--ease-smooth);
  border-radius: 4px;
  padding: 0.5rem 0;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item.dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-link {
  display: block;
  padding: 0.7rem 1.5rem;
  color: var(--white-dim);
  font-size: 0.8rem;
  transition: background 0.3s, color 0.3s;
  letter-spacing: 0.05em;
}

.submenu-link:hover {
  background: var(--dark-3);
  color: var(--gold);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

::selection {
  background: var(--gold);
  color: var(--black);
}

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

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

input,
textarea,
select,
button {
  font-family: inherit;
}

/* ─── Custom Cursor ──────────────────────────────────── */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-follower {
  position: fixed;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.12s var(--ease-smooth), width 0.3s, height 0.3s, opacity 0.3s;
}

body:hover .cursor-follower {
  opacity: 1;
}

.cursor.hover {
  width: 14px;
  height: 14px;
  background: var(--gold);
}

.cursor-follower.hover {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

/* ─── Loader ─────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9998;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.done {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  text-align: center;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 0.6s 0.2s forwards;
}

.loader-bar {
  width: 200px;
  height: 1px;
  background: var(--border-mid);
  margin: 0 auto 1.5rem;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  animation: loadFill 1.8s var(--ease-smooth) 0.3s forwards;
}

.loader-text {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white-dim);
  opacity: 0;
  animation: fadeIn 0.6s 0.5s forwards;
}

@keyframes loadFill {
  to {
    width: 100%;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* ─── Utility: Container ─────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Utility: Buttons ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
  cursor: none;
  border: none;
  z-index: 1;
  /* Added Z-index fix here */
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  transform: translateX(-101%);
  transition: transform 0.4s var(--ease-smooth);
  z-index: -1;
  /* Added Z-index fix here */
}

.btn:hover::before {
  transform: translateX(0);
}

.btn--primary {
  background: var(--gold);
  color: var(--black);
}

.btn--primary::before {
  background: var(--gold-light);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
  background: var(--gold-light);
  color: var(--black);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border-mid);
}

.btn--ghost::before {
  background: var(--white-faint);
}

.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--outline::before {
  background: var(--gold-dim);
}

.btn--outline:hover {
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--large {
  padding: 1.1rem 3rem;
  font-size: 0.85rem;
}

.btn-arrow {
  transition: transform 0.3s;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ─── Utility: Typography ────────────────────────────── */
.section-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: italic;
  color: var(--gold);
}

.section-sub {
  color: var(--white-dim);
  max-width: 560px;
  font-size: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-eyebrow::before {
  display: none;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ─── Reveal Animations ──────────────────────────────── */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── NAV ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 8, 0.92);
  backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: white;
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 2px;
}

.logo-text {
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

.nav-link.nav-cta {
  background: var(--gold);
  color: var(--black);
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  font-weight: 500;
}

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

.nav-link.nav-cta:hover {
  background: var(--gold-light);
  color: var(--black);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: all 0.3s;
}

/* ─── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 400px;
  height: 400px;
  background: rgba(201, 168, 76, 0.08);
  top: 10%;
  right: 5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: rgba(212, 120, 58, 0.07);
  bottom: 20%;
  left: 10%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: rgba(201, 168, 76, 0.05);
  top: 50%;
  left: 40%;
  animation-delay: -6s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(20px, -30px) scale(1.05);
  }

  66% {
    transform: translate(-15px, 20px) scale(0.95);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border: 1px solid var(--border-mid);
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
  background: rgba(201, 168, 76, 0.05);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.title-line {
  display: block;
}

.title-italic {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--white-dim);
  max-width: 520px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

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

.hero-stats {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: rgba(10, 10, 8, 0.6);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.stat {
  padding: 1.5rem 2.5rem;
  text-align: center;
  flex: 1;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 400;
  display: inline;
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold);
}

.stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: var(--border);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white-dim);
  z-index: 1;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ─── MARQUEE ────────────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.2rem 0;
  overflow: hidden;
  background: var(--dark);
}

.marquee-track {
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-inner span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
}

.marquee-inner .dot {
  color: var(--gold);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ─── ABOUT ──────────────────────────────────────────── */
.about {
  padding: 8rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-inner {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.about-pattern {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg,
      transparent, transparent 20px,
      rgba(201, 168, 76, 0.03) 20px, rgba(201, 168, 76, 0.03) 21px);
}

.about-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(212, 120, 58, 0.12), transparent 60%),
    radial-gradient(ellipse at 70% 70%, rgba(201, 168, 76, 0.08), transparent 50%);
}

.about-badge-float {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 1.5rem 2rem;
  border-radius: 4px;
  min-width: 160px;
}

.float-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
}

.float-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 0.25rem;
  font-weight: 500;
}

.about-text .section-title {
  margin-top: 0.5rem;
}

.about-desc {
  color: var(--white-dim);
  margin-bottom: 1.5rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

.pillar strong {
  display: block;
  font-weight: 500;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.pillar p {
  color: var(--white-dim);
  font-size: 0.85rem;
}

/* ─── PRODUCTS ───────────────────────────────────────── */
.products {
  padding: 8rem 0;
  background: var(--dark);
}

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

.product-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-2);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease-smooth);
  cursor: none;
}

.product-card:hover {
  background: var(--dark-3);
  border-color: var(--border-mid);
  transform: translateY(-4px);
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-smooth);
  transform-origin: left;
}

.product-card:hover .card-accent {
  transform: scaleX(1);
}

.card-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  transition: transform 0.3s var(--ease-smooth);
}

.product-card:hover .card-icon {
  transform: scale(1.1);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.card-content p {
  color: var(--white-dim);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.card-list li {
  font-size: 0.78rem;
  color: var(--white-dim);
  padding-left: 1rem;
  position: relative;
  letter-spacing: 0.03em;
}

.card-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.7rem;
}

.card-cta {
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  transition: gap 0.3s;
}

.card-link:hover {
  gap: 0.9rem;
}

.card-link span {
  transition: transform 0.3s;
}

.card-link:hover span {
  transform: translateX(3px);
}

.card-bg-text {
  position: absolute;
  bottom: -1rem;
  right: -0.5rem;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--white);
  opacity: 0.03;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.4s;
}

.product-card:hover .card-bg-text {
  opacity: 0.05;
}

/* ─── WHY US ──────────────────────────────────────────── */
.why {
  padding: 8rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6rem;
  align-items: start;
}

.why-desc {
  color: var(--white-dim);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.why-item {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.why-item:first-child {
  border-top: 1px solid var(--border);
}

.why-item:hover {
  padding-left: 0.5rem;
  border-bottom-color: var(--gold);
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  opacity: 0.5;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-style: italic;
}

.why-body h4 {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.why-body p {
  color: var(--white-dim);
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ─── GLOBAL ──────────────────────────────────────────── */
.global {
  padding: 8rem 0;
  background: var(--dark);
}

.global-map {
  position: relative;
}

.map-wrap {
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--dark-2);
  padding: 2rem;
  margin-bottom: 2.5rem;
  overflow: hidden;
}

.world-map {
  width: 100%;
  height: auto;
  display: block;
}

.map-dot {
  animation: dotPulse 2.5s ease-in-out infinite;
}

.map-pulse {
  animation: ringPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

@keyframes ringPulse {

  0%,
  100% {
    r: 12;
    opacity: 0.2;
  }

  50% {
    r: 18;
    opacity: 0;
  }
}

.trade-line {
  stroke-dashoffset: 100;
  animation: dashAnimate 8s linear infinite;
}

@keyframes dashAnimate {
  to {
    stroke-dashoffset: -100;
  }
}

.global-regions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.region {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.3s;
}

.region:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.region-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── CTA BAND ───────────────────────────────────────── */
.cta-band {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201, 168, 76, 0.06), transparent);
}

.cta-band-inner {
  position: relative;
  text-align: center;
}

.cta-band-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.cta-band-inner em {
  font-style: italic;
  color: var(--gold);
}

.cta-band-inner p {
  color: var(--white-dim);
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ─── CONTACT ────────────────────────────────────────── */
.contact {
  padding: 8rem 0;
}

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

.contact-desc {
  color: var(--white-dim);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: all 0.3s;
}

.contact-item:hover .contact-icon {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.contact-icon svg {
  width: 18px;
  height: 18px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.15rem;
}

.contact-item p {
  color: var(--white-dim);
  font-size: 0.9rem;
}

.contact-form-wrap {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white-dim);
}

input,
select,
textarea {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.8rem 1rem;
  border-radius: 2px;
  font-size: 0.9rem;
  transition: all 0.3s;
  outline: none;
  cursor: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  background: var(--dark);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: rgba(245, 242, 235, 0.25);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
}

select option {
  background: var(--dark-2);
}

textarea {
  resize: vertical;
  min-height: 100px;
}

/* ─── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  color: var(--white-dim);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h5 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--white-dim);
  margin-bottom: 0.75rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(245, 242, 235, 0.3);
}

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

  .about-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-visual {
    order: -1;
  }

  .about-badge-float {
    right: 0;
  }
}

@media (max-width: 768px) {

  .cursor,
  .cursor-follower {
    display: none;
  }

  body {
    cursor: default;
  }

  input,
  select,
  textarea,
  button,
  a {
    cursor: auto;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    transition: right 0.4s var(--ease-smooth);
    border-left: 1px solid var(--border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    padding: 1rem 0;
    font-size: 0.9rem;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-link.nav-cta {
    margin-top: 1.5rem;
    background: var(--gold);
    color: var(--black);
    padding: 0.8rem 1.5rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
    position: relative;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .stat {
    flex: 1 1 40%;
  }

  .stat-divider {
    display: none;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
  }

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

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

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Submenu ko mobile pe theek se dikhane ke liye */
  .submenu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    padding: 0 0 1rem 1.5rem;
  }

  .nav-item.dropdown.active .submenu {
    display: block;
  }

  .submenu-link {
    padding: 0.5rem 0;
    border-bottom: none;
    color: var(--white-dim);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .stat {
    flex: 1 1 100%;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

/* ─── Form submission animation ─────────────────────── */
.form-success {
  text-align: center;
  padding: 3rem;
}

.form-success .check {
  width: 60px;
  height: 60px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold);
  font-size: 1.5rem;
  animation: scaleIn 0.4s var(--ease-back);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
  }

  to {
    transform: scale(1);
  }
}

/* ───────── MOBILE NAV FIX ───────── */
@media (max-width: 768px) {

  .nav-toggle {
    display: flex;
    cursor: pointer;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark-2);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 1000;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-link {
    font-size: 0.9rem;
    width: 100%;
  }

  /* Dropdown fix */
  .nav-item.dropdown {
    width: 100%;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-item.active .submenu {
    display: block;
  }

  .submenu-link {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  /* Overlay (optional premium look) */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

.about-img-real {
  background: url('/img/home.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* overlay for premium look */
.about-img-real::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.5));
}

.about-story-img {
  background: url('/img/about.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

/* cinematic overlay */
.about-story-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.6));
}

.agro-img {
  background: url('/img/agro.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 135, 58, 0.2);
}

/* premium overlay */
.agro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.5));
}


.paper-img {
  background: url('/img/paper.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 135, 58, 0.2);
}

/* premium overlay */
.paper-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.55));
}


.metal-img {
  background: url('/img/metal.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 135, 58, 0.2);
}

.metal-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.6));
}

/* premium tone */
.metal-img {
  filter: contrast(1.1) brightness(0.9);
}


.solar-img {
  background: url('/img/solar.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
  border-color: rgba(200, 135, 58, 0.2);
}

.solar-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.5));
}

/* vibrant premium feel */
.solar-img {
  filter: contrast(1.1) saturate(1.2);
}


/* ───── PREMIUM CTA SECTION ───── */

.premium-cta {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(235, 90, 34, 0.08), transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(119, 42, 21, 0.1), transparent 50%),
    var(--dark);
}

/* animated overlay */
.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  animation: shine 6s linear infinite;
}

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

  100% {
    transform: translateX(100%);
  }
}

/* grid */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  position: relative;
  z-index: 1;
}

/* card */
.cta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  padding: 2.5rem;
  border-radius: 6px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  position: relative;
}

.cta-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* icon */
.cta-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* heading */
.cta-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1rem;
}

.cta-card h3 em {
  color: var(--gold);
  font-style: italic;
}

/* text */
.cta-card p {
  color: var(--white-dim);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ───── RESPONSIVE ───── */

@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 2rem;
  }

  .cta-card h3 {
    font-size: 1.6rem;
  }
}

/* ───────── ELITE REVIEW WALL (RESPONSIVE FIXED) ───────── */
.review-wall {
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

/* glow background */
.review-wall::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(235,90,34,0.12), transparent);
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(100px);
  z-index: 0;
}

/* desktop layout */
.wall {
  position: relative;
  height: 500px;
}

/* cards */
.wall-card {
  position: absolute;
  width: 260px;
  padding: 1.8rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
  border-radius: 10px;
  color: var(--white-dim);
  transition: all 0.4s ease;
}

/* hover */
.wall-card:hover {
  transform: scale(1.08);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 25px 70px rgba(235,90,34,0.25);
  color: var(--white);
  z-index: 10;
}

/* text */
.wall-card p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.wall-card h4 {
  color: var(--gold);
  font-size: 0.9rem;
}

.wall-card span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

/* positions (desktop only) */
.card-1 { top: 20px; left: 8%; }
.card-2 { top: 120px; left: 38%; }
.card-3 { top: 260px; left: 18%; }
.card-4 { top: 60px; right: 8%; }
.card-5 { bottom: 10px; right: 28%; }

/* floating animation */
.wall-card {
  animation: float 6s ease-in-out infinite;
}
.card-2 { animation-delay: 1s; }
.card-3 { animation-delay: 2s; }
.card-4 { animation-delay: 3s; }
.card-5 { animation-delay: 4s; }

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

/* ───────── TABLET FIX ───────── */
@media (max-width: 1024px) {

  .wall {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    height: auto;
  }

  .wall-card {
    position: relative;
    width: 100%;
    animation: none;
    transform: none !important;
  }
}

/* ───────── MOBILE FIX (IMPORTANT) ───────── */
@media (max-width: 768px) {

  .review-wall {
    padding: 6rem 0;
  }

  .wall {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: auto;
  }

  .wall-card {
    position: relative;
    width: 100%;
    padding: 1.5rem;
    animation: none;
    transform: none !important;
  }

  .wall-card:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

}/* ───────── HARD MOBILE FIX (FINAL) ───────── */

@media (max-width: 768px) {

  .wall {
    position: static !important;
    height: auto !important;

    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .wall-card {
    position: static !important;
    width: 100% !important;

    transform: none !important;
    animation: none !important;

    padding: 1.4rem;
    border-radius: 8px;
  }

  /* remove floating positions */
  .card-1,
  .card-2,
  .card-3,
  .card-4,
  .card-5 {
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
  }

  /* better spacing */
  .review-wall {
    padding: 5rem 0;
  }

  /* text readability */
  .wall-card p {
    font-size: 0.9rem;
  }

  .wall-card h4 {
    font-size: 1rem;
  }

}

/* ─── MOBILE NAV FIX ───────────────────────── */
@media (max-width: 768px) {

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem;
    gap: 1.5rem;
    transition: right 0.4s ease;
    z-index: 999;
  }

  .nav-links.open {
    right: 0;
  }

  /* Dropdown fix */
  .nav-item.dropdown {
    width: 100%;
  }

  .submenu {
    position: static;   /* ❗ important */
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 1rem;
    display: none;
  }

  .nav-item.dropdown.active .submenu {
    display: block;
  }

  .submenu-link {
    padding: 0.5rem 0;
    font-size: 0.8rem;
  }

  .dropdown-toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
}