/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/
:root{
  /* BACKGROUND COLOR */
  --bg-dark-purple: hsla(260, 62%, 11%, 1);
  --bg-russian-violet: hsla(259, 61%, 14%, 1);
  --bg-vivid-violet: hsla(273, 100%, 55%, 1);
  --bg-sunglow: hsla(43, 100%, 61%, 1);
  --bg-blue-jeans: hsla(202, 100%, 50%, 1);
  --bg-white-alpha-10: hsla(0, 0%, 100%, 0.1);

  /* TEXT COLOR */

  --text-white: hsla(0, 0%, 100%, 1);
  --text-black: hsla(0, 0%, 0%, 1);
  --text-sunglow: hsla(43, 100%, 61%, 1);
  --text-white-alpha-60: hsla(0, 0%, 100%, 0.6);

  /* BORDER COLOR */

  --border-blue-jeans: hsla(202, 100%, 50%, 1);
  --border-white-alpha-10: hsla(0, 0%, 100%, 0.1);

  /* TYPOGRAPHY */

  --fontFamily-open-sans: 'Open Sans', sans-serif;

  --fontSize-1: 4rem;
  --fontSize-2: 3.2rem;
  --fontSize-3: 2.4rem;
  --fontSize-4: 2rem;
  --fontSize-5: 1.8rem;
  --fontSize-6: 1.6rem;
  --fontSize-7: 1.4rem;
  
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semiBold: 600;
  --weight-bold: 700;

  /* SPACING */

  --section-spacing: 100px;

  /* SHADOW */

  --shadow-1: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.1));
  --shadow-2: drop-shadow(0 20px 30px hsla(0, 0%, 0%, 0.2));

  /* BORDER RADIUS */

  --radius-24: 24px;
  --radius-40: 40px;
  --radius-pill: 500px;

  /* TRANSITION */

  --transition-1: 250ms ease;
  --transition-2: 500ms ease;
  --cubic-out: cubic-bezier(0, 1, 0.5, 1);

  /* CARD SLIDER */
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(38, 92%, 58%);
  --first-color-light: hsl(38, 100%, 78%);
  --first-color-alt: hsl(32, 75%, 50%);
  --second-color: hsl(195, 75%, 52%);
  --dark-color: hsl(212, 40%, 12%);
  --white-color: hsl(212, 4%, 95%);
  --body-color: hsl(212, 42%, 15%);
  --container-color: hsl(212, 42%, 20%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Bai Jamjuree", sans-serif;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1rem;

  /* ----- 3D Planets Carousel------------ */

  --item1-transform: translateX(-100%) translateY(-5%) scale(1.5);
  --item1-filter: blur(30px);
  --item1-zIndex: 11;
  --item1-opacity: 0;

  --item2-transform: translateX(0);
  --item2-filter: blur(0px);
  --item2-zIndex: 10;
  --item2-opacity: 1;

  --item3-transform: translate(50%,10%) scale(0.8);
  --item3-filter: blur(10px);
  --item3-zIndex: 9;
  --item3-opacity: 1;

  --item4-transform: translate(90%,20%) scale(0.5);
  --item4-filter: blur(30px);
  --item4-zIndex: 8;
  --item4-opacity: 1;
  
  --item5-transform: translate(120%,30%) scale(0.3);
  --item5-filter: blur(40px);
  --item5-zIndex: 7;
  --item5-opacity: 0;

  /* UPCOMING EVENTS CAROUSEL VARIABLES */
  --border-color: #fff5;
  --w-image: 500px;
  --calculate: calc(3 / 2);

  /* ROCKETRY */
  --font-weight-regular: 400;
  --font-weight-bold: 700;
  --font-size-heading: 3.2rem;
  --font-size-summary-description: clamp(1.3rem, 1.2545rem + 0.1212vw, 1.4rem);
  --font-size-summary-detail: 1.2rem;
  --line-height-summary-detail: 1.8rem;

  /* Colors */
  /* blue */
  --dark-des-blue: hsl(238, 29%, 16%);
  --very-dark-gray-blue: hsl(237, 12%, 33%);
  --dark-gray-blue: hsl(240, 6%, 50%);
  --light-gray-blue: hsl(240, 5%, 91%);
  --soft-blue: hsl(240, 73%, 65%);
  /* violet & red */
  --red: hsl(14, 88%, 65%);
  --violet: hsl(273, 75%, 66%);
  /* background */
  --background-col: linear-gradient(180deg, #b068e9 0%, #6463e7 100%);

  /* z-index */
  --z-index-main: 10;
  --z-index-secondary: 5;
  --z-index-lowest: 1;

}
@import url('https://fonts.googleapis.com/css2?family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&family=Pacifico&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Aboreto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url("https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap");


/*-----------------------------------*\
  #RESET
\*-----------------------------------*/
*, *::before, *::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li{
  list-style: none;
}

a, img, span, button, ion-icon{
  display: block;
}

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

img{
  height: auto;
}

input, button{
  background: none;
  border: none;
  font: inherit;
}

input{
  width: 100%;
  outline: none;
}

button{
  cursor: pointer;
}

ion-icon{
  pointer-events: none;
}

address{
  font-style: normal;
}

html{
  font-family: var(--fontFamily-open-sans);
  font-size: 10px;
  scroll-behavior: smooth;
}

body{
  background-color: var(--bg-dark-purple);
  color: var(--text-white-alpha-60);
  font-size: var(--fontSize-6);
  line-height: 1.8;
  user-select: none;
}

body.nav-active{
  overflow: hidden;
}
::-webkit-scrollbar{
  width: 5px;
}

::-webkit-scrollbar-track{
  background-color: var(--bg-russian-violet);
}

::-webkit-scrollbar-thumb{
  background-color: var(--bg-sunglow);
  border-radius: var(--radius-pill);
}


/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/
.container{
  padding-inline: 18px;
}

.section{
  padding-block-end: var(--section-spacing);
}

.title{
  color: var(--text-white);
  line-height: 1.1;
}

.h1{
  font-size: var(--fontSize-1);
}

.h2{
  font-size: var(--fontSize-2);
  font-weight: var(--weight-semiBold);
}

.h3{
  font-size: var(--fontSize-3);
  font-weight: var(--weight-regular);
}

.btn{
  height: 62px;
  padding-inline: 50px;
  font-weight: var(--weight-semiBold);
  border-radius: var(--radius-pill);
  color: var(--text-black);
  display: grid;
  place-content: center;
  max-width: max-content;
  transition: var(--transition-1);
}

.btn-primary{
  background-color: var(--bg-sunglow);
}

.btn-primary:is(:hover, :focus-visible){
  background-color: var(--bg-vivid-violet);
  color: var(--text-white);
}

.w-100{
  width: 100%;
}

@keyframes levitate {
  0% {
    transform: translateY(0);
  }
 
  50%{
    transform: translateY(-50px);
  }

  100% {
    transform: translateY(0); /* Returns to the starting point */
  }
}

img.leveitating-image {
  display: block;
  margin: auto; /* Center the image horizontally if needed */
  animation: levitate 5s ease-in-out infinite; /* Smooth levitation */
}

.text-center{
  text-align: center;
}

.grid-list{
  display: grid;
  gap: 50px;
}

.section-text{
  margin-block: 15px 50px;
}

.img-holder{
  aspect-ratio: var(--width)/var(--height);
  background-color: var(--bg-white-alpha-10);
  overflow: hidden;
}

.img-cover{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-2);
}

.code_of_conduct{
  color: var(--text-white);
  height: 52px;
  border: 2px solid var(--border-blue-jeans);
  padding-inline: 40px;
}

.code_of_conduct:is(:hover, :focus-visible){
  background-color: var(--border-blue-jeans);
}

.cursor_pointer{
  cursor: pointer;
}


/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/


.header .btn{
  display: none;
}

.header{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-block: 30px;
  z-index: 4;
}

.header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-open-btn{
  color: var(--text-white);
  font-size: 3rem;
}
.nav-open-btn.active .menu-icon, .nav-open-btn .close-icon{
  display: none;
}

.nav-open-btn .menu-icon, .nav-open-btn.active .close-icon{
  display: block;
}

.navbar{
  position: absolute;
  top: 100%;
  right: 16px;
  background-color: var(--bg-vivid-violet);
  color: var(--text-white);
  padding: 16px 30px;
  border-radius: var(--radius-24);
  opacity: 0;
  visibility: hidden;
  transition: 1s var(--cubic-out);
  z-index: 1;
}

.navbar.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(-15px);
}

