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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header and Intro Section */
header {
    position: relative;
    text-align: center;
}

.cover-image {
    width: 100%;
    height: 200px;
}

.intro-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    background-color: #000308a8;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.btn {
    background-color: #ff6f61;
    padding: 0.5rem 1rem;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.btn:hover {
    background-color: #ff5a4f;
}

/* Feature Section */
#features {
    padding: 2rem;
    background-color: #cfcdcd;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
}

.feature {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    align-items: center;
}

.feature img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-right: 2rem;
    flex: 1;
}

.feature-text {
    flex: 2;
}

/* Video Section */
.video-section {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2rem 0;
    padding: 0 2rem;
}

.video-frame {
    width: 100%;
    max-width: 48%;
    margin-bottom: 2rem;
}

iframe {
    width: 100%;
    height: 315px;
    border: none;
}

.video-caption {
    text-align: center;
    font-weight: bold;
}

/* Placeholder Frame for Demo Video */
.black-bg-white-text {
    background-color: #000; /* Black background */
    color: #fff;            /* White text */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    height: 315px; /* Ensure the height remains the same */
    width: 100%;
    border: 2px solid #ccc;
}

/* About Section */
.about-section {
    padding: 2rem;
    background-color: #cdcaca;
    color: #000000;
    text-align: justify;
}

/* Footer Styling */
footer {
    padding: 1rem;
    background-color: #000;
    color: white;
    text-align: center;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature img {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .video-frame {
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
    }
}
