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


.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Adjust height as needed */
    width: auto; /* Keep aspect ratio */
    margin-right: 10px; /* Add space between logo and text */
}


.navbar {
    position: fixed;
    
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-links li {
    font-weight: bold;
   
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}
.login-btn {
   border:1px solid white;
   border-radius: 8px;
}

.login-btn a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
    padding: 5px 12px;
   
}

.login-btn img {
    width: 30px;
    height: 30px;
    padding-right:5px;
    padding-bottom: 2px;
}

.login-btn a:hover {
    color: #ffcc00;
}


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

body{
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
   
    overflow-y: auto;
    margin: 0;
    padding: 0;
}
 
.container{
    position: relative;  /* Change from absolute */
     background-color: black;
    min-height: 70vh; /* Ensures it takes up enough space */
    margin-bottom: -180px;  /* Reduce gap */
    top: 100%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
   overflow: hidden;
    margin-top: 400px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
}

.container .slide .item{
    width: 200px;
    height: 200px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slide .item:nth-child(1),
.slide .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slide .item:nth-child(3){
    left: 60%;
}
.slide .item:nth-child(4){
    left: calc(60% + 220px);
}
.slide .item:nth-child(5){
    left: calc(60% + 440px);
}


.slide .item:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.item .content{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slide .item:nth-child(2) .content{
    display: block;
}


.content .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.content .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}
/*
.content button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}
*/

@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}


.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 20px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px ;
    transition: 0.3s;
   /* Ensures full coverage */
    background-position: center;
    background-repeat: no-repeat;
}
.prev {
    background-image: url('resources/left.png'); 
    background-size: 80%;
    background-color: transparent;
}

.next {
    background-image: url('resources/right.png'); 
    background-size: 80%;
    background-color: transparent;
}
.button .prev:hover{
    transform: translate(-20%);

}
.button .next:hover{
    transform: translate(20%);

}

/* Space Facts Section */
.space-facts {
    margin-top: -50px;
    color: #fff;
    margin:0;
    text-align: center;
    
    padding: 10px;
    font-size: 18px;
}

.space-facts h2 {
    font-size: 30px;
    margin-top: 0px;
    margin-bottom: 30px;
}
/* Info Box Styles */
.info-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: black;
    color: white;
    padding: 20px;
    margin-top: 30px;
    width: 100%;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.info-box img {
    width: 50%;
    height: auto;
    margin-left:0px;
    margin-right:0px;
   
}

.info-content {
    margin-left:0;
    margin-right:0;
    text-align: left;
}

.info-button {
    background-color: #ffcc00;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.info-button:hover {
    background-color: #ff9900;
}
/* Info Box Animation */
.info-box {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.info-box.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add hover effect to the "Learn More" button */
.info-button {
    background-color: #ffcc00;
    color: black;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s ease-in-out;
}

.info-button:hover {
    background-color: #ff9900;
    transform: scale(1.1);
}

/* Animate the text inside the info-box */
.info-content h2,
.info-content p {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.info-box.visible .info-content h2,
.info-box.visible .info-content p {
    opacity: 1;
    transform: translateX(0);
}

/* Video Section */
.video-container {
    text-align: center;
    padding: 40px;
    background: #222;
}

.video-container h2 {
    color: #fff;
    margin-bottom: 20px;
}

.video-container iframe {
    border-radius: 10px;
}

/* Contact Form */
.contact-form {
    background: #111;
    color: white;
    text-align: center;
    padding: 40px;
}

.contact-form h2 {
    margin-bottom: 20px;
}

.contact-form form {
    max-width: 400px;
    margin: auto;
}

.contact-form label {
    display: block;
    text-align: left;
    margin-top: 20px;
    font-size: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: none;
    border-radius: 5px;
}

.contact-form button ,.content button{
    margin-top: 20px;
    font-weight: bold;
    padding: 10px 20px;
    background: #ffcc00;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
   
}
.contact-form button ,.content button:hover{
 color:white; 
 


}
/* Footer */
.footer {
    background: black;
    color: white;
    text-align: center;
    padding: 20px;
}
