/* ============================================================
   ROOT — DESIGN TOKENS
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&display=swap");

:root {
  /* Typography */
  --font-primary: "Kanit", sans-serif;

  /* Brand Colors */
  --color-navy: #01264c;
  --color-blue: #008ad2;
  --color-blue-light: #33a8e0;
  --color-blue-dark: #006faa;
  --color-blue-pale: #e0f2fb;

  /* Greys */
  --color-grey-100: #f7f8fa;
  --color-grey-200: #eeeff2;
  --color-grey-300: #d8dce3;
  --color-grey-400: #b0b8c4;
  --color-grey-500: #8a94a2;
  --color-grey-600: #64707e;
  --color-grey-700: #4a5568;
  --color-grey-800: #2d3748;
  --color-grey-900: #1a202c;

  /* Whites */
  --color-white: #ffffff;
  --color-white-soft: #fafbfd;
  --color-white-muted: #f0f4f8;

  /* Blacks */
  --color-black: #000000;
  --color-black-soft: #111827;
  --color-text-body: #374151;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-2xl: 48px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(1, 38, 76, 0.08);
  --shadow-md: 0 8px 24px rgba(1, 38, 76, 0.12);
  --shadow-lg: 0 16px 48px rgba(1, 38, 76, 0.16);
  --shadow-xl: 0 24px 64px rgba(1, 38, 76, 0.2);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary) !important;
  color: var(--color-navy);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

#primeagile__10953 {
  height: 100px;
  box-shadow: none !important;
  margin: 0 auto;
  max-width: 1320px;
  padding: 0px;
}
#primeagile__10953 img {
  width: 15rem;
}
#primeagile__10953 a {
  padding: 1rem;
}
#primeagile__10953 a:hover {
  color: var(--color-blue-light) !important;
}
/* ============================================================
   KEYFRAMES
   ============================================================ */

/* Blob drift animations — pink orb (top-left) */
@keyframes blobDrift1 {
  0%,
  100% {
    transform: translate(0, 0);
    box-shadow: 0 0 160px 120px rgba(255, 60, 200, 0.72);
  }
  33% {
    transform: translate(70px, 50px);
    box-shadow: 0 0 210px 155px rgba(255, 60, 200, 0.55);
  }
  66% {
    transform: translate(25px, -35px);
    box-shadow: 0 0 130px 95px rgba(255, 60, 200, 0.82);
  }
}

/* Blob drift animations — blue orb (top-right) */
@keyframes blobDrift2 {
  0%,
  100% {
    transform: translate(0, 0);
    box-shadow: 0 0 180px 140px rgba(50, 165, 255, 0.68);
  }
  40% {
    transform: translate(-90px, 55px);
    box-shadow: 0 0 230px 170px rgba(50, 165, 255, 0.5);
  }
  70% {
    transform: translate(-45px, -25px);
    box-shadow: 0 0 155px 110px rgba(50, 165, 255, 0.78);
  }
}

/* Blob drift animations — purple orb (center) */
@keyframes blobDrift3 {
  0%,
  100% {
    transform: translate(0, 0);
    box-shadow: 0 0 190px 135px rgba(120, 70, 240, 0.62);
  }
  25% {
    transform: translate(55px, -45px);
    box-shadow: 0 0 240px 170px rgba(120, 70, 240, 0.45);
  }
  50% {
    transform: translate(-35px, -65px);
    box-shadow: 0 0 210px 145px rgba(120, 70, 240, 0.7);
  }
  75% {
    transform: translate(85px, 25px);
    box-shadow: 0 0 175px 120px rgba(120, 70, 240, 0.52);
  }
}

/* Floating arrow pulse */
@keyframes arrowPulse {
  0%,
  100% {
    transform: translateX(0);
    opacity: 1;
  }
  50% {
    transform: translateX(6px);
    opacity: 0.75;
  }
}

/* Scroll-triggered animations — initial states */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up {
  transform: translateY(40px);
}
.fade-left {
  transform: translateX(60px);
}
.fade-right {
  transform: translateX(-60px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Stagger delays */
.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.3s;
}
.delay-3 {
  transition-delay: 0.45s;
}

/* ============================================================
   HOME BANNER
   ============================================================ */

.home-banner {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-color: #f7f9ff; /* clean near-white base */
}

/* Pink orb — top-left floating blob */
.home-banner::before {
  content: "";
  position: absolute;
  top: -30px;
  left: -60px;
  width: 0;
  height: 0;
  border-radius: 50%;
  box-shadow: 0 0 160px 120px rgba(255, 60, 200, 0.72);
  animation: blobDrift1 10s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}
#primeagile__10960 {
  margin: 0 auto;
  max-width: 1320px;
}

