/* Fonts loaded via <link> in HTML — NO render-blocking @import */

:root {
  --dark-bg: #0a0705;
  --dark-brown: #1a120b;
  --rich-brown: #2c1a0e;
  --saffron: #d4a340;
  --saffron-light: #e8c36a;
  --gold: #c9a84c;
  --gold-dim: rgba(201,168,76,0.15);
  --warm-white: #f5efe6;
  --cream: #e8dcc8;
  --text-muted: #9a8b78;
  --accent-red: #8b2500;
  --accent-amber: #b8860b;
  --glass-bg: rgba(26,18,11,0.7);
  --glass-border: rgba(201,168,76,0.12);
}

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

html, body {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ===== PERFORMANCE: GPU Compositing Hints ===== */
/* Force GPU layer promotion for smooth 60fps animations */
.product-card,
.about-feature,
.stat,
.btn,
.about-image img,
.quality-image img,
.product-card-img img {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Sections always rendered — no content-visibility hiding */

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--saffron) var(--dark-bg);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark-bg);
  color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--saffron); border-radius: 3px; }

/* Preloader removed for instant content */
#preloader { display: none !important; }

/* ===== PARTICLE CANVAS ===== */
#particle-canvas {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  contain: strict;
  will-change: contents;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 20px 60px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,7,5,0.92);
  backdrop-filter: blur(20px);
  padding: 14px 60px;
  box-shadow: 0 2px 40px rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--glass-border);
}
@media (max-width: 768px) {
  .navbar.scrolled {
    backdrop-filter: none;
    background: rgba(10,7,5,0.98);
  }
}
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 50px; transition: height 0.4s; }
.navbar.scrolled .nav-logo img { height: 40px; }
.nav-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; color: var(--saffron); letter-spacing: 1px; }
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  color: var(--cream); text-decoration: none; font-size: 0.85rem;
  font-weight: 400; letter-spacing: 2px; text-transform: uppercase;
  position: relative; padding: 4px 0; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1.5px;
  background: var(--saffron); transition: width 0.4s cubic-bezier(0.4,0,0.2,1);
}
.nav-links a:hover { color: var(--saffron); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 28px; height: 2px; background: var(--saffron); transition: all 0.3s; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-brown) 40%, #1f150c 70%, var(--dark-bg) 100%);
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(212,163,64,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(139,37,0,0.06) 0%, transparent 50%);
}
.hero-img-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: url('assets/images/hero_spices.jpg') center/cover no-repeat;
  opacity: 0.2; filter: blur(1px);
}
@media (max-width: 768px) {
  .hero-img-overlay {
    filter: none;
  }
}
.hero-gradient-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, rgba(10,7,5,0.4) 0%, rgba(10,7,5,0.6) 50%, var(--dark-bg) 100%);
}
.hero-content {
  position: relative; z-index: 3; text-align: center; max-width: 900px; padding: 0 30px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 24px; border-radius: 30px;
  background: var(--gold-dim); border: 1px solid var(--glass-border);
  font-size: 0.75rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 30px;
  opacity: 0; transform: translateY(20px);
  animation: fade-up 0.8s 0.1s ease forwards;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); animation: pulse 2s infinite; }
.hero-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300; line-height: 1.1; margin-bottom: 10px;
  opacity: 0; transform: translateY(40px);
  animation: fade-up 0.8s 0.2s ease forwards;
}
.hero-title span { color: var(--saffron); font-weight: 600; font-style: italic; }
.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.4rem); color: var(--cream);
  font-weight: 300; font-style: italic; margin-bottom: 40px;
  opacity: 0; transform: translateY(30px);
  animation: fade-up 0.8s 0.35s ease forwards;
}
.hero-cta-group {
  display: flex; gap: 20px; justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(30px);
  animation: fade-up 0.8s 0.5s ease forwards;
}
.btn {
  padding: 14px 40px; font-size: 0.8rem; letter-spacing: 2.5px; text-transform: uppercase;
  text-decoration: none; border-radius: 2px; font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1); cursor: pointer; border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--accent-amber));
  color: var(--dark-bg);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(212,163,64,0.3); }
