/* ---------- COMMON STYLES ---------- */
body {
  font-family: "Roboto", sans-serif;
  background-color: #fff;
  color: #333;
  &.active {
    overflow: hidden;
  }
}

.wrapper {
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

[class*="__container"] {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.decoration {
  width: 4px;
  height: 92px;
  background-color: #f1f5f9;
  background-color: #1d4ed8;
  margin: 45px auto;
}

.active-menu-link {
  color: #2563eb;
}
/* ---------- HERO SECTION STYLES ---------- */
.hero {
  width: 100%;
  position: relative;
  &::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(
      120deg,
      rgba(37, 99, 235, 0.45) 0%,
      rgba(15, 23, 42, 0.7) 100%
    );
    z-index: 2;
    pointer-events: none;
  }
}
.hero__container {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  z-index: 2;
  color: #fff;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-size: clamp(20px, 5vw, 28px);
  margin-bottom: 25px;
  color: #f1f5f9;
  & span.title__span {
    font-size: clamp(36px, 10vw, 64px);
    color: #fff;
    white-space: nowrap;
  }
}

.hero__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
}
.hero__button {
  display: inline-block;
  padding: 8px 32px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s;
  &:nth-child(1) {
    background-color: #2563eb;
    color: #fff;
  }
  &:nth-child(2) {
    border: 2px solid currentColor;
  }
  &:hover {
    background-color: #fff;
    border-color: transparent;
    color: #2563eb;
  }
}

/* ---------- HERO SECTION ---------- BG-VIDEO */
.hero__video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  pointer-events: none;
}

/* ---------- HERO SECTION ---------- VIDEO-CONTROLS */
.hero__video-controls {
  position: absolute;
  right: 30px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0.8;
  z-index: 5;
}
.video__button {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #ffffffd9;
  transition: background 0.3s ease;
  & svg {
    width: 26px;
    height: 26px;
    fill: #2563eb;
    transition: color 0.3s ease;
  }
  &:hover {
    background: #2563eb;
    & svg {
      fill: #fff;
    }
  }
}

/* ---------- ABOUT SECTION STYLES ---------- */
.about {
  padding: 45px 0;
  color: #fff;
}
.about__title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 45px;
  color: #2563eb;
}
.about__container {
  display: flex;
  flex-direction: column;
  gap: 35px;
}
.about__card {
  max-width: 565px;
  position: relative;
  padding: 80px 40px 40px 30px;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid #ffffff1a;
  background-color: #dfdfdf31;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  &:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  }
  &:nth-child(even) {
    margin-left: auto;
  }
  &:nth-child(1) {
    border-left: 4px solid #ff9300;
    background-color: #00b63d;
  }
  &:nth-child(2) {
    border-left: 4px solid #ff151e;
    background-color: #00ade4;
  }
  &:nth-child(3) {
    border-left: 4px solid #00b63d;
    background-color: #ff9300;
  }
}
.card__number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 48px;
  opacity: 0.7;
  color: #fff;
}
.card__content {
  position: relative;
  z-index: 2;
  font-size: 18px;
}
.card__text {
  font-weight: 600;
  margin-bottom: 16px;
}
.about__iframe {
  width: 100%;
  max-width: 565px;
  min-height: 300px;
  margin-left: auto;
  border-left: 4px solid #ef4444;
  border-radius: 20px;
  transition: all 0.3s ease;
  &:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  }
}
/* ---------- PARTNERS SECTION STYLES ---------- */
.partners {
  padding: 80px 0;
}
.partners__title {
  font-size: 48px;
  text-align: center;
  margin-bottom: 45px;
}
.partners__container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.partners__track {
  display: flex;
  gap: 45px;
  animation: marquee 25s linear infinite;
  width: max-content;
}
.partners__card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 15px;
  border-radius: 25px;
  padding: 15px;
  width: 200px;
}
.card__title {
  font-size: 24px;
}
.partners__logo {
  width: 125px;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ---------- FOOTER STYLES ---------- */
.footer {
  background-color: #0f172a;
  color: #e2e8f0;
}
.footer__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__bottom {
  width: 100%;
  gap: 16px;
  padding: 18px 25px;
  .footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.footer__copyright {
  font-size: 14px;
  color: #94a3b8;
}
.footer__copyright a {
  color: #cbd5e1;
  text-decoration: underline;
}
.footer__partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.partner__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  opacity: 0.8;
  & img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
.footer__contacts a {
  color: #cbd5e1;
  font-size: 14px;
}

@media (max-width: 900px) {
  .footer__menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: left;
  }
  .footer__contacts {
    justify-content: flex-start;
  }
}
@media (max-width: 767px) {
  .footer__container:has(.footer__copyright) {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 10px;
      flex-direction: column;
  }
}

.footer .contact-info {
  padding: 36px 0 10px;
  background: transparent;
  color: #e2e8f0;
  margin-bottom: 40px;
}
.contact-info__title {
  font-size: 36px;
  text-align: center;
  margin-bottom: 24px;
  color: #e2e8f0;
  
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.info-item {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9px;
  padding: 28px 28px 28px 36px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
}
.info-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #60a5fa, #a78bfa);
}
.info-item:nth-child(2)::before {
  background: linear-gradient(180deg, #34d399, #06b6d4);
}
.info-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.info-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}
.info__links {
  display: flex;
  flex-direction: column; 
}
.info-text {
  color: #cbd5e1;
  font-size: 16px;
}

@media (max-width: 900px) {
  .contacts__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 412px) {
  .hero__buttons {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .hero__button {
    width: 100%;
    text-align: center;
  }
}