/* Hero Section */

.hero-section {
  height: 100dvh;
  padding: 0!important;
  margin-bottom: 100px;
}

.project-title-mask {
  position: absolute;
  left: 50vw;
  top: 50dvh;
  transform: translate(-50%, -50%);
  height: clamp(64px, 4.75vw, 78px);
  overflow: hidden;
}

.project-title {
  font-size: clamp(64px, 4.75vw, 78px);
  opacity: 0;
}

.hero-heading {
  width: clamp(340px, 60vw, 950px);
  text-align: center;
  position: absolute;
  top: 50dvh;
  left: 50vw;
  transform: translate(-50%, -50%);
  font-kerning: none;
  opacity: 0;
}

.hero-heading .line {
    opacity: 0;
}

.scroll-more-mask {
  height: 10px;
  overflow: hidden;
  position: absolute;
  left: 50vw;
  bottom: 30px;
  transform: translateX(-50%);
}

.scroll-more-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.scroll-more-line {
  width: 81px;
  height: 1px;
  background-color: var(--color-white);
}

.scroll-more-paragraph {
  font-size: 10px;
  line-height: 10px;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-background, .tef-background, .cta-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: -1;
}

/* Vision Section */

.horizontal-scroll-wrapper {
  width: 100vw;
  overflow: hidden;
  position: relative;
  padding: 0 var(--padding-page);
}

.horizontal-scroll-container {
  display: flex;
  flex-direction: row;
  flex-shrink: 0;
  flex-grow: 0;
}

.vision-heading {
    margin-bottom: 40px!important;
}

.vison-content-content {
    width: calc(( 100vw - 2 * var(--padding-page) ) / 4);
  border-right: 1px solid var(--color-text-main);
  padding: 0 30px 30px 30px;
  display: flex;
  flex-direction: column;
}

.vison-content-content--first {
  padding: 0 30px 30px 0px;
}

.vision-index {
  font-size: clamp(120px, 10.6vw , 160px);
  font-weight: 900;
  color: var(--color-red);
  margin-bottom: 9dvh;
}

.vision-h3 {
  margin-bottom: 10px!important;
  color: var(--color-red);
}

.vision-paragraph {
  /*width: clamp(250px, 19.8vw, 300px);*/
  width: calc(( 100vw - 2 * var(--padding-page) ) / 4 - 60px);
  color: #e8e8e8;
  font-size: 14px;
}

.objectives-button-wrapper {
    margin-top: 30px;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  object-fit: cover; /* Makes the video cover the entire area */
  z-index: -1; /* Ensures the video stays behind other content */
}

/* Tef Section */

.tef-section {
  position: relative;
  height: 100dvh;
  flex-direction: row;
  justify-content: flex-end;
  align-items: flex-end;
}

.tef-content {
  width: 28.7vw;
  min-width: 350px;
  flex-shrink: 0;
  margin-bottom: 80px;
}

.tef-heading {
  margin-bottom: 12px!important;
}

.tef-paragraph {
  margin-bottom: 35px;
}