/* Blue orb — top-right floating blob */
.home-banner::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -50px;
  width: 0;
  height: 0;
  border-radius: 50%;
  box-shadow: 0 0 180px 140px rgba(50, 165, 255, 0.68);
  animation: blobDrift2 13s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Purple orb — center floating blob (add <div class="banner-blob-center"></div> inside .home-banner) */
.banner-blob-center {
  position: absolute;
  top: 30%;
  left: 38%;
  width: 0;
  height: 0;
  border-radius: 50%;
  box-shadow: 0 0 210px 140px rgba(140, 100, 230, 0.32);
  animation: blobDrift3 16s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

/* Ensure the row sits above the pseudo-element decorations */
.home-banner .row {
  position: relative;
  z-index: 1;
  align-items: center;
}

/* ============================================================
   BANNER — LEFT COLUMN (Text)
   ============================================================ */

.banner-left {
  align-items: center;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
}

.banner-content {
  max-width: 560px;
}

.banner-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--color-navy);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.01em;
}

.banner-subtext {
  font-family: var(--font-primary);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-grey-700);
  margin-bottom: var(--space-xl);
  max-width: 460px;
}

#primeagile__11003 {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
}

/* Primary CTA Button */
.btn-primary-custom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  background-color: var(--color-blue);
  color: var(--color-white);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-blue);
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
  white-space: nowrap;
}

.btn-primary-custom button:hover {
  background-color: var(--color-blue-dark);
  border-color: var(--color-blue-dark);
  box-shadow: 0 6px 20px rgba(0, 138, 210, 0.35);
  transform: translateY(-2px);
}

/* Outline CTA Button */
.btn-outline-custom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  background-color: transparent;
  color: var(--color-navy);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-navy);
  cursor: pointer;
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
  white-space: nowrap;
}

.btn-outline-custom button:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(1, 38, 76, 0.25);
  transform: translateY(-2px);
}

/* ============================================================
   BANNER — RIGHT COLUMN (Image)
   ============================================================ */

.banner-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-2xl) var(--space-xl) var(--space-xl);
}

/* Wrapper positions image + arrow decoration */
.banner-image-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Peach/beige background frame behind the image */
.banner-image-wrapper::before {
  content: "";
  position: absolute;
  top: -15px;
  left: -15px;
  width: calc(100% + 15px);
  height: calc(100% + 15px);
  background-color: #f6e2cd;
  border-radius: var(--radius-2xl);
  z-index: -1;
  pointer-events: none;
}

/* The image itself — rounded corners + shadow */
.banner-image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow:
    0 4px 16px rgba(1, 38, 76, 0.1),
    0 16px 48px rgba(1, 38, 76, 0.18);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Semi-transparent white right-angle corner bracket on top-right of the image */
.banner-corner-bracket {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 80px;
  height: 80px;
  border-top: 14px solid rgba(255, 255, 255, 0.4);
  border-right: 14px solid rgba(255, 255, 255, 0.4);
  border-top-right-radius: 4px;
  z-index: 3;
  pointer-events: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
  .home-banner {
    padding: 60px 0;
  }

  .banner-left,
  .banner-right {
    padding: var(--space-lg) var(--space-xl);
  }

  #primeagile__11011 {
    display: none;
  }
  .banner-right {
    justify-content: center;
    padding-top: 0;
  }
  #primeagile__11003 {
  justify-content: center;
}
  #primeagile__11018,  #primeagile__11022 {
  padding: 4rem 1rem !important; 
}
}

@media (max-width: 767px) {
  .home-banner {
    padding: 40px 0;
  }

  .banner-left {
    padding: var(--space-lg);
    text-align: center;
  }

  .banner-content {
    max-width: 100%;
  }

  .banner-subtext {
    max-width: 100%;
  }

  .banner-ctas {
    justify-content: center;
  }

  .banner-corner-bracket {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-top-width: 8px;
    border-right-width: 8px;
  }
}

/* ============================================================
   SECTION HEADER (Next Section)
   ============================================================ */

.section-light-blue {
  background-color: #e6f0f6;
  padding: var(--space-3xl) 0;
}

.section-header-centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section-title-large {
  font-family: var(--font-primary);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-navy);
  margin: 0;
  letter-spacing: -0.01em;
}

#primeagile__11009 {
  margin: 0 auto;
}

/* ============================================================
   ABOUT ROW / SERVICES BODY
   ============================================================ */

