/* ==========================================================================
   AmenityTech Design System & Global Styles
   ========================================================================== */

/* Google Fonts & Font Awesome are loaded via <link> tags in HTML <head> for performance.
   Do NOT add @import here — it causes duplicate downloads and waterfall delays. */

:root {
  /* Brand Colors */
  --color-primary: #7EA449;
  --color-primary-dark: #4A7B03;
  --color-primary-light: #6EB30A;
  --color-accent-lime: #97FF00;
  --color-accent-purple: #8762FF;
  --color-accent-green: #99BE47;
  --color-blue: #0052B4;
  --color-dark: #000000;
  --color-text: #212121;
  --color-text-muted: #6D6D6D;
  --color-light-bg: #F9F9F9;
  --color-border: #DBDBDB;
  --color-white: #FFFFFF;

  /* Typography */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-secondary: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-base-size: 16px;
  --line-height-base: 1.6;

  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;

  /* Breakpoints (for reference) */
  --bp-mobile: 480px;
  --bp-tablet: 768px;
  --bp-laptop: 1024px;
  --bp-desktop: 1280px;
  --bp-wide: 1440px;

  /* Container */
  --container-max-width: 1140px;
  /* Must match .header-inner height in header.css, or a white strip shows under the fixed header */
  --header-height: 85px;
  --header-height-mobile: 70px;
  /* Gap between the header and the first content on every page: 40px on phones, 72px at 1440, 80px max */
  --page-top-space: clamp(40px, 5vw, 80px);

  /* Shadows & Radius */
  --shadow-header: 0px 2px 6px 2px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(126, 164, 73, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* CSS Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-base-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: var(--line-height-base);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.page-content {
  flex: 1 0 auto;
  padding-top: var(--header-height);
  width: 100%;
  overflow-x: hidden;
}

/* Blog posts reset #main-content padding inline; keep the header offset */
main#main-content.page-content {
  padding-top: var(--header-height);
}

@media (max-width: 768px) {
  main.page-content,
  main#main-content.page-content {
    padding-top: var(--header-height-mobile);
  }
}

/* Globally remove the massive Elementor default top margin on the first section */
main.page-content > .elementor > .elementor-element.e-parent:first-child {
  --margin-top: 0px !important;
  margin-top: 0px !important;
}

/* --------------------------------------------------------------------------
   Page top spacing: every page's first section starts --page-top-space below
   the header. Page-level paddings/margins on the first section are reset so
   only this one value controls the gap. The home (.hp) and awards heroes are
   full-height, vertically centred designs and are left alone.
   -------------------------------------------------------------------------- */
main.page-content > .elementor > .elementor-element.e-parent:first-child {
  --padding-top: var(--page-top-space) !important;
  padding-top: var(--page-top-space) !important;
}

main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con-inner,
main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con-inner > .e-con,
main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con {
  --padding-top: 0px !important;
  padding-top: 0 !important;
}

main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con-inner > :first-child,
main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con-inner > :first-child > :first-child,
main.page-content > .elementor > .elementor-element.e-parent:first-child > .e-con-inner > :first-child > :first-child > .elementor-widget-container {
  --margin-top: 0px !important;
  margin-top: 0 !important;
}

/* Blog posts, blog listing, case-study listing */
main.page-content > .single-post-wrapper:first-child,
main.page-content > section.insights-section:first-child,
main.page-content > section.case-studies-section:first-child {
  padding-top: var(--page-top-space) !important;
}

/* Base Headings & Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-dark);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5em;
}

h1 { font-size: clamp(2rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw + 0.75rem, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2vw + 0.5rem, 2rem); }
h4 { font-size: clamp(1.15rem, 1.5vw + 0.4rem, 1.5rem); }
h5 { font-size: 1.2rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

ul, ol {
  list-style: none;
}

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

button {
  cursor: pointer;
  background: none;
}

/* Accessibility & Tap Targets */
button, a, input[type="submit"] {
  min-height: 44px;
  touch-action: manipulation;
}

.screen-reader-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 480px) {
  .container { padding-left: 20px; padding-right: 20px; }
}

@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

@media (min-width: 1024px) {
  .container { padding-left: 40px; padding-right: 40px; }
}

