/* ==========================================================================
   FOODMART AGRO ENGINEERING — CORPORATE DESIGN SYSTEM
   Professional · Corporate · Animated · Crystal
   ========================================================================== */

:root {
  --fm-green: #509c2e;
  --fm-green-dark: #1b7a06;
  --fm-green-deep: #0b3d2e;
  --fm-ink: #12261c;
  --fm-slate: #4b5a51;
  --fm-gold: #f4a300;
  --fm-red: #e42b2b;
  --fm-bg: #f5f8f5;
  --fm-light: #ffffff;
  --fm-glass: rgba(255, 255, 255, 0.12);
  --fm-glass-border: rgba(255, 255, 255, 0.28);
  --fm-shadow: 0 18px 45px rgba(11, 61, 46, 0.14);
  --fm-shadow-lg: 0 30px 70px rgba(11, 61, 46, 0.22);
  --fm-radius: 16px;
  --fm-grad: linear-gradient(120deg, #509c2e 0%, #2f7d22 45%, #0b3d2e 100%);
  --fm-grad-gold: linear-gradient(120deg, #f4a300, #e42b2b);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", "Roboto", -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--fm-bg);
  color: var(--fm-ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------------- Custom Scrollbar ---------------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #e8efe8; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--fm-green), var(--fm-green-deep));
  border-radius: 20px;
}
::-webkit-scrollbar-thumb:hover { background: var(--fm-green-dark); }

::selection { background: var(--fm-green); color: #fff; }

/* ---------------- Top Bar ---------------- */
.fm-topbar {
  background: linear-gradient(90deg, var(--fm-green-deep), #0e4f3a);
  color: #dff0da;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fm-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.fm-topbar a { color: #fff; text-decoration: none; transition: color 0.3s; }
.fm-topbar a:hover { color: var(--fm-gold); }
.fm-topbar-left, .fm-topbar-right { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.fm-topbar i { margin-right: 6px; color: var(--fm-gold); }
.fm-topbar-phone { font-weight: 700; }
.fm-topbar-wa {
  background: #25d366;
  color: #fff !important;
  padding: 4px 14px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

/* ---------------- Sticky Header ---------------- */
.fm-sticky-header {
  transition: box-shadow 0.4s ease, background 0.4s ease;
}
.fm-sticky-header.fm-is-sticky {
  box-shadow: 0 12px 35px rgba(11, 61, 46, 0.18);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

/* ---------------- Glass Buttons (floating call/WA) ---------------- */
.glass-btn {
  background: linear-gradient(135deg, rgba(80, 156, 46, 0.9), rgba(11, 61, 46, 0.92));
  color: #fff;
  border: none;
  box-shadow: 0 12px 32px rgba(11, 61, 46, 0.4);
}
.glass-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: fm-shimmer 3.2s ease-in-out infinite;
}
.glass-btn.call-btn { left: 22px; }
.glass-btn.whatsapp-btn {
  right: 22px;
  background: linear-gradient(135deg, #25d366, #128c7e);
}
@keyframes fm-shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }

.mobile-btn {
  background: linear-gradient(135deg, var(--fm-green), var(--fm-green-deep));
  color: #fff;
  border: none;
}

/* ---------------- Hero ---------------- */
.fm-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0b3d2e 0%, #123f1f 55%, #1b7a06 130%);
  color: #fff;
}
.fm-hero-bg {
  position: absolute;
  inset: 0;
  background: url("../images/vid.gif") center/cover no-repeat;
  opacity: 0.22;
  animation: fm-kenburns 18s ease-in-out infinite alternate;
}
@keyframes fm-kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.fm-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  animation: fm-float 9s ease-in-out infinite;
}
.fm-hero-blob-1 { width: 420px; height: 420px; background: #509c2e; top: -120px; right: -80px; }
.fm-hero-blob-2 { width: 300px; height: 300px; background: #f4a300; bottom: -100px; left: -60px; animation-delay: 2.5s; }
.fm-hero-blob-3 { width: 200px; height: 200px; background: #25d366; top: 40%; left: 40%; animation-delay: 5s; opacity: 0.3; }
@keyframes fm-float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-30px) translateX(20px); }
}
.fm-hero-inner { position: relative; z-index: 2; }
.fm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fm-glass);
  border: 1px solid var(--fm-glass-border);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #eaffd9;
}
.fm-hero-badge i { color: var(--fm-gold); animation: fm-pulse 1.6s ease-in-out infinite; }
@keyframes fm-pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.35); opacity: 0.6; } }
.fm-hero-title {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.12;
  margin: 22px 0 18px;
  color: #fff;
}
.fm-gradient-text {
  background: linear-gradient(100deg, #ffd66b, var(--fm-gold), #ffb703);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.fm-hero-sub {
  font-size: 17px;
  color: #dcebe0;
  max-width: 560px;
  line-height: 1.8;
}
.fm-hero-stats { display: flex; gap: 34px; flex-wrap: wrap; margin-top: 34px; }
.fm-stat { text-align: left; }
.fm-stat-num {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.fm-stat-num sup { color: var(--fm-gold); font-size: 20px; }
.fm-stat-label { font-size: 13px; color: #bcd8c2; text-transform: uppercase; letter-spacing: 1px; }

/* ---------------- Glass Enquiry Form ---------------- */
.fm-glass-form {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  border-radius: var(--fm-radius);
  box-shadow: var(--fm-shadow-lg);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fm-glass-form::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.22), transparent 55%);
  pointer-events: none;
}
.fm-glass-form h4 { color: #fff; }
.fm-glass-form .form-control {
  background: rgba(255, 255, 255, 0.92);
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
}

/* ---------------- Buttons ---------------- */
.fm-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  background: var(--fm-grad);
  color: #fff;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(80, 156, 46, 0.35);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  position: relative;
  overflow: hidden;
}
.fm-btn:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 20px 45px rgba(80, 156, 46, 0.5); }
.fm-btn::after {
  content: "";
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-25deg);
  animation: fm-shimmer 3s ease-in-out infinite;
}
.fm-btn-gold { background: var(--fm-grad-gold); box-shadow: 0 14px 30px rgba(244, 163, 0, 0.4); }
.fm-btn-outline {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: none;
}
.fm-btn-outline:hover { background: #fff; color: var(--fm-green-deep); border-color: #fff; }
.fm-btn-outline-light {
  background: transparent;
  border: 2px solid var(--fm-green);
  color: var(--fm-green-deep);
  box-shadow: none;
}
.fm-btn-outline-light:hover { background: var(--fm-green); color: #fff; border-color: var(--fm-green); }
.fm-btn-wa {
  background: #e8f8ee;
  border: 2px solid #2fbf6a;
  color: #15803d;
  box-shadow: 0 6px 16px rgba(47, 191, 106, 0.18);
}
.fm-btn-wa:hover { background: #2fbf6a; color: #fff; border-color: #2fbf6a; }
.fm-cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 6px;
  background: #ffb400;
  color: #0b3d2e;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 800;
  vertical-align: middle;
}

/* ---------------- Section Headings ---------------- */
.fm-section {
  position: relative;
  padding: 84px 0;
}
.fm-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--fm-green);
  margin-bottom: 10px;
}
.fm-eyebrow::before { content: "— "; color: var(--fm-gold); }
.fm-section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 900;
  color: var(--fm-green-deep);
  line-height: 1.2;
}
.fm-section-title .fm-gradient-text {
  background: linear-gradient(100deg, var(--fm-green), var(--fm-green-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fm-section-sub {
  color: var(--fm-slate);
  font-size: 16px;
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.8;
}

/* ---------------- Cards ---------------- */
.fm-card {
  background: #fff;
  border: 1px solid #e6eee6;
  border-radius: var(--fm-radius);
  box-shadow: 0 8px 25px rgba(11, 61, 46, 0.06);
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
  position: relative;
}
.fm-card:hover { transform: translateY(-10px); box-shadow: var(--fm-shadow-lg); }
.fm-card-img {
  overflow: hidden;
  position: relative;
}
.fm-card-img img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.fm-card:hover .fm-card-img img { transform: scale(1.08); }
.fm-card-body { padding: 26px; }
.fm-card-title { font-size: 20px; font-weight: 800; color: var(--fm-green-deep); }
.fm-card-title a { color: inherit; }
.fm-card-title a:hover { color: var(--fm-green); }
.fm-chip {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--fm-grad);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(80, 156, 46, 0.4);
}

/* ---------------- Feature / Icon cards ---------------- */
.fm-feature {
  background: #fff;
  border-radius: var(--fm-radius);
  padding: 30px 26px;
  text-align: center;
  border: 1px solid #e6eee6;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.fm-feature::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--fm-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.fm-feature:hover::before { transform: scaleX(1); }
.fm-feature:hover { transform: translateY(-8px); box-shadow: var(--fm-shadow); border-color: transparent; }
.fm-feature-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: var(--fm-grad);
  color: #fff;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(80, 156, 46, 0.35);
  transition: transform 0.5s ease;
}
.fm-feature:hover .fm-feature-icon { transform: rotateY(180deg); }
.fm-feature h3 { font-size: 18px; font-weight: 800; color: var(--fm-green-deep); margin-bottom: 10px; }
.fm-feature p { color: var(--fm-slate); font-size: 14.5px; line-height: 1.7; margin: 0; }

/* ---------------- Stats Band ---------------- */
.fm-stats-band {
  background: var(--fm-grad);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fm-stats-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
}
.fm-statbox { text-align: center; position: relative; z-index: 1; }
.fm-statbox .fm-stat-num { font-size: 44px; }
.fm-statbox .fm-stat-label { color: #d8ecd3; }

/* ---------------- Process / Steps ---------------- */
.fm-step {
  text-align: center;
  position: relative;
  padding: 0 14px;
}
.fm-step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--fm-green);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--fm-green);
  box-shadow: 0 10px 26px rgba(80, 156, 46, 0.3);
  transition: transform 0.4s ease, background 0.4s ease, color 0.4s ease;
}
.fm-step:hover .fm-step-num { background: var(--fm-green); color: #fff; transform: scale(1.1) rotate(360deg); }
.fm-step h3 { font-size: 17px; font-weight: 800; color: var(--fm-green-deep); }

/* ---------------- FAQ ---------------- */
.fm-faq-item {
  background: #fff;
  border: 1px solid #e6eee6;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
}
.fm-faq-item.fm-open { box-shadow: var(--fm-shadow); border-color: var(--fm-green); }
.fm-faq-q {
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 800;
  color: var(--fm-green-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.fm-faq-q i { transition: transform 0.35s ease; color: var(--fm-green); }
.fm-faq-item.fm-open .fm-faq-q i { transform: rotate(45deg); }
.fm-faq-a { display: none; padding: 0 22px 20px; color: var(--fm-slate); line-height: 1.8; }

/* ---------------- Scroll Reveal ---------------- */
.fm-reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.fm-reveal-left { transform: translateX(-46px); }
.fm-reveal-right { transform: translateX(46px); }
.fm-reveal-zoom { transform: scale(0.9); }
.fm-reveal.fm-visible { opacity: 1; transform: none; }

/* ---------------- Marquee ---------------- */
.fm-marquee {
  overflow: hidden;
  background: #fff;
  border-block: 1px solid #e6eee6;
  padding: 20px 0;
}
.fm-marquee-track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: fm-marquee 30s linear infinite;
}
.fm-marquee-track span {
  font-size: 16px;
  font-weight: 800;
  color: var(--fm-green-deep);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 10px;
}
.fm-marquee-track i { color: var(--fm-gold); }
@keyframes fm-marquee { to { transform: translateX(-50%); } }

/* ---------------- Video Cards ---------------- */
.fm-video-card {
  border-radius: var(--fm-radius);
  overflow: hidden;
  box-shadow: var(--fm-shadow);
  background: #fff;
  border: 1px solid #e6eee6;
  transition: transform 0.4s ease;
}
.fm-video-card:hover { transform: translateY(-8px) scale(1.01); }
.fm-video-card .fm-video-tag {
  position: absolute;
  bottom: 12px; left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

/* ---------------- Footer ---------------- */
.fm-footer {
  position: relative;
  color: #d8ecd3;
  background: linear-gradient(160deg, #071c14 0%, #0b3d2e 60%, #123f1f 100%);
  padding-top: 30px;
}
.fm-footer-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: radial-gradient(circle at 20% 30%, #509c2e 0, transparent 40%), radial-gradient(circle at 80% 70%, #f4a300 0, transparent 40%);
}
.fm-footer .widget-title, .fm-footer h3 { color: #fff; font-weight: 800; }
.fm-footer-links { padding: 0; }
.fm-footer-links li { padding: 5px 0; }
.fm-footer-links li::before { content: "› "; color: var(--fm-gold); font-weight: 900; }
.fm-footer-links a { color: #cfe8c9; text-decoration: none; transition: color 0.3s, padding-left 0.3s; }
.fm-footer-links a:hover { color: var(--fm-gold); padding-left: 6px; }
.fm-contact-list li { padding: 6px 0; }
.fm-contact-list i { width: 24px; color: var(--fm-gold); }
.fm-trust-badges { flex-wrap: wrap; gap: 10px; }
.fm-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #eaffd9;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}
.fm-badge i { color: var(--fm-gold); margin-right: 5px; }

/* ---------------- State Listing ---------------- */
.state-listing {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: center;
}
.state-listing li a {
  color: #cfe8c9;
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.25);
  transition: color 0.3s;
}
.state-listing li a:hover { color: var(--fm-gold); border-color: var(--fm-gold); }

/* ---------------- Page title band ---------------- */
.fm-page-banner {
  position: relative;
  background: linear-gradient(120deg, #0b3d2e, #123f1f 60%, #1b7a06);
  padding: 70px 0;
  overflow: hidden;
}
.fm-page-banner::before {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244, 163, 0, 0.35), transparent 70%);
  border-radius: 50%;
}
.fm-page-banner h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; color: #fff; }
.fm-breadcrumb {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: #cfe8c9;
  font-size: 14px;
}
.fm-breadcrumb a { color: #fff; text-decoration: none; }
.fm-breadcrumb a:hover { color: var(--fm-gold); }
.fm-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 10px; color: rgba(255, 255, 255, 0.5); }

/* ---------------- Miscellaneous ---------------- */
.fm-rounded { border-radius: var(--fm-radius); }
.fm-shadow { box-shadow: var(--fm-shadow); }
.fm-hover-lift { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.fm-hover-lift:hover { transform: translateY(-8px); box-shadow: var(--fm-shadow-lg); }
.fm-text-slate { color: var(--fm-slate); }
.fm-divider {
  height: 4px;
  width: 90px;
  margin: 18px 0;
  background: var(--fm-grad);
  border-radius: 4px;
}

/* ---------------- Shop ---------------- */
.fm-btn-sm { padding: 9px 18px; font-size: 13px; }
.fm-btn-filter {
  display: inline-block;
  padding: 10px 22px;
  margin: 4px;
  border-radius: 50px;
  border: 2px solid #cfe0cd;
  background: #fff;
  color: var(--fm-green-deep);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.fm-btn-filter:hover { border-color: var(--fm-green); color: var(--fm-green); }
.fm-btn-filter.fm-btn-active {
  background: var(--fm-grad);
  color: #fff;
  border-color: var(--fm-green);
  box-shadow: 0 10px 24px rgba(80, 156, 46, 0.35);
}
.fm-shop-card {
  background: #fff;
  border: 1px solid #e6eee6;
  border-radius: var(--fm-radius);
  box-shadow: 0 8px 25px rgba(11, 61, 46, 0.06);
  overflow: hidden;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}
.fm-shop-card:hover { transform: translateY(-10px); box-shadow: var(--fm-shadow-lg); }
.fm-shop-card .fm-card-img img { transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.fm-shop-card:hover .fm-card-img img { transform: scale(1.08); }
.fm-shop-card .fm-video-tag { position: absolute; top: 14px; left: 14px; }

/* ---------------- Mega Menu ---------------- */
.main-menu .navigation > li > ul.mega-menu {
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1120px;
  max-width: calc(100vw - 60px);
  z-index: 100;
  padding: 24px 20px 20px;
  margin-top: 30px;
  background-color: #ffffff;
  opacity: 0;
  visibility: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex !important;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.05), -2px 0px 5px 1px rgba(0, 0, 0, 0.05);
          box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.05), -2px 0px 5px 1px rgba(0, 0, 0, 0.05);
}
.main-menu .navigation > li.dropdown:hover > ul.mega-menu {
  visibility: visible;
  opacity: 1;
  top: 100%;
  margin-top: 0;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.main-menu .navigation > li > ul.mega-menu > li {
  position: relative;
  width: 33.33%;
  border-bottom: none;
  padding: 0 16px 20px;
}
.main-menu .navigation > li > ul.mega-menu > li:nth-child(3n+1) {
  padding-left: 0;
}
.main-menu .navigation > li > ul.mega-menu > li:nth-child(3n) {
  padding-right: 0;
}
.main-menu .navigation > li > ul.mega-menu > li.dropdown > a:after {
  display: none;
}
.main-menu .navigation > li > ul.mega-menu > li > a {
  position: relative;
  display: block;
  padding: 10px 0;
  margin: 0;
  line-height: 26px;
  font-weight: 700;
  font-size: 16px;
  color: var(--bg-theme-color1);
  text-transform: uppercase;
  border-bottom: 1px solid #e8f0e4;
}
.main-menu .navigation > li > ul.mega-menu > li > a:hover {
  color: var(--theme-color2);
}
.main-menu .navigation > li > ul.mega-menu > li > ul {
  position: relative;
  left: auto;
  top: auto;
  width: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  padding: 8px 0 0;
  margin: 0;
  background: transparent;
  -webkit-box-shadow: none;
          box-shadow: none;
  -webkit-transform: none;
          transform: none;
}
.main-menu .navigation > li > ul.mega-menu > li.dropdown:hover > ul {
  top: auto;
  margin-top: 0;
}
.main-menu .navigation > li > ul.mega-menu > li > ul > li {
  border-bottom: none;
}
.main-menu .navigation > li > ul.mega-menu > li > ul > li > a {
  margin: 0;
  padding: 7px 0;
  line-height: 22px;
  font-size: 15px;
  color: #4a4a4a;
  font-weight: 400;
}
.main-menu .navigation > li > ul.mega-menu > li > ul > li > a:hover {
  color: var(--theme-color2);
  padding-left: 5px;
}

@media (max-width: 1439px) {
  .main-menu .navigation > li > ul.mega-menu {
    width: 940px;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
  .fm-section { padding: 60px 0; }
  .fm-hero-title { font-size: 34px; }
}
@media (max-width: 767px) {
  .fm-topbar-left { display: none; }
  .fm-topbar-inner { justify-content: center; }
  .fm-hero-stats { gap: 20px; }
  .fm-stat-num { font-size: 26px; }
}

/* ---------------- Reduced motion ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fm-reveal { opacity: 1; transform: none; }
}