.about-row {
  margin-top: var(--space-2xl);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.about-left {
  padding: var(--space-xl) var(--space-2xl) var(--space-xl) var(--space-xl);
}

.about-text {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 300;
  line-height: 1.8;
  color: var(--color-grey-700);
  margin-bottom: var(--space-lg);
}

.about-text:last-child {
  margin-bottom: 0;
}

.about-right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-xl) var(--space-xl) var(--space-xl) var(--space-2xl);
}

.about-image-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1;
}

/* Soft beige background offset to top-right */
.about-image-wrapper::before {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: calc(100% + 20px);
  height: calc(100% + 20px);
  background-color: #f1e5d8;
  border-radius: var(--radius-2xl);
  z-index: -1;
  pointer-events: none;
}

.about-image {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: 0 16px 40px rgba(1, 38, 76, 0.12);
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* Nested bottom-left brackets */
.about-brackets {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  z-index: 2;
  pointer-events: none;
}

.bracket-outer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 50px;
  border-bottom: 12px solid #cde6f7;
  border-left: 12px solid #cde6f7;
  border-bottom-left-radius: 4px;
}

.bracket-inner {
  position: absolute;
  bottom: 18px;
  left: 18px;
  width: 32px;
  height: 32px;
  border-bottom: 12px solid var(--color-white);
  border-left: 12px solid var(--color-white);
  border-bottom-left-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .about-left,
  .about-right {
    padding: var(--space-lg) var(--space-xl);
  }
}

@media (max-width: 767px) {
  .about-left {
    padding: var(--space-lg);
    text-align: center;
  }

  .about-right {
    padding: var(--space-lg);
    margin-top: var(--space-xl);
  }

  .about-image-wrapper::before {
    top: -12px;
    right: -12px;
    width: calc(100% + 12px);
    height: calc(100% + 12px);
  }

  .about-brackets {
    bottom: -12px;
    left: -12px;
  }

  .bracket-outer {
    width: 35px;
    height: 35px;
    border-width: 8px;
  }

  .bracket-inner {
    bottom: 12px;
    left: 12px;
    width: 20px;
    height: 20px;
    border-width: 8px;
  }
}

/* ============================================================
   WHY MERCADO GROW SECTION (Iceberg / Glassmorphism)
   ============================================================ */

.why-section {
  position: relative;
  padding: var(--space-4xl) 0;
  color: var(--color-white);

  /* Fallback dark blue gradient + background image configuration */
  background:
    linear-gradient(
      180deg,
      rgba(1, 38, 76, 0.88) 0%,
      rgba(1, 24, 48, 0.94) 100%
    ),
    url("path/to/your/iceberg-bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* Parallax effect */
}

.why-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.why-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.why-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

/* Glassmorphic Cards */
.why-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl) var(--space-xl);
  margin: 1rem;
  height: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    background-color var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.why-card-title {
  font-family: var(--font-primary);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: var(--space-md);
}

.why-card-text {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-navy);
}

/* Fix grid spacing in CRM rows */
.why-col {
  /* margin-bottom: var(--space-xl); */
}
@media (min-width: 768px) {
  .why-row {
    display: flex;
    flex-wrap: wrap;
  }
}

/* ============================================================
   OUR SERVICES OVERVIEW SECTION
   ============================================================ */

.services-section {
  padding: var(--space-4xl);
  background: linear-gradient(180deg, #eaf4fa 0%, #ffffff 100%);
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.services-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.services-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-grey-700);
  max-width: 650px;
  margin: 0 auto;
}

/* Service Cards */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-xl) var(--space-sm);
  margin: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(1, 38, 76, 0.04);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(1, 38, 76, 0.05);

  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    transform var(--transition-normal),
    box-shadow var(--transition-normal);
  cursor: pointer;
}

/* Hover state: dark background, white text, blue title */
.service-card:hover {
  background-color: var(--color-navy);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(1, 38, 76, 0.25);
  border-color: var(--color-navy);
}

/* Icon Container */
.service-icon-container {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: rgba(0, 138, 210, 0.07);
  border-radius: 10%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);

  transition:
    background-color var(--transition-normal),
    transform var(--transition-normal);
}

.service-card:hover .service-icon-container {
  background-color: rgba(255, 255, 255, 0.12);
}

/* Centered Icon SVG */
.service-icon-svg {
  width: 30px;
  height: 30px;
  color: var(--color-navy);
  stroke: var(--color-navy);
  transition:
    color var(--transition-normal),
    stroke var(--transition-normal);
}

