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

body {
    font-family: 'Poppins', 'Cairo', sans-serif;
    background: #0f1117;
    min-height: 100vh;
    color: #ffffff;
}

.top-bar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px;
    background: rgba(15, 17, 23, 0.95);
    backdrop-filter: blur(20px);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.back-btn {
    font-size: 1.5rem; text-decoration: none;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 8px 15px; border-radius: 10px; color: white;
    transition: all 0.3s;
}
.back-btn:hover { transform: scale(1.05); }

.lang-switcher { display: flex; gap: 6px; }

.lang-btn {
    padding: 8px 16px; border: 2px solid rgba(255,255,255,0.1);
    border-radius: 8px; background: #1a1d2e; cursor: pointer;
    font-weight: 600; font-size: 0.85rem; transition: all 0.3s;
    font-family: inherit; color: #94a3b8;
}
.lang-btn:hover { border-color: #10b981; color: #10b981; }
.lang-btn.active { background: #10b981; color: white; border-color: #10b981; }

.guide-container {
    max-width: 800px; margin: 30px auto; padding: 0 20px 40px;
}

.guide-header {
    text-align: center; padding: 40px 20px;
    background: #1a1d2e;
    border-radius: 20px; margin-bottom: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.guide-icon { font-size: 4rem; display: block; margin-bottom: 15px; }

.guide-header h1 {
    font-size: 1.8rem; font-weight: 700; color: #ffffff; margin-bottom: 8px;
}

.guide-header p { color: #94a3b8; font-size: 1rem; }

.guide-content {
    background: #1a1d2e;
    border-radius: 20px; padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}

.guide-section { margin-bottom: 35px; }
.guide-section:last-child { margin-bottom: 0; }

.guide-section h2 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 15px;
    color: #10b981; border-bottom: 2px solid rgba(255,255,255,0.08); padding-bottom: 10px;
}

.info-card {
    background: #222640; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; padding: 20px; margin-bottom: 12px;
    transition: all 0.3s;
}
.info-card:hover { border-color: #10b981; box-shadow: 0 4px 12px rgba(16,185,129,0.1); }

.info-card h3 { font-size: 1.1rem; color: #ffffff; margin-bottom: 6px; }
.info-card p { color: #94a3b8; font-size: 0.9rem; line-height: 1.6; margin-bottom: 10px; }
.info-card ul { color: #94a3b8; padding-left: 20px; }
.info-card li { margin-bottom: 5px; }

.link-btn {
    display: inline-block; padding: 8px 16px;
    background: #10b981;
    color: white; border-radius: 8px; font-size: 0.85rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.link-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(16,185,129,0.3); }

.steps { display: flex; flex-direction: column; gap: 12px; }

.step {
    display: flex; align-items: center; gap: 15px;
    background: #222640; padding: 15px 20px;
    border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.3s;
}
.step:hover { border-color: #10b981; transform: translateX(5px); }

.step-num {
    width: 35px; height: 35px; min-width: 35px;
    background: #10b981;
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}

.step p { color: #94a3b8; font-size: 0.95rem; }

.links-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.link-card {
    display: block; padding: 12px 15px;
    background: #222640; border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px; text-align: center;
    font-weight: 600; color: #10b981; font-size: 0.9rem;
    text-decoration: none; transition: all 0.3s;
}
.link-card:hover {
    background: #10b981;
    color: white; transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(16,185,129,0.3);
}

.emergency-card {
    background: #2a1b1b; border: 2px solid #ef4444;
    border-radius: 12px; padding: 20px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 15px;
}
.emergency-card .emergency-number {
    font-size: 1.8rem; font-weight: 900; color: #ef4444;
    min-width: 120px; text-align: center;
}
.emergency-card .emergency-info h3 { color: #ffffff; margin-bottom: 3px; }
.emergency-card .emergency-info p { color: #94a3b8; }

.tip-box {
    background: #1a2e1a; border: 1px solid #10b981;
    border-radius: 12px; padding: 15px 20px;
    margin-top: 15px;
}
.tip-box p { color: #10b981; font-size: 0.9rem; }

@media (max-width: 768px) {
    .guide-header h1 { font-size: 1.4rem; }
    .guide-container { padding: 0 15px 30px; margin: 15px auto; }
    .guide-content { padding: 20px; }
    .links-grid { grid-template-columns: repeat(2, 1fr); }
    .emergency-card { flex-direction: column; text-align: center; }
}
