/* ══════════════════════════════════════════════════════
   MNT Trading WLL — Global Styles
   Brand: Deep Blue #1A4FA0 | Green #4A9E3F
   ══════════════════════════════════════════════════════ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Font Weights ─── */
.font-300 { font-weight: 300; }
.font-400 { font-weight: 400; }
.font-500 { font-weight: 500; }
.font-600 { font-weight: 600; }
.font-700 { font-weight: 700; }
.font-800 { font-weight: 800; }
.font-900 { font-weight: 900; }

/* ─── Gradient Text ─── */
.text-gradient-blue {
  background: linear-gradient(135deg, #3b82f6 0%, #1A4FA0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-green {
  background: linear-gradient(135deg, #6ee04a 0%, #4A9E3F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Animated Blobs ─── */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 { width: 600px; height: 600px; background: #3566F6; top: -100px; left: -150px; animation-delay: 0s; }
.blob-2 { width: 400px; height: 400px; background: #4A9E3F; bottom: -80px; right: -100px; animation-delay: 3s; }
.blob-3 { width: 300px; height: 300px; background: #1A4FA0; top: 30%; left: 60%; animation-delay: 6s; }
.blob-cta-1 { width: 500px; height: 500px; background: rgba(255,255,255,0.1); top: -150px; left: -100px; animation-delay: 0s; filter:blur(90px); opacity:0.3; }
.blob-cta-2 { width: 400px; height: 400px; background: rgba(255,255,255,0.08); bottom: -100px; right: -80px; animation-delay: 4s; filter:blur(90px); opacity:0.3; }

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Grid Pattern ─── */
.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ─── Navbar ─── */
#navbar { background: transparent; }
#navbar.scrolled {
  background: rgba(9, 28, 80, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
#navbar.scrolled .nav-link  { color: rgba(255,255,255,0.85); }
#navbar:not(.scrolled) .nav-link { color: rgba(255,255,255,0.85); }

.nav-link {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
}
.nav-link:hover, .nav-link.active-nav {
  color: #fff;
  background: rgba(255,255,255,0.12);
}
.nav-link.active-nav::after {
  content: '';
  display: block;
  height: 2px;
  background: #4A9E3F;
  border-radius: 2px;
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
}

/* For light-background pages */
body.page-light #navbar:not(.scrolled) .nav-link { color: #1A4FA0; }
body.page-light #navbar:not(.scrolled) #logo-fallback span { color: #1A4FA0; }
body.page-light #navbar:not(.scrolled) #menu-btn { color: #1A4FA0; }
body.page-light #navbar:not(.scrolled) .btn-primary { background: #1A4FA0; color: white; }

.mobile-nav-link {
  display: block;
  padding: 12px 16px;
  border-radius: 10px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: all 0.2s ease;
}
.mobile-nav-link:hover { background: rgba(255,255,255,0.1); color: white; }

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: linear-gradient(135deg, #4A9E3F 0%, #3A7D30 100%);
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(74,158,63,0.3);
  letter-spacing: 0.01em;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(74,158,63,0.4);
  background: linear-gradient(135deg, #5CB85C 0%, #4A9E3F 100%);
}
.btn-primary.btn-lg { padding: 15px 36px; font-size: 1.05rem; border-radius: 14px; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: transparent;
  color: white;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}
.btn-outline.btn-lg { padding: 15px 36px; font-size: 1.05rem; border-radius: 14px; }

/* ─── Section Utilities ─── */
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: linear-gradient(135deg, #EEF4FF, #D9E8FF);
  color: #1A4FA0;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #1A202C;
  line-height: 1.2;
  margin-bottom: 16px;
  text-align: center;
}
.section-desc {
  color: #6B7A95;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

/* ─── Service Cards ─── */
.service-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid #EEF1F5;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1A4FA0, #4A9E3F);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(26,79,160,0.12); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-card-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}
.service-card:hover .service-card-icon-wrap { transform: scale(1.1) rotate(-3deg); }

.service-card-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1A202C;
  margin-bottom: 10px;
  line-height: 1.3;
}
.service-card-desc {
  color: #6B7A95;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  color: #1A4FA0;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.2s ease, color 0.2s ease;
  gap: 4px;
}
.service-card-link:hover { color: #4A9E3F; gap: 8px; }

/* ─── Why Us ─── */
.why-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  transition: background 0.25s ease;
}
.why-point:hover { background: #F5F7FA; }
.why-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Stat Cards (Hero) ─── */
.stat-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.stat-card:hover { background: rgba(255,255,255,0.14); transform: translateY(-4px); }
.stat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.stat-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.4rem;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ─── Brand Marquee ─── */
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.marquee-wrapper::before, .marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left: 0;  background: linear-gradient(to right,  #F5F7FA, transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left, #F5F7FA, transparent); }

.marquee-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }

.brand-pill {
  display: flex;
  align-items: center;
  padding: 14px 28px;
  background: white;
  border: 1.5px solid #DDE2EA;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: #4A5568;
  white-space: nowrap;
  transition: all 0.25s ease;
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.brand-pill:hover { border-color: #1A4FA0; color: #1A4FA0; box-shadow: 0 4px 16px rgba(26,79,160,0.12); }

/* ─── Glass Card ─── */
.glass-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ─── Social Icons ─── */
.social-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  text-decoration: none;
  transition: all 0.25s ease;
}
.social-icon:hover { background: #4A9E3F; color: white; border-color: #4A9E3F; transform: translateY(-2px); }

/* ─── Footer ─── */
.footer-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: white;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-link {
  display: block;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  text-decoration: none;
  padding: 4px 0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-link:hover { color: #4A9E3F; padding-left: 6px; }

/* ─── Page Hero (inner pages) ─── */
.page-hero {
  background: linear-gradient(135deg, #091C50 0%, #1A4FA0 60%, #163F82 100%);
  position: relative;
  overflow: hidden;
  padding: 140px 0 80px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.6); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #4A9E3F; }
.breadcrumb span { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* ─── Products page cards ─── */
.product-category-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #EEF1F5;
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.product-category-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,79,160,0.12); }
.product-category-card-header {
  padding: 32px 32px 24px;
  background: linear-gradient(135deg, #F5F7FA 0%, #EEF4FF 100%);
}
.product-category-card-body { padding: 24px 32px 32px; flex: 1; display: flex; flex-direction: column; }

/* ─── Contact form ─── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  color: #2D3748;
}
.form-input, .form-select, .form-textarea {
  padding: 13px 16px;
  border: 1.5px solid #DDE2EA;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1A202C;
  background: #FAFBFC;
  transition: all 0.25s ease;
  outline: none;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: #1A4FA0;
  background: white;
  box-shadow: 0 0 0 4px rgba(26,79,160,0.08);
}
.form-input.error, .form-select.error, .form-textarea.error {
  border-color: #E53E3E;
  box-shadow: 0 0 0 4px rgba(229,62,62,0.08);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-error { color: #E53E3E; font-size: 0.8rem; margin-top: 2px; display: none; }
.form-error.visible { display: block; }

/* ─── Contact info cards ─── */
.contact-info-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  border: 1px solid #EEF1F5;
  display: flex; align-items: flex-start; gap: 16px;
  transition: all 0.3s ease;
}
.contact-info-card:hover { box-shadow: 0 12px 40px rgba(26,79,160,0.1); transform: translateY(-4px); }
.contact-card-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}

/* ─── Scroll Reveal Animation ─── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: var(--delay, 0s);
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Toast ─── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  padding: 16px 24px;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: white;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  max-width: 380px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: linear-gradient(135deg, #4A9E3F, #3A7D30); }
.toast.error   { background: linear-gradient(135deg, #E53E3E, #C53030); }

/* ─── Marquee keyframes ─── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── Responsive Tweaks ─── */
@media (max-width: 768px) {
  .stat-num { font-size: 2rem; }
  .section-title { font-size: 1.9rem; }
}

/* ─── About page value cards ─── */
.value-card {
  background: white;
  border-radius: 20px;
  padding: 28px;
  text-align: center;
  border: 1px solid #EEF1F5;
  transition: all 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26,79,160,0.1); }
.value-icon {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
}

/* ─── Timeline ─── */
.timeline-item { display: flex; gap: 20px; padding: 24px 0; position: relative; }
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 60px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #1A4FA0, transparent);
}
.timeline-dot {
  width: 40px; height: 40px; flex-shrink: 0;
  background: linear-gradient(135deg, #1A4FA0, #4A9E3F);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  color: white;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #F5F7FA; }
::-webkit-scrollbar-thumb { background: #1A4FA0; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #4A9E3F; }

/* ─── Product page items ─── */
.product-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #F5F7FA;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #4A5568;
  font-weight: 500;
  transition: all 0.2s ease;
}
.product-item:hover { background: #EEF4FF; color: #1A4FA0; }
.product-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.brand-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #EEF4FF;
  color: #1A4FA0;
  border: 1px solid #BDD3FF;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: all 0.2s ease;
}
.brand-tag:hover { background: #1A4FA0; color: white; border-color: #1A4FA0; }

/* ─── Brand grid (products page) ─── */
.brand-grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: white;
  border: 1.5px solid #DDE2EA;
  border-radius: 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #4A5568;
  text-align: center;
  transition: all 0.25s ease;
  cursor: default;
}
.brand-grid-item:hover {
  border-color: #1A4FA0;
  color: #1A4FA0;
  background: #EEF4FF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,79,160,0.1);
}

/* ─── Category jump buttons ─── */
.category-jump-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  background: white;
  border: 1.5px solid #DDE2EA;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #4A5568;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.category-jump-btn:hover {
  border-color: #1A4FA0;
  color: #1A4FA0;
  background: #EEF4FF;
}

/* ─── Shadow utilities ─── */
.shadow-card { box-shadow: 0 4px 24px rgba(26,79,160,0.10); }
.shadow-card-hover { box-shadow: 0 12px 40px rgba(26,79,160,0.18); }
.shadow-glow { box-shadow: 0 0 30px rgba(26,79,160,0.25); }
.shadow-green-glow { box-shadow: 0 0 30px rgba(74,158,63,0.30); }

