body{
    margin: 0;
    padding: 0;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color:#ebbeff;
}
.container{
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 100px;
    background-color: #001f7c38
}
.back-vid{
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
}
header{
    display : flex;
    position: absolute;
    top: 0;
    left: 0;
    right : 0;
    align-items: center;
    justify-content: space-between;
    height : 70px; 
    background-color: rgba(255, 255, 255, 0.123);
    backdrop-filter: blur(10px);
    padding: 0 30px;
    box-shadow:0 0 15px #72a1de8d;
    z-index: 999;
}

.left{
    display: flex;
    align-items: center;
}
.left img{
    width:40px;
    margin : 0 15px;
}

header ul{
    display:flex; 
    justify-content: space-between;
    width: 35%;
    padding: 15px 15px;
    border-radius: 15px;
    background-color: rgba(0, 0, 69, 0.30);
    backdrop-filter: blur(10px);
    box-shadow:0 0 10px #727fde65;
}
header ul li{
    list-style: none;
}
header ul a{
    text-decoration: none;
    color: lightgrey;
    font-weight: 700;
    margin: 0 10px;

}
.box-icons{
    display: flex;
    gap: 10px;
}

.box-icons a{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    width: 20px;
    height: 20px;
    border: 2px solid #727fde;
    text-decoration: none;
    color: lightgrey;
    border-radius: 50%;
}
.box-icons a:hover{
    background-color: #727fde;
    color: black;
    box-shadow: 0 0 15px #727fde6f;
}
/*.backdrop{
    position:absolute;
    top: 0;
    width: 100%;
    justify-content: center;
    mix-blend-mode: lighten;

}

.backdrop-box video{
    width: 75%;
    margin-top: -23.5%;
}*/
.intro{
    position: relative;
    display: flex;
    width: 100%;
    height: 100vh;
    align-items: center;
    justify-content: space-between;
    
}

.intro-info{
    position: absolute;
    left: 5%;
}
.intro-info .intro-info-title{
    color: #e297f5;
    padding: 10px 20px;
    font-size: 20px;
    border: 5px solid #692263;
    width: 330px;
    background-color: #727fde1a;
    box-shadow: 0 0 10px #727fde6f;
    border-radius: 70px;
}
.intro-info h1{
    font-size:60px;
    max-width:500px;
    font-weight: 700;
    line-height: 70px;
    margin-top:40px;
    margin-bottom: 30px;

}
.intro-info p{
    max-width: 550px;
    line-height:25px;
    margin-bottom:40px;
    font-size:20px;

}

.intro-info button{
    color:rgb(195, 121, 224);
    padding:10px 20px;
    border-radius: 5px;
    border: 3px solid #692263;
    background-color: transparent;
    box-shadow: 0 0 5px #727fde6f;
    cursor: pointer;
    transition:0.3s;
    font-weight: 200;
}

.intro-info button.hover{
    box-shadow: 0 0 10px #7c85bb;
    
}
/* Gradient Animation */
.gradient{
    background: linear-gradient(to right , #aa93eb, #527cd6, #c482be, #997ce7, #4d7adb, #aa93eb);
    background-size: 200% ;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: animate-gradient 2.5s linear infinite;

}

@keyframes animate-gradient{
    to{
        background-position: 200%;
    }

}  

.intro-vid-box{
    position: absolute;
    right: 3%;
}

.intro-vid-box video{
    height:900px;
}

.scroll-down{
    height:40px;
    width: 30px;
    border: 2px solid lightgray;
    position:absolute;
    left: 49%;
    bottom: 8%;
    border-radius: 50px;
    cursor: pointer;
    box-shadow:0 0 15px rgba(211,211,211,0.477);


}

.scroll-down::before,
.scroll-down::after{
    content: "";
    position: absolute;
    top: 35%;
    left: 50%;
    height: 10px;
    width: 10px;
    border: 2px solid lightgray;
    transform: translate(-50%) rotate(45deg);
    border-top:transparent;
    border-left: transparent;
    animation: scroll-down 2s ease-in-out infinite;


}


.scroll-down::before {
    top: 15%;
    animation-delay: 0.3s;

}

@keyframes scroll-down{
    0% {
        opacity: 0;
        
    }
    30%, 60%{
        opacity: 1;
    }
    100%{
        top: 90%;
        opacity: 0;
        
        
    }
}

.info-section{
    display:flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin-top: 100px;
}

.section-title{
    font-size: 40px;
    font-weight: 700;
    padding-top: 1rem;
    
}

.info-cards{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
    margin-bottom: 4rem;
    flex: 1;
    
}

.card{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 0, 32, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 20px;
    box-sizing: border-box;
    transition: 0.3s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.footer-space {
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-space p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.card > * {
    position: relative;
    z-index: 2; /* Text above overlay */
}

.card:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 350px;
}

.card:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    height: 350px;
}

.card:nth-child(3) {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    height: 570px;
}

.card:nth-child(4) {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    height: 200px;
}

.card img, .card video{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 65%;  /* NOW covers  card */
    object-fit: cover;
    object-position: center;
    z-index: 0;
    border-radius: 20px;  /* All corners rounded */
}


.card h1{
    position: relative;
    margin: 0 0 16px 0;
    font-size: 24px;
    z-index: 2;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.card p{
    position: relative;
    z-index: 2;
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    line-height: 20px;
    font-weight: 400;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.1px;
}
.card .text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 0, 32, 0.95);  /* Clean background for text area */
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 0 0 20px 20px;  /* Only bottom corners rounded */
}

.card:hover{
    box-shadow: 0 0 15px #727fde86;
    transform: translateY(-5px);

}
 



@media(max-aspect-ratio: 16/9){
    .back-vid{
        width: auto;
        height: 100%;
    }
}

@media(min-aspect-ratio: 16/9){
    .back-vid{
        width: 100%;
        height: auto;
    }
}