@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;500;600;700;800&display=swap');

@import "./header.css";
@import "./footer.css";
@import "./advantages.css";

:root {
  --blue: #1D539C;
  --black: #2F2F2F;
  --white: #ffffff;
  --text-black: #353437;
  --gray: #5D5D5F;
  --lightBlue: #DBE3EF;
  --paddingInside: 20px;
}

/* ===== UTILS ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
  scroll-behavior: smooth;
}

@-webkit-keyframes tomchi {
  from {
    top: -20%;
  }
  to {
    top: 100%;
  }
}

@keyframes tomchi {
  from {
    top: -20%;
  }
  to {
    top: 100%;
  }
}

a {
  text-decoration: none;
  color: currentColor;
}

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

.overflow-y-hidden {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main {
  flex: 1 1 auto;
}

.hidden {
  display: none;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: var(--light-blue);
}

::-webkit-scrollbar-thumb {
  background-color: #1D539C;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  /* border: 1px solid red; */
}

.primaryBtn {
  border: 1px solid var(--blue);
  background-color: var(--blue);
  color: var(--white);
  padding: 18px 64px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;
}

.primaryBtn:hover {
  background-color: var(--white);
  color: var(--blue);
  transition: .3s;
}

.secondaryBtn {
  border: 1px solid var(--blue);
  background-color: var(--white);
  color: var(--blue);
  padding: 18px 64px;
  text-transform: uppercase;
  cursor: pointer;
  transition: .3s;  
}

.secondaryBtn:hover {
  background-color: var(--blue);
  color: var(--white);
  transition: .3s;
}

.section {
  padding-top: 140px;
  position: relative;
  z-index: 1;
}

.sectionTitle {
  font-family: "Exo 2";
  font-size: 40px;
  line-height: 48px;
  color: var(--black);
  font-weight: 700;
  text-align: center;
}

.sectionSubtitle {
  font-family: "Inter";
  font-size: 24px;
  line-height: 40px;
  color: var(--text-black);
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 60px 0 20px 0;
}

.backTextDiv {
  position: absolute;
  top: 110px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.backText {
  font-family: "Exo 2";
  font-size: 104px;
  line-height: 120px;
  font-weight: 800;
  color: rgba(47, 47, 47, .04);
  text-align: center;
  text-transform: uppercase;
}

.centeredDiv {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-inline: 20px;
  position: relative;
}

.centerBtnDiv {
  max-height: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.centerBtn {
  padding: 24px 190px;
  font-family: "Exo 2";
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  background-color: #DBE3EF;
  cursor: pointer;
  transition: .3s;
}

.centerBtn:active {
  transform: scale(.85);
  transition: .3s;
}

/* ===== MAIN ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
}

.hero .bigVideo {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero .miniVideo {
  display: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 47, 47, .5);
  z-index: -1;
}

.bgTomchiBlack {
  opacity: .5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: -2;
  overflow: hidden;
}

.bgTomchiBlack span {
  height: 100%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
}

.bgTomchiBlack span:nth-child(2)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

.bgTomchiBlack span:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.bgTomchiBlack span:nth-child(4)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
}

.bgTomchiWhite {
  opacity: .5;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: space-between;
  z-index: -2;
  overflow: hidden;
}

.bgTomchiWhite span {
  height: 100%;
  width: 1px;
  background-color: var(--lightBlue);
  position: relative;
}

.bgTomchiWhite span:nth-child(2)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 0.5s;
          animation-delay: 0.5s;
}

.bgTomchiWhite span:nth-child(3)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 4s;
          animation-delay: 4s;
}

.bgTomchiWhite span:nth-child(4)::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 0;
  width: 1.5px;
  height: 55px;
  background-color: #1D539C;
  -webkit-animation: tomchi 3s linear infinite;
          animation: tomchi 3s linear infinite;
  -webkit-animation-delay: 8s;
          animation-delay: 8s;
}

.factsHeader {
    max-width: 840px;
    margin: 0 auto 54px;
    text-align: center;
}

.factsBadge {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(31, 78, 140, 0.1);
    color: #1f4e8c;
    font-size: 18px;
    font-weight: 900;
}

.factsTitle {
    margin: 0 0 18px;
    color: #101827;
    font-size: clamp(30px, 5vw, 40px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -2px;
}

.factsSubtitle {
    max-width: 720px;
    margin: 0 auto;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.75;
}


/* === INTRO === */
.intro {
  position: relative;
  height: 500px;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.pageIntroOverlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(5, 15, 35, 0.82) 0%,
            rgba(10, 25, 55, 0.70) 45%,
            rgba(5, 15, 35, 0.58) 100%
        );
    z-index: 1;
}

.pageIntroHero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(31, 78, 140, 0.45), transparent 32%),
        linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.18));
    z-index: 2;
    pointer-events: none;
}

