body {
    background-image: url(bg3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ddd;
    font-family: 'Jura', sans-serif;
    font-weight: 300;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-size: 150%;
}

.navbar {
    width: 100%;
    background: rgba(35, 37, 38, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 12px #0003;
}

.navbar-content {
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
}

.navbar-brand {
    color: #ddd;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: color 0.2s;
}
.navbar-brand:hover {
    color: #fff;
}

.microsite-content {
    margin: 60px auto 40px auto;
    background: rgba(35, 37, 38, 0.85);
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.25);
}

.footer {
    width: 100%;
    background: rgba(35, 37, 38, 0.95);
    color: #ccc;
    text-align: center;
    padding: 1rem 0;
    position: static;
    left: unset;
    bottom: unset;
    font-size: 1rem;
    letter-spacing: 1px;
}

.main-content {
    max-width: 1050px;
    margin: 48px auto 32px auto;
    padding: 0 12px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s, transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: opacity, transform;
    margin-bottom: 0;
}
.fade-section.visible {
    opacity: 1;
    transform: none;
}

.title {
    max-width: 1100px;
    margin: 48px auto 32px auto;
    padding: 0 24px;
    display: block;
    font-size: 140%;
    text-align: left;
}

.title,
.main-content,
.microsite-content,
.fade-section {
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.title h1 {
    font-weight: 300;
    letter-spacing: 0.5px;
}

.course-benefits-section {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.course-benefits-section > .benefits-text {
    flex: 2;
    min-width: 220px;
}

.course-benefits-section > .benefits-video {
    flex: 1;
    min-width: 180px;
    max-width: 100vw;
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.course-benefits-section video {
    width: 100%;
    max-width: 380px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.signup-section {
    display: flex;
    align-items: flex-start;
    gap: 2.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.signup-section form {
    max-width: 400px;
    flex: 1;
}

.signup-logo {
    flex: 1;
    min-width: 180px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.signup-logo img {
    max-width: 320px;
    width: 100%;
}

.lector-row {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
}

.lector-photo {
    flex: 0 0 140px;
    text-align: center;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.lector-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin: 24px 0 0 0;
    border-radius: 6px;
}

.lector-info {
    flex: 1;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

@media (max-width: 700px) {
    .main-content {
        max-width: 100vw;
        padding: 0 4vw;
    }
    .benefits-video video,
    .course-benefits-section video {
        max-width: 100vw;
    }
    .course-benefits-section {
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: stretch !important;
    }
    .course-benefits-section video {
        max-width: 100% !important;
        height: auto !important;
    }
    .signup-section {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    .signup-logo {
        justify-content: center;
        align-items: center;
        margin-top: 1.5rem;
    }
    .lector-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .lector-photo {
        justify-content: center;
        align-items: center;
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }
    .lector-photo img {
        margin: 0 auto;
    }
}