.navbar-list >li:not(:last-child){
  margin-block-end: 5px;
}

.navbar-link{
  font-weight: var(--weight-medium);
}

.overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  pointer-events: none;
}

.overlay.active{
  pointer-events: all;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  position: relative;
  padding-block-start: 150px;
  overflow: hidden; /* Prevents scrollbars caused by the video */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the video fills the hero section */
  z-index: -1; /* Places the video in the background */
}

.video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%; /* Adjust the height of the smudge + fade */
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    hsla(260, 62%, 11%, 0.6) 60%,
    hsla(260, 62%, 11%, 1) 100%
  ); /* Smudge and fade effect using the given color */
  filter: blur(8px); /* Adds a smudge effect to the gradient */
  z-index: 0; /* Ensure it sits above the video but below content */
}

.hero .container {
  position: relative;
  z-index: 1; /* Keeps content above the overlay */
  display: grid;
  gap: 30px;
}

.hero-text {
  margin-block: 30px;
  color: white; /* Ensures text remains readable */
  width: 100%; /* Make it take full width */
  text-align: left; /* Align text to the left */
  padding-left: 10px; /* Add left padding for spacing */
  box-sizing: border-box; /* Ensures padding doesn't affect width */
  line-height: 1.5; /* Adjust line height for better readability */
  word-wrap: break-word; /* Ensures long words break correctly */
  max-width: 700px; /* Optional: Set a max-width for large screens */
  font-weight: 800px;
  
  /* Add text border */
  -webkit-text-stroke: 0.5px rgb(255,255, 255); /* Defines the thickness and color of the border */
}