.service-card:hover .service-icon-svg {
  color: var(--color-blue-light);
  stroke: var(--color-blue-light);
}

/* Small Corner Arrow (Top-Right of Icon Container) */
.service-icon-arrow {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  color: var(--color-blue);
  stroke: var(--color-blue);
  transition:
    transform var(--transition-normal),
    color var(--transition-normal),
    stroke var(--transition-normal);
}

.service-card:hover .service-icon-arrow {
  color: var(--color-white);
  stroke: var(--color-white);
  transform: translate(2px, -2px);
}

/* Card Title */
.service-card-title {
  font-family: var(--font-primary);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--color-blue);
  margin: 0;
  transition: color var(--transition-normal);
}

.service-card:hover .service-card-title {
  color: var(--color-white);
}

.service-col {
  margin-bottom: var(--space-lg);
}
@media (min-width: 768px) {
  .services-row {
    display: flex;
    flex-wrap: wrap;
  }
}

/* ============================================================
   INDUSTRIES WE SERVE SECTION
   ============================================================ */

.industries-section {
  padding: var(--space-4xl) 0;
  background-color: var(--color-white);
}

.industries-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.industries-title {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.industries-subtitle {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-grey-700);
  max-width: 650px;
  margin: 0 auto;
}

/* Showcase Container (Left Side) */
.industry-showcase {
  position: relative;
  width: 100%;
  max-width: 540px;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(1, 38, 76, 0.12);
  margin: 0 auto;
  z-index: 1;
}

/* Blue corner ring accent in the top-right */
.industry-showcase::after {
  content: "";
  position: absolute;
  top: -35px;
  right: -35px;
  width: 80px;
  height: 80px;
  border: 12px solid var(--color-blue);
  border-radius: 50%;
  z-index: 3;
  pointer-events: none;
}

.industry-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  display: block;
}

/* Transition utility for image swap */
.industry-showcase-img.fade-out {
  opacity: 0.1;
}

/* Overlay Information Card (Frosted Glass Capsule at bottom) */
.industry-showcase-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.industry-showcase-card.fade-out {
  opacity: 0;
  transform: translateY(10px);
}

.industry-showcase-card-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.industry-showcase-card-desc {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-grey-700);
}

/* Industry Button Grid (Right Side) */
.industry-button-container {
  padding-left: var(--space-lg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.industry-button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Tag Buttons */
.industry-btn {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  background-color: var(--color-blue-pale);
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    background-color var(--transition-normal),
    color var(--transition-normal),
    box-shadow var(--transition-normal),
    transform var(--transition-fast);
}

.industry-btn:hover {
  background-color: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-2px);
}

.industry-btn.active {
  background-color: var(--color-blue);
  color: var(--color-white);
  box-shadow: 0 6px 16px rgba(0, 138, 210, 0.35);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .industry-button-container {
    padding-left: 0;
    margin-top: var(--space-2xl);
  }

  .industry-showcase {
    height: 340px;
  }
}

@media (max-width: 767px) {
  .industry-button-grid {
    justify-content: center;
  }

  .industry-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .industry-showcase {
    height: 280px;
  }
}

/* ============================================================
   CALL TO ACTION (CTA) SECTION — Custom Flex Grid
   ============================================================ */

.cta-section {
  background-color: var(--color-navy);
  padding: 65px 0;
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

#primeagile__11030 {
  max-width: 1140px;
  margin: 0 auto;
}

.cta-content {
  max-width: 720px;
}

.cta-title {
  font-family: var(--font-primary);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.cta-text {
  font-family: var(--font-primary);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.cta-action {
  flex-shrink: 0;
}

/* Specific CTA button adjustments */
.btn-primary-custom.cta-btn button {
  padding: 14px 28px;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 138, 210, 0.25);
}

/* Responsive Overrides (Do not rely on CRM layout) */
@media (max-width: 768px) {
  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .cta-content {
    max-width: 100%;
  }

  .cta-action {
    width: 100%;
  }

  .btn-primary-custom.cta-btn {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================================
   SITE FOOTER
   ============================================================ */

.site-footer {
  background-color: var(--color-white);
  padding: 60px 0 0 0;
  color: var(--color-navy);
  border-top: 1px solid var(--color-grey-200);
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg) 40px var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-2xl);
}

/* Left side logo + social links */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-left svg {
  height: 4rem;
  width: auto;
  margin-bottom: 24px;
  display: block;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--color-blue);
  transition:
    transform var(--transition-fast),
    color var(--transition-normal);
  text-decoration: none;
}

.social-link svg {
  width: 100%;
  height: 100%;
  stroke-width: 2;
  transition: stroke var(--transition-normal);
}

.social-link:hover {
  transform: translateY(-3px);
  color: var(--color-blue-dark);
}

/* Right side contact information */
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact-title {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #a19888; /* Soft warm tan contact title */
  margin-bottom: 16px;
}

.footer-contact-item {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.footer-contact-item a:hover {
  color: var(--color-blue);
}

/* Bottom Bar */
.footer-bottom {
  background-color: #657484; /* Dusty steel blue copyright bar */
  padding: 20px 0;
  color: var(--color-white);
}

.footer-bottom-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.footer-bottom a {
  color: var(--color-blue-light);
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Footer Responsive Overrides */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-2xl);
    padding-bottom: 30px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
  }
}