.btn-outline {
  background: transparent; color: var(--saffron);
  border: 1px solid var(--saffron);
}
.btn-outline:hover { background: var(--gold-dim); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  opacity: 0; animation: fade-up 0.8s 0.6s ease forwards;
}
.hero-scroll span { font-size: 0.65rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-muted); }
.scroll-line { width: 1px; height: 40px; background: var(--glass-border); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: var(--saffron); animation: scroll-down 2s ease infinite; }
@keyframes scroll-down { 0% { top: -100%; } 100% { top: 100%; } }
@keyframes fade-up { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ===== SECTIONS COMMON ===== */
section { position: relative; z-index: 1; }
.section-padding { padding: 120px 60px; }
.section-header {
  text-align: center; margin-bottom: 80px;
}
.section-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 4px; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 16px;
  padding: 6px 20px; border: 1px solid var(--glass-border); border-radius: 20px;
  background: var(--gold-dim);
}
.section-title {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; line-height: 1.2; margin-bottom: 20px;
}
.section-title em { color: var(--saffron); font-weight: 600; }
.section-desc { max-width: 650px; margin: 0 auto; color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.section-divider { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--saffron), transparent); margin: 20px auto 0; }

/* ===== ABOUT ===== */
.about { background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 50%, var(--dark-bg) 100%); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1200px; margin: 0 auto; }
.about-image { position: relative; border-radius: 4px; overflow: hidden; }
.about-image img { width: 100%; display: block; border-radius: 4px; filter: brightness(0.85); transition: transform 0.8s; }
.about-image:hover img { transform: scale(1.03); }
.about-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--glass-border); border-radius: 4px; pointer-events: none;
}
.about-image .floating-badge {
  position: absolute; bottom: 24px; right: 24px;
  background: rgba(10,7,5,0.85); backdrop-filter: blur(12px);
  padding: 16px 24px; border-radius: 4px; border: 1px solid var(--glass-border);
}
.floating-badge .number { font-family: 'Cormorant Garamond', serif; font-size: 2.2rem; font-weight: 700; color: var(--saffron); line-height: 1; }
.floating-badge .label { font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); }
.about-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; margin-bottom: 24px; line-height: 1.3; }
.about-text h3 em { color: var(--saffron); font-weight: 600; }
.about-text p { color: var(--text-muted); line-height: 1.9; margin-bottom: 20px; font-size: 0.92rem; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.about-feature {
  padding: 20px; background: var(--gold-dim); border: 1px solid var(--glass-border);
  border-radius: 4px; transition: all 0.4s;
}
.about-feature:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-3px); }
.about-feature .icon { font-size: 1.4rem; margin-bottom: 8px; }
.about-feature h4 { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 500; margin-bottom: 4px; }
.about-feature p { font-size: 0.75rem; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ===== PRODUCTS ===== */
.products { background: var(--dark-bg); }
.products-tabs { display: flex; justify-content: center; gap: 12px; margin-bottom: 60px; flex-wrap: wrap; }
.tab-btn {
  padding: 10px 28px; border: 1px solid var(--glass-border); background: transparent;
  color: var(--text-muted); font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; border-radius: 2px; transition: all 0.3s;
  font-family: 'Inter', sans-serif;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--gold-dim); border-color: var(--saffron); color: var(--saffron);
}
.products-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px; max-width: 1200px; margin: 0 auto;
}
.product-card {
  position: relative; background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 4px; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), border-color 0.4s, box-shadow 0.4s;
  cursor: pointer;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout style;
}
.product-card:hover { transform: translateY(-8px) translateZ(0); border-color: rgba(201,168,76,0.3); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.product-card-img { position: relative; height: 220px; overflow: hidden; contain: strict; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4,0,0.2,1); filter: brightness(0.8); }
.product-card:hover .product-card-img img { transform: scale(1.1); filter: brightness(0.9); }
.product-card-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, var(--glass-bg) 0%, transparent 100%);
}
.product-card-body { padding: 24px; position: relative; }
.product-card-body h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 600; margin-bottom: 4px; }
.product-card-body .hindi { font-size: 0.85rem; color: var(--saffron); margin-bottom: 10px; font-style: italic; }
.product-card-body p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }
.product-card .card-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(212,163,64,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.5s; pointer-events: none;
}
.product-card:hover .card-glow { opacity: 1; }