/* Make text content responsive */
@media (max-width: 1200px) {
  .hero-text {
    width: 80%; /* Adjust width on medium-sized screens */
    padding-left: 15px; /* Adjust left padding */
  }
}

@media (max-width: 768px) {
  .hero-text {
    width: 90%; /* Adjust width for smaller screens */
    padding-left: 10px; /* Less padding on smaller screens */
    font-size: 18px; /* Slightly reduce font size */
  }
}

@media (max-width: 480px) {
  .hero-text {
    width: 95%; /* Adjust for very small screens */
    font-size: 16px; /* Reduce font size for smaller screens */
    padding-left: 5px; /* Minimal padding for small screens */
  }


}


.hero .btn {
  margin-block-start: 30px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-content {
    padding: 20px;
  }
}


/*-----------------------------------*\
  #EVENTS
\*-----------------------------------*/

.process-banner{
  display: none;
}

.process{
  position: relative;
  z-index: 1;
}

#process-label{
  margin-block-start: 70px;
}

.process::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../images_videos/process-bg.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: cover;
  pointer-events: none;
  z-index: -1;
}

.process-item .item-icon{
  margin-inline: auto;
  filter: var(--shadow-1);
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
}

.process-item .item-title{
  margin-block: 20px 10px;
}

.event-grid-list{
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* Adjust if you want a horizontal scroll */
  gap: 20px;
  max-height: 450px; /* Adjust to fit four items */
  overflow-y: auto;
  padding: 10px;
}

/*-----------------------------------*\
  #UPCOMING EVENTS
\*-----------------------------------*/

.container_upcoming {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.3);
  margin-bottom: 5rem;
  margin-top: 2rem;
  align-items: center;
  background: url(/assets/images_videos/dark-sky-background-1920-x-1200-s18v61muawis1ucy.jpg);
  color: var(--text-white);
}
.content_upcoming {
  flex: 1;
  padding: 20px;
}

.content_upcoming p{
  color: var(--text-white-alpha-60);
}