/* ============================================================
   PRIMEAGILE SECTION BG — #primeagile__11018
   Light blue gradient + nested top-right corner brackets
   ============================================================ */

#primeagile__11018 {
  position: relative;
  overflow: hidden;

  /* Light sky-blue gradient: near-white top → soft steel-blue bottom */
  background: linear-gradient(
    170deg,
    #ddeef8 0%,
    #c2d9ed 40%,
    #adc8e0 100%
  ) !important;
}

/* Outer bracket — top-right corner */
#primeagile__11018::before {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 96px;
  height: 96px;
  border-top: 20px solid rgba(255, 255, 255, 0.55);
  border-right: 20px solid rgba(255, 255, 255, 0.55);
  border-top-right-radius: 3px;
  z-index: 0;
  pointer-events: none;
}

/* Inner bracket — offset inward from outer */
#primeagile__11018::after {
  content: "";
  position: absolute;
  top: 52px;
  right: 52px;
  width: 62px;
  height: 62px;
  border-top: 20px solid rgba(255, 255, 255, 0.42);
  border-right: 20px solid rgba(255, 255, 255, 0.42);
  border-top-right-radius: 3px;
  z-index: 0;
  pointer-events: none;
}
#primeagile__11022 {
  padding: 3rem;
}
#primeagile__11024 {
  margin: 0 auto;
  margin-bottom: 3rem;
}
/* Ensure inner content sits above bracket decorations */
#primeagile__11018 > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   ABOUT PAGE — HERO HEADER
   ============================================================ */

.about-hero {
  /* background-color: #e8f2f9; */
  padding: 72px 24px 64px;
  text-align: center;
}

/* ── Pill badge ─────────────────────────────────────────── */
.about-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.about-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #ffffff;
  border: 1.5px solid #ccdde9;
  border-radius: 999px;
  padding: 9px 22px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 8px rgba(0, 138, 210, 0.08);
}

.about-badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e74c3c;
  flex-shrink: 0;
}

/* ── Heading ────────────────────────────────────────────── */
.about-hero-heading {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 400;
  color: var(--color-navy);
  line-height: 1.18;
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

/* ============================================================
   ABOUT PAGE — SECTION BACKGROUND #primeagile__11104
   Light blue top → transparent/white bottom
   ============================================================ */

#primeagile__11104 {
  background: linear-gradient(
    to bottom,
    #cde0ec 0%,
    #dcedf6 30%,
    #eef6fb 65%,
    transparent 100%
  ) !important;
}

#primeagile__11108 {
  display: flex;
  place-content: center;
}
#primeagile__11108 a {
  color: var(--color-blue-light);
  font-weight: bold;
}
#primeagile__11108 a:hover {
  text-decoration: underline !important;
}
#primeagile__11108 a::after {
  content: "/" !important;
  margin: 0 0.5rem;
}
#primeagile__11108 span {
  text-transform: capitalize;
}
/* ============================================================
   ABOUT PAGE — OUR STORY SECTION
   ============================================================ */

.about-story-section {
  padding: 60px 0;
}

/* 2-column grid */
.about-story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* ── Left: Story card ───────────────────────────────────── */
.story-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 40px 44px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.story-badge-wrap {
  margin-bottom: 20px;
}

.story-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 400;
  color: var(--color-blue);
  line-height: 1.3;
  margin-bottom: 20px;
}

.story-text {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: #4a5a6a;
  line-height: 1.8;
  margin-bottom: 18px;
}

.story-text:last-child {
  margin-bottom: 0;
}

/* ── Right: Mission / Vision cards ─────────────────────── */
.mv-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mv-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

/* Circular grey icon container */
.mv-icon-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: #edf0f4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mv-icon-wrap img,
.mv-icon-wrap svg {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.mv-content {
  flex: 1;
}

.mv-title {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-blue);
  margin-bottom: 10px;
}

