@font-face {
  font-family: "CairoLocal";
  src: url("../vendors/Cairo/static/Cairo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CairoLocal";
  src: url("../vendors/Cairo/static/Cairo-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CairoLocal";
  src: url("../vendors/Cairo/static/Cairo-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CairoLocal";
  src: url("../vendors/Cairo/static/Cairo-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "CairoLocal";
  src: url("../vendors/Cairo/static/Cairo-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --home-navy: #061a3d;
  --home-navy-soft: #0b2e63;
  --home-blue: #176ed2;
  --home-blue-bright: #3f8cff;
  --home-blue-light: #eaf3ff;
  --home-white: #ffffff;
  --home-bg: #f2f6fb;

  --home-text: #061a3d;
  --home-muted: #0b2e63;
  --home-muted-soft: #123f72;

  --home-border: #c6d5e6;
  --home-shadow: rgba(14, 44, 84, 0.12);
}

.home-page {
  min-height: 100vh;
  background: var(--home-bg);
  color: var(--home-text);
  font-family: "CairoLocal", Tahoma, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.home-page button,
.home-page a,
.home-page input,
.home-page select,
.home-page textarea,
.home-page p,
.home-page span,
.home-page small,
.home-page strong,
.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page h5,
.home-page h6,
.home-page li,
.home-page td,
.home-page th,
.home-page label {
  font-family: "CairoLocal", Tahoma, "Segoe UI", Arial, sans-serif;
}

.home-page .fa,
.home-page .fas,
.home-page [class^="fa-"],
.home-page [class*=" fa-"] {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

.home-page .far {
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 400 !important;
}

.home-page .fab {
  font-family: "Font Awesome 5 Brands" !important;
  font-weight: 400 !important;
}


.home-page .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.home-page .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 400 !important;
}

.home-page .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}


.home-page i.fa,
.home-page i.fas,
.home-page i.far,
.home-page i.fab,
.home-page i.fa-solid,
.home-page i.fa-regular,
.home-page i.fa-brands {
  font-style: normal !important;
}


.home-page a {
  color: inherit;
}

.home-shell {
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
}

.home-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background:
    linear-gradient(90deg,
      rgba(4, 18, 45, 0.96) 0%,
      rgba(5, 35, 78, 0.88) 38%,
      rgba(7, 62, 133, 0.42) 68%,
      rgba(8, 75, 157, 0.08) 100%),
    url("../images/home-hero.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 18%, rgba(64, 140, 255, 0.18), transparent 34%),
    linear-gradient(to top, rgba(2, 15, 38, 0.3), transparent 52%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  min-height: 360px;
  padding-top: 38px;
  padding-bottom: 92px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--home-white);
}

.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--home-white);
  font-size: 13px;
  font-weight: 800;
}

.home-hero h1 {
  max-width: 760px;
  margin: 14px 0 10px;
  color: var(--home-white);
  font-size: clamp(30px, 3.5vw, 46px);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0;
}

.home-hero h1 span {
  display: block;
  color: #a7d3ff;
}

.home-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 16px;
  line-height: 2;
  font-weight: 600;
}

.home-hero__actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-button {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.home-button:hover {
  transform: translateY(-2px);
}

.home-button--primary {
  background: var(--home-white);
  color: var(--home-navy);
}

.home-button--outline {
  border: 1px solid rgba(255, 255, 255, 0.62);
  color: var(--home-white);
  background: rgba(255, 255, 255, 0.05);
}

.home-hero__stats {
  position: relative;
  z-index: 5;
  margin-top: -54px;
  margin-bottom: 45px;
  padding: 0;
}

.home-hero__stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(4, 27, 65, 0.94);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0, 16, 44, 0.24);
}

.home-stat-item {
  min-height: 96px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.home-stat-item:last-child {
  border-left: 0;
}

.home-stat-item > i {
  color: #a7d3ff;
  font-size: 28px;
}

.home-stat-item div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-stat-item strong {
  color: var(--home-white);
  font-size: 17px;
  font-weight: 800;
}

.home-stat-item span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 700;
}

.home-section-heading {
  margin-bottom: 34px;
  text-align: center;
}

.home-section-heading > span {
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 800;
}

.home-section-heading h2 {
  margin: 7px 0 6px;
  color: var(--home-navy);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.45;
}

.home-section-heading p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
}

