/* Reset and Base Styles */
body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Prevent scrolling */
}

/* General Background Styling */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Place behind all content */
    overflow: hidden; /* Prevents overflow */
}

/* Video Background for Landing Page */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    object-fit: cover; /* Ensures the video fills the screen */
    z-index: -1;
}



/* Animated Gradient Background for FAQ Page */
.faq-background {
    background: linear-gradient(45deg, #842E8F, #262860, #1D63AD, #1FAFBF, #25D9D9);
    background-size: 300% 300%;
    animation: gradientAnimation 10s infinite;
}

/* Keyframes for Gradient Animation */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Content Styling */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.logo {
    max-width: 180px;
    width: auto;
    height: auto;
    margin-bottom: 20px;
}

.content-box {
    background-color: rgba(38, 40, 60, 0.8); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%; /* Dynamically scales box width */
    max-width: 600px; /* Caps the size for larger screens */
    min-width: 300px; /* Prevents the box from shrinking too small */
}

h1.tagline {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 30px;
}

/* Button Grid Styling */
.top-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
}

.bottom-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    justify-content: center;
}

button {
    background-color: #1D63AD;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    max-width: 150px;
    text-align: center;
}

button:hover {
    background-color: #1FAFBF;
}

/* Footer Styling */
.footer {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: #fff;
    font-size: 0.9rem;
    text-align: left;
    opacity: 0.8;
}

.footer a {
    color: #25D9D9;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .content-box {
        width: 95%;
        padding: 15px;
    }

    .logo {
        max-width: 150px;
    }

    .footer {
        font-size: 0.8rem;
    }
}
