/* General page styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f4f4f9;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

header {
    background-color: #2c3e50;
    color: #fff;
    padding: 20px;
    text-align: center;
}

header nav a {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    margin: 0 10px;
    font-weight: bold;
    border-radius: 4px;
}

header nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

section {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    margin-bottom: 10px;
}

/* Video section styling */
.video-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .video-list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    .video-item {
        flex: 1 1 300px;
        max-width: 45%;
    }
}

/* Video Wrapper for maintaining 16:9 aspect ratio */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px; /* Optional: add rounded corners */
}

/* Data table styling */
.table-container {
    display: flex;
    justify-content: center;
    padding: 10px;
    margin: 20px 0;
    background-color: #f4f4f9;
    border: 1px solid #ddd;
    border-radius: 8px;
}

iframe {
    width: 100%;
    max-width: 100%;
    height: 600px;
    border: none;
}

/* Button styling */
button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
    margin-bottom: 10px;
    border-radius: 4px;
}

button:hover {
    background-color: #34495e;
}

button:focus {
    outline: 2px solid #34495e;
}

/* Contact form styling */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

form label {
    font-weight: bold;
}

form input, form textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

form textarea {
    resize: vertical;
}

form button {
    background-color: #2c3e50;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

form button:hover {
    background-color: #34495e;
}

form button:focus {
    outline: 2px solid #34495e;
}

.ad-section {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 20px auto;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.ad-section h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.ad-section p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.app-store-link {
    display: inline-block;
}

.app-store-badge {
    width: 150px; /* Adjust size as needed */
    height: auto;
}

.app-store-link:hover .app-store-badge {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