@media (min-width: 1280px) {
  .container { max-width: 1140px; padding-left: 0; padding-right: 0; }
}

@media (min-width: 1440px) {
  .container-wide { max-width: 1360px; }
}

/* Layout Utilities */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.grid { display: grid; gap: var(--spacing-md); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }


/* ==========================================================================
   Header & Mega Menu Styles
   ========================================================================== */

.siteheader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  transition: all 0.3s ease-in-out;
}

.siteheader.fixed-menu {
  box-shadow: 0px 4px 12px 2px rgba(0, 0, 0, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
    padding: 0 16px;
  }
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .header-logo img {
    height: 38px;
  }
}

/* Navigation List */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  border-radius: 6px;
  transition: color 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-primary, #7EA449);
}

.nav-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.nav-item:hover > .nav-link .nav-indicator,
.nav-item.mobile-expanded > .nav-link .nav-indicator {
  transform: rotate(-135deg) translateY(-2px);
}

.nav-item.mobile-expanded > .nav-link {
  color: var(--color-primary, #7EA449);
}

/* Header CTA Button (Hire a Developer) */
.nav-cta-btn {
  background: var(--color-primary, #7EA449);
  color: #FFFFFF !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 18px;
  margin-left: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta-btn:hover {
  background: var(--color-primary-dark, #4A7B03) !important;
  transform: translateY(-1px);
}

/* Dropdowns & Mega Menus (Desktop) */
.mega-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1001;
}

.nav-item:hover > .mega-dropdown {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Specific Dropdown Widths */
.dropdown-solutions {
  width: 620px;
  left: -20px;
  transform: translateY(10px);
  border-radius: 16px;
  padding: 26px 26px 20px 26px;
  background: #FFFFFF;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #ECECEC;
}

.dropdown-solutions::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item:hover > .dropdown-solutions {
  transform: translateY(0);
}

.dropdown-solutions .mega-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.dropdown-solutions .mega-col:first-child {
  padding-right: 22px;
}

.dropdown-solutions .mega-col:last-child {
  padding-left: 24px;
  border-left: 1px solid #EEEEEE;
}

.dropdown-solutions .mega-col-title {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #0E1324;
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-solutions .mega-col-accent {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary, #7EA449);
  border-radius: 2px;
  margin-bottom: 16px;
}

.dropdown-solutions .mega-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dropdown-solutions .mega-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 13.5px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.35;
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-solutions .mega-item a:hover {
  color: var(--color-primary, #7EA449);
  transform: translateX(4px);
}

.dropdown-solutions .solution-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-solutions .mega-item a:hover .solution-icon {
  transform: scale(1.08);
}

.dropdown-solutions .megactasection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #EEEEEE;
}

.dropdown-solutions .megatitle {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #0E1324;
  margin: 0 0 4px 0;
}

.dropdown-solutions .megades {
  font-family: var(--font-secondary, 'Open Sans', sans-serif);
  font-size: 12.5px;
  color: #4B5563;
  margin: 0;
  line-height: 1.4;
  max-width: 320px;
}

.dropdown-solutions .megacta {
  background: var(--color-primary, #7EA449);
  color: #FFFFFF;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dropdown-solutions .megacta:hover {
  background: var(--color-primary-dark, #4A7B03);
  transform: translateY(-1px);
}

.dropdown-solutions .megacta svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-solutions .megacta:hover svg {
  transform: translateX(2px);
}

/* Hiring Mega Menu (Matches user screenshot 1:1) */
.dropdown-hiring {
  width: 980px;
  left: -220px;
  right: auto;
  transform: translateY(10px);
  border-radius: 16px;
  padding: 26px 28px 22px 28px;
  background: #FFFFFF;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #ECECEC;
}

.dropdown-hiring::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item:hover > .dropdown-hiring {
  transform: translateY(0);
}

.dropdown-hiring .mega-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.dropdown-hiring .mega-col {
  padding: 0 16px;
  border-right: 1px solid #EEEEEE;
}

.dropdown-hiring .mega-col:first-child {
  padding-left: 0;
}

.dropdown-hiring .mega-col:last-child {
  padding-right: 0;
  border-right: none;
}

.dropdown-hiring .mega-col-title {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 17px;
  font-weight: 700;
  color: #0E1324;
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-hiring .mega-col-accent {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary, #7EA449);
  border-radius: 2px;
  margin-bottom: 16px;
}

.dropdown-hiring .mega-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-hiring .mega-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.35;
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-hiring .mega-item a:hover {
  color: var(--color-primary, #7EA449);
  transform: translateX(4px);
}

.dropdown-hiring .solution-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-hiring .mega-item a:hover .solution-icon {
  transform: scale(1.1);
}

/* Resources / Simple Dropdown (Matches user screenshot 1:1) */
.dropdown-simple {
  width: 260px;
  left: -10px;
  transform: translateY(10px);
  border-radius: 16px;
  padding: 24px 22px 20px 22px;
  background: #FFFFFF;
  box-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #ECECEC;
}

.dropdown-simple.dropdown-end {
  left: auto;
  right: -10px;
}


.dropdown-simple::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-item:hover > .dropdown-simple {
  transform: translateY(0);
}

.dropdown-simple .mega-col-title {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #0E1324;
  margin-bottom: 6px;
  padding-bottom: 0;
  border-bottom: none;
}

.dropdown-simple .mega-col-accent {
  width: 28px;
  height: 3px;
  background-color: var(--color-primary, #7EA449);
  border-radius: 2px;
  margin-bottom: 18px;
}

.dropdown-simple .mega-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-simple .mega-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.35;
  padding: 2px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dropdown-simple .mega-item a:hover {
  color: var(--color-primary, #7EA449);
  transform: translateX(4px);
}

.dropdown-simple .solution-icon {
  width: 22px;
  height: 22px;
  min-width: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dropdown-simple .mega-item a:hover .solution-icon {
  transform: scale(1.1);
}

/* Mega Menu Columns */
.mega-grid {
  display: grid;
  gap: 24px;
}

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

.mega-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.mega-col-title {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-primary, #7EA449);
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mega-item a {
  display: block;
  font-size: 14px;
  color: #333333;
  padding: 4px 0;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mega-item a:hover {
  color: var(--color-primary, #7EA449);
  transform: translateX(3px);
}

/* Mega CTA Bar inside dropdown */
.megactasection {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid #EEEEEE;
}

.megactasection .megatitle {
  color: #000;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.megactasection .megades {
  color: #666;
  font-size: 13px;
  margin: 0;
}

.megactasection .megacta {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 6px;
  background: var(--color-primary, #7EA449);
  padding: 8px 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.megactasection .megacta:hover {
  background: var(--color-primary-dark, #4A7B03);
}

.megactasection .megacta img {
  width: 16px;
  height: 16px;
}

/* Hamburger Button (Mobile) */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 44px;
  height: 44px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  transition: all 0.25s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.mobile-toggle:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.mobile-toggle:active {
  transform: scale(0.95);
}

.mobile-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background-color: #111827;
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease, top 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.2s ease;
  transform-origin: center center;
}

.mobile-toggle span:nth-child(1) {
  top: 14px;
}

.mobile-toggle span:nth-child(2) {
  top: 21px;
  width: 17px;
}

.mobile-toggle span:nth-child(3) {
  top: 28px;
}

.mobile-toggle:hover span:nth-child(2) {
  width: 22px;
}

/* Active / Open state: Geometric centered X */
.mobile-toggle.is-active {
  background: #f1f5f9;
  border-color: #0f172a;
}

.mobile-toggle.is-active span {
  width: 22px;
  background-color: #0f172a;
}

.mobile-toggle.is-active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.is-active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* Mobile Drawer Navigation (< 1024px) */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.1);
  }

  .main-nav.is-open {
    transform: translateX(0);
  }

  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid #F0F0F0;
  }

  .nav-link {
    padding: 14px 8px;
    font-size: 16px;
    justify-content: space-between;
    width: 100%;
  }

  .nav-cta-btn {
    margin: 16px 0 0 0;
    text-align: center;
    justify-content: center;
  }

  /* In mobile, mega dropdown turns into clean vertical accordion cards */
  .mega-dropdown,
  .dropdown-solutions,
  .dropdown-hiring,
  .dropdown-simple {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04) !important;
    padding: 14px 12px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    border-radius: 12px !important;
    margin: 8px 0 14px 0 !important;
    display: none;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow: hidden !important;
  }

  .nav-item.mobile-expanded > .mega-dropdown,
  .nav-item.mobile-expanded > .dropdown-simple {
    display: block !important;
  }

  /* Force all mega grids into a 100% vertical stack */
  .mega-grid,
  .mega-grid-2,
  .mega-grid-5,
  .dropdown-solutions .mega-grid-2,
  .dropdown-hiring .mega-grid-5 {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile category column sections */
  .dropdown-hiring .mega-col,
  .dropdown-solutions .mega-col,
  .dropdown-simple .mega-col,
  .mega-col {
    width: 100% !important;
    padding: 14px 0 0 0 !important;
    border-right: none !important;
    border-left: none !important;
    border-top: 1px solid #E2E8F0 !important;
    box-sizing: border-box !important;
  }

  .dropdown-hiring .mega-col:first-child,
  .dropdown-solutions .mega-col:first-child,
  .dropdown-simple .mega-col:first-child,
  .mega-col:first-child {
    border-top: none !important;
    padding-top: 0 !important;
  }

  .dropdown-hiring .mega-col-title,
  .dropdown-solutions .mega-col-title,
  .mega-col-title {
    font-family: var(--font-primary, 'DM Sans', sans-serif) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0F172A !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 4px 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
  }

  .dropdown-hiring .mega-col-accent,
  .dropdown-solutions .mega-col-accent {
    width: 26px !important;
    height: 3px !important;
    background-color: var(--color-primary, #7EA449) !important;
    border-radius: 3px !important;
    margin-bottom: 12px !important;
  }

  .dropdown-hiring .mega-list,
  .dropdown-solutions .mega-list,
  .mega-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }

  .dropdown-hiring .mega-item,
  .dropdown-solutions .mega-item,
  .mega-item {
    width: 100% !important;
    list-style: none !important;
  }

  .dropdown-hiring .mega-item a,
  .dropdown-solutions .mega-item a,
  .mega-item a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 9px 12px !important;
    background: #FFFFFF !important;
    border: 1px solid #EDF2F7 !important;
    border-radius: 8px !important;
    font-family: var(--font-primary, 'DM Sans', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #1E293B !important;
    text-decoration: none !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
    transition: all 0.15s ease !important;
    -webkit-tap-highlight-color: transparent !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .dropdown-hiring .mega-item a:active,
  .dropdown-hiring .mega-item a:hover,
  .dropdown-solutions .mega-item a:active,
  .dropdown-solutions .mega-item a:hover,
  .mega-item a:active,
  .mega-item a:hover {
    background: #F0FDF4 !important;
    border-color: #BBF7D0 !important;
    color: var(--color-primary, #7EA449) !important;
    transform: translateX(3px) !important;
  }

  .dropdown-hiring .solution-icon,
  .dropdown-solutions .solution-icon,
  .solution-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .dropdown-hiring .solution-icon svg,
  .dropdown-solutions .solution-icon svg,
  .solution-icon svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
  }

  .megactasection {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 16px 14px 12px 14px !important;
    background: #F1F5F9 !important;
    border-radius: 8px !important;
    margin-top: 14px !important;
    box-sizing: border-box !important;
  }

  .megacta {
    justify-content: center !important;
    text-align: center !important;
  }
}


/* ==========================================================================
   Hero Section Variants & Responsive Styles
   ========================================================================== */

.hero-section {
  position: relative;
  width: 100%;
  padding: 80px 0;
  background-color: #FFFFFF;
  overflow: hidden;
}

.hero-home {
  padding: 100px 0 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-inner-page {
  padding: 60px 0 50px 0;
  background: linear-gradient(180deg, #F9FDF4 0%, #FFFFFF 100%);
  border-bottom: 1px solid #EEEEEE;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EAF4DC;
  color: var(--color-primary-dark, #4A7B03);
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.18;
  color: #000000;
  margin-bottom: 20px;
}

.hero-title .highlight {
  color: var(--color-primary, #7EA449);
}

.hero-description {
  font-size: clamp(16px, 1.8vw, 18px);
  line-height: 1.6;
  color: #555555;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Mobile & Tablet Responsiveness */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-section {
    padding: 50px 0;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Elementor Home Hero Video Background & Layout (matching live_site.png)
   ========================================================================== */

.elementor-element.elementor-element-acbe130 {
  position: relative !important;
  overflow: hidden !important;
  width: 100% !important;
  min-height: 640px;
  background-color: #0b111e;
  padding-top: 100px !important;
  padding-bottom: 50px !important;
}

.elementor-element.elementor-element-acbe130 .elementor-background-video-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 0 !important;
  pointer-events: none !important;
}

.elementor-element.elementor-element-acbe130 .elementor-background-video-hosted {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  display: block !important;
}

.elementor-element.elementor-element-acbe130 .elementor-background-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.6) 0%, rgba(8, 14, 26, 0.78) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.elementor-element.elementor-element-acbe130 > .e-con-inner {
  position: relative !important;
  z-index: 2 !important;
}

/* Hero Typography & Spacing */
.elementor-element.elementor-element-6d6f75a .elementor-heading-title {
  color: #FFFFFF !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0.3px !important;
  margin-bottom: 14px !important;
}

.elementor-element.elementor-element-2951f5a {
  max-width: 720px !important;
}

.elementor-element.elementor-element-2951f5a .elementor-heading-title {
  color: #FFFFFF !important;
  font-family: "DM Sans", "Open Sans", sans-serif !important;
  font-size: clamp(34px, 4.4vw, 54px) !important;
  font-weight: 700 !important;
  line-height: 1.16 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 22px !important;
}

.elementor-element.elementor-element-c15b655 {
  max-width: 600px !important;
}

.elementor-element.elementor-element-c15b655 .elementor-heading-title {
  color: rgba(255, 255, 255, 0.92) !important;
  font-family: "Open Sans", sans-serif !important;
  font-size: clamp(15px, 1.25vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  margin-bottom: 34px !important;
}

.elementor-element.elementor-element-d98e2d9 {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  margin-bottom: 45px !important;
}

.elementor-element.elementor-element-2402d04 .elementor-button {
  background-color: #7EA449 !important;
  color: #FFFFFF !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 14px 30px !important;
  border-radius: 8px !important;
  border: none !important;
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.elementor-element.elementor-element-2402d04 .elementor-button:hover {
  background-color: #6a8c3d !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(126, 164, 73, 0.4) !important;
}

.elementor-element.elementor-element-880c617 .elementor-button {
  background-color: rgba(12, 18, 25, 0.5) !important;
  color: #FFFFFF !important;
  font-family: "Open Sans", sans-serif !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  padding: 13px 30px !important;
  border-radius: 8px !important;
  border: 1.5px solid #FFFFFF !important;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.elementor-element.elementor-element-880c617 .elementor-button:hover {
  background-color: #FFFFFF !important;
  color: #0b111e !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2) !important;
}

@media (max-width: 767px) {
  .elementor-element.elementor-element-acbe130 {
    padding-top: 60px !important;
    padding-bottom: 40px !important;
    min-height: auto !important;
  }
  .elementor-element.elementor-element-d98e2d9 {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .elementor-element.elementor-element-2402d04 .elementor-button,
  .elementor-element.elementor-element-880c617 .elementor-button {
    width: 100% !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   Cross-Cutting Responsive Overrides & Utility Classes
   ========================================================================== */

/* Prevent any accidental horizontal scroll */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

/* Visibility Utilities */
.hide-mobile { display: block; }
.show-mobile { display: none; }

@media (max-width: 767px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: block !important; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hide-tablet { display: none !important; }
  .show-tablet { display: block !important; }
}

@media (min-width: 1024px) {
  .hide-desktop { display: none !important; }
  .show-desktop { display: block !important; }
}

/* Responsive Grid Classes */
.grid-1 {
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .grid-sm-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-md-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-md-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-md-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .grid-lg-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-lg-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-lg-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-lg-5 { grid-template-columns: repeat(5, 1fr); }
}

@media (min-width: 1280px) {
  .grid-xl-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-xl-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-xl-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-xl-6 { grid-template-columns: repeat(6, 1fr); }
}

/* Alignment Utilities */
@media (max-width: 767px) {
  .text-center-mobile { text-align: center !important; }
  .text-left-mobile { text-align: left !important; }
  .flex-col-mobile { flex-direction: column !important; }
  .items-center-mobile { align-items: center !important; }
  .w-full-mobile { width: 100% !important; }
}

/* Spacing Responsive Scale */
@media (max-width: 767px) {
  :root {
    --spacing-3xl: 40px;
    --spacing-2xl: 32px;
    --spacing-xl: 24px;
    --spacing-lg: 18px;
  }
}

/* Print Styles */
@media print {
  .siteheader,
  .site-footer,
  .scroll-to-top-btn,
  .nav-cta-btn {
    display: none !important;
  }

  main.page-content {
    padding-top: 0 !important;
  }

  body {
    color: #000000;
    background: #FFFFFF;
    font-size: 12pt;
  }
}


.elementor-kit-7{--e-global-color-primary:#99BE47;--e-global-color-secondary:#0052B4;--e-global-color-text:#212121;--e-global-color-accent:#FFFFFF;--e-global-color-6d24bd1:#DFFFB1;--e-global-color-e5c8cca:#D9EBFF;--e-global-color-0c13430:#6A950C;--e-global-color-4ea5874:#242E64;--e-global-color-988aa2a:#6EB30A;--e-global-typography-primary-font-family:"Open Sans";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Open Sans";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Open Sans";--e-global-typography-text-font-size:16px;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Open Sans";--e-global-typography-accent-font-weight:500;--e-global-typography-8d52d66-font-family:"Open Sans";--e-global-typography-8d52d66-font-size:56px;--e-global-typography-8d52d66-font-weight:600;--e-global-typography-8d52d66-text-transform:capitalize;--e-global-typography-8d52d66-line-height:70px;--e-global-typography-8d52d66-letter-spacing:-0.5px;--e-global-typography-c7969b0-font-family:"Open Sans";--e-global-typography-c7969b0-font-size:40px;--e-global-typography-c7969b0-font-weight:600;--e-global-typography-c7969b0-line-height:52px;--e-global-typography-c7969b0-letter-spacing:0px;--e-global-typography-6fa11a3-font-family:"Open Sans";--e-global-typography-6fa11a3-font-size:32px;--e-global-typography-6fa11a3-font-weight:600;--e-global-typography-6fa11a3-line-height:46px;--e-global-typography-6fa11a3-letter-spacing:0.2px;--e-global-typography-d220d6d-font-family:"Open Sans";--e-global-typography-d220d6d-font-size:24px;--e-global-typography-d220d6d-font-weight:600;--e-global-typography-d220d6d-line-height:28px;--e-global-typography-d220d6d-letter-spacing:0.2px;--e-global-typography-817aa0d-font-family:"Open Sans";--e-global-typography-817aa0d-font-size:20px;--e-global-typography-817aa0d-font-weight:600;--e-global-typography-817aa0d-line-height:24px;--e-global-typography-286cce3-font-family:"Open Sans";--e-global-typography-286cce3-font-size:16px;--e-global-typography-286cce3-font-weight:600;--e-global-typography-286cce3-line-height:24px;--e-global-typography-1b354f0-font-family:"Open Sans";--e-global-typography-1b354f0-font-size:24px;--e-global-typography-1b354f0-font-weight:400;--e-global-typography-1b354f0-line-height:28px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1024px){.elementor-kit-7{--e-global-typography-text-font-size:14px;--e-global-typography-8d52d66-font-size:46px;--e-global-typography-c7969b0-font-size:36px;--e-global-typography-6fa11a3-font-size:28px;--e-global-typography-d220d6d-font-size:18px;--e-global-typography-817aa0d-font-size:16px;--e-global-typography-286cce3-font-size:14px;--e-global-typography-1b354f0-font-size:14px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-7{--e-global-typography-text-font-size:16px;--e-global-typography-8d52d66-font-size:32px;--e-global-typography-8d52d66-line-height:52px;--e-global-typography-c7969b0-font-size:28px;--e-global-typography-c7969b0-line-height:40px;--e-global-typography-6fa11a3-font-size:24px;--e-global-typography-6fa11a3-line-height:32px;--e-global-typography-6fa11a3-letter-spacing:0.2px;--e-global-typography-d220d6d-font-size:24px;--e-global-typography-817aa0d-font-size:18px;--e-global-typography-286cce3-font-size:16px;--e-global-typography-1b354f0-font-size:18px;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}