.mv-text {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-story-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ABOUT PAGE — VALUES SECTION
   "The Values That Guide Us"
   ============================================================ */

.values-section {
  position: relative;
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 640px;
  overflow: hidden;

  background-color: rgba(4, 14, 36, 0.93);
}

/* ── Left: city nightscape image panel ──────────────────── */
.values-city-panel {
  position: relative;
  background-image: url("YOUR_CITY_IMAGE_URL"); /* swap with CRM image URL */
  background-size: cover;
  background-position: center;
}

/* Gradient bleeds from city into the right content panel */
.values-city-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(4, 14, 36, 0.15) 0%,
    rgba(4, 14, 36, 0.65) 100%
  );
}

/* ── Right: content panel ───────────────────────────────── */
.values-content-panel {
  padding: 64px 52px 64px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: 2/3;
}

.values-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.values-subtext {
  font-family: var(--font-primary);
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 40px;
}

/* ── 2-column card grid ─────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.value-card {
  background: rgba(14, 42, 100, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 26px;
  transition:
    background var(--transition-base),
    transform var(--transition-base);
}

.value-card:hover {
  background: rgba(14, 42, 100, 0.95);
  transform: translateY(-3px);
}

.value-card-title {
  font-family: var(--font-primary);
  font-size: 1.05rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 12px;
}

.value-card-text {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .values-section {
    grid-template-columns: 1fr;
  }

  .values-city-panel {
    min-height: 220px;
  }

  .values-content-panel {
    padding: 48px 28px;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SERVICES LIST SECTION (GRID CARDS)
   ============================================================ */

.services-grid-section {
  padding: 60px 0 80px;
  background-color: var(--color-white);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 5rem 0;
}

/* Default card state */
.service-list-card {
  background: #ffffff;
  border: 1px solid #e1e9f0;
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease,
    background 0.3s ease;
}

.service-list-card-title {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 400;
  color: var(--color-blue);
  line-height: 1.25;
  margin-bottom: 20px;
}

.service-list-card-purpose {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-list-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex: 1;
}

.service-list-bullet-list li {
  position: relative;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #4a5a6a;
  line-height: 1.6;
  padding-left: 20px;
  margin-bottom: 12px;
}

.service-list-bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-blue);
  font-size: 1.2rem;
  line-height: 1;
  top: -2px;
}

/* Button style inside cards */
.service-list-card-btn {
  display: block;
  text-align: center;
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-blue-light);
  background: transparent;
  border: 1.5px solid var(--color-blue-light);
  border-radius: 8px;
  padding: 12px 24px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

/* Default card hover */
.service-list-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(1, 38, 76, 0.06);
  border-color: #c2dcf0;
}

.service-list-card:hover .service-list-card-btn {
  background: rgba(0, 138, 210, 0.04);
}

/* Active Hover Card (like the first card in example) */
.service-list-card:hover,
.service-list-card:focus-within {
  background: #ebf6ff;
  border-color: #cde4f7;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 138, 210, 0.08);
}

.service-list-card:hover .service-list-card-btn {
  background: var(--color-blue-light);
  color: var(--color-white);
  border-color: var(--color-blue-light);
  box-shadow: 0 4px 12px rgba(0, 138, 210, 0.25);
}

.service-list-card:hover .service-list-bullet-list li::before {
  color: var(--color-navy);
}

@media (max-width: 768px) {
  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-list-card {
    padding: 32px 24px;
  }
}
#primeagile__11117 {
  max-width: 600px;
  margin: 1rem auto;
  color: var(--color-blue-dark);
}

/* ============================================================
   PROCESS TIMELINE SECTION
   ============================================================ */

.process-section {
  padding: 80px 0;
  overflow: hidden;
}

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Vertical line */
.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: #008ad2;
  transform: translateX(-50%);
  z-index: -1;
}

.process-step {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  width: 100%;
}

.process-step:last-child {
  margin-bottom: 0;
}

/* Left / Right step card wrappers */
.process-card-col {
  width: 44%;
}