/* ===== QUALITY ===== */
.quality { background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-brown) 50%, var(--dark-bg) 100%); }
.quality-content { max-width: 1200px; margin: 0 auto; }
.quality-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px;
}
.quality-image { position: relative; border-radius: 4px; overflow: hidden; }
.quality-image img { width: 100%; display: block; border-radius: 4px; filter: brightness(0.8); }
.quality-image::before {
  content: ''; position: absolute; inset: -1px;
  border: 1px solid var(--glass-border); border-radius: 4px; z-index: 1; pointer-events: none;
}
.quality-text h3 { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 300; margin-bottom: 24px; }
.quality-text h3 em { color: var(--saffron); font-weight: 600; }
.quality-text p { color: var(--text-muted); line-height: 1.9; font-size: 0.92rem; margin-bottom: 16px; }
.quality-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 20px;
}
.stat {
  text-align: center; padding: 30px 16px;
  background: var(--gold-dim); border: 1px solid var(--glass-border); border-radius: 4px;
  transition: all 0.4s;
}
.stat:hover { border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
.stat .value { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 700; color: var(--saffron); line-height: 1; }
.stat .label { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-top: 8px; }

/* ===== CONTACT ===== */
.contact { background: var(--dark-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 1100px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-item { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 50px; height: 50px; border-radius: 4px;
  background: var(--gold-dim); border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.contact-item h4 { font-family: 'Outfit', sans-serif; font-size: 0.85rem; font-weight: 500; margin-bottom: 6px; letter-spacing: 1px; }
.contact-item p, .contact-item a { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; text-decoration: none; transition: color 0.3s; word-break: break-word; }
.contact-item a:hover { color: var(--saffron); }
.contact-form {
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  border-radius: 4px; padding: 40px;
}
.contact-form h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; margin-bottom: 30px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 18px; background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border); border-radius: 2px;
  color: var(--warm-white); font-size: 0.9rem; font-family: 'Inter', sans-serif;
  transition: border-color 0.3s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--saffron); }
.form-group textarea { resize: vertical; min-height: 120px; }
.contact-form .btn { margin-top: 10px; width: 100%; border-radius: 4px; }

/* ===== EXTRAORDINARY 3D GLOBE ANIMATION ===== */
.globe-section {
  background: radial-gradient(ellipse at 50% 50%, rgba(30,20,10,1) 0%, var(--dark-bg) 70%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
}
.globe-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 55% 45%, rgba(212,163,64,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.globe-3d-container {
  max-width: 900px;
  margin: 0 auto;
  perspective: 1200px;
}

.globe-scene {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* 1:1 aspect ratio */
  max-width: 600px;
  max-height: 600px;
  margin: 0 auto;
}

/* ===== ATMOSPHERE GLOW ===== */
.globe-atmosphere {
  position: absolute;
  top: 50%; left: 50%;
  width: 80%; height: 80%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,163,64,0.08) 0%, rgba(212,163,64,0.03) 40%, transparent 70%);
  box-shadow:
    0 0 80px rgba(212,163,64,0.1),
    0 0 160px rgba(212,163,64,0.05),
    inset 0 0 60px rgba(212,163,64,0.04);
  animation: atmosphere-pulse 4s ease-in-out infinite;
}
@keyframes atmosphere-pulse {
  0%, 100% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
}

/* ===== 3D ROTATING SPHERE ===== */
.globe-sphere {
  position: absolute;
  top: 50%; left: 50%;
  width: 65%; height: 65%;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) rotateX(-15deg);
  animation: globe-spin 30s linear infinite;
}
@keyframes globe-spin {
  from { transform: translate(-50%, -50%) rotateX(-15deg) rotateY(0deg); }
  to { transform: translate(-50%, -50%) rotateX(-15deg) rotateY(360deg); }
}

.globe-grid {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
}

/* Latitude lines */
.grid-line.lat {
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 100%;
  border: 1px solid rgba(212,163,64,0.08);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(calc(var(--lat) * 30deg));
}

/* Longitude lines */
.grid-line.lng {
  position: absolute;
  left: 50%; top: 50%;
  width: 100%; height: 100%;
  border: 1px solid rgba(212,163,64,0.06);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateY(calc(var(--lng) * 30deg));
}

.globe-continents {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(212,163,64,0.12) 0%, transparent 30%),
              radial-gradient(circle at 30% 55%, rgba(139,37,0,0.08) 0%, transparent 25%),
              radial-gradient(circle at 70% 60%, rgba(201,168,76,0.06) 0%, transparent 20%);
  border: 1px solid rgba(212,163,64,0.1);
}

