/* ==========================================================================
   IndiaMart Global - Premium CSS Stylesheet
   ========================================================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* --- Root Variables & Design System --- */
:root {
  --navy-deep: #0a1128;
  --navy-dark: #001f54;
  --navy-primary: #0a2342;
  --navy-medium: #1c3d5a;
  --navy-light: #f0f4f8;
  --gold-primary: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f3e8d2;
  --gold-gradient: linear-gradient(135deg, #e5c060 0%, #b38e2d 100%);
  --gold-glow: rgba(212, 175, 55, 0.4);
  --text-dark: #1a202c;
  --text-light: #f7fafc;
  --text-muted: #64748b;
  --bg-light: #fafbfc;
  --bg-dark: #070d1e;
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-bg-dark: rgba(10, 17, 40, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --box-shadow-lg: 0 20px 25px -5px rgba(10, 17, 40, 0.08), 0 10px 10px -5px rgba(10, 17, 40, 0.03);
  --box-shadow-glow: 0 0 20px var(--gold-glow);
}

/* --- Base & Reset --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7; /* paragraph line-height 1.7 */
}

img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

section {
  width: 100%;
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.15; /* heading line-height 1.15 */
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* --- Utility Classes --- */
.container {
  width: min(100% - 40px, 1200px);
  margin-inline: auto;
}

.section-padding {
  padding: 7rem 0;
}

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

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  display: inline-block;
  border: 1px solid var(--gold-light);
  background: var(--gold-light);
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin-bottom: 1rem;
  position: relative;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

/* --- Premium Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--navy-primary);
  color: white;
  box-shadow: var(--box-shadow-md);
  border: 1px solid var(--navy-primary);
}

.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 31, 84, 0.25);
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-weight: 700;
  box-shadow: var(--box-shadow-md);
  border: 1px solid var(--gold-primary);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-glow), 0 6px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  border: 2px solid var(--navy-primary);
  color: var(--navy-primary);
}

.btn-outline:hover {
  background: var(--navy-primary);
  color: white;
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 2px solid var(--gold-primary);
  color: var(--gold-primary);
}

.btn-outline-gold:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  border-color: transparent;
  transform: translateY(-2px);
}

/* --- Sticky Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.4rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 31, 84, 0.08);
}

.header.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-weight: 800;
  box-shadow: var(--box-shadow-glow);
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--navy-primary);
  transition: var(--transition-smooth);
}

.logo-text span {
  font-weight: 400;
}

.nav-menu {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy-primary);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

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

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

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

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--navy-primary);
  transition: var(--transition-smooth);
}

/* Keep mobile toggle visible on white header */
.header.scrolled .mobile-nav-toggle span {
  background-color: var(--navy-primary);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  color: white;
  padding-top: 8rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  filter: grayscale(30%) contrast(110%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 60% 30%, rgba(10, 35, 66, 0.4) 0%, rgba(7, 13, 30, 0.95) 80%);
  z-index: 2;
}

/* Floating grid & dots visual */
.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.1) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  z-index: 3;
  opacity: 0.7;
}

.hero-world-map {
  position: absolute;
  right: -5%;
  top: 10%;
  width: 60%;
  height: 80%;
  opacity: 0.15;
  z-index: 3;
  pointer-events: none;
  transform: scale(1.1);
}

.hero-world-map svg path {
  fill: #ffffff;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-text {
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.hero-badge i {
  color: var(--gold-primary);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.15;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* Premium Visual Card in Hero */
.hero-visual-card {
  background: var(--glass-bg-dark);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visual-card-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.visual-card-title i {
  color: var(--gold-primary);
}

.trade-route-animation {
  position: relative;
  height: 140px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#tradeCanvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.network-nodes {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.trade-stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.trade-mini-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  text-align: center;
}

.trade-mini-stat h4 {
  color: var(--gold-primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.trade-mini-stat p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}

/* --- Counter / Stats Section --- */
.stats-bar {
  background: white;
  position: relative;
  z-index: 20;
  margin-top: -4rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0, 31, 84, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 2.5rem 1.5rem;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(0, 31, 84, 0.1);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--navy-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* --- Product Categories --- */
.products {
  background-color: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  background: white;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 31, 84, 0.04);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-lg);
  border-color: rgba(212, 175, 55, 0.3);
}

.product-image-container {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 40%, rgba(10, 25, 49, 0.6) 100%);
  opacity: 0.8;
}

.product-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--gold-gradient);
  color: var(--navy-deep);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.product-info {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  flex-grow: 1;
}

.product-card .btn {
  width: 100%;
}

/* --- Services Section --- */
.services {
  background-color: var(--navy-deep);
  color: white;
  position: relative;
  overflow: hidden;
}

.services .section-title {
  color: white;
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 2.2rem 1.8rem;
  transition: var(--transition-smooth);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--gold-primary);
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  box-shadow: var(--box-shadow-glow);
}