.process-node-col {
  width: 12%;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.form-left-banner h2 {
  color: #FFFFFF;
}

/* The timeline circles (Step Numbers) */
.process-node {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #a3cce8;
  color: #7b94a8;
  font-family: var(--font-primary);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition:
    background-color 0.6s ease,
    border-color 0.6s ease,
    color 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.6s ease;
}

/* Text cards on the left/right */
.process-card {
  background-color: #ffffff;
  border: 1px solid #e1e9f0;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition:
    background-color 0.6s ease,
    border-color 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.6s ease;
}

.process-step-badge {
  display: inline-block;
  background-color: #ff7b7b;
  color: #ffffff;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.process-card-title {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 700;
  color: #008ad2;
  margin-bottom: 12px;
}

.process-card-desc {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  color: #556877;
  line-height: 1.6;
}

/* Alignment adjustments for alternate rows */
.process-step:nth-child(even) {
  flex-direction: row-reverse;
}

/* ───────────────────────────────────────────────────────────
   ACTIVE SCROLL ANIMATION & HIGHLIGHT STATE
   When the container hits view, the card and node activate
   ─────────────────────────────────────────────────────────── */

/* 1. Timeline node turns dark blue with white numbers */
.process-step.is-visible .process-node {
  background-color: #01264c;
  border-color: #01264c;
  color: #ffffff;
  z-index: 3 !important;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(1, 38, 76, 0.3);
}

/* 2. Process card gets highlighted, pops up, and gains subtle shadow */
.process-step.is-visible .process-card {
  background-color: #ffffff;
  border-color: #c2dcf0;
  box-shadow: 0 10px 30px rgba(1, 38, 76, 0.07);
  transform: scale(1.02);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 28px;
  }
  .process-step {
    flex-direction: row-reverse !important;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .process-card-col {
    width: 84%;
  }
  .process-node-col {
    width: 56px;
    justify-content: flex-start;
  }
  .process-node {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .process-card {
    padding: 24px;
  }
}

/* ============================================================
   CONTACT US SECTION — FORM-ROW
   ============================================================ */
#primeagile__11153 {
  display: flex;
  place-content: center;
  margin: 3rem 0;
}
.form-row {
  background-color: #f7f9ff;
  border-radius: 1rem;
  overflow: hidden !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  max-width: 1200px;
  margin: 60px auto;
}

/* ── Left Side Banner Card ───────────────────────────────── */
#primeagile__11155 {
  padding: 0px;
}
.form-left-banner {
  background: linear-gradient(135deg, #008ad2 0%, #01264c 100%);
  padding: 60px 48px;
  height: 100%;
  border-radius: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
}

.form-left-banner h2 {
  font-family: var(--font-primary);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
}

.form-left-banner p {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 40px;
}

/* Bilingual Pill Toggle Accent */
.bilingual-toggle-pill {
  display: inline-flex;
  background: rgba(1, 38, 76, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 4px;
  width: max-content;
}

.toggle-pill-active {
  background: #e1e9f0;
  color: var(--color-navy);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 20px;
  padding: 8px 18px;
}

.toggle-pill-inactive {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 8px 18px;
}

/* ── Right Side Form Card ──────────────────────────────── */
#primeagile__11156 {
  padding: 2rem;
}
.form-right-card {
  background-color: #f7f9ff;
  padding: 2rem;
}

/* Match the exact ID container that wraps the fields in the CRM layout */
#primeagile__11157[data-primeagile-object="MERCADOGROW-CONTACT-FORM"] {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

/* Form Groups Layout (Targeting divs inside the CRM wrapper container) */
#primeagile__11157[data-primeagile-object="MERCADOGROW-CONTACT-FORM"] > div {
  display: flex;
  flex-direction: column;
}

/* Monthly Marketing Budget - Make it span full width (7th child) */
#primeagile__11157[data-primeagile-object="MERCADOGROW-CONTACT-FORM"]
  > div:nth-child(7) {
  grid-column: span 2;
}

#primeagile__11156 label {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 8px;
}

#primeagile__11156 input.form-control,
#primeagile__11156 select.form-control {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  color: #4a5a6a;
  background-color: #ffffff;
  border: 1.5px solid #e1e9f0;
  border-radius: 6px;
  padding: 12px 16px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
  width: 100%;
  outline: none;
}

#primeagile__11156 input.form-control::placeholder {
  color: #b0c0cf;
}

#primeagile__11156 input.form-control:focus,
#primeagile__11156 select.form-control:focus {
  border-color: var(--color-blue-light);
  box-shadow: 0 0 0 3px rgba(0, 138, 210, 0.12);
}

/* Submit Button Style */
.form-cta-btn {
  grid-column: span 2;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: var(--color-blue-light);
  border: none;
  border-radius: 8px;
  padding: 16px 20px;
  cursor: pointer;
  transition:
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 138, 210, 0.2);
  margin-top: 10px;
  text-align: center;
}

