@font-face {
  font-family: "DiodrumCyrillic";
  src: url("/iqnova/assets/fonts/DiodrumCyrillic-Regular.woff") format("truetype");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "DiodrumCyrillic";
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  color: #000;
  overflow-x: hidden;
}

.csp-header,
.csp-header * {
  box-sizing: border-box;
}

.csp-header {
  width: 100%;
  background:
    radial-gradient(
      120% 180% at 100% 0%,
      rgba(124, 50, 201, 0.55),
      transparent 55%
    ),
    linear-gradient(180deg, #2a206a 0%, #2a206a 100%);
  position: relative;
}

/* .csp-header::before {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg,
                    rgba(0, 0, 0, 0.45) 0%,
                    rgba(0, 0, 0, 0.45) 100%);
            z-index: 1;
        } */

.csp-header-accent {
  height: 3px;
  background: #1cc182;
}

.csp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  gap: 16px;
  padding: 15px 4px;
  flex-wrap: wrap;
  border-bottom: 1px solid #d7dde832;
}

.csp-header-left {
  min-width: 0;
}

.csp-header-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #7f93b8;
  font-weight: 500;
  line-height: 1.3;
}

.csp-header-title-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 2px;
  flex-wrap: wrap;
}

.csp-header-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  z-index: 2;
}
/* 
.csp-header-right {
  display: flex;
  align-items: center;
  z-index: 2;
}
*/
.csp-header-credit {
  text-align: end;
  line-height: 1.3;
}

.csp-header-credit-main {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
} 

.csp-header-credit-top {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #7f93b8;
}

/* Responsive */
@media (max-width: 640px) {
  .csp-header-row {
    /* flex-direction: column; */
    /* align-items: flex-start; */
    gap: 14px;
    padding: 16px 14px;
  }

  /* .csp-header-right {
    width: 100%;
    display: none;
  }

  .csp-header-credit {
    text-align: start;
  } */

  .logo-header-right {
    width: 100%;
    display: none!important;
  }

  .logo-header-credit {
    text-align: start;
  }
}

.logos-section{
  background-color: #2a206a;
}
.logos-section > div {
  /* padding-inline: 10px; */
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.sponser-section {
  max-width: 1240px;
  /* margin: 0 auto; */
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 25px;
  padding: 10px 4px;
  color: #fff;
}

.sponser-section img {
    width: 96px;
}

.logo-header-right {
  display: flex;
  align-items: center;
  z-index: 2;
}

.logo-header-credit {
  text-align: end;
  line-height: 1.3;
}

.logo-header-credit-main {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.logo-header-credit-top {
  margin-top: 2px;
  font-size: 11px;
  font-weight: 500;
  color: #7f93b8;
}

.cloud-academy-banner {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  background-color: #070719;
  background-image: url("/iqnova/assets/images/hero-banner.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 54px 60px;
  box-sizing: border-box;
  overflow: hidden;
}

.cloud-academy-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(124, 50, 201, 0.45) 0%,
    rgba(12, 12, 12, 0.25) 45%,
    rgba(25, 25, 25, 0.05) 100%
  );
  z-index: 1;
}

.cloud-academy-banner .cloud-academy-content {
  width: 100%;
  max-width: 1240px;
  text-align: start;
  color: #ffffff;
  box-sizing: border-box;
  z-index: 2;
}

.cloud-academy-banner .cloud-academy-content h1 {
  margin: 0 0 24px;
  font-size: clamp(32px, 8vw, 56px);
  line-height: 1.05;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
  word-break: normal;
  overflow-wrap: break-word;
  text-shadow: 0px 3.62px 6.6px rgba(0, 0, 0, 0.5);
}

.cloud-academy-banner .cloud-academy-content p {
  max-width: 550px;
  font-size: clamp(18px, 2vw, 20px);
  line-height: 1.45;
  font-weight: 400;
  color: #ffffff;
  overflow-wrap: break-word;
  padding-bottom: 20px;
}

/* Mobile */
@media (max-width: 600px) {
  .sponser-section span {
    font-size: 12px;
    white-space: nowrap;
  }

  .sponser-logo {
    max-height: 18px;
    object-fit: contain;
  }

  .cloud-academy-banner {
    min-height: 520px;
    padding: 70px 18px;
    background-position: center;
    background-repeat: no-repeat;
  }

  .cloud-academy-banner .cloud-academy-content h1 {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
  }

  .cloud-academy-banner .cloud-academy-content p {
    font-size: 16px;
    line-height: 1.55;
  }
}

.programme-info-section {
  /* background: linear-gradient(to bottom,
                    #2A206A 0%,
                    #2A206A 42%,
                    #f4f7fb 42%,
                    #f4f7fb 100%); */
  margin-top: clamp(-90px, -6vw, -40px);
  position: relative;
  padding: 0 clamp(20px, 5vw, 60px) clamp(10px, 3vw, 40px);
  z-index: 4;
}

.programme-info-section .programme-info-card {
  background: #ffffff;
  border-radius: 18px;
  border-left: 6px solid #7c32c9;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);

  padding: clamp(20px, 3vw, 34px) clamp(15px, 4vw, 40px);

  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));

  align-items: center;
  gap: clamp(10px, 3vw, 35px);

  max-width: 1240px;
  margin: 0 auto;
}