.service-title {
  font-size: 1.25rem;
  color: white;
  margin-bottom: 0.8rem;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* Layout for the 7 items grid (centered nicely) */
.services-grid .service-card:nth-child(n+5) {
  /* Dynamic adjustments if needed */
}

/* --- How It Works Section (Timeline) --- */
.how-it-works {
  background-color: white;
  position: relative;
  overflow: hidden;
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

/* Central vertical line */
.timeline-line {
  position: absolute;
  left: 40px;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--navy-light);
  transform: translateX(-50%);
  z-index: 1;
}

.timeline-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%; /* Animated via JS */
  background: var(--gold-gradient);
  transition: height 0.1s ease-out;
}

.timeline-step {
  display: flex;
  position: relative;
  margin-bottom: 4rem;
  z-index: 2;
  /* Right to Left slide-in animation by default */
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-step.active {
  opacity: 1;
  transform: translateX(0);
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-content-wrapper {
  width: calc(100% - 90px);
  margin-left: 90px;
}

.timeline-card {
  background: var(--bg-light);
  padding: 2.2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  border: 1px solid rgba(0, 31, 84, 0.03);
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-card {
  background: white;
  box-shadow: var(--box-shadow-lg);
  border-color: var(--gold-light);
}

.timeline-step-num {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.timeline-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: var(--navy-primary);
}

.timeline-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Left node dot centered on the line */
.timeline-node {
  width: 50px;
  height: 50px;
  background: white;
  border: 4px solid var(--navy-light);
  border-radius: 50%;
  position: absolute;
  left: 40px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-primary);
  font-weight: 700;
  transition: var(--transition-smooth);
}

.timeline-step.active .timeline-node {
  border-color: var(--gold-primary);
  background: var(--navy-primary);
  color: white;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.timeline-spacer {
  display: none;
}

/* --- Referral Partner Section --- */
.referral {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.referral-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.referral-info {
  padding-right: 1.5rem;
}

.referral-benefits {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.benefit-text h4 {
  font-size: 1.1rem;
  color: var(--navy-primary);
  margin-bottom: 0.25rem;
}

.benefit-text p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.referral-card-wrapper {
  position: relative;
}

.referral-card-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background-color: var(--gold-light);
  border-radius: var(--border-radius-sm);
  z-index: 1;
}

.form-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--box-shadow-lg);
  border: 1px solid rgba(0, 31, 84, 0.04);
  position: relative;
  z-index: 2;
}

.form-card-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--navy-deep);
}

.form-card-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Premium Form Elements */
.form-group-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-group {
  margin-bottom: 1.2rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-primary);
  margin-bottom: 0.4rem;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.2rem;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  background-color: #f8fafc;
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--navy-primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(10, 35, 66, 0.08);
}

.form-input::placeholder {
  color: #a0aec0;
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231a365d' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

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

.form-card .btn {
  width: 100%;
  margin-top: 1rem;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
  background-color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  background: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  border: 1px solid rgba(0, 31, 84, 0.03);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0%;
  background: var(--gold-gradient);
  transition: var(--transition-smooth);
}

.why-card:hover {
  background: white;
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
  border-color: rgba(212, 175, 55, 0.2);
}

.why-card:hover::before {
  height: 100%;
}

.why-icon {
  font-size: 2rem;
  color: var(--gold-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.why-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--navy-primary);
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* --- Inquiry Form Section --- */
.inquiry {
  background-color: var(--navy-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.inquiry-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(212, 175, 55, 0.05) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  opacity: 0.6;
  pointer-events: none;
}

.inquiry .section-title {
  color: white;
}

.inquiry .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

.inquiry-form-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  padding: 4rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.inquiry-form-wrapper .form-label {
  color: rgba(255, 255, 255, 0.9);
}

.inquiry-form-wrapper .form-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
}

.inquiry-form-wrapper .form-input:focus {
  background: rgba(10, 17, 40, 0.4);
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

.inquiry-form-wrapper .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.inquiry-form-wrapper select.form-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23d4af37' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  color: white;
}

.inquiry-form-wrapper select.form-input option {
  background-color: var(--navy-primary);
  color: white;
}

.inquiry-form-wrapper .btn {
  margin-top: 1.5rem;
  width: 100%;
}

/* Trade Type Radio Buttons Group */
.radio-group {
  display: flex;
  gap: 2rem;
  margin: 0.6rem 0;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.radio-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-primary);
  cursor: pointer;
}

/* --- Floating WhatsApp Widget --- */
.whatsapp-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.whatsapp-bubble {
  background: white;
  color: var(--text-dark);
  padding: 0.75rem 1.2rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow-md);
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(0, 31, 84, 0.05);
  position: relative;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.whatsapp-bubble::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 20px;
  width: 12px;
  height: 12px;
  background: white;
  transform: rotate(45deg);
  border-right: 1px solid rgba(0, 31, 84, 0.05);
  border-bottom: 1px solid rgba(0, 31, 84, 0.05);
}

