*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --navy: #0b1d36;
    --navy-light: #122a4a;
    --navy-dark: #071428;
    --gold: #c9a84c;
    --gold-light: #d4b86a;
    --white: #ffffff;
    --white-muted: rgba(255, 255, 255, 0.88);
    --border: rgba(255, 255, 255, 0.18);
    --border-light: rgba(255, 255, 255, 0.12);
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-fa: 'Vazirmatn', Tahoma, sans-serif;
    --content-max-width: 1440px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--navy-dark);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.banner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 100vh;
    margin: 0 auto;
}


/* ========== LEFT PANEL ========== */

.panel-left {
    padding: 0;
    overflow: hidden;
    background: #182641;
    min-height: 100vh;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

.panel-left__banner {
    width: 100%;
    display: block;
    /* object-fit: cover; */
    /* object-position: center; */
}


/* ========== RIGHT PANEL ========== */

.panel-right {
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.content-box {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: clamp(1rem, 2vw, 1.5rem);
    background: rgba(7, 20, 40, 0.35);
}

.content-box__header h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 1.9rem, 1.9rem);
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.02em;
    font-family: Times New Roman;
}

@media screen and (max-width:650px){
    .content-box__header h2 {
    font-size: clamp(1.1rem, 1.9rem, 1.9rem);
}
}

.content-block {
    text-align: center;
}

.content-block--en {
    font-family: var(--font-sans);
    color: var(--white-muted);
    font-size: clamp(0.78rem, 1.1vw, 0.88rem);
    line-height: 1.75;
}

.welcome-title {
    font-family: var(--font-serif);
    font-size: clamp(1rem, 1.8vw, 1.25rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.section-title {
    font-family: var(--font-sans);
    font-size: clamp(0.82rem, 1.2vw, 0.92rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.content-block--en p {
    margin-bottom: 0.65rem;
    font-size: 18px;
    font-family: times new;
    text-align: center;
}

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

.content-block--fa {
    font-family: var(--font-fa);
    color: var(--white-muted);
    font-size: clamp(0.82rem, 1.15vw, 0.92rem);
    line-height: 1.9;
    border-top: 1px solid var(--border-light);
    padding-top: clamp(1rem, 2vw, 1.25rem);
    direction: rtl;
}

.fa-title {
    font-family: var(--font-fa);
    font-size: clamp(0.88rem, 1.3rem, 1.3rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.content-block--fa p {
    margin-bottom: 0.65rem;
    font-size: 16px;
    text-align: center;
}

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


/* ========== CONTACT BAR ========== */

.contact-bar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    margin-top: 0.25rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    text-decoration: none;
    color: var(--white-muted);
    font-size: clamp(0.62rem, 0.9vw, 0.75rem);
    text-align: center;
    line-height: 1.4;
    transition: color 0.2s;
    font-size: 15px;
}

a.contact-item:hover {
    color: var(--gold-light);
}

.contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-item span {
    font-family: var(--font-fa);
}

.contact-bar--en span {
    font-family: times new romance !important;
}

.contact-item:first-child span {
    font-family: var(--font-sans);
    direction: ltr;
}


/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .banner {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .panel-left {
        min-height: auto;
    }
    .panel-left__banner {
        min-height: auto;
        height: auto;
        object-fit: contain;
    }
    .panel-right {
        padding: 1.25rem 1rem 2rem;
    }
}

@media (max-width: 640px) {
    .contact-bar {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    .contact-item {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        font-size: 17px;
    }
    .content-box {
        border-radius: 12px;
        padding: 1.25rem 1rem;
    }
}

.stitle {
    direction: ltr;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
}