/**
 * Increlog — first-party additions stylesheet.
 *
 * Loaded AFTER main.css (see SiteCss.tsx) so these rules win the cascade.
 * Everything prefixed `il-` belongs to features added on top of the original
 * template: hero terminal, services grid, tech marquee, process timeline,
 * testimonials, portfolio filters, estimator, scroll progress.
 * Colors reuse the theme tokens: primary #175cff, heading #292930.
 */

/* ============================================================
 * 0b. Hero entrance — pure CSS (no JS dependency).
 * WOW.js hid hero text until jQuery was ready, which pushed LCP
 * past 8s on simulated mobile. CSS animations play immediately.
 * ============================================================ */
.il-hero-anim {
  animation: il-fade-up 0.7s ease-out backwards;
  animation-delay: var(--il-delay, 0ms);
}
@keyframes il-fade-up {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .il-hero-anim { animation: none; }
}

/* ============================================================
 * 0a. Self-hosted Rubik (latin) — the hero font.
 * Self-hosting removes the Google Fonts round-trip for the font
 * that renders the LCP text; preload (SiteCss) makes it arrive
 * before first paint, eliminating the fallback→swap reflow.
 * ============================================================ */
@font-face {
  font-family: 'Rubik';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(/assets/fonts/rubik-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
 * 0. Scrollbar — brand-matched (was raw OS default)
 * ============================================================ */
html {
  scrollbar-width: thin;                    /* Firefox */
  scrollbar-color: #175cff #0d1424;
}
::-webkit-scrollbar {                        /* Chromium / Edge / Safari */
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: #0d1424;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #175cff, #0a3ab0);
  border-radius: 8px;
  border: 3px solid #0d1424;
}
::-webkit-scrollbar-thumb:hover {
  background: #4a9eff;
}
::-webkit-scrollbar-corner {
  background: #0d1424;
}

/* ============================================================
 * 0. Scroll progress bar
 * ============================================================ */
#il-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #175cff, #4a9eff, #82b4ff);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ============================================================
 * 1. Hero — layout with terminal card + stats strip
 * ============================================================ */
@media only screen and (min-width: 1200px) {
  .hero-section-2 .custom-container {
    display: flex;
    align-items: center;
    gap: 60px;
  }
  .hero-content.content-2 {
    flex: 1 1 auto;
  }
}
@media only screen and (min-width: 993px) and (max-width: 1199px) {
  .hero-section-2 {
    height: auto;
    padding: 130px 0 90px;
  }
}

.il-hero-terminal {
  flex: 0 0 500px;
  max-width: 500px;
  margin: 60px auto 0;
  background: rgba(9, 15, 28, 0.78);
  border: 1px solid rgba(82, 148, 255, 0.28);
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(23, 92, 255, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
@media only screen and (min-width: 1200px) {
  .il-hero-terminal {
    margin: 0;
  }
}

.il-terminal-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.il-terminal-head .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.il-terminal-head .dot:nth-child(1) { background: #ff5f56; }
.il-terminal-head .dot:nth-child(2) { background: #ffbd2e; }
.il-terminal-head .dot:nth-child(3) { background: #27c93f; }
.il-terminal-head .il-terminal-title {
  margin-left: 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: #9fb2cc;
  letter-spacing: 0.4px;
}

#il-terminal-body {
  padding: 20px 22px 24px;
  min-height: 224px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px;
  line-height: 1.85;
}
.il-t-line { white-space: pre-wrap; word-break: break-word; }
.il-t-cmd { color: #dce7f8; font-weight: 600; }
.il-t-ok  { color: #7ee787; }
.il-t-dim { color: #93a4bd; }
.il-t-line.il-t-cmd:last-child::after {
  content: '▊';
  margin-left: 2px;
  color: #4a9eff;
  animation: il-blink 1s steps(1) infinite;
}
@keyframes il-blink { 50% { opacity: 0; } }

.il-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.il-hero-stat {
  position: relative;
  padding-right: 48px;
}
.il-hero-stat:not(:last-of-type)::after {
  content: '';
  position: absolute;
  top: 6px;
  right: 0;
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.18);
}
.il-hero-stat .num {
  font-family: var(--mt-ff-heading);
  font-size: 38px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
}
.il-hero-stat .num .odometer {
  color: #82b4ff;
}
.il-hero-stat .lbl {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.66);
  letter-spacing: 0.3px;
}

/* ============================================================
 * 2. Services grid (replaces the 4 generic capability cards)
 * ============================================================ */
.il-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}
@media only screen and (max-width: 1170px) {
  .il-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media only screen and (max-width: 650px) {
  .il-services-grid { grid-template-columns: 1fr; }
}

.il-service-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e9eefb;
  border-radius: 20px;
  padding: 36px 32px 32px;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  display: block;
  color: inherit;
}
.il-service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(23, 92, 255, 0.45);
  box-shadow: 0 30px 60px rgba(23, 92, 255, 0.14);
}
.il-service-card .il-svc-num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--mt-ff-heading);
  font-size: 44px;
  font-weight: 800;
  color: #f1f5ff;
  line-height: 1;
  transition: color 0.35s ease;
}
.il-service-card:hover .il-svc-num { color: #dbe7ff; }
.il-service-card .il-svc-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #eef4ff;
  color: #175cff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.35s ease, color 0.35s ease;
}
.il-service-card:hover .il-svc-icon {
  background: #175cff;
  color: #ffffff;
}
.il-service-card h3 {
  font-family: var(--mt-ff-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--mt-color-heading-primary, #292930);
  margin-bottom: 12px;
}
.il-service-card p {
  font-size: 15px;
  color: var(--mt-color-body-text, #636363);
  margin-bottom: 18px;
}
.il-service-card .il-svc-link {
  font-size: 14px;
  font-weight: 600;
  color: #175cff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.il-service-card .il-svc-link i { transition: transform 0.3s ease; }
.il-service-card:hover .il-svc-link i { transform: translateX(5px); }

/* ============================================================
 * 3. Tech-stack marquee
 * ============================================================ */
.il-marquee {
  margin-top: 70px;
  background: #f6f9ff;
  border-top: 1px solid #e9eefb;
  border-bottom: 1px solid #e9eefb;
  padding: 34px 0;
  overflow: hidden;
  position: relative;
}
.il-marquee::before,
.il-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.il-marquee::before { left: 0; background: linear-gradient(90deg, #f6f9ff, rgba(246, 249, 255, 0)); }
.il-marquee::after { right: 0; background: linear-gradient(270deg, #f6f9ff, rgba(246, 249, 255, 0)); }

.il-marquee-row { overflow: hidden; }
.il-marquee-row + .il-marquee-row { margin-top: 18px; }

.il-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: il-marquee-left 36s linear infinite;
}
.il-marquee-row.reverse .il-marquee-track {
  animation-name: il-marquee-right;
}
.il-marquee:hover .il-marquee-track { animation-play-state: paused; }

@keyframes il-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes il-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.il-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 100px;
  border: 1px solid #e3ecff;
  background: #ffffff;
  font-family: var(--mt-ff-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--mt-color-heading-primary, #292930);
  white-space: nowrap;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.il-chip:hover {
  border-color: rgba(23, 92, 255, 0.5);
  box-shadow: 0 10px 24px rgba(23, 92, 255, 0.12);
}
.il-chip .il-chip-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #175cff;
  flex: 0 0 auto;
}

/* ============================================================
 * 4. Process timeline ("How We Work")
 * ============================================================ */
.il-process-section {
  background: #f8faff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.il-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  margin-top: 70px;
}
.il-process-line {
  position: absolute;
  top: 37px;
  left: calc(10% - 30px);
  right: calc(10% - 30px);
  height: 3px;
  background: #e3ecff;
  border-radius: 3px;
  z-index: 0;
}
.il-process-line-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #175cff, #4a9eff);
  border-radius: 3px;
  transform: scaleX(var(--il-progress, 0));
  transform-origin: left center;
  transition: transform 0.25s ease-out;
}

.il-process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  opacity: 0.45;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.il-process-step.is-active {
  opacity: 1;
  transform: translateY(0);
}
.il-process-step .il-step-badge {
  width: 74px;
  height: 74px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e3ecff;
  color: #175cff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mt-ff-heading);
  font-size: 22px;
  font-weight: 700;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.il-process-step.is-active .il-step-badge {
  background: #175cff;
  border-color: #175cff;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(23, 92, 255, 0.35);
}
.il-process-step h4 {
  font-family: var(--mt-ff-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--mt-color-heading-primary, #292930);
  margin-bottom: 10px;
}
.il-process-step p {
  font-size: 14px;
  color: var(--mt-color-body-text, #636363);
  margin: 0 auto;
  max-width: 220px;
}

@media only screen and (max-width: 991px) {
  .il-process-track {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-left: 40px;
  }
  .il-process-line {
    top: 20px;
    bottom: 20px;
    left: 36px;
    right: auto;
    width: 3px;
    height: auto;
  }
  .il-process-line-fill {
    transform: scaleY(var(--il-progress, 0));
    transform-origin: center top;
  }
  .il-process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 20px;
    align-items: start;
  }
  .il-process-step .il-step-badge { margin: 0; }
  .il-process-step p { max-width: none; }
}

/* ============================================================
 * 5. Testimonials
 * ============================================================ */
.il-testimonial-section {
  background: #f8faff;
  padding-top: 100px;
  padding-bottom: 100px;
}

.il-testi-card {
  background: #ffffff;
  border: 1px solid #e9eefb;
  border-radius: 20px;
  padding: 32px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.il-testi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(23, 92, 255, 0.12);
}
.il-testi-card .il-quote-icon {
  font-size: 26px;
  color: #175cff;
  opacity: 0.85;
  margin-bottom: 14px;
}
.il-testi-card .il-stars {
  color: #ffc226;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.il-testi-card .il-quote-text {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--mt-color-body-text, #636363);
  margin-bottom: 24px;
  flex: 1 1 auto;
}
.il-testi-card .il-testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.il-testi-card .il-testi-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}
.il-testi-card .il-testi-author .il-author-name {
  font-family: var(--mt-ff-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--mt-color-heading-primary, #292930);
  line-height: 1.3;
}
.il-testi-card .il-testi-author .il-author-role {
  font-size: 13px;
  color: #8a8f9c;
}
/* Initials avatar — global (used by testimonials, blog cards, footer). */
.il-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #175cff, #4a9eff);
  color: #ffffff;
  font-family: var(--mt-ff-heading);
  font-weight: 600;
  width: 52px;
  height: 52px;
  font-size: 17px;
  border-radius: 50%;
  flex: 0 0 auto;
  user-select: none;
}
.il-testi-card .il-avatar-fallback,
.il-testi-card .il-testi-author img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex: 0 0 auto;
}
.il-testi-card .il-star-off {
  color: #dfe5ef;
}
/* Keep the pagination dots below the card row (same pattern as team-carousel). */
.testi-carousel {
  padding-bottom: 80px;
}
.testi-carousel .swiper-pagination {
  line-height: 1;
}
.testi-carousel .swiper-slide {
  height: auto;
  display: flex;
}
.testi-carousel .il-testi-card {
  width: 100%;
}

/* ============================================================
 * 6. Portfolio filter chips + outcome badge
 * ============================================================ */
.il-portfolio-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 34px 0 44px;
}
.il-filter-chip {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1px solid #e3ecff;
  background: #ffffff;
  font-family: var(--mt-ff-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--mt-color-heading-primary, #292930);
  cursor: pointer;
  transition: all 0.3s ease;
}
.il-filter-chip:hover {
  border-color: rgba(23, 92, 255, 0.5);
  color: #175cff;
}
.il-filter-chip.active {
  background: #175cff;
  border-color: #175cff;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(23, 92, 255, 0.25);
}

.il-outcome {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: rgba(9, 15, 28, 0.82);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.il-outcome i { color: #7ee787; }

/* ============================================================
 * 7. Project estimator (CTA section)
 * ============================================================ */
.il-estimator {
  margin-top: 35px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 28px 30px 30px;
}
.il-estimator .il-est-title {
  font-family: var(--mt-ff-heading);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
}
.il-estimator .il-est-title i { color: #4a9eff; margin-right: 8px; }

.il-est-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto auto;
  gap: 24px;
  align-items: end;
}
@media only screen and (max-width: 1100px) {
  .il-est-controls { grid-template-columns: 1fr 1fr; }
}
@media only screen and (max-width: 640px) {
  .il-est-controls { grid-template-columns: 1fr; }
}

.il-est-field label {
  display: block;
  font-size: 13px;
  color: #9fb2cc;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* Custom-styled select — no native OS chrome (dark chevron was invisible
   on the dark CTA band and the box sat shorter than the button). */
.il-est-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 56px;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #e8eefb;
  font-family: var(--mt-ff-body);
  font-size: 15px;
  padding: 0 46px 0 18px;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2382b4ff' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}
.il-est-field select:hover {
  border-color: rgba(74, 158, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.09);
}
.il-est-field select:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(74, 158, 255, 0.22);
}
.il-est-field select option,
.il-est-field select optgroup {
  background-color: #101a2e;
  color: #e8eefb;
}

.il-est-field input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, #4a9eff var(--il-fill, 50%), rgba(255, 255, 255, 0.16) var(--il-fill, 50%));
  outline: none;
  cursor: pointer;
}
.il-est-field input[type='range']::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #4a9eff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.il-est-field input[type='range']::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid #4a9eff;
}

.il-est-result {
  text-align: center;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.35);
  border-radius: 12px;
  padding: 10px 22px;
}
.il-est-result .il-est-label {
  display: block;
  font-size: 12px;
  color: #9fb2cc;
  margin-bottom: 2px;
}
.il-est-result #il-est-value {
  font-family: var(--mt-ff-heading);
  font-size: 22px;
  font-weight: 700;
  color: #82b4ff;
  white-space: nowrap;
}

/* ============================================================
 * 8. Contact form additions (service + budget selects)
 * ============================================================ */
/* About counter card: "verified delivery" seal (replaces the old
   default-user placeholder). */
.about-counter-wrap .author-img {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  filter: drop-shadow(0 10px 22px rgba(23, 92, 255, 0.35));
}
.about-counter-wrap .author-img svg {
  animation: il-seal-float 3s ease-in-out infinite;
}
@keyframes il-seal-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@media (prefers-reduced-motion: reduce) {
  .about-counter-wrap .author-img svg { animation: none; }
}

.contact-section select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23636363' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-section select.form-control:focus {
  outline: none;
  border-color: #4a9eff;
  box-shadow: 0 0 0 3px rgba(23, 92, 255, 0.15);
}
/* Unselected "Service you need…/Budget range…" reads as a placeholder. */
.contact-section select.form-control.il-select-empty {
  color: rgba(255, 255, 255, 0.5);
}
.contact-section select.form-control option {
  color: #292930;
  background-color: #ffffff;
}

/* ============================================================
 * 9. Blog strip + footer recent posts
 * ============================================================ */
/* The template's .news watermark clips a placeholder PNG ("427X605")
   through the text — restyle it as a clean, small label instead. */
.post-card.card-2 .post-content .news,
.post-card.card-2.item-2 .post-content .news,
.post-card.card-2.item-3 .post-content .news {
  background: none;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #a3adc2;
  height: auto;
  margin-top: 16px;
}

/* Initials avatar for blog card authors (replaces the template's
   67x67 gray placeholder PNGs). */
.post-card .post-author .il-author-avatar {
  width: 44px;
  height: 44px;
  font-size: 14px;
  border-radius: 50%;
}
.post-card .post-author {
  display: flex;
  align-items: center;
}
.post-card .post-author img {
  border-radius: 50%;
  object-fit: cover;
}

.blog-section .post-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.blog-section .post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 54px rgba(23, 92, 255, 0.1);
}

.footer-post img {
  width: 80px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 auto;
}
.footer-post {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-post + .footer-post { margin-top: 30px; }
.footer-post .post-content span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-post .post-content .title a {
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
}
.footer-post .post-content .title a:hover { color: #82b4ff; }

/* Portfolio filter chips container: hidden until dynamic-content.js fills it */
.il-portfolio-filters:empty { display: none; }

/* ============================================================
 * 10. Global hover polish
 * ============================================================ */
.mt-primary-btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.mt-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(23, 92, 255, 0.3);
}

.project-item,
.team-item {
  transition: transform 0.35s ease;
}
.project-item:hover {
  transform: translateY(-6px);
}

/* ============================================================
 * 11. Reduced motion — everything settles instantly
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    animation: none !important;
    animation-name: none !important;
  }
  .il-marquee-track { animation: none !important; }
  .il-process-line-fill,
  .il-process-step { transition: none !important; }
  #il-scroll-progress { transition: none; }
  .il-t-line.il-t-cmd:last-child::after { animation: none; }
  .odometer, .odometer * { transition: none !important; }
}