.whatsapp-widget:hover .whatsapp-bubble {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-button {
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  pointer-events: auto;
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.whatsapp-button:hover {
  transform: scale(1.08) rotate(8deg);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid #25d366;
  animation: pulse-ring 2s infinite;
  opacity: 0;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* --- Footer --- */
.footer {
  background-color: var(--navy-deep);
  color: rgba(255, 255, 255, 0.7);
  padding: 6rem 0 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand .logo {
  margin-bottom: 1.5rem;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--gold-gradient);
  color: var(--navy-deep);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-glow);
}

.footer-title {
  color: white;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 30px;
  height: 2px;
  background: var(--gold-gradient);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--gold-primary);
  padding-left: 5px;
}

.footer-contact-item {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.footer-contact-item i {
  color: var(--gold-primary);
  margin-top: 0.25rem;
  font-size: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.admin-trigger {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.admin-trigger:hover {
  color: var(--gold-primary);
}

/* --- Admin Dashboard Modal --- */
.admin-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(10px);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.admin-modal.active {
  display: flex;
}

.admin-panel {
  background: white;
  width: 100%;
  max-width: 1100px;
  height: 80vh;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--gold-light);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.admin-header {
  background: var(--navy-primary);
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.admin-header h2 {
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.admin-header h2 i {
  color: var(--gold-primary);
}

.admin-close {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-close:hover {
  color: var(--gold-primary);
  transform: rotate(90deg);
}

.admin-tabs {
  display: flex;
  background: var(--navy-light);
  border-bottom: 1px solid #e2e8f0;
}

.admin-tab {
  padding: 1rem 2rem;
  font-weight: 600;
  color: var(--navy-medium);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition-smooth);
}

.admin-tab.active {
  border-bottom-color: var(--gold-primary);
  color: var(--navy-primary);
  background: white;
}

.admin-actions-bar {
  padding: 1rem 2rem;
  background: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
}

.admin-search {
  padding: 0.5rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--border-radius-sm);
  width: 250px;
  background: white;
}

.admin-btn-group {
  display: flex;
  gap: 1rem;
}

.btn-admin-action {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-admin-export {
  background: #10b981;
  color: white;
}

.btn-admin-clear {
  background: #ef4444;
  color: white;
}

.admin-content {
  flex-grow: 1;
  overflow-y: auto;
  padding: 2rem;
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
  background-color: #f1f5f9;
  font-weight: 700;
  color: var(--navy-primary);
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.admin-empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
}

.admin-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #cbd5e0;
  display: block;
}

/* Notification Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--navy-primary);
  color: white;
  padding: 1rem 1.8rem;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--box-shadow-lg);
  border-left: 4px solid var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2100;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: var(--transition-smooth);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

/* --- Scroll Animations --- */
.fade-up-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ==========================================================================
   Responsive Media Queries (Mobile-first Layout)
   ========================================================================== */

/* Tablet Viewports */
@media screen and (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding-top: 8rem;
    padding-bottom: 4rem;
    overflow: hidden;
  }

  .section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
  }
  
  .hero-content-wrapper {
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
  }
  
  .hero-visual-card {
    max-width: 550px;
    margin: 0 auto;
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 0;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .timeline-line {
    left: 20px;
  }
  
  .timeline-step {
    flex-direction: row !important;
    margin-bottom: 3.5rem;
    transform: none !important;
    opacity: 1 !important;
  }
  
  .timeline-content-wrapper {
    width: calc(100% - 60px);
    margin-left: 60px;
  }
  
  .timeline-node {
    left: 20px;
    transform: translateX(-50%);
  }
  
  .timeline-spacer {
    display: none;
  }
  
  .referral-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .referral-info {
    padding-right: 0;
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Mobile Viewports */
@media screen and (max-width: 768px) {
  .section-padding {
    padding: 4rem 0 !important; /* Premium spacing between sections */
  }
  
  .header {
    height: 78px;
    padding: 0 !important;
    background: white;
    box-shadow: var(--box-shadow-sm);
    display: flex;
    align-items: center;
  }

  .header-container {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .logo-text {
    font-size: clamp(1.2rem, 4vw, 1.4rem) !important;
    color: var(--navy-primary);
  }
  
  .mobile-nav-toggle {
    display: flex;
    margin-right: 0.5rem;
  }
  
  .nav-menu {
    position: fixed;
    top: 78px; /* Align with header height */
    left: 0;
    width: 100%;
    height: calc(100vh - 78px);
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateX(-100%);
    visibility: hidden;
  }
  
  .nav-menu.active {
    transform: translateX(0);
    visibility: visible;
  }
  
  .nav-link {
    font-size: 1.2rem;
    color: var(--navy-primary) !important;
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.5rem;
  }
  
  .header-actions {
    display: none;
  }
  
  .nav-menu .btn {
    width: 100%;
    margin-top: 1rem;
  }

  .hero {
    padding-top: 6.5rem;
    min-height: auto;
    overflow: hidden;
  }

  .hero-overlay {
    background: rgba(7, 13, 30, 0.85) !important; /* Premium overlay for readability */
  }
  
  .hero-badge {
    font-size: clamp(0.75rem, 3vw, 0.85rem) !important;
    padding: 0.5rem 1rem !important;
    max-width: 100% !important;
    white-space: normal !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .hero-title {
    font-size: clamp(32px, 8vw, 38px) !important; /* Exactly 32px to 38px */
    line-height: 1.15 !important; /* heading 1.15 */
    margin-bottom: 1.5rem !important;
  }

  .hero-title span {
    display: block !important;
  }
  
  .hero-desc {
    font-size: clamp(16px, 1.5vw + 12px, 18px) !important; /* Exactly 16px to 18px */
    line-height: 1.7 !important; /* paragraph 1.7 */
    margin-bottom: 2rem !important;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px !important; /* Stacked with 16px gap */
    padding: 0 !important;
  }

  .hero-actions .btn {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    display: inline-flex;
    justify-content: center;
  }
  
  .hero-visual-card {
    padding: 1.25rem;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .trade-mini-stat {
    padding: 0.75rem 0.5rem;
  }
  
  .stats-bar {
    margin-top: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    padding: 2rem;
  }
  
  .stat-item::after {
    display: none !important;
  }
  
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .services-grid .service-card {
    grid-column: auto !important;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .form-group-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  
  .inquiry-form-wrapper {
    padding: 2.5rem 1.5rem !important;
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .whatsapp-widget {
    bottom: 1.5rem !important;
    right: 1.5rem !important;
  }
  
  .whatsapp-button {
    width: 48px !important; /* Smaller size on mobile */
    height: 48px !important;
    font-size: 1.4rem !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3) !important;
  }
  
  .whatsapp-bubble {
    display: none !important; /* Hide bubble so it does not cover content */
  }
}

/* Small Mobile Viewports */
@media screen and (max-width: 480px) {
  .section-padding {
    padding: 3.5rem 0 !important;
  }
  
  .logo-text {
    font-size: 1.2rem !important;
  }
  
  .hero-title {
    font-size: 32px !important; /* Keep strictly at 32px for compact viewports */
  }
  
  .hero-desc {
    font-size: 16px !important; /* strictly at 16px */
  }

  .inquiry-form-wrapper {
    padding: 2rem 1rem !important;
  }

  .form-card {
    padding: 1.5rem 1rem !important;
  }
}

/* Very Small Mobile Viewports */
@media screen and (max-width: 360px) {
  .logo-text {
    font-size: 1.05rem !important;
  }
  
  .hero-title {
    font-size: 28px !important; /* even safer size to prevent any potential clipping */
  }

  .hero-badge {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.8rem !important;
  }

  .inquiry-form-wrapper {
    padding: 1.5rem 0.75rem !important;
  }
}


