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

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;

    background-color: #ffffff;
    color: #333;
    font-size: 1.2em;
    line-height: 1.5em;
}

h1 {
    font-size: 2em;
}

.standard-text-container{
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    background-color: #ffffff;
    padding: 0 40px;
}

/* Header and Navigation */
header {
    background-color: #333;
    width: 100%; /* Full width of the page */
    padding: 20px;
}

.main-logo{
    width: 100%;
    max-width: 200px;
}

.header-description{
    text-align: center;
    margin: 20px 0;
}

.sub-text{
    margin: 20px 0;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

nav {
    display: flex;
    justify-content: space-between; /* Logo on the left, nav links on the right */
    align-items: center;
    max-width: 1200px; /* Limit the content width */
    margin: 0 auto; /* Center the nav on the page */
}

header .logo a {
    color: #ff6347;
    font-size: 24px;
    text-decoration: none;
}

/* Navigation links flush right */
header ul {
    list-style: none;
    display: flex;
    margin: 0;
}

header ul li {
    margin-left: 20px;
}

header ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

header ul li a:hover {
    background-color: #ff6347;
    border-radius: 5px;
}

/* Mobile Layout: Stack logo on top, nav links in a row underneath */
@media (max-width: 768px) {
    nav {
        flex-direction: column; /* Stack the logo and navigation links */
        align-items: center; /* Center align the logo and nav links */
        line-height: 2.5em;
    }

    header .logo {
        margin-bottom: 20px; /* Space between logo and links */
    }

    /* Navigation links in a row under the logo */
    header ul {
        flex-direction: row; /* Keep nav links in a row (horizontal) */
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping if needed on smaller screens */
    }

    header ul li {
        margin-left: 10px; /* Adjust spacing between nav items on mobile */
    }

    header ul li a {
        padding: 10px 15px; /* Adjust padding for smaller buttons */
    }
}



/* Hero Section with Video Background */
.hero {
    position: relative;
    height: 50vh; /* Only 50% of the viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
    border-bottom: 1px solid #cccccc;
}

/* Video container fills the height but is constrained to 50% of the viewport */
.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0; /* Initially hidden */
    animation: fadeInVideo 2s ease forwards; /* Animation for fade-in */
}

.video-block{
    background-color: #efefef;
}

/* Animation for video fade-in */
@keyframes fadeInVideo {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    z-index: 1;
    position: relative;
    max-width: 700px;
    background-color: rgba(0,0,0,0.85);
    padding: 40px;
    border-radius: 20px;
}


.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    padding: 15px 30px;
    background-color: #ff6347;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e5533d;
}

#features {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background-color: #fff;
}

.feature-item {
    flex: 1 1 300px;
    margin: 10px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
}

/* Mobile View for Hero Section */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 12px 25px;
    }

    .hero-content{
        line-height: 2.5em;
    }
}

footer {
    background-color: #111;
    color: white;
    text-align: center;
    padding: 20px 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background-color: white;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}

.faq-question {
    background-color: #333;
    color: white;
    padding: 15px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    outline: none;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #ff6347;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 15px;
    background-color: #f4f4f4;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 15px 0;
}

/* Open state for accordion */
.faq-answer.open {
    max-height: 200px; /* Adjust for typical answer length */
    padding: 15px;
}

/* Changelog Table */
.changelog-table {
    max-width: 800px;
    margin: 40px auto;
    display: flex;
    flex-direction: column;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: white;
    overflow: hidden;
}

.table-header {
    display: flex;
    background-color: #333;
    color: white;
    padding: 10px;
}

.table-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s ease;
}

.table-row:hover {
    background-color: #f4f4f4;
}

.table-cell {
    flex: 1;
    padding: 15px;
    text-align: left;
    font-size: 16px;
}


.video-embed{
    border: 1px solid #cccccc;
    box-shadow: 2px 2px 4px #efefef;
    width: 560px;
    height: 315px;
}

.video-block{
    margin-bottom: 40px;
    border-bottom: 1px solid #fbfbfb;
}

/* Responsive flex for mobile view */
@media (max-width: 600px) {
    .table-header, .table-row {
        flex-direction: column;
    }

    .table-cell {
        text-align: center;
        padding: 10px;
    }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}


/* Section Styles */
.image-grid-section {
    padding: 40px;
    background-color: #efefef;
    text-align: center;
}

.image-grid-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.image-grid-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Image Grid */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns on larger screens */
    gap: 20px;
    padding: 0 20px;
}

.image-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #666666;
}

.image-item img:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on smaller screens */
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr; /* 1 column on small mobile screens */
    }
}


/* Video Section Styles */
.video-section {
    padding: 40px;
    background-color: #f4f4f4;
    text-align: center;
}

.video-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on larger screens */
    gap: 30px;
    padding: 20px;
}

.video-item {
    background-color: #ffffff; /* Color block around the video */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-item:hover {
    transform: translateY(-5px); /* Slight lift on hover */
}

.video-wrapper {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.video-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.video-item p {
    font-size: 1rem;
    color: #555;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr; /* 1 column on smaller screens */
    }
}
