/**
 * OnlineApplication Page Specific Styles
 */

/* ===== LANGUAGE SELECTION BANNER ===== */
.application-banner {
    width: 100%;
    max-width: 1200px;
    padding: 40px 40px 60px;
    background: var(--white);
    text-align: center;
    margin: 0 auto;
}

.application-header {
    margin-bottom: 50px;
}

.application-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.application-instructions {
    font-size: 16px;
    color: var(--muted);
    margin: 20px auto 30px;
    line-height: 1.5;
    text-align: center;
    max-width: 800px;
}

.application-subtitle {
    font-size: 22px;
    color: var(--muted);
    font-weight: 400;
}

/* ===== LANGUAGE SELECTION CARDS ===== */
.language-selection {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 20px;
    width: 100%;
}

.language-option {
    background: var(--white);
    border: 1px solid var(--black);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--black);
    flex: 1;
    max-width: calc(50% - 15px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    cursor: pointer;
}

.language-option:hover {
    border-color: var(--brand);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(242, 140, 0, 0.15);
}

.language-flag {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.language-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.language-desc {
    font-size: 14px;
    color: var(--black);
}

/* ===== HOW TO GET TO US SECTION ===== */
.how-to-section {
    padding: 80px 20px;
    background: var(--black);
    width: 100%;
}

.how-to-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-to-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.how-to-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: var(--white);
}

.how-to-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
}

.how-to-link:hover {
    text-decoration: underline;
}

.how-to-map {
    background: var(--light-gray);
    border-radius: 12px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-to-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 12px;
}

/* ===== ABOUT US SECTION ===== */
.about-section {
    background: var(--white);
    color: var(--dark);
    padding: 60px 20px 30px;
    width: 100%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-contact {
    font-size: 18px;
    font-weight: 600;
    color: var(--brand);
    text-decoration: none;
}

.about-contact:hover {
    color: var(--brand-dark);
}

/* ===== COMPATIBILITY SECTIONS ===== */
/* These are for Google Sites embed compatibility */
.invisible-spacer {
    height: 200vh;
    width: 100%;
    background: var(--black);
    visibility: visible;
    pointer-events: none;
}

.black-void {
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex: 1;
    min-height: 500px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .how-to-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .language-selection {
        flex-direction: column;
        gap: 20px;
    }

    .language-option {
        max-width: 100%;
    }

    .application-banner {
        padding: 30px 20px 40px;
    }

    .how-to-section {
        padding: 60px 20px;
    }

    .about-section {
        padding: 40px 20px 20px;
    }
}

@media (max-width: 600px) {
    .application-title {
        font-size: 28px;
    }

    .application-subtitle {
        font-size: 18px;
    }

    .application-instructions {
        font-size: 14px;
    }

    .language-flag {
        font-size: 40px;
    }

    .language-name {
        font-size: 18px;
    }
}
