/* ==========================================================================
   EASY OUTDESK - PORT OPERATIONS PILLAR PAGES CSS
   File: public/assets/css/eo-port-pillar.css
   Compatible with Bootstrap 5, AOS, and existing styles without altering them.
   ========================================================================== */

:root {
  --eo-port-blue: #0069f6;
  --eo-port-blue-dark: #004ecc;
  --eo-port-navy: #0b2540;
  --eo-port-text: #1f2937;
  --eo-port-muted: #5b6b7d;
  --eo-port-border: #e6ebf3;
  --eo-port-card-bg: #ffffff;
  --eo-port-radius: 18px;
  --eo-port-badge-size: 58px;
}

/* ==================== HERO SECTION ==================== */
.port-pillar-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}

.port-pillar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.port-pillar-hero .prt-page-title-row-inner {
  position: relative;
  z-index: 2;
  padding: 150px 0 95px;
}

.hero-port-tos {
  background-image: url('../images/newimg/solutionbanner/hero-port-tos.webp');
}
.hero-port-terminal {
  background-image: url('../images/newimg/solutionbanner/hero-port-terminal.webp');
}
.hero-port-integration {
  background-image: url('../images/newimg/solutionbanner/hero-port-integration.webp');
}
.hero-port-enterprise {
  background-image: url('../images/newimg/solutionbanner/hero-port-enterprise.webp');
}

