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

body {
    color: white;
}

.bg-video {
    object-fit: cover;
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1; /* Ensures that it stays in the background */
    height: 100%;
    width: 100%;
}

p {
    font-size: 18px;
}

.blurry {
    backdrop-filter: blur(10px); /* Applies the blur effect */
    background-color: rgba(0, 0, 0, 0.187) !important; /* Slight transparency */
}

.navbar {
    backdrop-filter: blur(10px); /* Applies the blur effect */
    background-color: rgba(0, 0, 0, 0.5) !important; /* Slight transparency */
}

.navbar-nav a {
    margin-left: auto; /* Pushes the nav items to the right */
}

#introduction {
    background-color: rgba(0, 0, 0, 0.187);
    padding: 12px;
    border-top-right-radius: 14px;
    border-bottom-right-radius: 14px;
    backdrop-filter: blur(10px);
    margin-left: 0;
    padding-left: 64px;
}

.card-img-top {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* Enforces the 1:1 ratio */
    object-fit: cover; /* Ensures the image covers the container without distortion */
}

.card, .card-body {
    background-color: transparent !important;
    color: white;
    background-color: rgba(0, 0, 0, 0.382) !important; /* Slight transparency */
    backdrop-filter: blur(10px); /* Applies the blur effect */
}

#problem-statement {
    padding: 14px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.intro-animated {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

/* Card hover effects */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

#problem-statement {
    display: flex;
    flex-direction: column;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.col-md-8 {
    flex: 0 0 66.6667%;
    max-width: 66.6667%;
}

.col-md-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .col-md-8, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.gwv {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.col-md-4 video {
    margin-bottom: 20px;
}

#methodology {
    padding: 14px;
    border-radius: 14px;
}

.img-fluid {
    border-radius: 12px;
    width: 550px;
}

#report {
    padding: 12px;
    border-radius: 12px;
}