.poster_upcoming {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.poster_upcoming img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.5);
}
.arrow_upcoming {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
}
.prev_upcoming {
  left: 10px;
}
.next_upcoming {
  right: 10px;
}
.btn_upcoming {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: blue;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

@media (max-width: 768px) {
  .container_upcoming {
      flex-direction: column;
      text-align: center;
      height: auto;
  }
}




/*-----------------------------------*\
  #SPACE INSIGHTS
\*-----------------------------------*/
.space_insights{
  position: relative;
  width: 100%;
  height: 120vh;
  overflow: hidden;
  background: var(--bg-dark-purple);
  align-items: center;
  justify-content: center;
}
.space_insights h2{
  transform: translateY(50px);
  text-align: center;
  color: transparent;
  font-weight: 900;
  -webkit-text-stroke: 0.5px var(--text-white);
  text-transform: uppercase;
}

section .star{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  animation: twinkle 8s ease-in-out infinite,
              backgroundmove 16s linear infinite;
}

section .star.star1{
  animation-delay: 0s;
  background: url(/assets/images_videos/star1.png);
}
section .star.star2{
  animation-delay: -1s;
  background: url(/assets/images_videos/star2.png);
}
section .star.star3{
  animation-delay: -2s;
  background: url(/assets/images_videos/star3.png);
}
section .star.star4{
  animation-delay: -3s;
  background: url(/assets/images_videos/star4.png);
}
section .star.star5{
  animation-delay: -4s;
  background: url(/assets/images_videos/star5.png);
}
section .star.star6{
  animation-delay: -5s;
  background: url(/assets/images_videos/star6.png);
}
section .star.star7{
  animation-delay: -6s;
  background: url(/assets/images_videos/star7.png);
}
section .star.star8{
  animation-delay: -7s;
  background: url(/assets/images_videos/star8.png);
}
section .star.star9{
  animation-delay: -8s;
  background: url(/assets/images_videos/star4.png);
}
section .star.star10{
  animation-delay: -9s;
  background: url(/assets/images_videos/star2.png);
}

@keyframes twinkle{
  0%, 20%, 40%, 60%, 80%, 100%{
    opacity: 0;
  }
  10%, 30%, 50%, 70%, 90%{
    opacity: 1;
  }
}

@keyframes backgroundmove{
  0%{
    transform: scale(1);
  }

  100%{
    transform: scale(2);
  }
}

/* News Cards */

.space_news_container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.news_container{
  padding-block: 5rem;
}

.news_content {
  margin-inline: 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
}

.card_article {
  border-radius: 1.25rem;
  overflow: hidden;
  margin-bottom: 3rem;
}

.news_img{
  position: relative;
  padding-top: 1.5rem;
  margin-bottom: -.75rem;
}

.news_data{
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  text-align: center;
  position: relative;
  z-index: 10;
}

.news_img{
  margin: 0 auto;
  position: relative;
  z-index: 5;
}
.news_img img{
  margin-bottom: 0.75rem;
  height: 30vh;
  width: inherit;
}

.headline{
  font-size: var(--h2-font-size);
  color: var(--second-color);
  margin-bottom: .75rem;
}

.news_description{
  font-weight: 500;
  margin-bottom: 1.75rem;
}

.news_button{
  display: inline-block;
  background-color: var(--first-color);
  padding: .75rem 1.5rem;
  border-radius: .25rem;
  color: var(--dark-color);
  font-weight: 600;
}

/* Swiper class */
.swiper-button-prev:after,
.swiper-button-next:after {
  content: "";
}

.swiper-button-prev,
.swiper-button-next {
  width: initial;
  height: initial;
  font-size: 3rem;
  color: var(--second-color);
  display: none;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-pagination-bullet {
  background-color: hsl(212, 32%, 40%);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: var(--second-color);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
  .news_data {
    padding: 1rem;
  }

  .space_insights{
    height: 120vh;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .news_content {
    margin-inline: 3rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }

}

/* For large devices */
@media screen and (min-width: 1120px) {
  .news_container{
    max-width: 1120px;
  }

  .swiper-button-prev {
    left: -1rem;
  }
  .swiper-button-next {
    right: -1rem;
  }
}



/*-----------------------------------*\
  #MEET THE TEAM
\*-----------------------------------*/

.work-card .card-banner{
  border-radius: var(--radius-40);
  margin-block-end: 20px;

}

.work-card:is(:hover, :focus-within) .img-cover{
  transform: scale(1.1);
}

.work-card .card-title{
  margin-block-end: 12px;
  transition: var(--transition-1);
}

.work-card .card-title:is(:hover, :focus-visible){
  color: var(--text-sunglow);
}


/*-----------------------------------*\
  #CONNECT WITH US
\*-----------------------------------*/

.footer{
  background-color: var(--bg-russian-violet);
  color: var(--text-white);
}

.footer-top{
  padding-block-start: var(--section-spacing);

}

.footer-top .container{
  display: grid;
  gap: 50px;
}

.footer-text{
  margin-block: 15px;
}

.social-list{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-block-end: 30px;
}

.social-link{
  color: var(--text-sunglow);
  font-size: 2.2rem;
}

.footer .btn{
  font-size: var(--fontSize-6);
  padding-inline: 40px;
}

.footer-list{
  display: grid;
  gap: 15px;
}

.footer-bottom{
  padding-block: 20px;
  border-block-start: 3px solid var(--border-white-alpha-10);
  color: var(--text-sunglow);
}

/*-----------------------------------*\
  #GALACTIC GUIDE
\*-----------------------------------*/
.carousel{
  position: relative;
  height: 800px;
  overflow: hidden;
  margin-top: -50px;
}
.carousel .list{
  position: absolute;
  width: 1140px;
  max-width: 90%;
  height: 80%;
  left: 50%;
  transform: translateX(-50%);
}
.carousel .list .item{
  position: absolute;
  left: 0%;
  width: 70%;
  height: 100%;
  font-size: 15px;
  transition: left 0.5s, opacity 0.5s, width 0.5s;
}
.carousel .list .item:nth-child(n + 6){
  opacity: 0;
}
.carousel .list .item:nth-child(2){
  z-index: 10;
  transform: translateX(0);
}
.carousel .list .item img{
  width: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: right 1.5s;
}

.carousel .list .item .introduce{
  opacity: 0;
  pointer-events: none;
}
.carousel .list .item:nth-child(2) .introduce{
  opacity: 1;
  pointer-events: auto;
  width: 400px;
  position: absolute;
  top: 50%;
  transform:  translateY(-50%);
  transition: opacity 0.5s;
}
.carousel .list .item .introduce .title{
  font-size: 2em;
  font-weight: 500;
  line-height: 1em;
}
.carousel .list .item .introduce .topic{
  font-size: 4em;
  font-weight: 500;
}
.carousel .list .item .introduce .des{
  font-size: small;
  color: var(--text-white);
}
.carousel .list .item .introduce .seeMore{
  font-family: Poppins;
  margin-top: 1.2em;
  padding: 5px 0;
  border: none;
  border-radius: var(--radius-pill);
  background-color: var(--bg-sunglow);
  width: 15rem;
  font-weight: bold;
  letter-spacing: 3px;
  transition: background 0.5s;
}
.carousel .list .item .introduce .seeMore:hover{
  background: #eee;
}
.carousel .list .item:nth-child(1){
  transform: var(--item1-transform);
  filter: var(--item1-filter);
  z-index: var(--item1-zIndex);
  opacity: var(--item1-opacity);
  pointer-events: none;
}
.carousel .list .item:nth-child(3){
  transform: var(--item3-transform);
  filter: var(--item3-filter);
  z-index: var(--item3-zIndex);
}
.carousel .list .item:nth-child(4){
  transform: var(--item4-transform);
  filter: var(--item4-filter);
  z-index: var(--item4-zIndex);
}
.carousel .list .item:nth-child(5){
  transform: var(--item5-transform);
  filter: var(--item5-filter);
  opacity: var(--item5-opacity);
  pointer-events: none;
}
/* animation text in item2 */
.carousel .list .item:nth-child(2) .introduce .title,
.carousel .list .item:nth-child(2) .introduce .topic,
.carousel .list .item:nth-child(2) .introduce .des,
.carousel .list .item:nth-child(2) .introduce .seeMore{
  opacity: 0;
  animation: showContent 0.5s 1s ease-in-out 1 forwards;
}
@keyframes showContent{
  from{
      transform: translateY(-30px);
      filter: blur(10px);
  }to{
      transform: translateY(0);
      opacity: 1;
      filter: blur(0px);
  }
}
.carousel .list .item:nth-child(2) .introduce .topic{
  animation-delay: 1.2s;
}
.carousel .list .item:nth-child(2) .introduce .des{
  animation-delay: 1.4s;
}
.carousel .list .item:nth-child(2) .introduce .seeMore{
  animation-delay: 1.6s;
}
/* next click */
.carousel.next .item:nth-child(1){
  animation: transformFromPosition2 0.5s ease-in-out 1 forwards;
}
@keyframes transformFromPosition2{
  from{
      transform: var(--item2-transform);
      filter: var(--item2-filter);
      opacity: var(--item2-opacity);
  }
}
.carousel.next .item:nth-child(2){
  animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
}
@keyframes transformFromPosition3{
  from{
      transform: var(--item3-transform);
      filter: var(--item3-filter);
      opacity: var(--item3-opacity);
  }
}
.carousel.next .item:nth-child(3){
  animation: transformFromPosition4 0.9s ease-in-out 1 forwards;
}
@keyframes transformFromPosition4{
  from{
      transform: var(--item4-transform);
      filter: var(--item4-filter);
      opacity: var(--item4-opacity);
  }
}
.carousel.next .item:nth-child(4){
  animation: transformFromPosition5 1.1s ease-in-out 1 forwards;
}
@keyframes transformFromPosition5{
  from{
      transform: var(--item5-transform);
      filter: var(--item5-filter);
      opacity: var(--item5-opacity);
  }
}
/* previous */
.carousel.prev .list .item:nth-child(5){
  animation: transformFromPosition4 0.5s ease-in-out 1 forwards;
}
.carousel.prev .list .item:nth-child(4){
  animation: transformFromPosition3 0.7s ease-in-out 1 forwards;
}
.carousel.prev .list .item:nth-child(3){
  animation: transformFromPosition2 0.9s ease-in-out 1 forwards;
}
.carousel.prev .list .item:nth-child(2){
  animation: transformFromPosition1 1.1s ease-in-out 1 forwards;
}
@keyframes transformFromPosition1{
  from{
      transform: var(--item1-transform);
      filter: var(--item1-filter);
      opacity: var(--item1-opacity);        
  }
}

/* detail  */
.carousel .list .item .detail{
  opacity: 0;
  pointer-events: none;
}
/* showDetail */
.carousel.showDetail .list .item:nth-child(3),
.carousel.showDetail .list .item:nth-child(4){
  left: 100%;
  opacity: 0;
  pointer-events: none;
}
.carousel.showDetail .list .item:nth-child(2){
  width: 100%;
}
.carousel.showDetail .list .item:nth-child(2) .introduce{
  opacity: 0;
  pointer-events: none;
}
.carousel.showDetail .list .item:nth-child(2) img{
  right: 50%;
}
.carousel.showDetail .list .item:nth-child(2) .detail{
  opacity: 1;
  width: 50%;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  pointer-events: auto;
}
.carousel.showDetail .list .item:nth-child(2) .detail .title{
  font-size: 4em;
}
.carousel.showDetail .list .item:nth-child(2) .detail .specifications{
  display: flex;
  gap: 10px;
  width: 100%;
  border-top: 1px solid #5553;
  margin-top: 20px;
}
.carousel.showDetail .list .item:nth-child(2) .detail .specifications div{
  width: 90px;
  text-align: center;
  flex-shrink: 0;
}
.carousel.showDetail .list .item:nth-child(2) .detail .specifications div p:nth-child(1){
  font-weight: bold;
}
.carousel.carousel.showDetail .list .item:nth-child(2) .checkout button{
  font-family: Poppins;
  background-color: transparent;
  border: 1px solid #5555;
  margin-left: 5px;
  padding: 5px 10px;
  letter-spacing: 2px;
  font-weight: 500;
}
.carousel.carousel.showDetail .list .item:nth-child(2) .checkout button:nth-child(2){
  background-color: #693EFF;
  color: #eee;
}
.carousel.showDetail .list .item:nth-child(2) .detail  .title,
.carousel.showDetail .list .item:nth-child(2) .detail  .des,
.carousel.showDetail .list .item:nth-child(2) .detail .specifications,
.carousel.showDetail .list .item:nth-child(2) .detail .checkout{
  opacity: 0;
  animation: showContent 0.5s 1s ease-in-out 1 forwards;
}
.carousel.showDetail .list .item:nth-child(2) .detail  .des{
  animation-delay: 1.2s;
}
.carousel.showDetail .list .item:nth-child(2) .detail .specifications{
  animation-delay: 1.4s;
}
.carousel.showDetail .list .item:nth-child(2) .detail .checkout{
  animation-delay: 1.6s;
}
.arrows{
  position: absolute;
  bottom: 10px;
  width: 1140px;
  max-width: 90%;
  display: flex;
  justify-content: space-between;
  left: 50%;
  transform: translateX(-50%);
}
#prev,
#next{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: monospace;
  border: 2px solid var(--text-white);
  color: var(--bg-sunglow);
  font-size: large;
  bottom: 20%;
  left: 10%;
}
#next{
  left: unset;
  right: 10%;
}
#back{
  position: absolute;
  z-index: 100;
  bottom: 0%;
  left: 50%;
  transform: translateX(-50%);
  border: none;
  width: 15rem;
  font-family: Poppins;
  font-weight: bold;
  letter-spacing: 3px;
  background-color: var(--bg-sunglow);
  border-radius: var(--radius-pill);
  padding: 10px;
  /* opacity: 0; */
  transition: opacity 0.5s;
}
.carousel.showDetail #back{
  opacity: 1;
}
.carousel.showDetail #prev,
.carousel.showDetail #next{
  opacity: 0;
  pointer-events: none;
}
.carousel::before{
  width: 500px;
  height: 300px;
  content: '';
  background-image: linear-gradient(70deg, #DC422A, blue);
  position: absolute;
  z-index: -1;
  border-radius: 20% 30% 80% 10%;
  filter: blur(150px);
  top: 50%;
  left: 50%;
  transform: translate(-10%, -50%);
  transition: 1s;
}
.carousel.showDetail::before{
  transform: translate(-100%, -50%) rotate(90deg);
  filter: blur(130px);
}
@media screen and (max-width: 991px){
  /* ipad, tablets */
  .carousel .list .item{
      width: 90%;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail .specifications{
      overflow: auto;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail .title{
      font-size: 2em;
  }
}
@media screen and (max-width: 767px){
  /* mobile */
  .carousel{
      height: 600px;
  }
  .carousel .list .item{
      width: 100%;
      font-size: 10px;
  }
  
  .carousel .list{
      height: 100%;
  }
  .carousel .list .item:nth-child(2) .introduce{
      width: 50%;
  }
  
  .carousel .list .item img{
      width: 40%;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail{
      backdrop-filter: blur(10px);
      font-size: small;
  }
  .carousel .list .item:nth-child(2) .introduce .des,
  .carousel.showDetail .list .item:nth-child(2) .detail .des{
      height: 100px;
      overflow: auto;
  }
  .carousel.showDetail .list .item:nth-child(2) .detail .checkout{
      display: flex;
      width: max-content;
      float: right;
  }
}





/*-----------------------------------*\
  #3D Carousel THREE JS
\*-----------------------------------*/

#Solar_carousel{
  width: 100%;
  height: 80vh;
  z-index: 99;
}

#Solar_carousel h2{
  transform: translateY(50px);
  text-align: center;
  color: transparent;
  font-weight: 900;
  -webkit-text-stroke: 0.5px var(--text-white);
  text-transform: uppercase;
}




/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/* Responsiveness for larger than 575px screen */

@media(min-width: 575px){

  .container{
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
  }

  .header .container{
    max-width: unset;
  }

  .code_of_conduct{
    display: none;
  }
  
}


/* Responsiveness for larger than 768px screen */

@media(min-width: 768px){

  .hero-img{
    width: 400px;
  }

  :root{

    --fontSize-1: 5.5rem;
    --fontSize-2: 4rem;

    --section-spacing: 150px;
  }

  .container{
    max-width: 720px;
  }

  .section-text{
    max-width: 500px;
    margin-inline: auto;
  }
  

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

  .btn-secondary{
    color: var(--text-white);
    height: 52px;
    border: 2px solid var(--border-blue-jeans);
    padding-inline: 30px;
  }

  .btn-secondary:is(:hover, :focus-visible){
    background-color: var(--bg-blue-jeans);
  }

  .code_of_conduct{
    display: none;
  }

  .header .btn{
    display: grid;
    margin-inline: auto 30px;
  }

  .hero{
    padding-block: 160px;
  }

  .hero-content{
    max-width: 560px;
  }

  .hero .input-wrapper{
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .hero .btn{
    margin-block-start: 0;
    min-width: max-content;
  }


  .footer-list{
    grid-template-columns: repeat(3, 1fr);
  }

}


/* Responsiveness for larger than 992px screen */

@media(min-width: 992px){

  .container{
    max-width: 960px;
    padding-inline: 40px;
  }

  body.nav-active{
    overflow: auto;
  }

  .nav-open-btn, .overlay{
    display: none;
  }

  .navbar, .navbar.active{
    all: unset;
    margin-inline-start: 80px;
  }

  .navbar-list{
    display: flex;
    align-items: center;
    gap: 40px;
  }

  .navbar-list i{
    display: none;
  }
  

  .navbar-list > li:not(:last-child){
    margin-block-end: 0;
  }

  .navbar-link{
    color: var(--text-white);
    transition: var(--transition-1);
  }

  .navbar-link:is(:hover, :focus-visible){
    color: var(--text-white-alpha-60);
  }

  .header .btn{
    margin-inline-end: 0;
  }

  .process-banner{
    display: block;
    max-width: 540px;
    margin-inline: auto;
  }

  .process .wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
  }

  .process-item{
    text-align: left;
  }

  .process-item .item-icon{
    margin-inline: 0;
  }

  .process .grid-list{
    gap: 30px 40px;
  }

  .works .grid-list{
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Responsiveness for larger than 1200px screen */

@media(min-width:1200px){

  .hero-img{
    width: 420px;
  }

  .hero-text{
    font-size: 20px;
  }

  :root{
    --fontSize-2: 4.5rem;
    --fontSize-3: 2.8rem;
  }

  .container{
    max-width: 1140px;
  }

  .section-text{
    max-width: 750px;
  }
  

}

@media(min-width:1400px){

  .container{
    max-width: 1350px;
  }

  .section-text{
    margin-block-end: 60px;
  }

  .hero-text{
    font-size: 1.8rem;
    margin-block: 40px;
  }

  .process .wrapper{
    grid-template-columns: 0.7fr 1fr;
    gap: 130px;
  }

  .process-item .item-icon{
    width: 80px;
  }

  .process-item{
    margin-block: 25px 15px;
  }

  .process .grid-list{
    row-gap: 50px;
  }
}

/* ROCKETRY */

section.faq {
  background: var(--bg-russian-violet);
  border-radius: 2.3rem;
  display: grid;
  grid: 10.4rem max-content / 1fr;
  gap: 2.8rem;
  width: 90%;
  max-width: 100%;
  box-shadow: 0px 50px 50px -20px rgba(176, 166, 197, 0.497);
  color: var(--white-color);
  margin: 10px auto;
}

@media screen and (min-width: 1110px) {
  section.faq {
    background: var(--bg-russian-violet);
    grid: 1fr / 38.8rem 1fr;
    gap: 8.7rem;
    max-width: 92rem;
    min-height: 60rem;
  }
}


/* Images */

/* Image containers */

section.faq__img-container {
  width: 100%;
  height: 100%;
  display: table-column;
  place-items: center;
  /* grid: "image-containers" 1fr / 1fr; */
}

.main-images-container {
  grid-area: image-containers;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  grid: "images" 1fr / 1fr;
  margin-bottom: 30px;
}

@media screen and (min-width: 1110px) {
  .main-images-container {
    position: relative;
    overflow: hidden;
  }
}

/* Main images (woman + shadow) */

.main-images-container > picture {
  grid-area: images;
}

picture.faq__woman-illustration img {
  width: 23.685rem;
  height: auto;
  transform: translate(0, -10.8rem);
  position: relative;
  z-index: var(--z-index-secondary);
}

@media screen and (min-width: 1110px) {
  picture.faq__woman-illustration img {
    width: 47.2rem;
    transform: translate(-8.5rem, 0);
  }
}

picture.faq__shadow-illustration img {
  transform: translate(0, -3.7rem);
  width: 23.685rem;
  z-index: var(--z-index-lowest);
}

@media screen and (min-width: 1110px) {
  picture.faq__shadow-illustration img {
    position: absolute;
    width: 96.4rem;
    right: 0;
    top: 50%;
    transform: translate(0, -58%);
  }
}

/* Box image */

img.faq__box-illustration {
  display: none;
  grid-area: image-containers;
  z-index: var(--z-index-main);
}

@media screen and (min-width: 1110px) {
  img.faq__box-illustration {
    display: block;
    transform: translate(-19rem, 4rem);
  }
}


/* Text */
  /* Text Container */
section.faq__text-container {
  padding: 0 2.4rem 4.8rem;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  gap: 3.8rem;
  margin-top: 150px;
}

@media screen and (min-width: 1110px) {
  section.faq__text-container {
    width: 100%;
    padding: 6.5rem 9.5rem 5rem 0;
    align-items: flex-start;
  }
}

/* Text Styling */

.faq__heading {
  font-size: var(--font-size-heading);
  font-weight: var(--font-weight-bold);
  color: var(--dark-des-blue);
}

ul.faq__faqs-list {
  width: 100%;
  display: flex;
  flex-flow: column nowrap;
  gap: 1.9rem;
}

li.faq__faq-item {
  border-bottom: solid 1px var(--light-gray-blue);
  cursor: pointer;
  padding: 0 0 1.8rem;
}

.faq-item__summary {
  font-size: var(--font-size-summary-description);
  display: flex;
  justify-content: space-between;
  align-items: start;
  transition: font-weight 250ms, color 250ms;
}

@media screen and (min-width: 1110px) {
  .faq-item__summary {
    padding-right: 1.5rem;
  }
}

li.faq__faq-item:hover .faq-item__summary {
  color: var(--red);
}

.faq__faq-item:is(.active) > .faq-item__summary {
  font-weight: var(--font-weight-bold);
}

img.faq-item__arrow-icon {
  transition: transform 250ms;
}

.faq__faq-item:is(.active) img.faq-item__arrow-icon {
  transform: rotate(180deg);
}

.faq-item__detail {
  font-size: var(--font-size-summary-detail);
  line-height: var(--line-height-summary-detail);
  max-height: 0;
  overflow: hidden;
  transition: max-height 250ms ease, margin-top 250ms;
  color: var(--dark-gray-blue);
}

.faq__faq-item:is(.active) > .faq-item__detail {
  margin-top: 1.1rem;
}

/*-----------------------------------*\
  #TELESCOPE STYLE
\*-----------------------------------*/
.telescope-slider-wrapper {
  position: relative;
  max-width: 120rem;
  margin: 10px auto;
}

.telescope-slider {
  display: flex;
  max-height: 80rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  border-radius: 1rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
  overflow-y: auto;
 
}




.telescope-slider::-webkit-scrollbar {
  display: none;
}

.telescope-slide {
  flex: 1 0 100%;
  scroll-snap-align: start;
  position: relative;
  text-align: center;
}

model-viewer {
  width: 100%;
  height: 400px;
  border-radius: 40px;
  background-color: rgba(0, 0, 0, 0.6);
  box-shadow: 0 2rem 4rem -1rem hsla(0, 0%, 0%, 0.25);
}

figcaption {
  color: rgb(255, 255, 255);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 2.2rem;
  margin-top: 10px;
}

.telescope-slider-nav {
  display: flex;
  column-gap: 1rem;
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.telescope-slider-nav a {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.75;
  transition: opacity ease 250ms;
}

.telescope-slider-nav a:hover {
  opacity: 1;
}

/* SCROLLBAR OF THE CAROUSEL OF SOLAR SYSTEM */
.specifications::-webkit-scrollbar{
  height: 5px;
  
}