.intro__inner {
  padding: 54px 20px 93px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 3;
  position: relative;
}

.pageNavigation {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
}

.pageNavigation__text {
  font-family: "Inter";
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  color: var(--white);
}

.pageNavigation__text.blue {
  max-width: 320px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis; 
}

.pageTitle {
  font-family: "Exo 2";
  font-size: 72px;
  line-height: 96px;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  text-align: center;
  /* display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis; 
  max-width: 1278px;
  width: 100%; */
}

.blue {
  color: var(--blue);
}

/* === ABOUT === */

.aboutStatsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 80px;
  margin-bottom: 60px;
}

.statCard {
  background: linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%);
  border-radius: 18px;
  padding: 30px 25px;
  border: 1px solid #e4edf7;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  text-align: center;
  transition: 0.3s;
  
}

.statCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
}

.statIcon img {
  width: 58px;
  height: 58px;
  opacity: 0.85;
  margin-bottom: 12px;
}

.statNumber {
  font-size: 42px;
  font-weight: 800;
  color: #0B4DA2;
  margin-bottom: 15px;
  margin-top: 15px;
}

.statLabel {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  line-height: 1.3;
}


.aboutStatsDiv {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 85px;
  margin-top: 57px;
}

.aboutStats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--blue);
}

.aboutStats__top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stats__number {
  font-family: "Exo 2";
  font-size: 56px;
  line-height: 38px;
  font-weight: 800;
}

.stats__line {
  flex: 1 1 auto;
  height: 2px;
  background-color: var(--blue);
}

.aboutStats__name {
  font-family: "Inter";
  font-size: 15px;
  line-height: 18px;
  color: #5D5D5F;
  text-transform: uppercase;
  font-weight: 500;
} 


.aboutPlayVideoDiv {
  margin-top: 86px;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}

.playVideo__text {
  font-family: "Exo 2";
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
}

.playVideo__text span {
  font-family: "Exo 2";
  font-size: 32px;
  line-height: 40px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
}

.playSvg {
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: .3s;
}

.playSvg:active {
  transform: scale(.85);
  transition: .3s;
}

/* === CATALOGUE - PRODUCTS === */
.servicesGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 90px 0;
}

.serviceCard {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0,0,0,0.08);
  transition: 0.35s ease;
  display: flex;
  flex-direction: column;
}

.serviceCard:hover {
  transform: translateY(-7px);
  box-shadow: 0 14px 38px rgba(0,0,0,0.15);
}

.serviceCard:hover .serviceCard__button {
  gap: 12px;
}

.serviceCard__image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.serviceCard__content {
  height: 100%;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.serviceCard:hover .serviceCard__content{
  background-color: var(--blue);
}

.serviceCard:hover .serviceCard__title,
.serviceCard:hover .serviceCard__desc,
.serviceCard:hover .serviceCard__button{
  color: var(--white);
}

.serviceCard__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--black);
  display: -webkit-box;
    -webkit-line-clamp: 2;   /* 2 qator */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.serviceCard__desc {
  font-size: 16px;
  color: #5a5a5a;
  min-height: 48px;
  margin-bottom: 15px;
}

