/* ستایلێ گشتی */
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #050505; /* ڕەشێ تاری یێ کویر */
    color: #ffffff;
    scroll-behavior: smooth;
    direction: rtl; /* بۆ ڕێکخستنا زمانێ کوردی */
}

/* Navbar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 26px; font-weight: bold; color: #fff; }
.logo span { color: #00f2ea; text-shadow: 0 0 10px #00f2ea; }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 25px; } /* گوهۆڕین بۆ لایێ چەپێ چونکی RTL ئە */
nav ul li a { text-decoration: none; color: #bbb; transition: 0.3s; }
nav ul li a:hover { color: #00f2ea; }

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 { font-size: 3rem; margin-bottom: 15px; }
.hero h1 span { color: #0099ff; text-shadow: 0 0 15px #0099ff; }

/* Buttons */
.btns a {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    transition: 0.4s;
}

.btn-primary { background: #0099ff; color: white; box-shadow: 0 0 15px #0099ff; }
.btn-tiktok { background: #000; border: 2px solid #00f2ea; color: #00f2ea; }
.btn-tiktok:hover { background: #00f2ea; color: #000; box-shadow: 0 0 20px #00f2ea; }

/* Lessons Section */
.lessons-section { padding: 80px 10%; text-align: center; }
.lessons-section h2 span { color: #00f2ea; }

.lessons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.lesson-card {
    background: #111;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #222;
    transition: 0.3s;
    cursor: pointer; /* بۆ وێ چەندێ دیار بیت کلیک لێ دهێتە کرن */
}

.lesson-card i { font-size: 40px; color: #00f2ea; margin-bottom: 15px; }
.lesson-card:hover { transform: translateY(-10px); border-color: #00f2ea; box-shadow: 0 0 20px rgba(0, 242, 234, 0.2); }

/* Footer & Contact */
footer {
    padding: 60px 0;
    background: #000;
    text-align: center;
    border-top: 1px solid #1a1a1a;
}

.phone-number {
    display: block;
    font-size: 2rem;
    color: #0099ff;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    text-shadow: 0 0 10px #0099ff;
    transition: 0.3s;
}

.phone-number:hover {
    color: #fff;
    text-shadow: 0 0 25px #0099ff;
}

/* --- بەشێن نوو بۆ Popup (Modal) --- */

.modal {
    display: none; /* دەسپێکێ یێ ڤەشارتییە */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* تاریایەکا پتر بۆ فۆکسێ */
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px); /* لێڵ کردنا پشت شاشێ */
}

.modal-content {
    background-color: #111;
    padding: 40px;
    border: 2px solid #00f2ea; /* ڕەنگێ شینێ تیکتۆکا تە */
    width: 90%;
    max-width: 650px;
    border-radius: 20px;
    position: relative;
    color: white;
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.3);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close {
    position: absolute;
    top: 20px;
    left: 25px; /* چونکی وێبسایت RTL ئە */
    color: #00f2ea;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover { color: #fff; }

#m-title {
    color: #00f2ea;
    margin-bottom: 20px;
    font-size: 24px;
}

#m-desc {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ddd;
}

.code-box {
    background: #000;
    padding: 20px;
    border-radius: 10px;
    border-right: 5px solid #0099ff; /* نیشانا لایێ کوردی */
    overflow-x: auto;
    direction: ltr; /* بۆ وێ چەندێ کۆدێ پایسۆن تێک نەچیت */
    text-align: left;
}

#m-code {
    font-family: 'Courier New', monospace;
    color: #00ff88; /* ڕەنگێ کۆدی */
    font-size: 16px;
}

/* responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .phone-number { font-size: 1.5rem; }
    .modal-content { width: 95%; padding: 25px; }
}
