:root {
    --bg: #f6f8fb;
    --panel: #ffffff;
    --text: #333;
    --muted: #6b7280;
    --border: #e6ebf2;
    --primary: #1d4ed8;
    --primary-dark: #1e3a8a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--panel);
    border-bottom: 1px solid var(--border);
}

.brand {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.2rem;
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    margin-left: 24px;
}

.nav-links a.btn-login {
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.2s;
}

.nav-links a.btn-login:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 40px;
}

.hero-btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
}

/* Panel Layout */
/* New Panel Layout (Light Theme) */
.panels-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .panel {
        flex-direction: row;
        align-items: stretch;
        gap: 30px;
    }

    /* Reverses the layout for the second panel */
    .panel:nth-child(even) {
        flex-direction: row-reverse;
    }
}

.panel-box,
.panel-image-container {
    flex: 1;
    /* Using your existing CSS variables for a seamless match */
    background-color: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.panel-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.panel-image-container {
    padding: 2px;
    /* Small padding inside the container border */
    display: flex;
}

.panel-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    /* Slightly smaller than the container to fit nicely */
    /* object-fit: cover; */
}

.panel-title {
    color: var(--primary);
    /* Uses your existing blue */
    font-size: 1.75rem;
    margin: 20px 0 20px 0;
    line-height: 1.3;
}

.panel-text {
    color: var(--text);
    /* Uses your existing dark grey text */
    font-size: 1rem;
    margin: 20px 0 20px 0;
    line-height: 1.6;
}

.footer-text {
    color: var(--text);
    /* Uses your existing dark grey text */
    font-size: 1rem;
    margin: 20px 0 20px 0;
    line-height: 1.6;
}

.logo-img {
    max-width: 100%;
    height: auto;
}

/* Wrapper ensures the entire container area behaves correctly within your page layout */
.video-wrapper {
    display: flex;
    justify-content: center;
    /* Horizontally centers the flex item */
    align-items: center;
    /* Vertically centers the flex item if parent has height */
    width: 100%;
}

.video-container {
    width: 100%;
    max-width: 800px;
    /* Limits the maximum size on desktop screens */
    aspect-ratio: 16 / 9;
    /* Maintains standard widescreen proportion automatically */
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}