.serviceCard__button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0D47A1;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}



@media (min-width: 1024px) {
  .servicesGrid > :nth-child(4),
  .servicesGrid > :nth-child(5) {
      grid-column: span 1;
  }
}

.catalogueToggle.active {
  display: block;
}

.catalogueToggle {
  display: none;
}

.catalogueContainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 72px;
  margin-top: 88px;
  transition: .3s;
  padding-inline: 20px;
  height: 100%;
}

.catalogueSection {
  padding-bottom: 104px;
  z-index: 0;
  position: relative;
}

.catalogue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 72px;
  transition: .3s;
  padding-inline: 20px;
}

.product {
  height: 100%;
}

.productLink {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 26px;
  position: relative;
  z-index: 1;
  height: 100%;
}

.productLink::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 60px;
  bottom: 0;
  left: 0;
  background-color: var(--blue);
  z-index: -2;
  transition: .8s;
}

.productLink:hover::after {
  height: 100%;
  transition: .8s ease;
}

.productLink:hover .product__title {
  color: var(--white);
  transition: .3s;
  transition-delay: .4s;
}

.product__subtitle {
  height: 96px;
  overflow: hidden;
}

.productLink:hover .product__subtitle > p {
  color: var(--white);
  transition: .3s;
  transition-delay: .4s;
}

.product__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 32px;
}

.product__title {
  font-family: "Exo 2";
  font-size: 32px;
  line-height: 40px;
  font-weight: 800;
  text-align: center;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis; 
  transition: .3s;
}

.product__subtitle > p {
  font-family: "Inter";
  font-size: 18px;
  line-height: 32px;
  color: var(--text-black);
  max-width: 530px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis; 
  transition: .3s;
}

.product__image {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
  width: 100%;
  height: 330px;
}

.product__image > img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: -1;
}

@media (max-width: 1800px) {
  .container {
    max-width: 1280px;
  }
  .sectionSubtitle {
    font-size: 20px;
    line-height: 28px;
  }
  .centerBtn {
    padding: 20px 120px;
  }
  .pageTitle {
    font-size: 64px;
    line-height: 72px;
  }
  .intro__inner {
    padding-top: 34px;
  }
  .pageNavigation__text {
    font-size: 16px;
    line-height: 24px;
  }
  .catalogueContainer, .catalogue {
    margin-top: 48px;
    row-gap: 48px;
  }
  .product__image {
    height: 280px;
  }
  .product__subtitle {
    height: 70px;
  }
  .product__subtitle > p {
    font-size: 16px;
    line-height: 24px;
  }
}

@media (max-width: 1200px) {
  .backTextDiv {
    top: 30px;
  }
  .section {
    padding-top: 85px;
  }
  .pageTitle {
    font-size: 48px;
    line-height: 52px;
  }
  .intro__inner {
    padding: 48px 20px;
  }
  .catalogueSection {
    padding-bottom: 85px;
  }
  .centerBtn {
    font-size: 16px;
    line-height: 24px;
    padding: 16px 64px;
  }
  .product__content {
    padding-top: 24px;
  }
  .product__image {
    height: 260px;
  }
}

@media (max-width: 1024px) {
  .backTextDiv {
    top: 50px;
  }
  .aboutStatsDiv {
    gap: 40px;
  }
  .playVideo__text, .playVideo__text span {
    font-size: 28px;
    line-height: 36px;
  }
  .playSvg {
    width: 36px;
    height: 36px;
  }
  .sectionSubtitle {
    font-size: 16px;
    line-height: 24px;
  }
  .catalogueContainer, .catalogue {
    margin-top: 36px;
    row-gap: 36px;
  }
  .product__image {
    height: 200px;
  }
  .product__title {
    font-size: 24px;
    line-height: 28px;
  }
  .product__subtitle > p {
    font-size: 14px;
    line-height: 22px;
  }
}

