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

:root {
    --primary-dark: #1a1a3e;
    --primary-blue: #2d2d5e;
    --primary-purple: #6b46c1;
    --light-purple: #8b5cf6;
    --pink: #ec4899;
    --white: #ffffff;
    --text-light: #e5e7eb;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: var(--white);
    min-height: 100vh;
    line-height: 1.6;
}

/* Header Styles */
.header {
    background: var(--primary-dark);
    padding: 10px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-small {
    width: 40px;
    height: 40px;
    background: var(--primary-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.header-links {
    display: flex;
    gap: 15px;
}

.header-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.header-link:hover {
    color: var(--pink);
}

.site-url {
    color: var(--text-light);
    font-size: 12px;
    opacity: 0.8;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-time {
    color: var(--text-light);
    font-size: 14px;
}

.lang-selector {
    display: flex;
    gap: 5px;
}

.lang-active {
    background: var(--primary-purple);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
}

.lang-option {
    padding: 5px 10px;
    font-size: 12px;
    opacity: 0.7;
    cursor: pointer;
}

.signup-login-btn {
    background: var(--pink);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s;
}

.signup-login-btn:hover {
    background: #db2777;
}

/* Navigation Styles */
.navbar {
    background: var(--primary-blue);
    padding: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-menu li {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
    font-size: 15px;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-purple);
}

.nav-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--light-purple);
    list-style: none;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    padding: 10px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Main Content */
.main-content {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Hero Section */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.hero-left {
    padding: 20px;
}

.main-logo {
    margin-bottom: 30px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-purple);
    margin-bottom: 10px;
}

.logo-text-arabic {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--white);
}

.main-subtitle {
    font-size: 24px;
    margin: 10px 0;
    color: var(--white);
}

.main-subtitle-2 {
    font-size: 32px;
    margin: 10px 0;
    color: var(--white);
}

.main-date {
    font-size: 28px;
    color: var(--pink);
    margin: 20px 0;
    font-weight: 600;
}

.site-url-bottom {
    font-size: 14px;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 30px;
}

.hero-right {
    position: relative;
}

.hero-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Sections */
.content-sections {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.content-left,
.content-middle,
.content-right {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.countdown-section,
.organizer-section,
.sponsorship-section,
.video-news-section {
    margin-bottom: 30px;
}

.countdown-section h3,
.organizer-section h3,
.sponsorship-section h3,
.video-news-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--pink);
}

.countdown-box {
    background: var(--primary-purple);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-size: 36px;
    font-weight: bold;
}

.organizer-logo,
.sponsor-logo {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.sponsor-text {
    font-size: 18px;
}

.sponsors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.sponsor-item {
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
}

.organizer-logo i {
    font-size: 40px;
    margin-bottom: 10px;
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header h3 {
    font-size: 20px;
    color: var(--pink);
}

.more-btn {
    color: var(--pink);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-btn:hover {
    color: var(--white);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.news-icon {
    font-size: 24px;
    color: var(--primary-purple);
}

.news-content h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

.news-date {
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.7;
}

.poster-image {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.poster-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Page Content Styles */
.page-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--pink);
}

.content-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.content-box p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-box ul {
    margin-left: 30px;
    margin-top: 15px;
}

.content-box li {
    margin-bottom: 10px;
}

/* Calendar */
.calendar-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
}

.calendar-item h3 {
    color: var(--pink);
    margin-bottom: 10px;
}

/* Themes Grid */
.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.theme-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s;
}

.theme-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Forms */
.registration-form,
.login-form,
.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--pink);
}

.submit-btn {
    background: var(--pink);
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #db2777;
}

/* Fees Table */
.fees-table {
    overflow-x: auto;
}

.fees-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.fees-table th,
.fees-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.fees-table th {
    background: var(--primary-purple);
    color: var(--white);
}

.fees-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Contact Info */
.contact-info {
    margin-bottom: 30px;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 16px;
}

.social-media {
    margin-top: 20px;
}

.social-media p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: var(--pink);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: background 0.3s;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.social-link i {
    font-size: 20px;
}

/* Links */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.links-list a {
    color: var(--pink);
    text-decoration: none;
    font-size: 18px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: background 0.3s;
}

.links-list a:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Sitemap */
.sitemap-list ul {
    list-style: none;
}

.sitemap-list li {
    margin-bottom: 10px;
}

.sitemap-list a {
    color: var(--pink);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

.sitemap-list a:hover {
    color: var(--white);
}

/* Poster Full */
.poster-full {
    text-align: center;
}

.poster-full img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.poster-info {
    margin-bottom: 30px;
    text-align: center;
}

.poster-info p {
    margin-bottom: 10px;
    font-size: 18px;
}

.poster-note {
    color: var(--pink);
    font-weight: 600;
    margin-top: 20px;
}

.poster-deadline {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

.poster-website {
    background: var(--primary-purple);
    padding: 15px;
    border-radius: 5px;
    font-weight: bold;
    margin: 20px 0;
}

.poster-note-small {
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.7;
    font-style: italic;
}

/* News Full */
.news-list-full {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item-full {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.news-item-full .news-icon {
    font-size: 32px;
}

.news-item-full .news-content h3 {
    margin-bottom: 10px;
    color: var(--pink);
}

/* Download Button */
.download-btn {
    display: inline-block;
    background: var(--primary-purple);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.3s;
}

.download-btn:hover {
    background: var(--light-purple);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-sections {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-right {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 32px;
    }
    
    .main-subtitle-2 {
        font-size: 24px;
    }
    
    .main-date {
        font-size: 20px;
    }
    
    .content-sections {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        flex-direction: column;
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-top: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .header-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-left {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 24px;
    }
    
    .main-date {
        font-size: 18px;
    }
    
    .countdown-box {
        font-size: 24px;
        padding: 20px;
    }
}

