/* ==========================================================================
           1. VARIABLES & GLOBAL STYLES (Luxury Dark Grayscale & Emerald Theme)
           ========================================================================== */
        :root {
            --text-dark: #0f172a;
            --text-light: #ffffff;
            --text-muted-light: rgba(255, 255, 255, 0.75);
            --panel-bg: rgba(30, 41, 59, 0.85); 
            --border-color: rgba(255, 255, 255, 0.15);
            --accent-emerald: #0eb4a0;
            --accent-charcoal: #0f172a; 
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Tajawal', 'Urbanist', sans-serif;
            color: var(--text-light);
            min-height: 100vh;
            overflow-x: hidden;
            background: linear-gradient(180deg,
                #e6fffb 0%,   
                #b2f5ea 25%,
                #4fd1c5 60%,
                #0eb4a0 85%,
                #007a74 100%  
            );
            background-attachment: fixed; 
        }

        .page-wrapper {
            max-width: 1100px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        /* ==========================================================================
           2. HEADER (الشريط الاحترافي الموحد الجديد المستبدل)
           ========================================================================== */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 35px;
            padding: 20px 40px;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 24px;
            backdrop-filter: blur(15px);
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.05);
        }

        .nav-logo {
            font-size: 1.3rem;
            font-weight: 900;
            color: #0f172a;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-logo i {
            color: var(--accent-emerald);
        }

        .nav-links {
            display: flex;
            gap: 25px;
            list-style: none;
        }

        .nav-links a {
            text-decoration: none;
            color: #475569;
            font-size: 1.05rem;
            font-weight: 700;
            transition: color 0.3s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            color: var(--accent-emerald);
        }

        /* ==========================================================================
           3. MOVING BANNER (الشريط المعتمد لديكِ للشركاء)
           ========================================================================== */
        .moving-banner-section {
            width: 100%;
            overflow: hidden;
            margin-top: 30px;
            margin-bottom: 45px;
            background: rgba(255, 255, 255, 0.25);
            padding: 25px 0;
            border-radius: 24px;
            border: 1px solid rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(8px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            display: flex; 
            align-items: center;
        }

        .moving-banner-content {
            display: flex;
            width: max-content; 
            animation: scroll-left 15s linear infinite; 
        }

        .moving-banner-content img {
            height: 115px; 
            margin: 0 60px; 
            object-fit: contain;
            flex-shrink: 0; 
        }

        @keyframes scroll-left {
            0% { transform: translateX(0); }
            100% { transform: translateX(50%); }
        }

        /* ==========================================================================
           4. HERO SECTION WITH IMAGE IN UPPER LEFT
           ========================================================================== */
        .hero-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 50px;
            position: relative;
            background: rgba(255, 255, 255, 0.12);
            padding: 30px;
            border-radius: 32px;
            border: 1px solid rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
        }

        .hero-text-section {
            text-align: right;
            flex-grow: 1;
        }

        h1 {
            font-size: 3.5rem;
            font-weight: 900;
            color: #0f172a;
            letter-spacing: -1px;
            margin-bottom: 12px;
            text-shadow: 0 2px 10px rgba(255, 255, 255, 0.4);
        }

        .student-meta {
            font-size: 1.3rem;
            color: #1e293b;
            font-weight: 600;
            display: flex;
            gap: 15px;
            align-items: center;
        }

        .meta-tag {
            color: #ffffff;
            font-weight: 800;
            background: #007a74;
            padding: 4px 14px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0, 122, 116, 0.15);
        }

        /* تنسيق مستطيل الصورة مع الظل الداكن بنفس لون الكروت والوهج المدمج */
        .jana-profile-wrapper {
            width: 160px;
            height: 200px; 
            border-radius: 24px; 
            background: var(--panel-bg); 
            border: 5px solid var(--border-color); 
            backdrop-filter: blur(20px);
            box-shadow: 0 0 30px rgba(19, 26, 37, 0.9), 
                        0 15px 35px rgba(15, 23, 42, 0.4); 
            overflow: hidden;
            flex-shrink: 0;
            margin-right: 25px; 
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .jana-profile-wrapper:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 0 40px rgba(30, 41, 59, 1), 
                        0 20px 45px rgba(15, 23, 42, 0.6);
            border-color: var(--accent-emerald);
        }

        .jana-profile-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 8%; 
            transform: scale(1.35); 
            padding: 6px; 
            border-radius: 24px;
        }

        /* ==========================================================================
           5. MAIN CONTENT CARDS GRID
           ========================================================================== */
        .grid-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 25px;
            margin-bottom: 40px;
        }

        .glass-card {
            background: var(--panel-bg);
            border: 2px solid var(--border-color);
            border-radius: 24px;
            padding: 35px;
            backdrop-filter: blur(20px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .glass-card:hover {
            transform: translateY(-8px);
            border-color: #0eb4a0; 
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
            background: rgba(15, 23, 42, 0.95); 
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 25px;
            border-bottom: 2px solid rgba(14, 180, 160, 0.3);
            padding-bottom: 12px;
        }

        .card-header i {
            font-size: 24px;
            color: #b2f5ea; 
        }

        .card-header h2 {
            font-size: 1.5rem;
            font-weight: 800;
            color: #ffffff;
        }

        .card-list {
            list-style: none;
        }

        .card-list li {
            font-size: 1.1rem;
            color: var(--text-muted-light);
            line-height: 1.8;
            margin-bottom: 14px;
            padding-right: 28px;
            position: relative;
            font-weight: 500;
        }

        .card-list li::before {
            content: "✦"; 
            position: absolute;
            right: 0;
            color: #0eb4a0;
            font-size: 13px;
            top: 1px;
        }

        /* ==========================================================================
           6. THREE BUTTONS ACTIONS CONTAINER
           ========================================================================== */
        .buttons-action-wrapper {
            grid-column: span 2;
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 20px;
            margin-top: 15px;
        }

        .magical-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 22px;
            background: #ffffff;
            border: 1px solid #ffffff;
            border-radius: 20px;
            cursor: pointer;
            text-decoration: none;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-align: center;
            min-width: 0;
        }

        .magical-btn h3 {
            font-size: 1.3rem;
            color: #000000;
            font-weight: 800;
            line-height: 1.55;
        }

        .magical-btn span {
            font-size: 0.85rem;
            color: #64748b;
            font-weight: 700;
            margin-top: 4px;
            letter-spacing: 1px;
        }

        .magical-btn:hover {
            background: #000000;
            border-color: #000000;
            transform: translateY(-4px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
        }

        .magical-btn:hover h3 { color: #ffffff; }
        .magical-btn:hover span { color: #94a3b8; }

        /* ==========================================================================
           7. FOOTER
           ========================================================================== */
        footer {
            text-align: center;
            padding-top: 40px;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
            margin-top: 60px;
        }

        footer p {
            font-size: 0.95rem;
            color: #0f172a;
            font-weight: 700;
        }

        /* إعدادات التجاوب الذكي */
        @media (max-width: 900px) {
            .grid-container { grid-template-columns: 1fr !important; gap: 20px !important; }
            .buttons-action-wrapper { 
                grid-column: span 1 !important; 
                grid-template-columns: 1fr !important; 
                gap: 15px !important;
            }
        }

        @media (max-width: 600px) {
            .page-wrapper { padding: 20px 12px !important; }
            header { flex-direction: column !important; gap: 15px !important; padding: 15px 20px !important; border-radius: 20px !important; }
            .nav-links { gap: 15px !important; }
            .hero-container { flex-direction: column-reverse !important; text-align: center !important; gap: 25px !important; padding: 20px !important; }
            .hero-text-section { text-align: center !important; }
            h1 { font-size: 2.3rem !important; margin-bottom: 8px !important; }
            .student-meta { font-size: 1.1rem !important; flex-direction: column !important; gap: 6px !important; }
            .jana-profile-wrapper { margin-right: 0 !important; width: 150px !important; height: 188px !important; }
            .glass-card { padding: 25px 20px !important; border-radius: 20px !important; }
            .moving-banner-section { margin-top: 10px !important; margin-bottom: 30px !important; padding: 15px 0 !important; }
            .moving-banner-content img { height: 75px !important; margin: 0 30px !important; }
        }