.home-paths-section {
  padding: 70px 0 85px;
}

.home-paths-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.home-path-card {
  min-height: 455px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #c3d3e5;
  border-radius: 22px;
  background: var(--home-white);
  box-shadow: 0 16px 36px var(--home-shadow);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.home-path-card:hover {
  transform: translateY(-7px);
  border-color: #80a8d5;
  box-shadow: 0 24px 46px rgba(16, 45, 84, 0.16);
}

.home-path-card__image {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.home-path-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.home-path-card:hover .home-path-card__image img {
  transform: scale(1.05);
}

.home-path-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 25, 58, 0.45), transparent 62%);
}

.home-path-card__image--icon {
  height: 175px;
  min-height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--home-navy);
}

.home-path-card__image--icon img {
  display: none;
}

.home-path-card__image--icon::before {
  content: "";
  position: absolute;
  width: 138px;
  height: 138px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.home-path-card__image--icon::after {
  content: "";
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  transform: rotate(12deg);
}

.home-path-card__image--icon > i {
  position: relative;
  z-index: 2;
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--home-white);
  font-size: 36px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
}

.home-path-card__number {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(6, 26, 61, 0.86);
  color: var(--home-white);
  font-size: 11px;
  font-weight: 800;
}

.home-path-card__content {
  position: relative;
  flex: 1;
  padding: 35px 20px 20px;
  display: flex;
  flex-direction: column;
}

.home-path-card__icon {
  position: absolute;
  top: -28px;
  right: 20px;
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--home-white);
  border-radius: 16px;
  background: var(--home-navy);
  color: var(--home-white);
  font-size: 21px;
  box-shadow: 0 8px 18px rgba(7, 26, 61, 0.22);
}

.home-path-card__label {
  color: var(--home-blue);
  font-size: 12px;
  font-weight: 800;
}

.home-path-card h3 {
  margin: 7px 0 9px;
  color: var(--home-navy);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.55;
}

.home-path-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 2;
}

.home-path-card a {
  min-height: 43px;
  margin-top: auto;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  border-radius: 9px;
  background: #edf4fb;
  color: var(--home-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.home-path-card a:hover {
  background: var(--home-navy);
  color: var(--home-white);
}

.home-featured-section {
  padding: 80px 0;
  background: var(--home-white);
}

.home-featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: center;
}

.home-featured-label {
  color: var(--home-blue);
  font-size: 13px;
  font-weight: 800;
}

.home-featured-content h2 {
  margin: 8px 0 14px;
  color: var(--home-navy);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.45;
}

.home-featured-content h2 span {
  color: var(--home-blue);
}

.home-featured-content > p {
  margin: 0;
  color: var(--home-muted);
  font-size: 16px;
  line-height: 2;
  font-weight: 600;
}

.home-featured-list {
  margin-top: 25px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.home-featured-list > div {
  min-height: 50px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: #f8fbff;
}

.home-featured-list i {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--home-blue-light);
  color: var(--home-blue);
  font-size: 10px;
}

.home-featured-list span {
  color: var(--home-text);
  font-size: 13px;
  font-weight: 800;
}

.home-featured-visual {
  position: relative;
}

.home-featured-visual__main {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(12, 42, 82, 0.16);
}

.home-featured-visual__main img {
  width: 100%;
  height: 390px;
  display: block;
  object-fit: cover;
}

.home-featured-visual__badge {
  position: absolute;
  right: -25px;
  bottom: 28px;
  min-width: 220px;
  padding: 17px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 15px;
  background: var(--home-navy);
  color: var(--home-white);
  box-shadow: 0 15px 32px rgba(6, 26, 61, 0.3);
}

.home-featured-visual__badge > i {
  font-size: 25px;
  color: #a7d3ff;
}

.home-featured-visual__badge div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.home-featured-visual__badge strong {
  color: var(--home-white);
  font-size: 14px;
  font-weight: 800;
}

.home-featured-visual__badge span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.home-why-section {
  padding: 80px 0 90px;
}

.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-why-card {
  min-height: 210px;
  padding: 24px 21px;
  border: 1px solid var(--home-border);
  border-radius: 18px;
  background: var(--home-white);
  box-shadow: 0 12px 28px rgba(17, 48, 87, 0.07);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.home-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(17, 48, 87, 0.11);
}

.home-why-card__icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--home-blue-light);
  color: var(--home-blue);
  font-size: 20px;
}

