.eurosys-services-section { padding: 6px 0 10px; }
.wpb_wrapper>.eurosys-services-heading-wrap { margin-bottom: 60px; }
.eurosys-services-heading { margin: 0; text-align: center; color: #123d73; font-size: 36px; line-height: 1.1; font-weight: 700; position: relative; }
.eurosys-services-heading::after { content: ""; display: block; width: 58px; height: 4px; margin: 14px auto 0; border-radius: 999px; background: #1aa0d8; }
.eurosys-services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.eurosys-service-card-wrap { min-width: 0; }
.eurosys-service-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 22px; background: #ffffff; text-decoration: none !important; box-shadow: 0 3px 10px rgba(15,23,42,.08), 0 10px 24px rgba(15,23,42,.06); border: 1px solid rgba(18,61,115,.07); transition: transform .25s ease, box-shadow .25s ease; }
.eurosys-service-card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(15,23,42,.12), 0 18px 34px rgba(15,23,42,.08); }
.eurosys-service-card__media { position: relative; height: 192px; overflow: hidden; border-radius: 22px 22px 0 0; background: #1f4070; }
.eurosys-service-card__media img { width: 100%; transform: scale(1); transition: transform .7s ease, filter .45s ease; height: 100%; object-fit: cover; display: block; }
.eurosys-service-card:hover img { transform: scale(1.13); }
.eurosys-service-card__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #233e77, #16264e); }
.eurosys-service-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,52,103,.28) 0%, rgba(21,52,103,.58) 100%); z-index: 1; }
.eurosys-service-card__title-wrap { font-size:24px; max-width: 200px; position: absolute; inset: 0; display: flex; align-items: center; align-items: flex-end; justify-content: flex-start; text-align: right; padding: 20px 18px; z-index: 2; }
.row .col .eurosys-service-card__title { margin: 0; width: 100%; color: #ffffff; font-size: 24px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.15); }
.eurosys-service-card__content { display: flex; flex-direction: column; justify-content: space-between; gap: 16px; padding: 18px 18px 16px; min-height: 162px; }
.eurosys-service-card__excerpt {
  margin: 0;
  text-align: right;
  color: hsl(216 20% 50%);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.eurosys-service-card__more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: stretch;
    min-height: 40px;
    border: 1px solid #0000004d;
    border-radius: 999px;
    color: #1b3b6a;
    background: #fff;
    font-size: 16px;
    font-weight: 500;
    justify-content: flex-start;
    flex-direction: row-reverse;
    padding: 0 20px;
    transition: all .2s ease;
}
.eurosys-service-card:hover .eurosys-service-card__more {
    color: #ffffff;
    background-color: #1b3b6a;
}
.eurosys-service-card__arrow { font-size: 16px; line-height: 1; }
.eurosys-service-card--whatsapp { min-height: 100%; justify-content: center; background: #1f467f; border: none; box-shadow: 0 8px 22px rgba(13,36,74,.18); }
.eurosys-service-card__whatsapp-body { display: flex; min-height: 334px; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 26px 22px; }
.eurosys-service-card__whatsapp-title { margin: 0 0 10px; color: #fff; font-size: 24px; line-height: 1.3; font-weight: 800; }
.eurosys-service-card__whatsapp-text { margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 14px; line-height: 1.8; font-weight: 600; }
.eurosys-service-card__whatsapp-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 168px; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #ffffff; color: #1f467f; font-size: 14px; font-weight: 700; }

.eurosys-tax-service-page {
  direction: rtl;
  padding: 30px 0 70px;
}
.eurosys-tax-service-hero {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 26px;
}
.eurosys-tax-service-hero__content {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 3px 10px rgba(15,23,42,.08), 0 10px 24px rgba(15,23,42,.06);
}
.eurosys-tax-service-hero__subtitle {
  display: inline-block;
  margin-bottom: 14px;
  color: #1aa0d8;
  font-size: 14px;
  font-weight: 700;
}
.eurosys-tax-service-hero__title {
  margin: 0 0 16px;
  color: #123d73;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
}
.eurosys-tax-service-hero__desc {
  margin: 0;
  color: #67768a;
  font-size: 16px;
  line-height: 2;
}
.eurosys-tax-service-hero__media {
  min-height: 360px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: #1f4070;
  box-shadow: 0 3px 10px rgba(15,23,42,.08), 0 10px 24px rgba(15,23,42,.06);
}
.eurosys-tax-service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eurosys-tax-service-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,52,103,.12) 0%, rgba(21,52,103,.26) 100%);
}
.eurosys-tax-service-content {
  background: #fff;
  border-radius: 24px;
  padding: 34px;
  box-shadow: 0 3px 10px rgba(15,23,42,.08), 0 10px 24px rgba(15,23,42,.06);
  color: #556579;
  font-size: 16px;
  line-height: 2;
}
.eurosys-tax-service-content h2,
.eurosys-tax-service-content h3,
.eurosys-tax-service-content h4 {
  color: #123d73;
  line-height: 1.3;
  margin: 0 0 14px;
}
.eurosys-tax-service-content p,
.eurosys-tax-service-content ul,
.eurosys-tax-service-content ol {
  margin-bottom: 16px;
}
.eurosys-tax-service-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}
.eurosys-tax-service-gallery__item {
  border-radius: 20px;
  overflow: hidden;
  background: #eaf0f6;
  min-height: 220px;
}
.eurosys-tax-service-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1199px) {
  .eurosys-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .eurosys-services-heading { font-size: 30px; }
  .eurosys-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eurosys-tax-service-hero { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .eurosys-services-heading { font-size: 30px; }
  .eurosys-services-grid { grid-template-columns: 1fr; }
  .eurosys-service-card__media { height: 190px; }
  .eurosys-service-card__content { min-height: auto; }
  .eurosys-service-card__whatsapp-body { min-height: 260px; }
  .eurosys-tax-service-hero__content,
  .eurosys-tax-service-content { padding: 24px; }
  .eurosys-tax-service-hero__title { font-size: 30px; }
  .eurosys-tax-service-gallery { grid-template-columns: 1fr; }
}



.eurosys-home-projects__filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
}

