@import url('https://fonts.googleapis.com/css2?family=Familjen+Grotesk:wght@400;600;700&family=Lato&family=Poppins&display=swap');

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Familjen Grotesk', sans-serif;
    background-color: black;
    color: white;
}

a {
    text-decoration: none;
    color: #fff;
}

ul {
    list-style: none;
}

/* Header/Navbar */
.main-header {

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    height: 100px;
    padding: 0 30px;
}

/* logo */
.logo {
    width: 210px;
}

.logo img {
    /* display: block;
    width: 100%;
    height: auto; */

    position: absolute;
    width: 170px;
    height: auto;
    left: 50px;
    top: 32px;
}

/* Desktop Menu */
.desktop-main-menu {
    margin-right: 50px;
}

.desktop-main-menu ul {
    display: flex;

}

.desktop-main-menu ul li {
    position: relative;
    margin-right: 20px;
    padding-bottom: 2px;
}

/* Menu item bottom border */
.desktop-main-menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: right center;

}

.desktop-main-menu ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition-duration: 0.4s;
}

/* Sections */
section {
    position: relative;
    overflow: hidden;
    height: 100vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
}

.section-inner {
    position: absolute;
    bottom: 200px;
    left: 150px;
    max-width: 560px;
}



.section-inner h4 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
    font-weight: 300;
    animation: fadeInUp 0.5s ease-in-out;
}

.section-inner h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
    /* stop from showing at start */
}

.section-inner h1 {
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 20px;
    width:1000px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
    /* stop from showing at start */
}

.section-inner a {
    animation: fadeInUp 0.5s ease-in-ou 0.4s;
    animation-fill-mode: both;
}

.background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Behind content */
}


/* Background images */
.section-a {
    position: relative;
    height: 100vh;
    overflow: hidden;
} 


.section-b {
    background-image: url('../img/astroquerybackground.jpg');
}
.section-c {
    background-image: url('../img/starship.webp');
}
.section-d {
    background-image: url("../img/perseverancefaster.jpg");
}

.btn {
    position: relative;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    min-width: 130px;
    padding: 15px 50px;
    margin-top: 10px;
    border: 2px solid #fff;
    text-transform: uppercase;
    font-weight: bold;
    overflow: hidden;
    z-index: 2;
    
}

.btn:hover span {
    color: #000;
}

.btn .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 101%;
    height: 100%;
    background-color: #fff;
    color: #000;
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);

}

.btn:hover .hover {
    transform: translateY(0);
}

/* footer */
footer{
    position: relative;
    padding: 55px 0;
}

footer span{
    display: flex;
    margin-bottom: 5px;
    font-size: 12px;
    margin: 10px 20px;
    text-transform: uppercase;
    color: #aaa;
    justify-content: center;
    align-items: center;
    
}
footer ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

footer ul li{
    color: #aaa;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 2.5;
}

footer ul li a{
    color: #fff;
    transition: color 0.6s;
}

footer ul li a:hover{
    color: #aaa;
}










/* Hamburger Menu */
.hamburger{
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
}

.hamburger-top,
.hamburger-middle,
.hamburger-bottom{
    position: absolute;
    width: 20px;
    height: 2px;
    top: 0;
    left: 0;
    background-color: white;
    transition: all 0.5s;
}

.hamburger-middle{
    transform: translateY(5px);
}

.hamburger-bottom{
    transform: translateY(10px);
}

/* Transition hamburger to X when open */
.open{
    transform: rotate(90deg);
}

.open .hamburger-top{
    transform: rotate(45deg) translateY(6px) translateX(6px);
}

.open .hamburger-middle{
    display: none;
}

.open .hamburger-bottom{
    transform: rotate(-45deg) translateY(6px) translateX(-6px);
}

/* Overlay */
.overlay-show{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 3;
}

.stop-scrolling{
    overflow: hidden;
}

.mobile-only{
    display: none;
}

