/* ===== المتغيرات العامة ===== */
:root {
    --primary: #4a00e0;
    --secondary: #8e2de2;
    --accent: #00d4ff;
    --light: #f8f9ff;
    --dark: #0b0b0f;
    --success: #00c853;
    --danger: #ff4757;
    --warning: #ffa502;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== إعادة التعيين ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    direction: rtl;
}

h1, h2, h3, h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

p, span, li, a, input, select, button {
    font-family: 'Exo 2', sans-serif;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
}

.btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn.submit-btn {
    background: linear-gradient(90deg, var(--success), #00e676);
    color: white;
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* ===== الهيدر ===== */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo span span {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.navigation ul {
    display: flex;
    gap: 30px;
}

.navigation a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.navigation a:hover {
    color: var(--primary);
    background-color: rgba(74, 0, 224, 0.1);
}

/* ===== قسم الهيرو ===== */
.hero {
    padding: 150px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* ===== العناوين العامة ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

/* ===== قسم عن المشروع ===== */
.about {
    padding: 100px 20px;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content > div {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-content > div:hover {
    transform: translateY(-10px);
}

.about-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content h3 i {
    font-size: 1.5rem;
}

/* ===== قسم المراحل ===== */
.stages {
    padding: 100px 20px;
    background-color: #f8f9ff;
}

.stages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stage-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stage-icon span {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
}

.stage-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.stage-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.stage-card:hover .stage-image img {
    transform: scale(1.05);
}

/* ===== قسم التسجيل ===== */
.register {
    padding: 100px 20px;
    background-color: white;
}

.register-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.register-form {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: rgba(0, 200, 83, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
    display: block;
}

.form-message.error {
    background-color: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    border: 2px solid var(--danger);
    display: block;
}

.register-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 15px;
    color: white;
}

.register-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: white;
}

.register-info ul {
    margin-bottom: 40px;
}

.register-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.register-info li i {
    color: var(--accent);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat h4 {
    font-size: 2rem;
    color: white;
    margin-bottom: 5px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== قسم التواصل ===== */
.contact {
    padding: 100px 20px;
    background-color: #f8f9ff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* ===== الفوتر ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-logo h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-logo h2 i {
    color: var(--accent);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== التجاوب مع الشاشات المختلفة ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: var(--shadow);
        transition: var(--transition);
        padding: 40px 20px;
        z-index: 999;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .register-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stage-card, .about-content > div, .contact-card {
        padding: 20px;
    }
}
/* ===== شاشات 375px وأصغر ===== */
@media screen and (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    /* الهيدر */
    .header-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    /* الهيرو */
    .hero {
        padding: 120px 10px 60px;
        flex-direction: column;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* العناوين */
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    /* قسم المراحل */
    .stages-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }
    
    .stage-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .stage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .stage-icon span {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        top: -8px;
        right: -8px;
    }
    
    .stage-image {
        height: 150px;
    }
    
    /* قسم التسجيل */
    .register-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .register-form {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .form-group small {
        font-size: 0.8rem;
    }
    
    .register-info {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .register-info li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat {
        padding: 15px 10px;
    }
    
    .stat h4 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }
    
    /* قسم التواصل */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .contact-card {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    /* الفوتر */
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    /* القائمة المتحركة */
    .navigation {
        width: 85%;
        padding: 30px 15px;
    }
    
    .navigation ul {
        gap: 15px;
    }
    
    .navigation a {
        font-size: 0.95rem;
        padding: 8px;
    }
}

/* ===== شاشات 320px وأصغر ===== */
@media screen and (max-width: 320px) {
    html {
        font-size: 13px;
    }
    
    /* الهيدر */
    .header-container {
        padding: 0 8px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .hamburger {
        padding: 3px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* الهيرو */
    .hero {
        padding: 100px 8px 50px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-image {
        max-width: 250px;
    }
    
    /* العناوين */
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }
    
    /* قسم عن المشروع */
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 8px;
    }
    
    .about-content > div {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    /* قسم المراحل */
    .stage-card h3 {
        font-size: 1.1rem;
    }
    
    .stage-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* قسم التسجيل */
    .register {
        padding: 60px 8px;
    }
    
    .register-form {
        padding: 20px 12px;
    }
    
    .form-header h3 {
        font-size: 1.1rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .btn.submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .register-info li {
        font-size: 0.85rem;
    }
    
    .register-info li i {
        font-size: 0.9rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat {
        padding: 12px 8px;
    }
    
    .stat h4 {
        font-size: 1.3rem;
    }
    
    .stat p {
        font-size: 0.75rem;
    }
    
    /* قسم التواصل */
    .contact {
        padding: 60px 8px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    /* الفوتر */
    footer {
        padding: 40px 8px 20px;
    }
    
    .footer-container {
        gap: 25px;
    }
    
    .footer-logo h2 {
        font-size: 1.4rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
        padding: 0 5px;
    }
    
    /* رسائل النموذج */
    .form-message {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    /* ضبط الحاويات */
    section {
        padding: 60px 8px;
    }
    
    /* تحسين المسافات */
    .hero-buttons .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    /* تحسين العرض على الشاشات الضيقة جدًا */
    body {
        min-width: 280px;
    }
    
    /* منع التكبير الزائد على الحقول */
    input, select, textarea {
        font-size: 16px; /* منع التكبير في iOS */
        max-height: 44px; /* للحصول على مساحة لمس مناسبة */
    }
    
    /* تحسين الأزرار للشاشات الصغيرة */
    button, .btn {
        min-height: 44px; /* للحصول على مساحة لمس مناسبة */
        min-width: 44px;
    }
}

/* ===== تحسينات إضافية للشاشات الصغيرة جدًا ===== */
@media screen and (max-width: 280px) {
    html {
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .logo {
        font-size: 1.1rem;
    }
}
/* ===== المتغيرات العامة ===== */
:root {
    --primary: #4a00e0;
    --secondary: #8e2de2;
    --accent: #00d4ff;
    --light: #f8f9ff;
    --dark: #0b0b0f;
    --success: #00c853;
    --danger: #ff4757;
    --warning: #ffa502;
    --text: #333;
    --text-light: #666;
    --border: #e0e0e0;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ===== إعادة التعيين ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--light);
    color: var(--text);
    line-height: 1.6;
    direction: rtl;
}

h1, h2, h3, h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--dark);
}

p, span, li, a, input, select, button {
    font-family: 'Exo 2', sans-serif;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== الأزرار ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}

.btn.primary {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: white;
}

.btn.secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn.submit-btn {
    background: linear-gradient(90deg, var(--success), #00e676);
    color: white;
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

/* ===== الهيدر ===== */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo span span {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.navigation ul {
    display: flex;
    gap: 30px;
}

.navigation a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    padding: 5px 10px;
    border-radius: 5px;
}

.navigation a:hover {
    color: var(--primary);
    background-color: rgba(74, 0, 224, 0.1);
}

/* ===== قسم الهيرو ===== */
.hero {
    padding: 150px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

/* ===== العناوين العامة ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 60px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

/* ===== قسم عن المشروع ===== */
.about {
    padding: 100px 20px;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content > div {
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.about-content > div:hover {
    transform: translateY(-10px);
}

.about-content h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content h3 i {
    font-size: 1.5rem;
}

/* ===== قسم المراحل ===== */
.stages {
    padding: 100px 20px;
    background-color: #f8f9ff;
}

.stages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stage-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: right;
    position: relative;
    overflow: hidden;
}

.stage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stage-icon {
    position: relative;
    width: 70px;
    height: 70px;
    margin: 0 0 20px auto;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
}

.stage-icon span {
    position: absolute;
    top: -8px;
    left: -8px;
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.stage-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-size: 1.4rem;
}

.stage-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

/* تحسينات للمحتوى الجديد داخل المراحل */
.stage-details {
    background: rgba(248, 249, 255, 0.7);
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
    border-right: 4px solid var(--primary);
    margin-bottom: 20px;
}

.stage-details h4 {
    color: var(--primary);
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-details h4 i {
    font-size: 1rem;
}

.stage-details h5 {
    color: var(--secondary);
    margin: 15px 0 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.stage-details h5 i {
    font-size: 0.9rem;
}

.stage-details p {
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.5;
    padding: 8px 0;
}

.stage-details ul {
    margin-right: 20px;
    margin-bottom: 15px;
}

.stage-details li {
    margin-bottom: 8px;
    position: relative;
    padding-right: 20px;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

.stage-details li:before {
    content: "•";
    color: var(--secondary);
    font-weight: bold;
    position: absolute;
    right: 0;
    font-size: 1.2rem;
}

.scamper-item {
    margin-bottom: 15px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    border-right: 3px solid var(--primary);
}

.scamper-title {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.scamper-title i {
    font-size: 0.9rem;
}

.platform-section, .test-method, .business-plan {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e0e0e0;
}

.platform-section:last-child, .test-method:last-child, .business-plan:last-child {
    border-bottom: none;
}

.stage-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

.stage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.stage-card:hover .stage-image img {
    transform: scale(1.05);
}

/* ===== قسم التسجيل ===== */
.register {
    padding: 100px 20px;
    background-color: white;
}

.register-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.register-form {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: rgba(0, 200, 83, 0.1);
    color: var(--success);
    border: 2px solid var(--success);
    display: block;
}

.form-message.error {
    background-color: rgba(255, 71, 87, 0.1);
    color: var(--danger);
    border: 2px solid var(--danger);
    display: block;
}

.register-info {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 40px;
    border-radius: 15px;
    color: white;
}

.register-info h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: white;
}

.register-info ul {
    margin-bottom: 40px;
}

.register-info li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.register-info li i {
    color: var(--accent);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat h4 {
    font-size: 2rem;
    color: white;
    margin-bottom: 5px;
}

.stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== قسم التواصل ===== */
.contact {
    padding: 100px 20px;
    background-color: #f8f9ff;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

/* ===== الفوتر ===== */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 20px 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-logo h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.footer-logo h2 i {
    color: var(--accent);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-right: 10px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== شاشات 375px وأصغر ===== */
@media screen and (max-width: 375px) {
    html {
        font-size: 14px;
    }
    
    .header-container {
        padding: 0 10px;
    }
    
    .logo {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 120px 10px 60px;
        flex-direction: column;
        gap: 30px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero h2 {
        font-size: 1.1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-image {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }
    
    .stages-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }
    
    .stage-card {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .stage-icon {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }
    
    .stage-icon span {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
        top: -8px;
        left: -8px;
    }
    
    .stage-card h3 {
        font-size: 1.2rem;
    }
    
    .stage-card > p {
        font-size: 0.9rem;
    }
    
    .stage-details {
        padding: 12px;
    }
    
    .stage-details h4 {
        font-size: 1rem;
    }
    
    .stage-details h5 {
        font-size: 0.9rem;
    }
    
    .stage-details li {
        font-size: 0.85rem;
        padding-right: 15px;
    }
    
    .scamper-item {
        padding: 10px;
    }
    
    .scamper-title {
        font-size: 0.9rem;
    }
    
    .stage-image {
        height: 150px;
    }
    
    .register-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    
    .register-form {
        padding: 25px 15px;
        margin: 0 5px;
    }
    
    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .form-group small {
        font-size: 0.8rem;
    }
    
    .register-info {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .register-info li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .stat {
        padding: 15px 10px;
    }
    
    .stat h4 {
        font-size: 1.5rem;
    }
    
    .stat p {
        font-size: 0.8rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .contact-card {
        padding: 25px 20px;
        margin: 0 5px;
    }
    
    .contact-card i {
        font-size: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 10px;
        line-height: 1.5;
    }
    
    .navigation {
        width: 85%;
        padding: 30px 15px;
    }
    
    .navigation ul {
        gap: 15px;
    }
    
    .navigation a {
        font-size: 0.95rem;
        padding: 8px;
    }
}

/* ===== شاشات 320px وأصغر ===== */
@media screen and (max-width: 320px) {
    html {
        font-size: 13px;
    }
    
    .header-container {
        padding: 0 8px;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }
    
    .hamburger {
        padding: 3px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    .hero {
        padding: 100px 8px 50px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .hero-image {
        max-width: 250px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 40px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 8px;
    }
    
    .about-content > div {
        padding: 20px 15px;
        margin: 0 5px;
    }
    
    .stage-card h3 {
        font-size: 1.1rem;
    }
    
    .stage-card > p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .stage-details h4 {
        font-size: 0.95rem;
    }
    
    .stage-details h5 {
        font-size: 0.85rem;
    }
    
    .stage-details li {
        font-size: 0.8rem;
    }
    
    .register {
        padding: 60px 8px;
    }
    
    .register-form {
        padding: 20px 12px;
    }
    
    .form-header h3 {
        font-size: 1.1rem;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .btn.submit-btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .register-info li {
        font-size: 0.85rem;
    }
    
    .register-info li i {
        font-size: 0.9rem;
    }
    
    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stat {
        padding: 12px 8px;
    }
    
    .stat h4 {
        font-size: 1.3rem;
    }
    
    .stat p {
        font-size: 0.75rem;
    }
    
    .contact {
        padding: 60px 8px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card h3 {
        font-size: 1.1rem;
    }
    
    .contact-card p {
        font-size: 0.85rem;
    }
    
    footer {
        padding: 40px 8px 20px;
    }
    
    .footer-container {
        gap: 25px;
    }
    
    .footer-logo h2 {
        font-size: 1.4rem;
    }
    
    .footer-logo p {
        font-size: 0.85rem;
    }
    
    .footer-links {
        gap: 10px;
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-bottom p {
        font-size: 0.75rem;
        padding: 0 5px;
    }
    
    .form-message {
        font-size: 0.85rem;
        padding: 10px;
    }
    
    section {
        padding: 60px 8px;
    }
    
    .hero-buttons .btn {
        padding: 10px 15px;
        font-size: 0.85rem;
    }
    
    body {
        min-width: 280px;
    }
    
    input, select, textarea {
        font-size: 16px;
        max-height: 44px;
    }
    
    button, .btn {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== التجاوب مع الشاشات المختلفة ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .navigation {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: white;
        box-shadow: var(--shadow);
        transition: var(--transition);
        padding: 40px 20px;
        z-index: 999;
    }
    
    .navigation.active {
        right: 0;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .register-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .stage-card, .about-content > div, .contact-card {
        padding: 20px;
    }
    
    .stages-container {
        grid-template-columns: 1fr;
    }
}

/* ===== قسم التسجيل ===== */
.register {
    padding: 100px 20px;
    background-color: white;
}

.register-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.register-form {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary);
    margin-bottom: 10px;
}

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

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
    text-transform: uppercase; /* تحويل النص لحروف كبيرة */
}

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

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* أنماط جديدة للأمثلة */
.code-examples {
    margin-top: 10px;
    padding: 12px;
    background: rgba(74, 0, 224, 0.05);
    border-radius: 8px;
    border-right: 3px solid var(--primary);
}

.code-examples span {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.example {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: monospace;
    font-size: 0.9rem;
    border: 1px solid var(--border);
    color: var(--text);