.programme-info-section .programme-info-box {
  min-height: 100px;
  border-right: 1px solid #d9e1ec;
  padding-inline-end: clamp(15px, 3vw, 35px);
}

.programme-info-section .programme-info-box.no-border {
  border-right: none;
  padding-inline-end: 0;
}

.programme-info-section .programme-info-box span {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #6d7482;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.programme-info-section .programme-info-box h4 {
  font-size: 18px;
  line-height: 1.45;
  color: #2a206a;
  font-weight: 500;
  margin: 0;
}

/* Responsive */
@media (max-width: 1100px) {
  .programme-info-section .programme-info-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .programme-info-section .programme-info-box {
    border-right: none;
    border-bottom: 1px solid #d9e1ec;
    /* padding-bottom: 22px; */
  }

  .programme-info-section .programme-info-box.no-border {
    border-bottom: none;
  }
}

@media (max-width: 600px) {
  .programme-info-section .programme-info-card {
    grid-template-columns: 1fr;
    padding: 10px 10px;
    border-bottom: 6px solid #7c32c9;
    border-left: none;
    /* gap: 22px; */
  }

  

  .programme-info-section .programme-info-box {
    min-height: auto;
  }

  .programme-info-section .programme-info-box span {
    margin-bottom: 4px;
  }

  .programme-info-section .programme-info-box h4 {
    font-size: 18px;
    padding-bottom: 12px;
  }
}

/* Program section start */

.program-section {
  padding: 50px 18px;
  max-width: 1240px;
  margin: auto;
}

.program-section .section-tag {
  color: #7c32c9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  /* text-transform: uppercase; */
  margin-bottom: 15px;
}

.program-section .section-title {
  margin-bottom: 16px;
  font-size: 36px;
  color: #2a206a;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 20px;
}

.program-section .section-subtitle {
  font-size: 18px;
  color: #000;
  margin-bottom: 30px;
}

.program-section .tracks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.program-section .track-card {
  border: 1px solid #d7dde8;
  border-radius: 14px;
  padding: 15px;
  min-height: 292px;
  background: #fff;
  box-shadow:
    0 1px 2px rgba(15, 39, 69, 0.04),
    0 24px 60px -28px rgba(15, 39, 69, 0.12);
}
.program-section .track-card:hover {
  box-shadow:
    0 1px 2px rgba(15, 39, 69, 0.04),
    0 24px 60px -28px rgba(15, 39, 69, 0.32);
  transform: translateY(-4px);
  transition: 0.3s ease;
}

.program-section .track-card .card-top {
  display: flex;
  gap: 26px;
  margin-bottom: 20px;
}

.program-section .track-image {
  width: 120px;
  height: auto;
  /* aspect-ratio: 1.48; */
  min-width: 120px;
  /* border: 2px dashed #9daabc; */
  background: #eef1f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8b98aa;
  font-size: 30px;
}

.program-section .track-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.program-section .course-level {
  color: #7c32c9;
  display: inline-flex;
  align-items: center;
  max-width: fit-content;
  gap: 6px;
  justify-content: flex-start;
  font-size: 10px;
  font-weight: 500;
  background: #f3e8ff;
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.program-section .track-title {
  font-size: clamp(20px, 1.2vw + 0.5rem, 24px);
  color: #2a206a;
  font-weight: 600;
  line-height: 1.2;
}

.program-section .track-desc {
  font-size: 15.5px;
  color: #3f4a61;
  line-height: 1.3;
  margin-bottom: 12px;
}

.program-section .track-info {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
  border-top: 1px solid #cfd7e3;
  padding-top: 14px;
}

.program-section .track-info > *:not(:first-child) {
  border-left: 2px solid #cfd7e3;
  padding-inline-start: 25px;
}

.program-section .track-info .info-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.program-section .info-label {
  font-size: 10px;
  color: #7c32c9;
  font-weight: 500;
  text-transform: uppercase;
}

.program-section .info-text {
  font-size: 14px;
  font-weight: 400;
  color: #222;
}

.btn-register {
  width: 140px;
  height: 39px;
  text-decoration: none;
  padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background: #1cc182;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-login {
  width: 120px;
  height: 39px;
  text-decoration: none;
  /* padding: 10px 16px;
  border: none;
  border-radius: 4px;
  background: #1cc182;
  color: #fff; */
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: 0.3s ease;

  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);

  /* background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7); */
  border-radius: 999px;
  padding: 9px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;


}