/* Mobile menu */
.mobile-main-menu{
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100%;
    background: #000 ;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22,1);
}

/* Bring menu from right */
.show-menu{
    transform: translateX(0);
}
.mobile-main-menu ul{
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    padding: 50px;
    width: 100%;
}

.mobile-main-menu ul li{
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    border-bottom: 1px #555 dotted;
    width: 100%;
    text-align: right;
    padding-bottom: 8px;
}

.mobile-main-menu ul li a{
    color: #fff;
    transition: color 0.6s;
}

.mobile-main-menu ul li a:hover{
    color: #aaa;
}

.mobile-main-menu ul li{
    margin-bottom: 20px;
}

/* inner pages */
.bg-falcon-9{
    background-image: url('../img/falcon-9.webp');
}
.bg-pleadies{
    background-image: url('../img/pleadies.webp');
}

.bg-terran{
    background-image: url('../img/terranlaunch2.webp');
}

.bg-projects{
    background-image: url('../img/rocketblackandwhite.png');
    background-position: 90% 80%;
    background-repeat: no-repeat;
    background-size: 95%;
}

.bg-starship{
    background-image: url("https://www.spacex.com/vehicles/starship/assets/images/feature.JPG");
}

.bg-starship-second{
    background-image: url("https://www.spacex.com/vehicles/starship/assets/images/carousel/Carousel_00.jpg");
}

.bg-spaceflight{
    background-image: url("https://www.spacex.com/human-spaceflight/assets/images/HS-hero-mobile.webp");
}

.bg-rideshare{
    background-image: url("https://www.spacex.com/static/images/backgrounds/rideshare_feature.jpg");
}

.bg-starshield{
    background-image: url("https://www.spacex.com/static/images/starshield/hero.webp");
}

.bg-starlink{
    background-image: url("	https://api.starlink.com/public-files/Marketing_LandingFeatured_Redesign_Mobile.webp");
}

.section-animate{
    animation: fadeIn 2s ease-in-out;
}


.section-one{
    position:relative;
    height: 100vh;

}

.section-big{
    position: relative;
    overflow: hidden;
    height: 145vh;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
    background-image: url('../img/nightingalebackground.png');
}

.section-big-b{
    position: relative;
    overflow: hidden;
    height: 150vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-transform: uppercase;
    background-image: url('../img/lspacebackground.png');
}

.section-big-c{
    position: relative;
    overflow: hidden;
    height: 120vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-transform: uppercase;
    background-image: url('../img/aerialbackground.png');
}

.section-big-about{
    position: relative;
    overflow: hidden;
    height: 150vh;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-transform: uppercase;
    background-image: url('../img/websitebackground.png');
}


.section-experience{
    position: relative;
    overflow: hidden;
    height: 125vh;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
    background-image: url('../img/hacktxbackground.png');
}

.section-experience-b{
    position: relative;
    overflow: hidden;
    height: 125vh;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    text-transform: uppercase;
    background-image: url('../img/hackricebackground.png');
}

.section-body {
    position: absolute;
    top: 200px;
    left: 150px;
    max-width: 560px;
}


.section-body h4 {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 5px;
    font-weight: 300;
    animation: fadeInUp 0.5s ease-in-out;
}

.section-body h2 {
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
    /* stop from showing at start */
}

.section-body h1 {
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 20px;
    width:1000px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
    /* stop from showing at start */
}

.section-body a {
    animation: fadeInUp 0.5s ease-in-ou 0.4s;
    animation-fill-mode: both;
}

.section-body p {

    animation: fadeInUp 0.5s ease-in-out 0.2s;
    animation-fill-mode: both;
    word-wrap: break-word;
    text-transform: none;
    line-height: 1.6;
    letter-spacing: 0.5px;
    font-size: 22px;
    font-weight:300;
    max-width:750px;
    margin-bottom:40px;

}