@media (max-width: 960px) {
  .intro__inner {
    padding: 128px 20px 48px 20px;
  }
  .pageTitle {
    font-size: 40px;
    line-height: 48px;
  }
  .aboutStatsDiv, .aboutPlayVideoDiv {
    margin-top: 48px;
  }
  .aboutStats {
    gap: 8px;
  }
  .stats__number {
    font-size: 48px;
    line-height: 52px;
  }
  .aboutStats__name {
    font-size: 14px;
    line-height: 20px;
  }
  .catalogueContainer {
    max-width: 100%;
    overflow: hidden;
    grid-template-columns: 1fr;
    row-gap: 24px;
  }
  .catalogue {
    row-gap: 24px;
  }
  .product__image {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .intro__inner {
    margin-top: 80px;
    padding: 48px 20px;
  }
  .bgTomchiWhite, .bgTomchiBlack {
    display: none;
  }
  .backTextDiv {
    top: 75px;
  }
  .sectionTitle {
    font-size: 32px;
    line-height: 40px;
  }
  .backText {
    font-size: 48px;
    line-height: 56px;
  }
  .aboutStatsDiv {
    gap: 32px;
  }
  .aboutStats__name {
    font-size: 12px;
    line-height: 16px;
  }
  .playVideo__text, .playVideo__text span {
    font-size: 24px;
    line-height: 32px;
  }
  .playSvg {
    width: 32px;
    height: 32px;
  }
  .centerBtnDiv {
    width: 100%;
  }
  .centerBtn {
    padding: 12px 20px;
    font-weight: 600;
    width: 100%;
    text-align: center;
  }
  .catalogueContainer, .catalogue {
    margin-top: 24px;
  }
  .productLink {
    gap: 12px;
  }
  .product__title {
    font-size: 20px;
    line-height: 24px;
  }
  .product__image {
    height: 140px;
  }
}

@media (max-width: 600px) {

  .backTextDiv {
    top: 65px;
  }
  .sectionTitle {
    font-size: 20px;
    line-height: 30px;
  }
  .sectionSubtitle {
    font-size: 14px;
    line-height: 24px;
    text-align: left;
    padding-top: 24px;
  }
  .product__subtitle > p:first-child {
    display: block;
    max-height: 68px;
    height: 100%;
    overflow: hidden;
  }
  .product__subtitle > p {
    display: none;
  }
  .aboutStatsDiv {
    grid-template-columns: 1fr 1fr;
    row-gap: 16px;
    column-gap: 8px;
    margin-top: 24px;
  }
  .aboutStats {
    gap: 4px;
  }
  .aboutStats__top {
    gap: 8px;
  }
  .stats__number {
    font-size: 28px;
    line-height: 32px;
  }
  .aboutStats__name {
    font-size: 12px;
    line-height: 14px;
    color: #C2C2C3;
  }
  .stats__line {
    max-width: 85px;
    width: 100%;
  }
  .aboutPlayVideoDiv {
    flex-direction: column;
    gap: 12px;
  }
  .playVideo__text, .playVideo__text span {
    text-align: center;
  }
  .catalogueContainer, .catalogue {
    grid-template-columns: 1fr;
  }
  .catalogueSection {
    padding: 40px 0;
  }
  .product__image {
    height: 190px;
  }
  .product {
    max-width: 530px;
    width: 100%;
    overflow: hidden;
  }
  .pageTitle {
    -webkit-line-clamp: 2;
  }
  .product__subtitle {
    height: 67px;
  }
  /* .hero .miniVideo {
    display: -webkit-flex;
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
  } */
  /* .hero .bigVideo {
    display: none;
  } */
}

@media (max-width: 400px) {
  .product__image {
    height: 160px;
  }
  .pageTitle {
    font-size: 26px;
    line-height: 40px;
  }
  .pageNavigation__text {
    font-size: 14px;
    line-height: 20px;
  }
}