.eurosys-home-projects__filter {
  font-family: 'Vazirmatn';
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: oklch(96.7% .003 264.542);
  color: #1b3a69;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
}
.eurosys-home-projects__filter:hover {
  background: oklch(92.8% .006 264.531);
}
.eurosys-home-projects__filter.is-active {
  background: #1b3a69;
  color: #fff;
  box-shadow: 0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;
}

.eurosys-home-projects__grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  max-height: 970px;
  overflow: hidden;
}

.eurosys-home-projects__empty {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  text-align: center;
  color: #6c7a8d;
  font-size: 15px;
}




.eurosys-service-project-card--reference .eurosys-service-project-card__link {
  padding: 0;
  border: 0;
  width: 100%;
  text-align: start;
  cursor: pointer;
  background: transparent;
}

.eurosys-service-project-card__count {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(12, 28, 52, .4);
  color: #fff;
  font-size: 12px;
  font-family: Vazirmatn;
}

.eurosys-project-lightbox[hidden] { display: none !important; }
.eurosys-project-lightbox { position: fixed; inset: 0; z-index: 999999; }
.eurosys-project-lightbox__backdrop { position: absolute; inset: 0; background: rgba(7,17,31,.9); }
.eurosys-project-lightbox__dialog {
  position: relative;
  z-index: 20;
  width: min(94vw, 1080px);
  margin: 4vh auto;
  border-radius: 10px;
  padding-top: 30px;
}
.eurosys-project-lightbox__close {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: #eff3f8;
  color: #1b3a69;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.eurosys-project-lightbox__header {
  position: absolute;
  display: flex;
  justify-content: center;
  width: 100%;
  bottom: 100px;
}
.eurosys-project-lightbox__title { text-shadow: 1px 1px black;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.4;
}
.eurosys-project-lightbox__body { 
    display: flex;
    align-items: center;
    justify-content: center;
}
.eurosys-project-lightbox__nav {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: #eff3f8;
  color: #1b3a69;
  font-size: 24px;
  cursor: pointer;
  position: absolute;
  top: 45%;
  right: 10px;
  opacity: 0.5;
}
.eurosys-project-lightbox__nav--next { right:auto; left:10px; }
.eurosys-project-lightbox__nav:hover { opacity: 1; }
.eurosys-project-lightbox__stage { overflow: hidden; border-radius: 16px; min-height: 60vh; }
.eurosys-project-lightbox__image { width: 100%; height: 80vh; object-fit: contain; display: block; }
.eurosys-project-lightbox__thumbs { display: flex; gap: 10px; margin-top: 16px; overflow-x: auto; padding-bottom: 4px;
    align-items: center;
    justify-content: center; }