.btn-login:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-register:hover {
  background: #1caf79;
  transform: translateY(-2px);
}
@media (max-width: 600px) {
  .btn-login {
    width: 90px;
    height: 39px;
    padding: 10px 16px;
  }
}
@media (max-width: 900px) {
  .program-section .tracks-grid {
    grid-template-columns: 1fr;
  }

  .program-section .program-section {
    padding: 40px 24px;
  }
}

@media (max-width: 600px) {
  .program-section .track-card {
    flex-direction: column;
  }

  .program-section .track-card .card-top {
    flex-direction: column;
    gap: 16px;
  }

  .program-section .track-info > *:not(:first-child) {
    border-left: none;
    padding-inline-start: 0px;
  }

  .program-section .track-image {
    width: 100%;
    /* height: 130px; */
    object-fit: contain;
    /* align-items: flex-start; */
    object-position: left;
  }

  .program-section .section-title {
    font-size: 30px;
  }

  .program-section .track-info {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* footer */

.academy-footer-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  color: #e8edfb;
  background:
    radial-gradient(
      120% 140% at 0% 0%,
      rgba(43, 182, 115, 0.1) 0%,
      transparent 45%
    ),
    radial-gradient(
      120% 160% at 100% 0%,
      rgba(59, 130, 246, 0.14) 0%,
      transparent 50%
    ),
    linear-gradient(180deg, #2a206a, #2a206a);
}

.academy-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 18px 30px;
}

.academy-footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  flex-wrap: wrap;
}

.academy-footer-brand {
  max-width: 420px;
}

.academy-footer-brand h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.academy-footer-brand p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.5;
  color: #9aa6c8;
}

.academy-footer-brand strong {
  color: #cdd6f2;
  font-weight: 600;
}

.academy-footer-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.academy-footer-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #9aa6c8;
  text-decoration: none;
  transition: color 0.25s ease;
}

.academy-footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, #22d3ee, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.academy-footer-nav a:hover {
  color: #ffffff;
}

.academy-footer-nav a:hover::after {
  transform: scaleX(1);
}

.academy-footer-divider {
  height: 1px;
  margin: 38px 0 22px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.09) 12%,
    rgba(255, 255, 255, 0.09) 88%,
    transparent
  );
}

.academy-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.academy-footer-bottom p {
  margin: 0;
  max-width: 760px;
  font-size: 13px;
  line-height: 1.6;
  color: #6e7aa0;
}

.academy-footer-bottom strong {
  color: #9aa6c8;
  font-weight: 500;
}

.academy-footer-bottom p span {
  margin: 0 7px;
  opacity: 0.5;
}

.academy-footer-partners {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: #6e7aa0;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.academy-footer-partners span {
  position: relative;
}

.academy-footer-partners span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 1px;
  height: 11px;
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-50%);
}

@media (max-width: 880px) {
  .academy-footer-inner {
    padding: 46px 28px 26px;
  }

  .academy-footer-top {
    flex-direction: column;
    gap: 34px;
  }

  .academy-footer-nav {
    gap: 22px 26px;
  }

  .academy-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .academy-footer-inner {
    padding: 40px 20px 24px;
  }

  .academy-footer-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .academy-footer-bottom p {
    font-size: 12px;
  }

  .academy-footer-partners {
    flex-wrap: wrap;
  }
}

/* steps section */
.steps-section,
.steps-section * {
  box-sizing: border-box;
}

.steps-section {
  width: 100%;
  max-width: 1240px;
  background: #ffffff;
  border: 1px solid #d7dde8;
  border-radius: 28px;
  padding: 50px 54px;
  box-shadow:
    0 1px 2px rgba(15, 39, 69, 0.04),
    0 24px 60px -28px rgba(15, 39, 69, 0.32);
  position: relative;
  overflow: hidden;
  margin: 48px auto;
}