.port-pillar-hero .title {
  color: #ffffff;
  font-size: clamp(28px, 2.6vw + 14px, 46px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.port-pillar-hero .page-title-desc p {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(15px, 0.3vw + 14px, 18px);
  line-height: 1.65;
  max-width: 660px;
  margin-bottom: 0;
}

.port-pillar-hero .eo-hero-ctas {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.port-pillar-hero .prt-btn-style-fill.prt-btn-color-whitecolor {
  background: #ffffff;
  color: var(--eo-port-blue);
  border: 2px solid #ffffff;
  font-weight: 700;
  padding: 12px 28px;
  transition: all 0.25s ease;
}
.port-pillar-hero .prt-btn-style-fill.prt-btn-color-whitecolor:hover {
  background: var(--eo-port-blue);
  color: #ffffff;
  border-color: var(--eo-port-blue);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 105, 246, 0.35);
}

.port-pillar-hero .prt-btn-style-border.prt-btn-color-whitecolor {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  font-weight: 600;
  padding: 12px 26px;
  transition: all 0.25s ease;
}
.port-pillar-hero .prt-btn-style-border.prt-btn-color-whitecolor:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==================== SECTION TYPOGRAPHY ==================== */
.eo-port-section-head {
  text-align: center;
  margin: 0 auto 38px;
}
.eo-port-eyebrow {
  display: inline-block;
  color: var(--eo-port-blue);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  margin-bottom: 10px;
}
.eo-port-section-head h2.title {
  font-size: clamp(24px, 1.6vw + 16px, 34px);
  font-weight: 700;
  color: var(--eo-port-navy);
  line-height: 1.3;
  margin-bottom: 12px;
}
.eo-port-section-head p.subtitle {
  color: var(--eo-port-muted);
  font-size: clamp(14px, 0.2vw + 13.5px, 16px);
  line-height: 1.65;
  margin: 0 auto;
}

/* ==================== CARDS & TILES ==================== */
.eo-port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.eo-port-grid .eo-port-cta-card {
  grid-column: span 2;
}
.eo-port-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.eo-port-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.eo-port-card {
  background: var(--eo-port-card-bg);
  border: 1px solid #eef2f7;
  border-radius: var(--eo-port-radius);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  box-sizing: border-box;
}

.eo-port-card:hover {
  transform: translateY(-4px);
  border-color: #dbe3ed;
  box-shadow: 0 16px 32px rgba(11, 37, 64, 0.08);
}

/* Badges */
.eo-port-badge {
  width: var(--eo-port-badge-size);
  height: var(--eo-port-badge-size);
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  overflow: hidden;
}
.eo-port-badge svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* Simple 24x24 line icons: give them breathing room inside the badge */
.eo-port-badge svg[viewBox="0 0 24 24"] {
  width: 55%;
  height: 55%;
}
.eo-port-badge.badge-coral  { background: #FDF4F1; color: #DE7130; }
.eo-port-badge.badge-green  { background: #F4FBF7; color: #478F5E; }
.eo-port-badge.badge-pink   { background: #FCF0F6; color: #D15D7C; }
.eo-port-badge.badge-blue   { background: #D7E5F9; color: #0069F6; }
.eo-port-badge.badge-purple { background: #F2EDFC; color: #8E56FF; }
.eo-port-badge.badge-yellow { background: #FFFCE8; color: #F7D31D; }
.eo-port-badge svg path,
.eo-port-badge svg circle,
.eo-port-badge svg rect,
.eo-port-badge svg polyline,
.eo-port-badge svg line {
  transition: all 0.2s ease;
}
.eo-port-card:hover .eo-port-badge {
  transform: scale(1.06);
}

.eo-port-card h4 {
  color: var(--eo-port-navy);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
}

.eo-port-card p {
  color: var(--eo-port-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* ------------------------------------------------------------------
   GENERIC CARD LAYOUT: icon on the left, title beside it, text below.
   Works for any .eo-port-card whose DIRECT children are:
   .eo-port-badge  +  h4  +  p
   (the --wide card keeps its own row layout, see below)
   ------------------------------------------------------------------ */
.eo-port-card:not(.eo-port-card--wide) {
  display: grid;
  grid-template-columns: var(--eo-port-badge-size) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  column-gap: 14px;
  row-gap: 14px;
  align-items: center;
  align-content: start;
}
.eo-port-card:not(.eo-port-card--wide) > .eo-port-badge {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}
.eo-port-card:not(.eo-port-card--wide) > h4 {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}
.eo-port-card:not(.eo-port-card--wide) > p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: start;
  font-size: 15px;
}

/* ------------------------------------------------------------------
   ALSO SUPPORTED: cards that wrap the head in a flex row, e.g.
   <div class="eo-port-card">
     <div class="d-flex align-items-center mb-15">
       <div class="eo-port-badge">svg</div>
       <div><h4>Title</h4></div>
     </div>
     <p>Text</p>
   </div>
   The wrapper becomes the first row; the paragraph sits below it.
   ------------------------------------------------------------------ */
.eo-port-card:not(.eo-port-card--wide) > .d-flex {
  grid-column: 1 / -1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 !important;
}
.eo-port-card:not(.eo-port-card--wide) > .d-flex .eo-port-badge {
  margin: 0;
}
.eo-port-card:not(.eo-port-card--wide) > .d-flex h4 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

/* Full Width Card (badge left, heading + text right) */
.eo-port-card--wide {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
}
.eo-port-card--wide .eo-port-badge {
  margin-bottom: 0;
}
.eo-port-card--wide-content {
  flex: 1;
}

/* Solid Blue CTA Card */
.eo-port-cta-card {
  background: url(../images/newimg/tos_small_bg.webp);
  border-radius: var(--eo-port-radius);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 10px 25px rgba(15, 82, 186, 0.28);
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
}
.eo-port-cta-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.eo-port-cta-card div {
  max-width: 100%;
  width: 100%;
}
.eo-port-cta-card h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 14px;
}
.eo-port-cta-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.55;
}
.eo-port-cta-card .eo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #0f52ba !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  align-self: flex-start;
  transition: all 0.25s ease;
}
.eo-port-cta-card .eo-cta-btn:hover {
  background: #f0f7ff;
  color: #033682;
  transform: translateX(3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* ==================== "MORE SOLUTIONS" EXPANDABLE SECTION ==================== */
.eo-port-more-wrap {
  text-align: center;
  margin-top: 32px;
}
.eo-port-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--eo-port-blue);
  background: #ffffff;
  border: 1.5px solid #d4e2f8;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 105, 246, 0.08);
}
.eo-port-more-btn:hover {
  background: var(--eo-port-blue);
  color: #ffffff;
  border-color: var(--eo-port-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 105, 246, 0.22);
}
.eo-port-more-btn svg {
  transition: transform 0.25s ease;
}
.eo-port-more-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.eo-port-expandable {
  display: none;
  margin-top: 32px;
  animation: eoExpandFade 0.4s ease forwards;
}
.eo-port-expandable.is-open {
  display: block;
}
@keyframes eoExpandFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.eo-port-close-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--eo-port-blue);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 20px;
  background: #f0f7ff;
  transition: all 0.2s ease;
}
.eo-port-close-btn:hover {
  background: var(--eo-port-blue);
  color: #ffffff;
}

/* ==================== SPLIT BANNER SECTION ==================== */
.eo-port-split-banner {
  background: linear-gradient(to right, #ffffff 0%, #f8fbff 35%, #edf5ff 70%, #e3efff 100%);
  /* border-radius: 24px; */
  padding: 42px 48px;
  color: #ffffff;
  margin: 50px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.eo-port-split-banner::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(0, 105, 246, 0.28) 0%, rgba(0, 105, 246, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}
.eo-port-split-banner h3 {
  color: var(--eo-port-text);
  font-size: clamp(22px, 1.5vw + 14px, 30px);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  max-width: 580px;
}
.eo-port-split-banner .prt-btn {
  background: var(--eo-port-blue);
  color: #ffffff;
  border: none;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.eo-port-split-banner .prt-btn:hover {
  background: #0056cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 105, 246, 0.4);
}
.eo-port-banner-art {
  max-width: 400px;
  width: 100%;
}
.eo-port-banner-art img,
.eo-port-banner-art svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==================== TECHNOLOGY STACK SECTION ==================== */
.eo-port-tech-box {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 0;
  padding: 0 15px;
  box-sizing: border-box;
}

.eo-port-tech-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.eo-tech-badge {
  grid-column: span 2;
  min-height: 183px;
  padding: 25px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #cfe1ff;
  background: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.eo-tech-badge:nth-child(4),
.eo-tech-badge:nth-child(5) {
  grid-column: span 3;
}

.eo-tech-badge img {
  display: block;
  width: auto;
  height: auto;
  max-width: 85%;
  max-height: 115px;
  object-fit: contain;
}

.eo-tech-badge:hover {
  background: #f8fbff;
  border-color: #8bbaff;
}

@media (max-width: 768px) {
  .eo-port-tech-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .eo-tech-badge,
  .eo-tech-badge:nth-child(4),
  .eo-tech-badge:nth-child(5) {
    grid-column: span 1;
    min-height: 150px;
    padding: 20px 12px;
  }

  .eo-tech-badge img {
    max-width: 90%;
    max-height: 90px;
  }
}

@media (max-width: 480px) {
  .eo-port-tech-row {
    grid-template-columns: 1fr;
  }

  .eo-tech-badge,
  .eo-tech-badge:nth-child(4),
  .eo-tech-badge:nth-child(5) {
    grid-column: span 1;
    min-height: 135px;
  }
}

/* ==================== BOTTOM CALLOUT CARD ==================== */
.eo-port-bottom-card {
  background: linear-gradient(135deg, #edf5ff 0%, #f4f8fe 100%);
  border: 1px solid #dce8f8;
  border-radius: 28px;
  padding: 45px 50px;
  display: flex;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  margin: 0px 0 50px 0;
}
.eo-port-bottom-art img,
.eo-port-bottom-art svg {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  margin: 0 auto;
}
.eo-port-bottom-content h3 {
  color: var(--eo-port-navy);
  font-size: clamp(24px, 0.769vw + 21.23px, 36px);
  font-weight: 800;
  margin-bottom: 10px;
}
.eo-port-bottom-content p {
  color: var(--eo-port-muted);
  font-size:clamp(16px, 0.385vw + 14.62px, 22px);
  line-height: 1.6;
  margin-bottom: 22px;
  /* max-width: 600px; */
}
.eo-port-bottom-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.eo-port-bottom-btns .btn-solid {
  background: var(--eo-port-blue);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}
.eo-port-bottom-btns .btn-solid:hover {
  background: var(--eo-port-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 105, 246, 0.3);
}
.eo-port-bottom-btns .btn-outline {
  background: #ffffff;
  color: var(--eo-port-navy);
  border: 1.5px solid #c9d8ee;
  padding: 12px 26px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}
.eo-port-bottom-btns .btn-outline:hover {
  border-color: var(--eo-port-blue);
  color: var(--eo-port-blue);
  background: #f7faff;
  transform: translateY(-2px);
}

/* ==================== FAQ ACCORDION ==================== */
.eo-port-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.eo-port-faq-item {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.eo-port-faq-item.is-open {
  border-color: #d1e1fa;
  box-shadow: 0 6px 18px rgba(0, 105, 246, 0.06);
}
.eo-port-faq-toggle {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 700;
  color: var(--eo-port-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.eo-port-faq-toggle:hover {
  color: var(--eo-port-blue);
}
.eo-port-faq-toggle .faq-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  stroke: var(--eo-port-navy);
}
.eo-port-faq-item.is-open .eo-port-faq-toggle {
  color: var(--eo-port-blue);
}
.eo-port-faq-item.is-open .eo-port-faq-toggle .faq-icon {
  transform: rotate(180deg);
  stroke: var(--eo-port-blue);
}
.eo-port-faq-content {
  display: none;
  padding: 0 22px 20px 22px;
  color: var(--eo-port-muted);
  font-size: 14.5px;
  line-height: 1.65;
}
.eo-port-faq-item.is-open .eo-port-faq-content {
  display: block;
}

/* ==================== MOBILE VIEW SWITCHER & SCROLL MODES ==================== */
.eo-port-mob-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f1f5f9;
  border-radius: 30px;
  padding: 4px 6px;
  margin: 0 auto 20px;
  max-width: 320px;
}
.eo-mob-mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.eo-mob-mode-btn.is-active {
  background: #ffffff;
  color: var(--eo-port-blue);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-weight: 700;
}

/* Mobile responsive rules */
@media (max-width: 991px) {
  .eo-port-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .eo-port-card--wide {
    grid-column: span 2;
  }
  .eo-port-split-banner {
    grid-template-columns: 1fr;
    padding: 34px 26px;
    text-align: center;
  }
  .eo-port-split-banner h3 {
    max-width: 100%;
    margin: 0 auto 18px;
  }
  .eo-port-split-banner .prt-btn {
    margin: 0 auto;
  }
  .eo-port-banner-art {
    margin: 0 auto;
    max-width: 240px;
    order: -1;
  }
  .eo-port-bottom-card {
    grid-template-columns: 1fr;
    padding: 34px 24px;
    text-align: center;
    gap: 24px;
  }
  .eo-port-bottom-content p {
    margin-left: auto;
    margin-right: auto;
  }
  .eo-port-bottom-btns {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --eo-port-badge-size: 50px;
  }

  .port-pillar-hero {
    min-height: auto;
    border-radius: 22px;
    margin-top: 10px;
  }
  .port-pillar-hero .prt-page-title-row-inner {
    padding: 45px 0 50px;
  }
  .port-pillar-hero .eo-hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .port-pillar-hero .eo-hero-ctas .prt-btn {
    text-align: center;
    justify-content: center;
  }

  /* Default horizontal scroll for card grids on mobile */
  .eo-port-grid.mode-horizontal,
  .eo-port-hscroll {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    overscroll-behavior-x: contain !important;
    margin: 10px -15px 0 !important;
    padding: 4px 15px 16px !important;
    scrollbar-width: none !important;
  }
  .eo-port-grid.mode-horizontal::-webkit-scrollbar,
  .eo-port-hscroll::-webkit-scrollbar {
    display: none;
  }
  .eo-port-grid.mode-horizontal > *,
  .eo-port-hscroll > * {
    flex: 0 0 85% !important;
    max-width: 320px !important;
    min-width: 270px !important;
    scroll-snap-align: start !important;
    scroll-snap-stop: always !important;
  }

  /* Vertical scrollable container mode on mobile */
  .eo-port-grid.mode-vertical,
  .eo-port-vscroll {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    max-height: 520px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
    padding: 6px 6px 14px 2px !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 #f8fafc !important;
  }
  .eo-port-grid.mode-vertical::-webkit-scrollbar,
  .eo-port-vscroll::-webkit-scrollbar {
    width: 5px;
  }
  .eo-port-grid.mode-vertical::-webkit-scrollbar-thumb,
  .eo-port-vscroll::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
  }
  .eo-port-grid.mode-vertical > *,
  .eo-port-vscroll > * {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: none !important;
  }

  .eo-port-card {
    padding: 22px 18px;
  }
  .eo-port-card:not(.eo-port-card--wide) {
    column-gap: 12px;
    row-gap: 12px;
  }
  .eo-port-card:not(.eo-port-card--wide) > h4 {
    font-size: 18px;
  }
  .eo-port-card:not(.eo-port-card--wide) > p {
    font-size: 14.5px;
  }
  .eo-port-card:not(.eo-port-card--wide) > .d-flex {
    gap: 12px;
  }
  .eo-port-card:not(.eo-port-card--wide) > .d-flex h4 {
    font-size: 18px;
  }
  .eo-port-card--wide {
    flex-direction: column;
    gap: 14px;
  }

  /* Split banner responsive stacking on mobile */
  .eo-port-split-banner {
    padding: 30px 20px !important;
    margin: 30px 0 !important;
  }
  .eo-port-split-banner .container.d-flex {
    flex-direction: column-reverse !important;
    gap: 20px !important;
    text-align: center !important;
    padding: 0 !important;
  }
  .eo-port-split-banner h3 {
    font-size: 20px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }
  .eo-port-split-banner .prt-btn {
    margin: 0 auto !important;
  }
  .eo-port-banner-art {
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  /* Bottom Callout card responsive on mobile */
  .eo-port-bottom-card {
    grid-template-columns: 1fr !important;
    padding: 28px 18px !important;
    margin: 30px 0 !important;
    gap: 20px !important;
    text-align: center !important;
  }
  .eo-port-bottom-art {
    max-width: 220px !important;
    margin: 0 auto !important;
  }
  .eo-port-bottom-content h3 {
    font-size: 22px !important;
  }
  .eo-port-bottom-btns {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }
  .eo-port-bottom-btns a {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* ==================== ADVANTAGE SECTION ==================== */
.eo-adv-section {
  background: #e1eefc;
  padding: 80px 0;
}

.eo-adv-wrap {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 32px;
  align-items: start;
}

/* Left */
.eo-adv-title {
  font-size: 34px;
  line-height: 1.3;
  font-weight: 500;
  color: #1a2540;
  margin: 0 0 16px;
}

.eo-adv-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #1a2540;
  margin: 0 0 32px;
  max-width: 540px;
}

.eo-adv-image {
  width: 100%;
  max-width: 600px;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.eo-adv-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Right */
.eo-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.eo-adv-card {
  background: #ffffff;
  border: 1px solid #cfe0f7;
  border-radius: 14px;
  padding: 20px 30px 30px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.eo-adv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(26, 37, 64, 0.08);
}

/* Icon: SVG carries its own background, so the wrapper is just a fixed-size box */
.eo-adv-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 22px;
  line-height: 0;
}

.eo-adv-icon svg,
.eo-adv-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.eo-adv-card h4 {
  font-size: 22px;
  font-weight: 600;
  color: #0b1020;
  margin: 0 0 14px;
  line-height: 1.3;
}

.eo-adv-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b6f78;
  margin: 0;
}

/* Responsive */
@media (max-width: 1199px) {
  .eo-adv-wrap { grid-template-columns: 1fr; }
  .eo-adv-image { min-height: 320px; }
}

@media (max-width: 767px) {
  .eo-adv-section { padding: 50px 0; }
  .eo-adv-title { font-size: 26px; }
  .eo-adv-grid { grid-template-columns: 1fr; }
  .eo-adv-card { padding: 20px 22px 26px; }
  .eo-adv-card h4 { font-size: 20px; }
  .eo-adv-image { min-height: 240px; }
}

/* ==========================================================================
   EASY OUTDESK - TECH STACK SECTION
   File: public/assets/css/eo-tech-stack.css
   ========================================================================== */

.eo-ts-section {
  background-color: #ffffff;
  background-image: radial-gradient(#dfe8f5 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 70px 0 100px;
}

.eo-ts-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.eo-ts-eyebrow {
  display: inline-block;
  color: #0069f6;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.eo-ts-head h2 {
  font-size: clamp(26px, 1.8vw + 16px, 40px);
  font-weight: 700;
  color: #0b2540;
  line-height: 1.3;
  margin-bottom: 14px;
}
.eo-ts-head h2 span {
  color: #0069f6;
  font-weight: 700;
}
.eo-ts-head p {
  color: #5b6b7d;
  font-size: clamp(15px, 0.2vw + 14px, 17px);
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
}

/* ---------- Rows (4 / 3 / 2 centered layout) ---------- */
.eo-ts-rows {
  width: 100%;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}
.eo-ts-row {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ---------- Card ---------- */
.eo-ts-card {
  --eo-ts-w: 25%;
  flex: 0 0 var(--eo-ts-w);
  width: var(--eo-ts-w);
  height: 190px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed #cfe1ff;
  background: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.eo-ts-card:hover {
  background: #f8fbff;
  border-color: #8bbaff;
  transform: translateY(-4px);
}
.eo-ts-card img {
  display: block;
  width: auto;
  height: auto;
  max-width: 82%;
  max-height: 120px;
  object-fit: contain;
}

/* Row widths (relative to the 1200px grid) */
.eo-ts-row--4 .eo-ts-card { --eo-ts-w: calc(25% - 9px); }
.eo-ts-row--3 .eo-ts-card { --eo-ts-w: calc(27% - 8px); }
.eo-ts-row--2 .eo-ts-card { --eo-ts-w: calc(22% - 6px); }

/* ---------- Laptop / small desktop ---------- */
@media (max-width: 1199px) {
  .eo-ts-card { height: 165px; padding: 20px 22px; }
  .eo-ts-card img { max-height: 100px; }
  .eo-ts-row--3 .eo-ts-card { --eo-ts-w: calc(30% - 8px); }
  .eo-ts-row--2 .eo-ts-card { --eo-ts-w: calc(25% - 6px); }
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
  .eo-ts-section { padding: 50px 0 70px; }
  .eo-ts-rows { margin-top: 40px; }
  .eo-ts-card { height: 150px; padding: 18px; }
  .eo-ts-card img { max-height: 90px; }
  .eo-ts-row--3 .eo-ts-card { --eo-ts-w: calc(33.333% - 8px); }
  .eo-ts-row--2 .eo-ts-card { --eo-ts-w: calc(33.333% - 8px); }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .eo-ts-section { padding: 40px 0 55px; }
  .eo-ts-rows { gap: 10px; margin-top: 30px; }
  .eo-ts-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .eo-ts-row--4 .eo-ts-card,
  .eo-ts-row--3 .eo-ts-card,
  .eo-ts-row--2 .eo-ts-card {
    --eo-ts-w: calc(50% - 5px);
    height: 125px;
    padding: 14px 12px;
  }
  .eo-ts-card img { max-height: 75px; max-width: 85%; }
}

/* ---------- Small mobile ---------- */
@media (max-width: 380px) {
  .eo-ts-card { height: 105px; }
  .eo-ts-card img { max-height: 62px; }
}

.bottomsyncautomation {
  background: url(../images/newimg/iad.webp);
}