body[data-button-style^="rounded"] button.eurosys-project-lightbox__thumb {
  flex: 0 0 88px;
  width: 80px;
  height: 60px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 10px !important;
  overflow: hidden;
  background: #edf2f7;
  cursor: pointer;
}
.eurosys-project-lightbox__thumb.is-active { border-color: #35bdd2; }
.eurosys-project-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.eurosys-lightbox-open { overflow: hidden; }

@media (max-width: 767px) {
  .eurosys-project-lightbox__dialog { width: calc(100vw - 18px); margin: 9px auto; padding: 14px; border-radius: 14px; }
  .eurosys-project-lightbox__header { padding-inline: 12px 44px; position: absolute; }
  .eurosys-project-lightbox__title { font-size: 18px; }
  .eurosys-project-lightbox__body { grid-template-columns: 1fr; }
  .eurosys-project-lightbox__nav { display: none; }
  .eurosys-project-lightbox__stage, .eurosys-project-lightbox__image { min-height: 40vh; height: 40vh; }
}






.eurosys-service-single-workflow {
  background: #ffffff;
}
.eurosys-service-single-projects{
  background: #f3f4f7;
}
.eurosys-service-single--reference {
  direction: rtl;
  padding: 0 0 72px;
}

.eurosys-service-hero--reference {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #123d73;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
}
.eurosys-service-hero--reference .eurosys-service-hero__bg img {
  margin: auto;
}
.eurosys-service-hero__bg,
.eurosys-service-hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.eurosys-service-hero__bg img {
  object-fit: cover;
}

.eurosys-service-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 29, 56, 0.72) 0%, rgba(12, 51, 92, 0.72) 100%);
}

.eurosys-service-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  padding: 80px 24px 62px;
  text-align: center;
}

.eurosys-service-hero__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: 58px;
  line-height: 1.1;
  font-weight: 800;
}

.eurosys-service-hero__text {
  margin: 0 auto;
  max-width: 820px;
  color: rgba(255,255,255,.92);
  font-size: 17px;
  line-height: 1.9;
}

.eurosys-service-workflow--reference,
.eurosys-service-projects--reference,
.eurosys-service-cta--reference {
  width: min(100%, 1180px);
  margin: 0 auto;
  direction: rtl;
}

.eurosys-service-workflow--reference {
  padding: 80px 24px;
  background: #fff;
}

.eurosys-service-section-head--centered {
  text-align: center;
  display: block;
  margin-bottom: 60px;
}

.eurosys-service-section-head--centered h2 {
  margin: 0;
  color: #1b3a69;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
}

.eurosys-service-section-head--centered h2::after {
  content: "";
  display: block;
  width: 62px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: #35bdd2;
}

.eurosys-service-section-head--centered p {
  margin: 16px auto 0;
  max-width: 760px;
  color: #7b8797;
  font-size: 15px;
  line-height: 1.9;
}

.eurosys-service-workflow__grid--reference {
  display: grid;
  gap: 22px;
  align-items: start;
}

.eurosys-service-workflow__grid--reference.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eurosys-service-workflow__grid--reference.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eurosys-service-workflow__grid--reference.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eurosys-service-step--reference {
  text-align: center;
  padding: 12px 12px 0;
  background: transparent;
  border: 0;
}

.eurosys-service-step--reference .eurosys-service-step__icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 999px;
  background: #bfe7e5;
  color: #fff;
  font-size: 30px;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.2);
}

.eurosys-service-step--reference .eurosys-service-step__title {
  margin: 0 0 10px;
  color: #21334d;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
}

.eurosys-service-step--reference .eurosys-service-step__text {
  margin: 0 auto;
  max-width: 260px;
  color: #7d8898;
  font-size: 14px;
  line-height: 1.8;
}

.eurosys-service-projects--reference {
  padding: 100px 24px;
  background: #f3f4f7;
}

.eurosys-service-projects__masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
  align-items: start;
}

.eurosys-service-project-card--reference.is-wide {
  grid-column: span 2;
}

.eurosys-service-project-card--reference .eurosys-service-project-card__link {
  display: block;
  overflow: hidden;
  border-radius: 15px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.eurosys-service-project-card--reference .eurosys-service-project-card__media {
  position: relative;
  height: 300px;
  background: #dde5ee;
}

.eurosys-service-project-card--reference.is-wide .eurosys-service-project-card__media {
  height: 300px;
}

.eurosys-service-project-card--reference .eurosys-service-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.eurosys-service-project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 80%, rgba(0,0,0,.56) 100%);
}

.eurosys-service-project-card__caption {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 12px;
}

.row .col .eurosys-service-project-card__caption h3 {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.3);
}

.eurosys-service-cta--reference {
  padding: 80px 24px;
}

.eurosys-service-cta--reference .eurosys-service-cta__inner {
  margin: 0 auto;
  text-align: center;
  padding: 65px;
  border-radius: 16px;
  background: #1b3b6a;
  box-shadow: 0 14px 30px rgba(23, 63, 119, 0.16);
}

.eurosys-service-cta--reference .eurosys-service-cta__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 800;
}

.eurosys-service-cta--reference .eurosys-service-cta__text {
  margin: 0 auto 50px;
  max-width: 540px;
  color: rgba(255,255,255,.9);
  font-size: 1.25rem;
  line-height: 1.9;
}

