@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #070d18;
    color: #f0f4f8;
    line-height: 1.6;
    direction: rtl;
}
.top-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 75px;
    background: rgba(18, 38, 64, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(37, 62, 125, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
}
.banner-right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.banner-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.banner-subtitle {
    color: #253e7d;
    font-size: 13px;
    font-weight: 600;
}
.register-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    color: #ffffff !important;           
    background: #b64039;                 
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 16px rgba(182, 64, 57, 0.45);
    transition: all 0.25s ease;
    cursor: pointer;
}
.hero-bg {
    width: 100%;
    min-height: 100vh;
    background-color: #070d18;
    background-image: radial-gradient(
        circle at 50% 30%,
        rgba(43, 108, 176, 0.7) 0%,  
        rgba(18, 51, 92, 0.95) 55%,
        #070d18 90%
    );
    position: relative;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 150px;   
    padding-bottom: 120px; 
    padding-inline: 20px;
    position: relative;
    z-index: 1;
}
.hero-logo-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    filter: blur(4px);
}
.hero-logo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.main-title {
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 4px 24px rgba(0, 0, 0, 0.5);
}
.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 10px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6), 0 3px 16px rgba(0, 0, 0, 0.4);
}
.chairs-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 36px;
    width: 100%;
    max-width: 780px;
}
.chair-card {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background: rgba(14, 34, 61, 0.65);
    border: 1px solid rgba(37, 62, 125, 0.35);
    border-radius: 14px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-align: right;
}
.chair-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.chair-role {
    font-size: 13px;
    font-weight: 600;
    color: #94a3b8;
}
.chair-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.chair-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(37, 62, 125, 0.12);
    border: 1px solid rgba(37, 62, 125, 0.35);
    color: #253e7d;
    flex-shrink: 0;
}
.event-time-card {
    flex: initial;
    width: 100%;
    max-width: 370px;
    margin: 20px auto 0 auto;
}
.hero-divider {
    width: 100%;
    max-width: 650px;
    height: 1px;
    margin: 35px auto 0 auto;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
}
.organizers-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    width: 100%;
    direction: rtl;
}
.organizers-title {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.3px;
}
.organizers-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    width: 100%;
}
.org-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    background: rgba(14, 30, 52, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    color: #f1f5f9;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.25s ease;
    cursor: default;
}
.org-card:hover {
    background: rgba(18, 40, 70, 0.85);
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}
.org-icon {
    flex-shrink: 0;
}

.hospital-icon { color: #2dd4bf; }
.heart-icon { color: #f472b6; }
.shield-icon { color: #38bdf8; }
@media (max-width: 650px) {
    .organizers-row {
        flex-direction: column;
        gap: 10px;
    }
    .org-card {
        width: 100%;
        max-width: 320px;
    }
}

.schedule-section {
    width: 100%;
    background-color: #ffffff;
    color: #7f8286;
    padding: 70px 20px 90px;
    direction: rtl;
    position: relative;
    z-index: 10;
}
.schedule-container {
    max-width: 820px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}
.section-desc {
    font-size: 14px;
    color: #64748b;
}
.schedule-cards-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.program-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: all 0.25s ease;
}
.program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}
.program-time {
    width: 140px;
    flex-shrink: 0;
    background: #0b1f3a;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    letter-spacing: 0.3px;
}
.program-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 20px;
    gap: 6px;
    text-align: right;
}
.program-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.label {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}
.title-bold {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.speaker-row {
    margin-top: 2px;
}
.speaker-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #0284c7;
}
.break-card {
    background: #f8fafc;
    border-style: dashed;
}
.break-card .program-time {
    background: #475569;
}
.break-card .title-bold {
    color: #03020d;
}
@media (max-width: 600px) {
    .program-card {
        flex-direction: column;
    }
    .program-time {
        width: 100%;
        padding: 8px;
    }
    .program-desc {
        padding-right: 0;
    }
}

.chairs-section {
    width: 100%;
    background: linear-gradient(180deg, #070d18 0%, #0a1628 100%);
    color: #f0f4f8;
    padding: 70px 20px 90px;
    direction: rtl;
    position: relative;
    z-index: 10;
}
.chairs-section-container {
    max-width: 820px;
    margin: 0 auto;
}
.chairs-section .section-title {
    color: #ffffff;
}
.chairs-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}
.chair-card-large {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: rgba(14, 34, 61, 0.65);
    border: 1px solid rgba(37, 62, 125, 0.35);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    text-align: right;
    transition: all 0.3s ease;
}
.chair-card-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(37, 62, 125, 0.5);
}
@media (max-width: 650px) {
    .chairs-cards-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    .chair-card-large {
        width: 100%;
    }
}

.site-footer {
    width: 100%;
    background: #0a1628;
    border-top: 1px solid rgba(45, 212, 191, 0.2);
    padding: 30px 20px;
    direction: rtl;
}
.footer-content {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-copyright {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin: 0;
}
.footer-credit {
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
    margin: 0;
}
.footer-credit a {
    color: #253e7d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}
.footer-credit a:hover {
    color: #5eead4;
}
@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 13, 24, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease;
}
@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
.modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #475569;
}
.modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: rotate(90deg);
}
.modal-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
    text-align: center;
}
.modal-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 30px 0;
    text-align: center;
}
.register-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
}
.required {
    color: #e11d48;
}
.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Vazirmatn', sans-serif;
    color: #0f172a;
    background: #ffffff;
    transition: all 0.25s ease;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(37, 62, 125, 0.1);
}
.form-group input::placeholder {
    color: #94a3b8;
}
.form-submit-btn {
    margin-top: 10px;
    padding: 14px 28px;
    background: #b64039;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(182, 64, 57, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.form-submit-btn:hover {
    background: #be123c;
    box-shadow: 0 6px 20px rgba(182, 64, 57, 0.4);
    transform: translateY(-2px);
}
.form-submit-btn:active {
    transform: translateY(0);
}
.spinner {
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}
.success-message svg {
    color: #10b981;
}
.success-message h3 {
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.success-message p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}
.schedule-register-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.register-btn-large {
    padding: 14px 32px;
    font-size: 16px;
    border-radius: 12px;
}
.register-btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(182, 64, 57, 0.5);
}
@media (max-width: 550px) {
    .modal-content {
        padding: 30px 24px;
    }
    .modal-title {
        font-size: 22px;
    }
    .register-btn-large {
        width: 100%;
        max-width: 320px;
    }
}