@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
body {
    font-family: 'Cairo', Arial, sans-serif;
    margin: 0;
    background: #f8f9fa;
    color: #222;
}

header {
    background: #006d77;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    flex-wrap: wrap;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}
.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.nav-links a:hover {
    color: #ffd166;
}
.lang-switch select {
    padding: 3px 8px;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
}
.hero {
    text-align: center;
    padding: 2.5rem 1rem 1.5rem 1rem;
    background: #e9ecef;
}
.main-logo {
    width: 90px;
    margin-bottom: 1rem;
}
.speakers {
    padding: 2rem 1rem 1rem 1rem;
    background: #fff;
}
.speakers-list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}
.speaker {
    background: #f1f1f1;
    border-radius: 12px;
    box-shadow: 0 2px 8px #0001;
    padding: 1rem;
    width: 180px;
    text-align: center;
}
.speaker img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.speaker h3 {
    margin: 0.5rem 0 0.2rem 0;
    font-size: 1.1rem;
}
.institutions {
    padding: 2rem 1rem 1rem 1rem;
    background: #f8f9fa;
}
.institutions-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}
.institution {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 1px 6px #0001;
    padding: 0.7rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}
.institution img {
    width: 200px;
    height: 200px;
    object-fit: contain;
}
.committee {
    padding: 2rem 1rem;
    background: #fff;
    text-align: center;
}
.committee ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    text-align: right;
}
.committee li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}
footer {
    background: #222;
    color: #fff;
    padding: 1.5rem 0 0.5rem 0;
    text-align: center;
    margin-top: 2rem;
}
.footer-content {
    max-width: 900px;
    margin: auto;
}
.footer-links a {
    color: #ffd166;
    margin: 0 0.5rem;
    text-decoration: none;
}
.footer-contact span {
    margin: 0 0.5rem;
    font-size: 0.95rem;
}
.footer-social a {
    margin: 0 0.3rem;
}
.footer-copy {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #bbb;
}
@media (max-width: 800px) {
    .speakers-list, .institutions-list {
        flex-direction: column;
        align-items: center;
    }
    .navbar {
        flex-direction: column;
        gap: 0.7rem;
    }
}
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}
.register-form {
    max-width: 420px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0001;
    padding: 2rem 1.5rem;
}
.register-form h2 {
    text-align: center;
    margin-bottom: 1.2rem;
}
.register-form label {
    display: block;
    margin: 0.7rem 0 0.2rem 0;
    font-weight: 500;
}
.register-form input[type="text"],
.register-form input[type="email"],
.register-form input[type="file"],
.register-form select,
.register-form textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    box-sizing: border-box;
}
.register-form button {
    width: 100%;
    background: #006d77;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.register-form button:hover {
    background: #00525e;
}
.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}
.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 0.7rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}
.contact-page {
    max-width: 420px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px #0001;
    padding: 2rem 1.5rem;
}
.contact-page h2 {
    text-align: center;
    margin-bottom: 1.2rem;
}
.contact-info {
    background: #f1f1f1;
    border-radius: 7px;
    padding: 0.7rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}
.contact-page label {
    display: block;
    margin: 0.7rem 0 0.2rem 0;
    font-weight: 500;
}
.contact-page input[type="text"],
.contact-page input[type="email"],
.contact-page textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 0.7rem;
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-page button {
    width: 100%;
    background: #006d77;
    color: #fff;
    border: none;
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s;
}
.contact-page button:hover {
    background: #00525e;
} 