.steps-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 39, 69, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 69, 0.025) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(420px 320px at 100% 0%, #000, transparent 75%);
  pointer-events: none;
}

.steps-section .section-tag {
  color: #7c32c9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.steps-section .section-subtitle {
  font-size: 18px;
  color: #000000;
  margin-bottom: 30px;
}

.steps-section .section-title {
  margin: 0 0 20px;
  font-size: 36px;
  color: #2a206a;
  line-height: 1.2;
  font-weight: 500;
}

.steps-section .head {
  position: relative;
  margin-bottom: 60px;
  max-width: 640px;
}

.steps-section .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  position: relative;
}

.steps-section .rail {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 0;
}

.steps-section .rail .track {
  position: absolute;
  inset: 0;
  background: #e3e8f0;
  border-radius: 3px;
  margin: 0 12.5%;
}

.steps-section .rail .fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 12.5%;
  width: 75%;
  background: linear-gradient(90deg, #1273c4, #1e8a3c, #7b3fb0, #d4621a);
  border-radius: 3px;
  transform-origin: left center;
  transform: scaleX(0);
  animation: steps-draw 1.3s cubic-bezier(0.5, 0, 0.1, 1) 0.25s forwards;
}

@keyframes steps-draw {
  to {
    transform: scaleX(1);
  }
}

.steps-section .step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
  opacity: 0;
  transform: translateY(18px);
  animation: steps-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.steps-section .step:nth-child(2) {
  animation-delay: 0.3s;
}

.steps-section .step:nth-child(3) {
  animation-delay: 0.45s;
}

.steps-section .step:nth-child(4) {
  animation-delay: 0.6s;
}

.steps-section .step:nth-child(5) {
  animation-delay: 0.75s;
}

@keyframes steps-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.steps-section .badge {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #d7dde8;
  display: grid;
  place-items: center;
  position: relative;
  margin-bottom: 26px;
  transition:
    transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1),
    box-shadow 0.35s;
  box-shadow: 0 0 0 6px #ffffff;
}

.steps-section .badge .icon {
  width: 26px;
  height: 26px;
  transition: transform 0.35s;
}

.steps-section .badge .num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  display: grid;
  place-items: center;
  border: 2px solid #ffffff;
}

/* Step colors */
.steps-section .step:nth-child(2) .badge .icon {
  color: #1273c4;
}

.steps-section .step:nth-child(2) .badge .num {
  background: #1273c4;
}

.steps-section .step:nth-child(3) .badge .icon {
  color: #1e8a3c;
}

.steps-section .step:nth-child(3) .badge .num {
  background: #1e8a3c;
}

.steps-section .step:nth-child(4) .badge .icon {
  color: #7b3fb0;
}

.steps-section .step:nth-child(4) .badge .num {
  background: #7b3fb0;
}

.steps-section .step:nth-child(5) .badge .icon {
  color: #d4621a;
}

.steps-section .step:nth-child(5) .badge .num {
  background: #d4621a;
}

.steps-section .step h3 {
  font-size: 18px;
  color: #2a206a;
  margin: 0 0 10px;
}

.steps-section .step p {
  color: #000000;
  font-size: 14px;
  line-height: 1.55;
  max-width: 230px;
  margin: 0;
}

.steps-section .step:hover .badge {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 0 0 6px #ffffff,
    0 16px 30px -10px rgba(42, 32, 106, 0.35);
}

.steps-section .step:hover .badge .icon {
  transform: scale(1.08);
}

/* Responsive */
@media (max-width: 860px) {
  .steps-section {
    padding: 48px 26px 40px;
  }

  .steps-section .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .steps-section .rail {
    display: none;
  }

  .steps-section .step {
    flex-direction: row;
    text-align: start;
    align-items: flex-start;
    gap: 20px;
    padding: 22px 0;
  }

  .steps-section .step:not(:last-child) {
    border-bottom: 1px solid #e3e8f0;
  }

  .steps-section .badge {
    margin-bottom: 0;
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
  }

  .steps-section .badge .icon {
    width: 22px;
    height: 22px;
  }

  .steps-section .step p {
    max-width: none;
  }

  .steps-section .step > div {
    padding-top: 6px;
  }
}

@media (max-width: 480px) {
  .steps-section {
    padding: 36px 18px;
    border-radius: 20px;
  }

  .steps-section .section-title {
    font-size: 28px;
  }

  .steps-section .section-subtitle {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps-section .step,
  .steps-section .rail .fill {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .steps-section .rail .fill {
    transform: scaleX(1);
  }
}