.eurosys-service-cta--reference .eurosys-service-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 172px;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 15px;
  background: #fff;
  color: #1b3b6a !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .eurosys-service-section-head--centered h2 { font-size: 40px; }
}

@media (max-width: 991px) {
  .eurosys-service-hero__title { font-size: 44px; }
  .eurosys-service-workflow__grid--reference.columns-4,
  .eurosys-service-workflow__grid--reference.columns-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eurosys-service-projects__masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eurosys-service-project-card--reference.is-wide { grid-column: span 2; }
}

@media (max-width: 767px) {
  .eurosys-service-single--reference { padding-bottom: 48px; }
  .eurosys-service-hero--reference { min-height: 290px; }
  .eurosys-service-hero__inner { padding: 54px 18px 40px; }
  .eurosys-service-hero__title { font-size: 34px; }
  .eurosys-service-hero__text { font-size: 15px; }
  .eurosys-service-section-head--centered h2 { font-size: 32px; }
  .eurosys-service-workflow--reference,
  .eurosys-service-projects--reference,
  .eurosys-service-cta--reference { padding-left: 16px; padding-right: 16px; }
  .eurosys-service-workflow__grid--reference.columns-4,
  .eurosys-service-workflow__grid--reference.columns-3,
  .eurosys-service-workflow__grid--reference.columns-2,
  .eurosys-service-projects__masonry { grid-template-columns: 1fr; }
  .eurosys-service-project-card--reference.is-wide { grid-column: span 1; }
  .eurosys-service-project-card--reference .eurosys-service-project-card__media,
  .eurosys-service-project-card--reference.is-wide .eurosys-service-project-card__media { height: 220px; }
  .eurosys-service-cta--reference .eurosys-service-cta__inner { padding: 28px 20px; }
}


/* Hover enhancement for home project cards only */
.eurosys-service-project-card .eurosys-service-project-card__media {
  overflow: hidden;
}

.eurosys-service-project-card .eurosys-service-project-card__media img {
  transform: scale(1);
  transition: transform .7s ease, filter .45s ease;
}

.eurosys-service-project-card .eurosys-service-project-card__shade {
  background: linear-gradient(180deg, rgba(10,21,38,.14) 0%, rgba(10,21,38,.18) 34%, rgba(10,21,38,.62) 100%);
  opacity: .72;
  transition: opacity .45s ease, background .45s ease;
}

.eurosys-service-project-card .eurosys-service-project-card__caption {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 8px;
  padding: 18px 18px 16px;
}

.row .col .eurosys-service-project-card .eurosys-service-project-card__caption h3 {
  transform: translateY(0);
  transition: transform .38s ease, opacity .3s ease;
}

.eurosys-service-project-card .eurosys-service-project-card__attributes {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: max-height .45s ease, opacity .3s ease, transform .38s ease;
}

.eurosys-service-project-card .eurosys-service-project-card__attribute {
  display: block;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.6;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(0,0,0,.26);
  font-family: 'Vazirmatn';
}

.eurosys-service-project-card .eurosys-service-project-card__link:hover .eurosys-service-project-card__shade,
.eurosys-service-project-card .eurosys-service-project-card__link:focus-visible .eurosys-service-project-card__shade {
  opacity: 1;
  background: linear-gradient(180deg, rgba(10,21,38,.34) 0%, rgba(10,21,38,.44) 42%, rgba(10,21,38,.78) 100%);
}

.eurosys-service-project-card .eurosys-service-project-card__link:hover .eurosys-service-project-card__media img,
.eurosys-service-project-card .eurosys-service-project-card__link:focus-visible .eurosys-service-project-card__media img {
  transform: scale(1.04);
  filter: saturate(.96);
}

.eurosys-service-project-card .eurosys-service-project-card__link:hover .eurosys-service-project-card__caption h3,
.eurosys-service-project-card .eurosys-service-project-card__link:focus-visible .eurosys-service-project-card__caption h3 {
  transform: translateY(-8px);
}

.eurosys-service-project-card .eurosys-service-project-card__link:hover .eurosys-service-project-card__attributes,
.eurosys-service-project-card .eurosys-service-project-card__link:focus-visible .eurosys-service-project-card__attributes {
  max-height: 120px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .eurosys-service-project-card .eurosys-service-project-card__caption {
    padding: 14px 14px 12px;
  }

  .row .col .eurosys-service-project-card .eurosys-service-project-card__caption h3 {
    font-size: 15px;
  }

  .eurosys-service-project-card .eurosys-service-project-card__attributes {
    max-height: none;
    opacity: 1;
    transform: none;
  }

  .eurosys-service-project-card .eurosys-service-project-card__attribute {
    font-size: 13px;
  }
}