/* =========================================================
   KASHIERK TUTORIAL PAGE
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&display=swap');

:root {

    --primary-color: #bd382a;

    --primary-dark: #a52f23;

    --dark-bg: #0f172a;

    --light-bg: #f8fafc;

    --text-main: #1e293b;

    --text-light: #64748b;

    --white: #ffffff;

    --border-color: rgba(0,0,0,0.05);

    --shadow-main:
    0 20px 50px rgba(0,0,0,0.08);

    --shadow-hover:
    0 25px 60px rgba(0,0,0,0.12);

    --font-main:
    'Tajawal', sans-serif;
}

/* =========================================================
   RESET
   ========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    font-family: var(--font-main);
}

html {

    scroll-behavior: smooth;
}

body {

    background: var(--light-bg);

    overflow-x: hidden;

    line-height: 1.8;
}

/* =========================================================
   GLOBAL
   ========================================================= */

.container {

    width: 100%;

    max-width: 1180px;

    margin: auto;

    padding: 0 20px;
}

.text-center {

    text-align: center;
}

/* =========================================================
   HEADER
   ========================================================= */

.tutorial-header {

    position: sticky;

    top: 0;

    width: 100%;

    z-index: 1000;

    background:
    rgba(255,255,255,0.92);

    backdrop-filter: blur(12px);

    border-bottom:
    1px solid rgba(0,0,0,0.05);
}

.header-flex {

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    min-height: 70px;

    gap: 12px;
}

.logo {

    text-decoration: none;

    color: var(--primary-color);

    font-size: 28px;

    font-weight: 900;

    letter-spacing: -1px;

    white-space: nowrap;
}

.back-btn {

    text-decoration: none;

    background: var(--primary-color);

    color: white;

    padding: 10px 18px;

    border-radius: 14px;

    font-size: 0.85rem;

    font-weight: 700;

    transition: 0.3s ease;

    white-space: nowrap;
}

.back-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}
/* =========================================================
   HERO SECTION
   ========================================================= */

.hero-section {

    padding: 100px 0 80px;

    text-align: center;

    background:
    linear-gradient(
        to bottom,
        #fff7f5,
        #f8fafc
    );
}

.hero-section h1 {

    font-size: 3rem;

    color: var(--text-main);

    margin-bottom: 20px;

    font-weight: 900;

    line-height: 1.4;
}

.hero-section p {

    max-width: 760px;

    margin: auto;

    color: var(--text-light);

    font-size: 1.1rem;

    line-height: 2;
}

/* =========================================================
   VIDEOS SECTION
   ========================================================= */

.videos-section {

    padding: 70px 0 100px;
}

/* =========================================================
   VIDEO CARD
   ========================================================= */

.video-card {

    background: white;

    border-radius: 34px;

    overflow: hidden;

    margin-bottom: 45px;

    border:
    1px solid var(--border-color);

    box-shadow: var(--shadow-main);

    transition: 0.35s ease;
}

.video-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);
}

/* =========================================================
   VIDEO FRAME
   ========================================================= */

.video-wrapper {

    position: relative;

    width: 100%;

    padding-top: 56.25%;

    background: #000;
}

.video-wrapper iframe {

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: none;
}

/* =========================================================
   VIDEO CONTENT
   ========================================================= */

.video-content {

    padding: 38px;
}

.video-content h2 {

    color: var(--text-main);

    font-size: 2rem;

    font-weight: 900;

    margin-bottom: 18px;

    line-height: 1.5;
}

.video-content p {

    color: var(--text-light);

    font-size: 1rem;

    line-height: 2;

    margin-bottom: 24px;
}

/* =========================================================
   TOGGLE BUTTON
   ========================================================= */

.lesson-toggle {

    border: none;

    outline: none;

    cursor: pointer;

    background: var(--primary-color);

    color: white;

    padding: 14px 26px;

    border-radius: 18px;

    font-size: 1rem;

    font-weight: 700;

    transition: 0.3s ease;
}

.lesson-toggle:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}

/* =========================================================
   LESSON CONTENT
   ========================================================= */

.lesson-content {

    max-height: 0;

    overflow: hidden;

    transition:
    max-height 0.5s ease,
    padding 0.4s ease,
    margin-top 0.4s ease;

    background: #f8fafc;

    border-radius: 24px;

    padding: 0 28px;

    margin-top: 0;
}

.lesson-content.active {

    max-height: 5000px;

    padding: 30px 28px;

    margin-top: 28px;
}

/* =========================================================
   LESSON TYPOGRAPHY
   ========================================================= */

.lesson-content p {

    color: var(--text-main);

    line-height: 2.1;

    margin-bottom: 18px;

    font-size: 1rem;
}

.lesson-content strong {

    color: var(--primary-color);

    font-weight: 800;

    font-size: 1.02rem;
}

.lesson-content ul {

    padding-right: 24px;

    margin-bottom: 22px;
}

.lesson-content li {

    color: var(--text-main);

    margin-bottom: 14px;

    line-height: 2.1;

    font-size: 0.98rem;
}

/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 10px;
}

::-webkit-scrollbar-track {

    background: #edf2f7;
}

::-webkit-scrollbar-thumb {

    background: var(--primary-color);

    border-radius: 20px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

.video-card {

    opacity: 0;

    transform: translateY(40px);

    animation:
    fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {

    to {

        opacity: 1;

        transform: translateY(0);
    }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .hero-section {

        padding: 80px 0 60px;
    }

    .hero-section h1 {

        font-size: 2rem;
    }

    .hero-section p {

        font-size: 1rem;
    }

    .header-flex {

        display: flex;

        align-items: center;

        justify-content: space-between;

        gap: 10px;

        min-height: 70px;
    }

    .video-content {

        padding: 28px 22px;
    }

    .video-content h2 {

        font-size: 1.35rem;
    }

    .lesson-content.active {

        padding: 24px 20px;
    }

    .lesson-content ul {

        padding-right: 18px;
    }

    .lesson-content li {

        font-size: 0.95rem;
    }

    .lesson-toggle {

        width: 100%;
    }

@media (max-width: 480px) {

    .hero-section h1 {

        font-size: 1.7rem;
    }

    .logo {

        font-size: 24px;
    }

    .back-btn {

        padding: 8px 14px;

        font-size: 0.8rem;
    }

    .video-card {

        border-radius: 24px;
    }

    .video-content {

        padding: 24px 18px;
    }

    .lesson-content.active {

        padding: 22px 16px;
    }
}














   
}