.tef-background {
  width: 100vw;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

/* Pilots Section */

.pilots-section {
  margin: 110px 0;
  padding: 0!important;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  margin-bottom: 280px;
}

.pilots-content {
  width: 43vw;
}

.pilots-heading {
  margin-bottom: 40px!important;
  margin-left: clamp(30px, 5.95vw, 90px);
}

.pilots-list-item:hover {
    color: var(--color-red);
}

.statistic-wrapper {
  width: 100%;
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.statistic-wrapper:last-of-type {
  margin-bottom: 0px;
}

.statistic-row {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-end;
}

.statistic-number {
  font-size: clamp(95px, 8.26vw, 125px);
  line-height: clamp(65px, 6.28vw, 95px);
  font-weight: 900;
  color: var(--color-red);
  margin-left: clamp(30px, 5.95vw, 90px);
}

.statistic-label {
  font-size: clamp(24px, 2.11vw, 32px);
}

.statistic-text {
  font-size: 14px;
  margin-top: 10px;
  margin-left: clamp(30px, 5.95vw, 90px);
  color: #b0b0b0;
}

.map-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.europe-map {
  width: 57vw;
  height: auto;
}

.europe-map path {
  cursor: pointer;
}

.map-disclaimer {
  font-size: 12px;
  color: #e8e8e8;
  align-self: flex-end;
  margin-right: clamp(30px, 5.95vw, 90px);
}

.pilots-popup-wrapper {
  position: absolute;
  top: 50%;
  right: clamp(30px, 5.95vw, 90px);
  width: 220px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  padding: 20px;
  border-radius: 15px;
}

.pilots-popup-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.pilots-popup-heading {
  text-transform: capitalize;
}

.pilots-popup-close-button {
  width: 25px;
  height: 25px;
  border: 1px solid var(--color-text-main)!important;
}

.pilots-popup-close-button-icon {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.pilots-popup-close-button-icon path {
  fill: var(--color-text-main);
}

.pilots-list-item {
  display: block;
  margin-bottom: 8px;
}

/* Timeline Section */

.timeline-section {
  flex-direction: column;
  align-items: center;
  margin-bottom: 200px;
  position: relative;
}

.timeline-heading {
  position: absolute;
  top: 0;
  left: clamp(30px, 5.95vw, 90px);
}

.timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 70px;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: 2px;
  transform: translateX(-50%);
  background-color: var(--color-white);
}

.timeline-row {
  display: flex;
  flex-direction: row;
}

.timeline-row-content {
  width: 180px;
}

.timeline-dot-wrapper {
  width: 70px;
}

.timeline-dot {
  margin: 0 auto;
  margin-bottom: 10px;
  width: 13px;
  height: 13px;
  background-color: var(--color-white);
  border-radius: 50%;
}

.timeline-date {
  font-size: 12px;
  color: #b0b0b0;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.timeline-text {
  font-size: 16px;
}

.highlighted-text {
  color: var(--color-red);
  font-family: 700;
}

/* Services Section */

.services-section, .news-section {
  flex-direction: column;
  margin-bottom: 150px;
}

.services-heading {
  width: 52vw;
}

.services-paragraph {
  width: 52vw;
  font-size: 16px;
  opacity: 0.6;
  margin-bottom: 60px;
}

.services-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: stretch;
  flex-wrap: wrap;
  gap: clamp(20px, 2vw, 35px);
}

.services-button-wrapper {
  align-self: flex-end;
}

.service-wrapper {
  width: calc(50% - clamp(20px, 2vw, 35px));
  background-color: rgba(59, 59, 59, 0.6);
  border-radius: 25px;
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
}

.news-heading {
    margin-bottom: 60px;
}

.news-row-wrapper{
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 60px 0;
}

.news-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.service-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
  margin-bottom: 20px;
}

.news-image-wrapper {
     width: 457px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    margin-right: 20px;
    border-radius: 15px;
}

.service-image-wrapper img {
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.news-image-wrapper img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

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

.news-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 0;
}

.news-text-wrapper {
     max-width: 695px;
     height: 100%;
     display: flex;
     flex-direction: column;
     justify-content: space-between;
}

.service-title {
  margin-bottom: 20px;
  color: var(--color-red);
}

.service-end-user {
    font-size: 17px;
    line-height: 17px;
    margin-bottom: 10px;
    margin-top: 4px;
}

.service-description {
  font-size: 12px;
  line-height: 12px;
  color: #d2d2d2;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2; /* Change this to set the number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 20px;
}

.core-capabilities-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}

.core-capabilities-list-item {
     border: 1px solid white;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 35px;
    padding: 12px 16px;
    font-size: 14px;
    text-align: center;
    white-space: nowrap;
}

.news-body {
    font-size: 16px;
  line-height: 20px;
  color: #d2d2d2;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3; /* Change this to set the number of lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.services-button-wrapper {
  margin-top: 40px;
}

/* Call To Action Seciton */

.cta-section {
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100dvh;
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
}

.cta-button-wrapper {
  margin-top: 200px;
  width: fit-content;
}

.footer-custom {
  margin-top: 70px;
  width: 100%;
  padding: 30px 0 20px 0 !important;
}