.paragraphs {
    position: absolute;
    text-align: center;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-transform: none;         /* No all-caps */
    line-height: 1.6;               /* More vertical breathing room */
    letter-spacing: 0.5px;          /* Slight spacing between letters */
    font-size: 22px;                /* Or whatever suits your layout */
    font-weight: 400;               /* Avoid bold for body text */
    max-width: 900px;               /* Optional: improves readability */
    
}

.hyperlink {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.hyperlink::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* slight gap below text */
    width: 100%;
    height: 2px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-in-out;
}

/* Animate the underline on hover */
.hyperlink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}


.spaced {
  margin-bottom: 20px;
}

.section-inner-top{
    position: absolute;
    text-align: center;
    top: 25%;
    left:50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    width: 80%;

}


.section-inner-top h3{
    font-size: 100px;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease-in-out;
}

.section-inner-top p{
    font-size: 20px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
}



.section-inner-center{
    position: absolute;
    text-align: center;
    top: 50%;
    left:50%;
    transform: translate(-50%, -50%);
    text-transform: uppercase;
    width: 80%;
    
    /* align-items: center; */
}

.section-inner-center h3{
    font-size: 100px;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease-in-out;
}

.section-inner-center p{
    font-size: 20px;
    animation: fadeInUp 0.5s ease-in-out 0.2s;
}


 /* Stats */
 .stats{
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    text-transform: uppercase;
 }

  .stats div span{
    font-size: 160px;
  }

  .stats div h4{
    font-size: 24px;
    font-weight: 300;
  }

.stats-but-body{
  /*  position:absolute; */
   /* top:1050px; */
    gap: 20px;
    margin-bottom: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;   
}

.stats-but-body div span{

    font-size:50px;
    font-weight:600;
    display: block;
    width:175px;
    text-align:center;  /* 3 characters width */
}

.stats-but-body div h4 {
    
    font-size: 18px;
    font-weight:400;
}


/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(140px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        /* transform: translateY(140px); */
    }

    100% {
        opacity: 1;
        /* transform: translateY(0); */
    }
}

/* scroll down arrow */
.scroll-down {
    position: absolute;
    left: 50%;
    bottom: 30px;
    display: block;
    text-align: center;
    font-size: 20px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    z-index: 9;
    left: 50%;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation: fade_move_down 4s ease-in-out infinite;
    animation: fade_move_down 4s ease-in-out infinite;
}


/*animated scroll arrow animation*/
@-webkit-keyframes fade_move_down {
    0% {
        -webkit-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -webkit-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@-moz-keyframes fade_move_down {
    0% {
        -moz-transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        -moz-transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@keyframes fade_move_down {
    0% {
        transform: translate(0, -10px) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 10px) rotate(45deg);
        opacity: 0;
    }
}

@media (max-width: 960px){
    /* Hide desktop menu */
    .desktop-main-menu{
        display: none;
    }

    /* Show main mobile item */
    .mobile-only{
        display: block;
    }

    .section-inner-center h3{
        font-size: 50px;
    }

    footer span{
        display: block;
        margin-bottom: 5px;
    }

}

@media (max-width: 600px){
    .section-inner{
        bottom: 75px;
        left: 20px;
    }

    .section-inner h2{
        font-size: 40px;
    }

    footer span{
        /* position: absolute; */
        /* top: 30px;
        left: 50%px;
        transform: translate(-50%, -50%);
        */
        text-align: center;
        align-items: center;
        margin-bottom: 25px;
    } 
    footer ul li{
        /* margin-right: 15px; */
        text-align: center;
        align-items: center;
        margin-left: 0 15px;
    }

    .logo{
        width: 150px;
        margin: auto;
    }

    /* .section-inner-center{
        width: 80%;
    } */

    .section-inner-center h3{
        font-size: 50px;
    }

    /* stats */
    .stats{
        flex-direction: column;
    }
    .stats div{
        margin-bottom: 20px;
    }

    
}
    