/* ===== TRADE ROUTE SVG ===== */
.trade-routes {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 2;
}

/* Animated Arc Dash Effect */
.trade-arc {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: draw-arc 2s ease forwards;
  opacity: 0;
}
.arc-1 { animation-delay: 0.3s; }
.arc-2 { animation-delay: 0.6s; }
.arc-3 { animation-delay: 0.15s; }
.arc-4 { animation-delay: 0.9s; }
.arc-5 { animation-delay: 0.45s; }
.arc-6 { animation-delay: 1.1s; }
.arc-7 { animation-delay: 0.75s; }
.arc-8 { animation-delay: 0.85s; }

@keyframes draw-arc {
  0% { stroke-dashoffset: 200; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* After initial draw, add continuous flowing dash */
.trade-arc {
  animation: draw-arc 2s ease forwards, arc-flow 3s linear 2.5s infinite;
}
@keyframes arc-flow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -40; }
}

/* City Node Labels */
.city-label {
  fill: var(--cream);
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 0;
  animation: fade-in-label 0.5s ease forwards;
  animation-delay: 2s;
}
@keyframes fade-in-label {
  to { opacity: 0.8; }
}

.india-label {
  fill: var(--saffron);
  font-size: 11px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 3px;
  opacity: 0;
  animation: fade-in-label 0.8s ease forwards;
  animation-delay: 1s;
}

