:root {
  --ektibly-navy: #12324b;
  --ektibly-blue: #087fc8;
  --ektibly-blue-soft: #eaf6fd;
  --ektibly-line: #d9e7f0;
  --ektibly-shadow: 0 14px 42px rgba(18, 50, 75, 0.1);
}

/* Compatibility for old Pro-style icon classes used by the legacy theme. */
.fa-light {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.service--item--icon,
.--citeyes-icon-in {
  display: grid !important;
  place-items: center;
}

.service--item--icon .--YC-before-back,
.--citeyes-icon-in {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: linear-gradient(145deg, #ffffff, var(--ektibly-blue-soft));
  border: 1px solid var(--ektibly-line);
  box-shadow: 0 10px 26px rgba(8, 127, 200, 0.13);
}

.service--item--icon i,
.--citeyes-icon-in i {
  color: var(--ektibly-blue) !important;
  font-size: 30px !important;
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  line-height: 1;
}

.--single--category--boxitem,
.--single--city--boxitem {
  border: 1px solid rgba(18, 50, 75, 0.08);
  box-shadow: var(--ektibly-shadow) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.--single--category--boxitem:hover,
.--single--city--boxitem:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 127, 200, 0.3);
  box-shadow: 0 20px 52px rgba(18, 50, 75, 0.16) !important;
}

.YC-serice-name,
.--city-name-- {
  color: var(--ektibly-navy) !important;
  font-weight: 700 !important;
}

/* Content must remain visible if the legacy animation script fails. */
@media (prefers-reduced-motion: reduce) {
  .animation-hidden {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .service--item--icon .--YC-before-back,
  .--citeyes-icon-in {
    width: 62px;
    height: 62px;
    border-radius: 18px;
  }

  .service--item--icon i,
  .--citeyes-icon-in i {
    font-size: 25px !important;
  }
}

/* Complete academic homepage refresh. */
.ektibly-home-page {
  background: #fff;
  color: #17354d;
}

.ektibly-home-page header.fixedintro {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(18, 50, 75, 0.08);
  box-shadow: 0 8px 30px rgba(18, 50, 75, 0.06);
  backdrop-filter: blur(18px);
}

.ektibly-home-page header .container {
  min-height: 88px;
}

.ektibly-home-page header .-site-logo img {
  max-height: 64px;
  width: auto;
  filter: none !important;
}

.ektibly-home-page header .--Site--Menu > ul > li > a {
  color: var(--ektibly-navy) !important;
  font-weight: 600;
}

.ektibly-home-page header .--Site--Menu > ul > li > a:hover,
.ektibly-home-page header .--Site--Menu > ul > li.current-menu-item > a {
  color: var(--ektibly-blue) !important;
}

.ekt-default-menu {
  display: flex !important;
  align-items: center;
  gap: 3px;
}

.ekt-header-cta {
  min-height: 44px;
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 13px;
  color: #fff !important;
  background: linear-gradient(135deg, #087fc8, #15a0df);
  box-shadow: 0 10px 24px rgba(8, 127, 200, .22);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}

.ekt-header-cta i { font-size: 17px; }

.ekt-home,
.ekt-home * {
  box-sizing: border-box;
}

.ekt-home {
  overflow: hidden;
  background: #fff;
  font-family: Alexandria, system-ui, sans-serif;
}

.ekt-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.ekt-section {
  padding: 105px 0;
}

.ekt-hero {
  position: relative;
  min-height: 760px;
  padding: 180px 0 110px;
  background:
    radial-gradient(circle at 18% 20%, rgba(35, 158, 219, 0.15), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(18, 50, 75, 0.1), transparent 32%),
    linear-gradient(135deg, #f8fcff 0%, #edf8ff 48%, #fff 100%);
}

.ekt-hero::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 88px;
  background: #fff;
  clip-path: polygon(0 62%, 100% 0, 100% 100%, 0 100%);
}

.ekt-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 80px;
}

.ekt-eyebrow,
.ekt-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #087fc8;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ekt-eyebrow {
  padding: 10px 15px;
  border: 1px solid rgba(8, 127, 200, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(18, 50, 75, 0.05);
}

.ekt-hero h1 {
  margin: 25px 0 22px;
  color: #12324b;
  font-size: clamp(42px, 5vw, 67px);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.ekt-hero h1 span {
  color: #087fc8;
}

.ekt-hero-copy > p {
  max-width: 650px;
  margin: 0;
  color: #536d80;
  font-size: 18px;
  line-height: 2;
}

.ekt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ekt-btn {
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.ekt-btn:hover {
  transform: translateY(-3px);
}

.ekt-btn-primary {
  color: #fff !important;
  background: linear-gradient(135deg, #087fc8, #14a0e0);
  box-shadow: 0 13px 30px rgba(8, 127, 200, 0.26);
}

.ekt-btn-secondary {
  color: #12324b !important;
  background: #fff;
  border-color: #d9e7f0;
  box-shadow: 0 9px 24px rgba(18, 50, 75, 0.07);
}

.ekt-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: #466175;
  font-size: 14px;
}

.ekt-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ekt-trust-list i {
  color: #15955c;
}

.ekt-hero-visual {
  position: relative;
  min-height: 480px;
  display: grid;
  place-items: center;
}

.ekt-orbit {
  position: absolute;
  border: 1px solid rgba(8, 127, 200, 0.16);
  border-radius: 50%;
}

.ekt-orbit-one { width: 450px; height: 450px; }
.ekt-orbit-two { width: 340px; height: 340px; border-style: dashed; }

.ekt-visual-card {
  position: relative;
  z-index: 2;
  width: 310px;
  min-height: 385px;
  padding: 36px;
  border: 1px solid rgba(18, 50, 75, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 35px 80px rgba(18, 50, 75, 0.17);
  transform: rotate(-3deg);
}

.ekt-visual-card::before {
  content: "A+";
  width: 74px;
  height: 74px;
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #12324b, #087fc8);
  font-size: 24px;
  font-weight: 800;
}

.ekt-mini-label {
  display: block;
  margin-top: 100px;
  color: #12324b;
  font-size: 19px;
  font-weight: 800;
}

.ekt-paper-lines { margin-top: 27px; }
.ekt-paper-lines span { display: block; height: 8px; margin-bottom: 14px; border-radius: 10px; background: #e7eff5; }
.ekt-paper-lines span:nth-child(2) { width: 82%; }
.ekt-paper-lines span:nth-child(3) { width: 92%; }
.ekt-paper-lines span:nth-child(4) { width: 64%; }

.ekt-score {
  margin-top: 31px;
  padding: 13px;
  border-radius: 13px;
  color: #16744b;
  background: #eaf8f1;
  font-size: 13px;
  font-weight: 700;
}

.ekt-floating-card {
  position: absolute;
  z-index: 3;
  min-width: 175px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(18, 50, 75, 0.08);
  border-radius: 17px;
  color: #12324b;
  background: #fff;
  box-shadow: 0 18px 45px rgba(18, 50, 75, 0.13);
  font-size: 13px;
  font-weight: 700;
}

.ekt-floating-card i { color: #087fc8; font-size: 22px; }
.ekt-card-top { top: 55px; right: 0; }
.ekt-card-bottom { bottom: 45px; left: 5px; }

.ekt-stats { position: relative; z-index: 2; margin-top: -35px; }
.ekt-stats-grid {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #e1edf4;
  border-radius: 25px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(18, 50, 75, 0.1);
}

.ekt-stats-grid > div { padding: 5px 25px; text-align: center; border-left: 1px solid #e7eff4; }
.ekt-stats-grid > div:last-child { border-left: 0; }
.ekt-stats-grid strong { display: block; color: #087fc8; font-size: 28px; font-weight: 800; }
.ekt-stats-grid span { color: #607788; font-size: 13px; }

.ekt-section-heading { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.ekt-section-heading h2,
.ekt-why h2,
.ekt-regions h2,
.ekt-faq h2 {
  margin: 13px 0 17px;
  color: #12324b;
  font-size: clamp(30px, 3.7vw, 45px);
  line-height: 1.45;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.ekt-section-heading p,
.ekt-why-copy > p,
.ekt-regions-copy > p,
.ekt-faq-intro > p { color: #637b8c; line-height: 1.95; font-size: 16px; }

.ekt-services { background: #fff; }
.ekt-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ekt-service-card {
  min-height: 310px;
  border: 1px solid #e3edf3;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 13px 38px rgba(18, 50, 75, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ekt-service-card:hover { transform: translateY(-8px); border-color: rgba(8, 127, 200, 0.3); box-shadow: 0 24px 55px rgba(18, 50, 75, 0.14); }
.ekt-service-card > a { min-height: 310px; padding: 28px; display: flex; flex-direction: column; color: inherit !important; text-decoration: none !important; }
.ekt-service-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 19px; color: #087fc8; background: #eaf7ff; font-size: 26px; }
.ekt-service-card:nth-child(2n) .ekt-service-icon { color: #315f8f; background: #edf3fb; }
.ekt-service-card h3 { margin: 23px 0 11px; color: #12324b; font-size: 18px; line-height: 1.55; font-weight: 750; }
.ekt-service-card p { margin: 0; color: #6a7f8e; font-size: 13px; line-height: 1.9; }
.ekt-card-link { margin-top: auto; padding-top: 19px; display: flex; align-items: center; gap: 8px; color: #087fc8; font-size: 13px; font-weight: 700; }

.ekt-why { background: linear-gradient(135deg, #0e2c43, #154967); color: #fff; }
.ekt-why-grid { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: 85px; align-items: center; }
.ekt-why .ekt-kicker { color: #71c7f1; }
.ekt-why h2 { color: #fff; }
.ekt-why-copy > p { color: #c8d8e3; }
.ekt-text-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 9px; color: #78cff6 !important; font-weight: 700; }
.ekt-benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.ekt-benefits-grid article { padding: 24px; display: flex; gap: 17px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.07); }
.ekt-benefits-grid article > span { flex: 0 0 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: #75cff5; background: rgba(113,199,241,.12); font-size: 21px; }
.ekt-benefits-grid h3 { margin: 1px 0 7px; color: #fff; font-size: 16px; }
.ekt-benefits-grid p { margin: 0; color: #bed0dc; font-size: 12px; line-height: 1.8; }

.ekt-process { background: #f7fbfd; }
.ekt-process-grid { margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; list-style: none; }
.ekt-process-grid li { position: relative; min-height: 250px; padding: 30px; border: 1px solid #dfebf2; border-radius: 22px; background: #fff; }
.ekt-process-grid li > i { margin-top: 35px; color: #087fc8; font-size: 30px; }
.ekt-step-number { position: absolute; top: 23px; left: 24px; color: #d4e6f1; font-size: 29px; font-weight: 800; }
.ekt-process-grid h3 { margin: 22px 0 9px; color: #12324b; font-size: 17px; }
.ekt-process-grid p { margin: 0; color: #687e8e; font-size: 13px; line-height: 1.8; }

.ekt-regions { background: #fff; }
.ekt-regions-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: center; }
.ekt-region-links { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.ekt-region-links a { min-height: 72px; padding: 0 18px; display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 10px; border: 1px solid #e1ebf2; border-radius: 17px; color: #12324b !important; background: #fff; box-shadow: 0 10px 28px rgba(18,50,75,.06); text-decoration: none !important; transition: .22s ease; }
.ekt-region-links a:hover { transform: translateX(-4px); border-color: rgba(8,127,200,.3); }
.ekt-region-links a > i:first-child { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: #087fc8; background: #edf8fe; }
.ekt-region-links a > i:last-child { color: #93a8b6; font-size: 12px; }

.ekt-faq { background: #f7fbfd; }
.ekt-faq-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.ekt-faq-intro { position: sticky; top: 130px; }
.ekt-faq-list details { margin-bottom: 13px; border: 1px solid #dfeaf1; border-radius: 17px; background: #fff; overflow: hidden; }
.ekt-faq-list summary { min-height: 72px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 15px; color: #12324b; cursor: pointer; font-size: 15px; font-weight: 700; list-style: none; }
.ekt-faq-list summary::-webkit-details-marker { display: none; }
.ekt-faq-list summary i { color: #087fc8; transition: transform .2s ease; }
.ekt-faq-list details[open] summary i { transform: rotate(45deg); }
.ekt-faq-list details > div { padding: 0 22px 20px; color: #647b8c; font-size: 13px; line-height: 1.9; }
.ekt-faq-list details > div p { margin: 0; }

.ekt-final-cta { padding: 85px 0; color: #fff; background: linear-gradient(135deg, #087fc8, #0b99d7); }
.ekt-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.ekt-cta-inner > div { max-width: 760px; }
.ekt-cta-inner span { color: #c9efff; font-size: 14px; font-weight: 700; }
.ekt-cta-inner h2 { margin: 10px 0; color: #fff; font-size: clamp(28px, 3.4vw, 43px); line-height: 1.5; }
.ekt-cta-inner p { margin: 0; color: #d9f3ff; }
.ekt-btn-white { flex: 0 0 auto; color: #087fc8 !important; background: #fff; box-shadow: 0 15px 35px rgba(8,70,105,.2); }

.ektibly-home-page footer { margin-top: 0; }
.ektibly-home-page footer .--YC-footer-- { background: #0d2c43 !important; }
.ektibly-home-page footer .footer-left { padding-top: 65px; }
.ektibly-home-page footer .-footer-widgets-title { color: #fff; font-weight: 700; }
.ektibly-home-page footer a,
.ektibly-home-page footer .-footer-p-content { color: #c1d3de !important; }

@media (max-width: 1050px) {
  .ekt-hero-grid { gap: 35px; }
  .ekt-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ekt-why-grid,
  .ekt-regions-layout,
  .ekt-faq-layout { grid-template-columns: 1fr; gap: 45px; }
  .ekt-faq-intro { position: static; }
  .ekt-process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1170px) {
  .ekt-header-cta span { display: none; }
  .ekt-header-cta { width: 44px; padding: 0; justify-content: center; }
  .ekt-default-menu { display: block !important; }
}

@media (max-width: 820px) {
  .ekt-section { padding: 78px 0; }
  .ekt-hero { min-height: auto; padding: 145px 0 100px; }
  .ekt-hero-grid { grid-template-columns: 1fr; text-align: center; }
  .ekt-hero-copy > p { margin-inline: auto; }
  .ekt-actions,
  .ekt-trust-list { justify-content: center; }
  .ekt-hero-visual { min-height: 420px; }
  .ekt-stats-grid { grid-template-columns: 1fr 1fr; gap: 22px 0; }
  .ekt-stats-grid > div:nth-child(2) { border-left: 0; }
  .ekt-cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  .ekt-container { width: min(100% - 28px, 1180px); }
  .ekt-hero { padding-top: 125px; }
  .ekt-hero h1 { font-size: 38px; }
  .ekt-hero-copy > p { font-size: 15px; }
  .ekt-actions { flex-direction: column; }
  .ekt-btn { width: 100%; }
  .ekt-trust-list { gap: 12px; font-size: 12px; }
  .ekt-hero-visual { min-height: 350px; transform: scale(.86); margin-inline: -30px; }
  .ekt-orbit-one { width: 390px; height: 390px; }
  .ekt-orbit-two { width: 290px; height: 290px; }
  .ekt-visual-card { width: 270px; min-height: 340px; }
  .ekt-card-top { right: 5px; }
  .ekt-card-bottom { left: 5px; }
  .ekt-stats { margin-top: -20px; }
  .ekt-stats-grid { padding: 23px 10px; border-radius: 20px; }
  .ekt-stats-grid > div { padding: 6px 10px; }
  .ekt-stats-grid strong { font-size: 22px; }
  .ekt-stats-grid span { font-size: 11px; }
  .ekt-services-grid,
  .ekt-benefits-grid,
  .ekt-process-grid,
  .ekt-region-links { grid-template-columns: 1fr; }
  .ekt-service-card,
  .ekt-service-card > a { min-height: 275px; }
  .ekt-section-heading { margin-bottom: 34px; }
  .ekt-section-heading h2,
  .ekt-why h2,
  .ekt-regions h2,
  .ekt-faq h2 { font-size: 29px; }
  .ekt-benefits-grid article { padding: 20px; }
  .ekt-process-grid li { min-height: 220px; }
  .ekt-final-cta { padding: 65px 0; }
}