.form-cta-btn:hover {
  background-color: #007bc0;
  box-shadow: 0 6px 16px rgba(0, 138, 210, 0.3);
}

.form-cta-btn:active {
  transform: translateY(1px);
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .form-row {
    grid-template-columns: 1fr;
    margin: 30px 16px;
  }

  #primeagile__11157[data-primeagile-object="MERCADOGROW-CONTACT-FORM"] {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  #primeagile__11157[data-primeagile-object="MERCADOGROW-CONTACT-FORM"]
    > div:nth-child(7) {
    grid-column: span 1;
  }

  .form-cta-btn {
    grid-column: span 1;
  }

  .form-left-banner,
  .form-right-card {
    padding: 40px 24px;
  }
}

/* ============================================================
   BLOG LISTING SECTION
   ============================================================ */

/* Main Container spacing */
[data-primeagile-object="BLOG-LISTING-CONTAINER"] {
  max-width: 1200px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

/* ── Search Bar Styling ──────────────────────────────────── */
.search-bar-container.search-bar {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  border: 1px solid #e1e9f0;
  margin-bottom: 40px;
}

/* Overriding the inline red colors on the input */
#primeagile__searchbar__11176 {
  background-color: #ffffff !important;
  border: 1.5px solid #dcedf6 !important;
  color: var(--color-navy) !important;
  padding: 14px 20px !important;
  border-radius: 8px !important;
  font-family: var(--font-primary) !important;
  font-size: 0.95rem !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

#primeagile__searchbar__11176:focus {
  border-color: var(--color-blue-light) !important;
  box-shadow: 0 0 0 3px rgba(0, 138, 210, 0.12) !important;
}

/* Categories Filter Bar */
.search-categories {
  display: flex !important;
  gap: 28px !important;
  border-bottom: 1px solid #e1e9f0;
}

.search-categories > div {
  font-family: var(--font-primary) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding-bottom: 12px !important;
  color: #556877 !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.25s ease, border-color 0.25s ease;
}

/* Active Category Filter State */
.search-categories > div[style*="border-bottom"] {
  color: var(--color-blue-light) !important;
  border-color: var(--color-blue-light) !important;
}

.search-categories > div:hover {
  color: var(--color-blue-light) !important;
}

/* ── Blog Grid & Cards ───────────────────────────────────── */
#pagelist {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)) !important;
  gap: 32px !important;
  height: auto !important;
}

#pagelist a {
  text-decoration: none !important;
  color: inherit !important;
}

/* Card Outer Wrapper */
[data-primeagile-object="BLOG-CARD"] {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  border: 1px solid #e1e9f0;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

[data-primeagile-object="BLOG-CARD"]:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(1, 38, 76, 0.06);
  border-color: #c2dcf0;
}

/* Cover Image Wrapper with 16:9 Aspect Ratio */
#primeagile__11178 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

#primeagile__11178 img {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.5s ease;
}

[data-primeagile-object="BLOG-CARD"]:hover #primeagile__11178 img {
  transform: scale(1.04);
}

/* Description Text Area */
[data-primeagile-object="CARD-DESCRIPTION-CONTAINER"] {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Author and Date Block */
[data-primeagile-object="AUTHOR-AND-DATE-BLOCK"] {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Author Label or Empty Paragraph styling */
#primeagile__11183 {
  font-family: var(--font-primary) !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--color-blue-light) !important;
  text-transform: uppercase;
  background-color: #e8f4fb;
  padding: 3px 10px;
  border-radius: 4px;
}

/* If Author is empty, hide the badge block */
#primeagile__11183:empty {
  display: none !important;
}

/* Date */
#primeagile__11184 {
  font-family: var(--font-primary) !important;
  font-size: 0.85rem !important;
  color: #7b94a8 !important;
}

/* Date Separator line if author name exists */
#primeagile__11183:not(:empty) + #primeagile__11184::before {
  content: "—";
  margin-right: 12px;
  color: #ccd7e0;
}

/* Title Anchor Link inside card */
#primeagile__11181 {
  font-family: var(--font-primary) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--color-navy) !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  margin-bottom: 12px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

[data-primeagile-object="BLOG-CARD"]:hover #primeagile__11181 {
  color: var(--color-blue-light) !important;
}

/* Snippet Summary */
#primeagile__11182 {
  font-family: var(--font-primary) !important;
  font-size: 0.9rem !important;
  color: #556877 !important;
  line-height: 1.6 !important;
  margin: 0 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive adjustment for Mobile viewports */
@media (max-width: 580px) {
  #pagelist {
    grid-template-columns: 1fr !important;
  }
}