/* City Nodes */
.city-node {
  opacity: 0;
  animation: node-appear 0.5s ease forwards;
  animation-delay: 1.5s;
}
.india-node {
  animation-delay: 0.2s;
}
@keyframes node-appear {
  0% { opacity: 0; r: 0; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}

/* Pulse Rings */
.pulse-ring {
  opacity: 0;
  animation: svg-pulse 2.5s ease-out infinite;
  animation-delay: var(--delay, 0s);
}
@keyframes svg-pulse {
  0% { opacity: 0.6; r: 8; }
  100% { opacity: 0; r: 30; }
}

/* Orbiting Particles along arcs */
.orbit-particle {
  opacity: 0;
  animation-delay: 2.5s;
}
.orbit-particle.p1 {
  animation: orbit-path-1 4s linear 2.5s infinite;
}
.orbit-particle.p2 {
  animation: orbit-path-2 5s linear 3s infinite;
}
.orbit-particle.p3 {
  animation: orbit-path-3 3.5s linear 2.8s infinite;
}
.orbit-particle.p4 {
  animation: orbit-path-4 4.5s linear 3.2s infinite;
}
.orbit-particle.p5 {
  animation: orbit-path-5 4s linear 3s infinite;
}

@keyframes orbit-path-1 {
  0% { cx: 340; cy: 270; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { cx: 220; cy: 200; opacity: 0; }
}
@keyframes orbit-path-2 {
  0% { cx: 340; cy: 270; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { cx: 110; cy: 240; opacity: 0; }
}
@keyframes orbit-path-3 {
  0% { cx: 340; cy: 270; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { cx: 460; cy: 220; opacity: 0; }
}
@keyframes orbit-path-4 {
  0% { cx: 340; cy: 270; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { cx: 430; cy: 400; opacity: 0; }
}
@keyframes orbit-path-5 {
  0% { cx: 340; cy: 270; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { cx: 420; cy: 360; opacity: 0; }
}

/* ===== FLOATING STATS ===== */
.globe-floating-stats {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 40px;
  z-index: 3;
}
.g-stat {
  text-align: center;
  padding: 16px 24px;
  background: rgba(10,7,5,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  opacity: 0;
  transform: translateY(20px);
  animation: stat-float-in 0.6s ease forwards;
}
.g-stat:nth-child(1) { animation-delay: 2.2s; }
.g-stat:nth-child(2) { animation-delay: 2.4s; }
.g-stat:nth-child(3) { animation-delay: 2.6s; }

@keyframes stat-float-in {
  to { opacity: 1; transform: translateY(0); }
}

.g-stat-num {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--saffron);
  line-height: 1;
}
.g-stat-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Globe responsive — handled in main responsive block below */


/* ===== FOOTER ===== */
.footer {
  background: var(--dark-brown); border-top: 1px solid var(--glass-border);
  padding: 60px 60px 30px;
}
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; max-width: 1200px; margin: 0 auto; flex-wrap: wrap; gap: 40px; }
.footer-brand { max-width: 350px; }
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }
.footer-links h4 { font-size: 0.72rem; letter-spacing: 3px; text-transform: uppercase; color: var(--saffron); margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-muted); text-decoration: none; font-size: 0.82rem; margin-bottom: 10px; transition: color 0.3s; }
.footer-links a:hover { color: var(--saffron); }
.footer-bottom {
  text-align: center; padding-top: 30px; margin-top: 40px;
  border-top: 1px solid var(--glass-border); max-width: 1200px; margin-left: auto; margin-right: auto;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 1px; }
.footer-bottom .hashtags { color: var(--saffron); font-size: 0.7rem; margin-top: 8px; letter-spacing: 1px; }

/* ===== REVEAL ANIMATIONS — visible by default, animate on scroll ===== */
.reveal, .reveal-left, .reveal-right {
  opacity: 1; transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* JS adds .will-animate, then .visible triggers the animation */
.reveal.will-animate { opacity: 0; transform: translateY(30px); }
.reveal.will-animate.visible { opacity: 1; transform: translateY(0); }
.reveal-left.will-animate { opacity: 0; transform: translateX(-40px); }
.reveal-left.will-animate.visible { opacity: 1; transform: translateX(0); }
.reveal-right.will-animate { opacity: 0; transform: translateX(40px); }
.reveal-right.will-animate.visible { opacity: 1; transform: translateX(0); }
.stagger { transition-delay: calc(var(--i) * 0.06s); }

/* ===== FLOATING 3D SPICES (CSS) ===== */
.floating-spice {
  position: fixed; z-index: 0; pointer-events: none; opacity: 0.06;
  font-size: 2rem; animation: float-spice 20s ease-in-out infinite;
}
@keyframes float-spice {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-30px) rotate(5deg); }
  50% { transform: translateY(-15px) rotate(-3deg); }
  75% { transform: translateY(-40px) rotate(7deg); }
}

/* ===== RESPONSIVE — FULLY ATTRACTIVE MOBILE ===== */

/* Tablet */
@media (max-width: 1024px) {
  .section-padding { padding: 80px 30px; }
  .navbar { padding: 16px 30px; }
  .about-grid, .quality-showcase, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .quality-stats { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  /* Navigation — full-screen slide-in menu */
  .nav-links {
    display: none; position: fixed; top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(10,7,5,0.98);
    flex-direction: column;
    padding: 100px 40px 40px;
    gap: 28px;
    border-left: none;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    font-size: 1.1rem;
    letter-spacing: 3px;
    padding: 12px 0;
    border-bottom: 1px solid var(--glass-border);
  }
  .hamburger { display: flex; }

  /* Sections — tighter padding */
  .section-padding { padding: 60px 20px; }
  .section-header { margin-bottom: 50px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
  .section-desc { font-size: 0.88rem; line-height: 1.7; }

  /* Hero — punchy mobile hero */
  .hero { min-height: 100svh; }
  .hero-content { padding: 0 20px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.8rem); line-height: 1.15; }
  .hero-subtitle { font-size: clamp(0.85rem, 3.5vw, 1.1rem); margin-bottom: 30px; }
  .hero-badge { font-size: 0.65rem; padding: 6px 16px; letter-spacing: 2px; margin-bottom: 20px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; width: 100%; gap: 14px; }
  .hero-cta-group .btn {
    width: 100%; text-align: center;
    padding: 16px 30px; font-size: 0.78rem;
    border-radius: 6px;
  }
  .hero-scroll { bottom: 24px; }
  .hero-img-overlay { filter: none; }

  /* About — stacked, readable */
  .about-grid { gap: 30px; }
  .about-text h3 { font-size: 1.5rem; }
  .about-text p { font-size: 0.88rem; }
  .about-features { grid-template-columns: 1fr 1fr; gap: 12px; }
  .about-feature { padding: 16px; }
  .about-feature h4 { font-size: 0.8rem; }
  .about-feature p { font-size: 0.72rem; }
  .floating-badge { padding: 12px 18px; }
  .floating-badge .number { font-size: 1.8rem; }

  /* Products — 2-column grid, compact cards */
  .products-tabs { gap: 8px; margin-bottom: 30px; }
  .tab-btn { padding: 8px 18px; font-size: 0.7rem; letter-spacing: 1.5px; border-radius: 4px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-img { height: 160px; }
  .product-card-body { padding: 16px; }
  .product-card-body h3 { font-size: 1.05rem; }
  .product-card-body .hindi { font-size: 0.75rem; margin-bottom: 6px; }
  .product-card-body p { font-size: 0.72rem; line-height: 1.5; }
  .card-glow { display: none; } /* Remove glow on mobile for performance */

  /* Quality */
  .quality-showcase { gap: 30px; }
  .quality-text h3 { font-size: 1.5rem; }
  .quality-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px 12px; border-radius: 8px; }
  .stat .value { font-size: 2rem; }
  .stat .label { font-size: 0.62rem; letter-spacing: 1.5px; }

  /* Contact — stacked, larger touch targets */
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .contact-form { padding: 28px 20px; border-radius: 8px; }
  .contact-form h3 { font-size: 1.3rem; margin-bottom: 20px; }
  .form-group input, .form-group textarea {
    padding: 16px; font-size: 1rem; border-radius: 6px;
  }
  .form-group label { font-size: 0.7rem; }
  .contact-form .btn { padding: 16px; font-size: 0.85rem; border-radius: 8px; }
  .contact-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 8px; }

  /* Globe 3D — optimized for mobile */
  .globe-section .section-padding { padding: 50px 20px; }
  .globe-3d-container { max-width: 100%; }
  .globe-scene {
    max-width: 320px; max-height: 320px;
    margin: 0 auto;
  }
  .globe-sphere { width: 70%; height: 70%; }
  .globe-atmosphere { width: 85%; height: 85%; }
  .globe-floating-stats {
    position: relative; bottom: auto; left: auto; transform: none;
    justify-content: center; gap: 12px;
    margin-top: 24px; flex-wrap: wrap;
  }
  .g-stat {
    padding: 14px 20px; border-radius: 10px;
    flex: 1; min-width: 90px;
  }
  .g-stat-num { font-size: 1.5rem; }
  .g-stat-label { font-size: 0.6rem; letter-spacing: 1.5px; }
  .city-label { font-size: 8px; }
  .india-label { font-size: 9px; letter-spacing: 2px; }
  /* Disable heavy SVG filters on mobile for performance */
  .trade-arc, .city-node { filter: none; }
  /* Slow down globe spin on mobile to reduce GPU usage */
  .globe-sphere { animation-duration: 45s; }

  /* Footer — centered, compact */
  .footer { padding: 40px 20px 24px; }
  .footer-content {
    flex-direction: column; align-items: center;
    text-align: center; gap: 24px;
  }
  .footer-brand { max-width: 100%; margin: 0 auto; }
  .footer-brand img { height: 40px; }
  .footer-brand p { font-size: 0.78rem; }
  .footer-links { width: 100%; margin-bottom: 4px; }
  .footer-links h4 { font-size: 0.68rem; margin-bottom: 10px; }
  .footer-links a { font-size: 0.78rem; margin-bottom: 8px; }
  .footer-bottom { margin-top: 24px; padding-top: 20px; }
  .footer-bottom p { font-size: 0.7rem; }
  .footer-bottom .hashtags { font-size: 0.65rem; }
}

/* Small phones */
@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card-img { height: 200px; }
  .product-card-body { padding: 20px; }
  .product-card-body h3 { font-size: 1.2rem; }
  .product-card-body p { font-size: 0.8rem; }
  .navbar { padding: 12px 16px; }
  .nav-logo-text { font-size: 1rem; }
  .hero-badge { font-size: 0.6rem; letter-spacing: 1.5px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }
  .quality-stats { gap: 10px; }
  .stat .value { font-size: 1.7rem; }
  .globe-scene { max-width: 280px; max-height: 280px; }
  .g-stat { min-width: 80px; padding: 10px 14px; }
  .g-stat-num { font-size: 1.2rem; }
}

/* Tiny phones */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .hero-subtitle { font-size: 0.82rem; }
  .section-padding { padding: 50px 16px; }
  .navbar { padding: 10px 12px; }
  .nav-logo img { height: 36px !important; }
  .nav-logo-text { font-size: 0.9rem; }
}