.contact-us-role, .contact-us-name {
    font-size: clamp(16px, 1.45vw, 24px);
    line-height: clamp(18px, 1.55vw, 26px);
}

/* Notification */

.notification-wrapper {
  position: fixed;
  right: 20px;
  z-index: 5;
  background-color: rgba(59, 59, 59, 0.5);
  padding: 20px 30px;
  min-width: 300px;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border-radius: 40px;
  cursor: pointer;
}

.notification-paragraph {
  font-size: 20px;
  line-height: 20px;
}

.fixed-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  object-fit: cover; /* Makes the video cover the entire area */
  z-index: -2; /* Ensures the video stays behind other content */
}

@media only screen and (max-width: 1024px) {
    .horizontal-scroll-container {
flex-wrap: wrap;
row-gap: 40px;
}
.vison-content-content {
    width: calc(( 100vw - 2 * var(--padding-page) ) / 2);
    border-right: none;
}

.vision-paragraph {
  width: ccalc(( 100vw - 2 * var(--padding-page) ) / 2);
}
  .services-heading, .services-paragraph {
    width: 70vw;
  }

  .news-image-wrapper {
     width: 36vw;
     aspect-ratio: 4 / 3
}
    .news-title {
        display: -webkit-box;
         line-clamp: 4;
        -webkit-line-clamp: 4;       
        -webkit-box-orient: vertical; 
        overflow: hidden;             
        text-overflow: ellipsis;      
    }
}

@media only screen and (max-width: 769px) {
  .pilots-section {
    margin: 100px 0;
    height: auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 40px;
    padding: 0 clamp(30px, 5.95vw, 90px);
  }

  .pilots-content {
    width: 100%;
    overflow: hidden;
  }

  .pilots-heading {
    margin-right: clamp(30px, 5.95vw, 90px);
  }

  .statistic-wrapper {
    width: 100%;
    margin: 0 clamp(30px, 5.95vw, 90px) 30px clamp(30px, 5.95vw, 90px);
  }

  .statistic-number {
    margin-left: 0;
  }

  .europe-map, .map-wrapper {
    width: 100%;
    height: auto;
  }

  .services-heading, .services-paragraph {
    width: 85vw;
  }
    .service-wrapper {
    width: 100%;
  }
   .news-wrapper {
        flex-direction: column;
    }
    .news-image-wrapper {
        aspect-ratio: 16 / 9;
        width: 100%;
    }
    .news-content {
        margin-bottom: 20px;
        flex-direction: column;
    }
    .news-button-wrapper {
        margin-top: 20px;
        align-self: flex-end;
    }
}

@media only screen and (max-width: 630px) {
  .vison-content-content {
    width: 100%;
    border-right: none;
    padding: 0;
}

.vision-index {
    margin-bottom: 3dvh;
}

.vision-paragraph {
  width: 100%;
}
}

@media only screen and (max-width: 480px) {
  .vision-index {
    font-size: 130px;
  }

  .tef-section {
    height: auto;
    margin-top: 200px;
    flex-direction: row;
    justify-content: flex-start;
  }

  .tef-content {
    width: 100%;
    min-width: 0;
  }

  .timeline-row-content {
    width: 150px;
  }

  .timeline-dot-wrapper {
    width: 30px;
  }

  .statistic-text {
    margin-left: 0;
    margin-right: 25px;
  }

  .map-disclaimer {
    margin-left: 25px;
    margin-right: 25px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .timeline-heading {
    position: static;
    top: auto;
    left: auto;
    margin-left: 25px;
    margin-bottom: 40px!important;
    margin-top: 70px!important;
  }

  .services-heading, .services-paragraph {
    width: 100%;
  }

  .services-paragraph {
    margin-bottom: 30px;
  }

  .cta-wrapper {
    gap: 10px;
  }

  .cta-button-heading {
    font-size: clamp(32px, 3.1vw, 46px)!important;
    line-height: clamp(42px, 3.9vw, 58px)!important;
  }

  .cta-button-wrapper {
    width: 100%;
  }
}


@media only screen and (max-width: 390px) {
  .timeline-row-content {
    width: 125px;
  }
}