.home-why-card h3 {
  margin: 0 0 8px;
  color: var(--home-navy);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.55;
}

.home-why-card p {
  margin: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 2;
  font-weight: 600;
}

.home-cta-section {
  padding: 0 0 80px;
}

.home-cta-card {
  min-height: 180px;
  padding: 35px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 24px;
  background:
    linear-gradient(120deg,
      rgba(5, 24, 58, 0.98),
      rgba(9, 55, 117, 0.94));
  color: var(--home-white);
  box-shadow: 0 20px 44px rgba(6, 26, 61, 0.22);
}

.home-cta-card__content > span {
  color: #a7d3ff;
  font-size: 12px;
  font-weight: 800;
}

.home-cta-card h2 {
  margin: 6px 0 5px;
  color: var(--home-white);
  font-size: 28px;
  font-weight: 800;
}

.home-cta-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.9;
  font-weight: 600;
}

.home-cta-card > a {
  min-height: 47px;
  padding: 0 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 9px;
  background: var(--home-white);
  color: var(--home-navy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .home-paths-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-featured-grid {
    gap: 40px;
  }
}

@media (max-width: 850px) {
  .home-hero__stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-stat-item:nth-child(2) {
    border-left: 0;
  }

  .home-featured-grid {
    grid-template-columns: 1fr;
  }

  .home-featured-visual {
    order: -1;
  }

  .home-featured-visual__badge {
    right: 20px;
  }

  .home-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-shell {
    width: calc(100% - 28px);
  }

  .home-hero {
    min-height: auto;
    background-position: 58% center;
  }

  .home-hero__content {
    min-height: 330px;
    padding-top: 34px;
    padding-bottom: 80px;
    align-items: center;
    text-align: center;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .home-hero p {
    font-size: 15px;
    line-height: 1.9;
  }

  .home-hero__actions {
    justify-content: center;
  }

  .home-hero__stats {
    margin-top: -42px;
    margin-bottom: 32px;
  }

  .home-hero__stats-grid {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }

  .home-stat-item {
    min-height: 82px;
    border-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .home-stat-item:last-child {
    border-bottom: 0;
  }

  .home-paths-section,
  .home-featured-section,
  .home-why-section {
    padding: 55px 0;
  }

  .home-paths-grid,
  .home-why-grid {
    grid-template-columns: 1fr;
  }

  .home-path-card {
    min-height: auto;
  }

  .home-path-card__image,
  .home-path-card__image--icon {
    height: 145px;
    min-height: 145px;
  }

  .home-path-card__image--icon::before {
    width: 115px;
    height: 115px;
  }

  .home-path-card__image--icon::after {
    width: 72px;
    height: 72px;
  }

  .home-path-card__image--icon > i {
    width: 68px;
    height: 68px;
    font-size: 30px;
    border-radius: 20px;
  }

  .home-featured-list {
    grid-template-columns: 1fr;
  }

  .home-featured-visual__main img {
    height: 300px;
  }

  .home-featured-visual__badge {
    position: static;
    margin-top: 13px;
  }

  .home-cta-card {
    padding: 28px 20px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .home-cta-card > a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .home-shell {
    width: calc(100% - 22px);
  }

  .home-hero__content {
    min-height: 300px;
    padding-top: 30px;
    padding-bottom: 72px;
  }

  .home-hero h1 {
    font-size: 26px;
  }

  .home-hero__actions {
    width: 100%;
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-section-heading h2 {
    font-size: 27px;
  }

  .home-path-card h3 {
    font-size: 22px;
  }

  .home-cta-card h2 {
    font-size: 22px;
  }
}