/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 19px;
    line-height: 1.75;
    color: #1A1A1A;
    background: #FAFAFA;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== RTL SUPPORT ===== */
body.rtl {
    direction: rtl;
    text-align: right;
}

body.rtl .arrow {
    margin-right: 0;
    margin-left: 8px;
}

body.rtl .answer-content {
    margin-left: 0;
    margin-right: 30px;
    padding-left: 0;
    padding-right: 20px;
    border-left: none;
    border-right: 2px solid #E0E0E0;
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    position: fixed;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 15px;
    z-index: 1000;
}

body.rtl .language-switcher {
    right: auto;
    left: 30px;
}

.language-switcher a {
    font-size: 16px;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.language-switcher a:hover,
.language-switcher a.active {
    color: #2E5C8A;
}

/* ===== TYPOGRAPHY ===== */
h1 {
    font-size: 32px;
    font-weight: normal;
    margin-bottom: 20px;
}

h2 {
    font-size: 24px;
    font-weight: normal;
    margin-top: 100px;
    margin-bottom: 30px;
}

p {
    margin-bottom: 24px;
}

a {
    color: #2E5C8A;
    text-decoration: underline;
    transition: text-decoration-thickness 0.2s ease;
}

a:hover {
    text-decoration-thickness: 2px;
}

/* ===== HEADER ===== */
header {
    margin-bottom: 80px;
}

.hero-text {
    font-size: 21px;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 40px;
}

.hero-subtext {
    font-size: 19px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-location {
    font-size: 17px;
    color: #666;
    margin-top: 30px;
}

/* ===== SECTIONS ===== */
section {
    margin-bottom: 80px;
}

section:last-of-type {
    margin-bottom: 40px;
}

/* ===== EXPANDABLE QUESTIONS ===== */
.expandable-question {
    background: none;
    border: none;
    color: #2E5C8A;
    font-size: 19px;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.75;
    padding: 12px 0;
    margin: 24px 0 16px 0;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: all 0.2s ease;
    display: flex;
    align-items: flex-start;
}

body.rtl .expandable-question {
    text-align: right;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.expandable-question:hover {
    text-decoration: underline;
}

.expandable-question:focus {
    outline: 2px solid #2E5C8A;
    outline-offset: 4px;
}

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-right: 8px;
    flex-shrink: 0;
    font-weight: normal;
}

.expandable-question[aria-expanded="true"] .arrow {
    transform: rotate(90deg);
}

body.rtl .expandable-question[aria-expanded="true"] .arrow {
    transform: rotate(-90deg);
}

/* ===== ANSWER CONTENT ===== */
.answer-content {
    margin-left: 30px;
    padding-left: 20px;
    border-left: 2px solid #E0E0E0;
    margin-top: 0;
    margin-bottom: 32px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.answer-content.expanded {
    max-height: 2000px;
    opacity: 1;
    margin-top: 16px;
}

.answer-content p {
    margin-bottom: 16px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    body {
        font-size: 18px;
        padding: 30px 20px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
        margin-top: 60px;
    }

    .hero-text {
        font-size: 19px;
    }

    .language-switcher {
        top: 20px;
        right: 20px;
        gap: 12px;
    }

    body.rtl .language-switcher {
        right: auto;
        left: 20px;
    }

    .expandable-question {
        font-size: 18px;
        min-height: 48px;
    }

    .answer-content {
        margin-left: 20px;
        padding-left: 15px;
    }

    body.rtl .answer-content {
        margin-left: 0;
        margin-right: 20px;
        padding-left: 0;
        padding-right: 15px;
    }
}

/* ===== PRINT ===== */
@media print {
    body {
        background: white;
        color: black;
        max-width: 100%;
    }

    .language-switcher {
        display: none;
    }

    .expandable-question {
        display: none;
    }

    .answer-content {
        max-height: none !important;
        opacity: 1 !important;
        margin-left: 0;
        padding-left: 0;
        border-left: none;
    }

    a {
        color: black;
        text-decoration: none;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
    }
}
