h1 {
    color: #333;
}
p {
    color: #666;
}
/* Button-like styles for specific links */
.button-link, .download-button {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
}

.button-link:hover {
    background-color: #0056b3;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.main-content {
    flex: 1;
    min-height: 100px;
}

.flex-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-menu {
    background-color: #f8f9fa;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
}
.main-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}
.main-menu ul li {
    display: inline;
}
.main-menu ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}
.main-menu ul li a:hover {
    text-decoration: underline;
}

.main-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    text-align: center;
}
.main-footer p {
    margin: 0;
    color: #666;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}
.footer-links li {
    display: inline;
}
.footer-links li a {
    text-decoration: none;
    color: #007bff;
}
.footer-links li a:hover {
    text-decoration: underline;
}

/* About Page */
.features-list {
    list-style: none;
    padding: 0;
}
.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
.features-list .icon {
    font-size: 24px;
    color: #007bff;
    margin-right: 10px;
}

/* Contact Us Page */
.contact-form-table {
    width: 100%;
    max-width: 600px; /* Restrict table width on large screens */
    margin: 0 auto; /* Center the table */
    border-spacing: 15px;
}
.contact-form-table td {
    vertical-align: top;
}
.form-control {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.captcha-cell {
    text-align: center;
}
.submit-cell {
    text-align: center;
}
.btn {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}
.btn:hover {
    background-color: #0056b3;
}
/* How it works page */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.screenshot-gallery img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
    }
}

.contact-form-table td.padding-right {
    padding-right: 15px;
}

.video-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 85vh; /* Full browser height */
    margin: 0;
}

.video-container video {
    max-height: 80%; /* Scale video to fit browser height */
    max-width: 80%; /* Ensure it doesn't overflow horizontally */
    object-fit: contain; /* Maintain aspect ratio */
}