 /* --- 10. Quick Starter Tokens & Base Styles --- */
        :root {
            --bg1: #0b0f1a;
            --bg2: #0b3b7a;
            --glass: rgba(255, 255, 255, 0.178);
            --glass-brd: rgba(255, 255, 255, .15);
            --text: #ffffff;
            --accent: #5aa2ff;
            --accent-glow: rgba(90, 162, 255, 0.3);
            --font-family: 'Inter', sans-serif;
            --card-border-radius: 18px;
        }
       
        body {
            font-family: var(--font-family);
            background: radial-gradient(1200px at 20% 0%, rgba(90, 162, 255, .12), transparent 40%),
                        linear-gradient(160deg, var(--bg1), var(--bg2));
            color: var(--text);
            background-attachment: fixed;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            background-color: #063180;

        }

        /* --- 3. Layout (Hero) --- */
        .hero {
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .hero .logo {
            font-size: 1.5rem;
            font-weight: bold;
            display: inline-block;
            border: 2px solid var(--accent);
            color: var(--accent);
            width: 48px;
            height: 48px;
            line-height: 44px;
            border-radius: 50%;
            margin-bottom: 1.5rem;
        }

        .glass {
            background: var(--glass);
            border: 1px solid var(--glass-brd);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: var(--card-border-radius);
            box-shadow: 0 4px 30px rgba(0,0,0,0.1);
        }
        main.py-5{
            padding-top: 1px !important;
        }
        .project-card {
            align-items: center;
            text-align: center;
            transition: transform 0.1s ease, box-shadow 0.1s ease;
            color: var(--text);
            background-clip: padding-box; /* Fix for backdrop-filter bleeding */
        }
        
        .project-card .card-body {
            padding: 2rem;
        }

        .project-card .card-icon {
            color: var(--accent);
            transition: transform 0.1s ease;
        }
        
        .project-card .card-title {
            font-weight: 700;
        }
        
        .project-card .card-text {
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }

        /* --- Utilities & Buttons --- */
        .btn-primary {
            background-color: var(--accent);
            border-color: var(--accent);
        }

        .btn-primary:hover {
            background-color: #7ab5ff;
            border-color: #7ab5ff;
        }

        .btn-outline-light {
            border-color: rgba(255, 255, 255, 0.5);
        }
        .btn-outline-light:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }


        .wip-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 0.7rem;
            background-color: rgba(255, 193, 7, 0.2);
            color: #ffc107;
            border: 1px solid rgba(255, 193, 7, 0.4);
        }
        
         .f-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 0.7rem;
            background-color: rgba(7, 255, 69, 0.2);
            color: #39c70e;
            border: 1px solid rgba(48, 255, 7, 0.4);
        }
         .new-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 0.7rem;
            background-color: rgba(255, 7, 7, 0.2);
            color: #ff0707;
            border: 1px solid rgba(255, 7, 7, 0.4);
        }
         .t-badge {
            position: absolute;
            top: 16px;
            right: 16px;
            font-size: 0.7rem;
            background-color: rgba(7, 23, 255, 0.2);
            color: #1707ff;
            border: 1px solid rgba(44, 7, 255, 0.4);
        }
        
        
        /* --- Personal Block & Footer --- */
        .personal-block {
            padding: 1rem 1.5rem;
        }

        .social-icons a {
            color: var(--text);
            font-size: 1.25rem;
            margin-left: 1.25rem;
            opacity: 0.7;
            transition: opacity 0.3s ease, color 0.3s ease;
        }
        
        .social-icons a:hover {
            opacity: 1;
            color: var(--accent);
        }

        .footer {
            padding: 2rem 0;
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.9rem;
        }
        
        /* --- 6. Accessibility --- */
        a:focus-visible, .btn:focus-visible, .card:focus-visible {
            outline: 2px solid var(--accent);
            outline-offset: 2px;
            box-shadow: none; /* remove bootstrap's default focus shadow */
        }
        
        /* --- Decorative Background Element --- */
        .bg-lines {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            z-index: -1;
            opacity: 0.05;
            background-image: 
                linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
            background-size: 50px 50px;
        }
        canvas {
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          z-index: -2;
          pointer-events: none;
        }
        .bg-lines2 {
                      position: fixed;
 width: 100%;
          height: 100%;
            z-index: -1;
            opacity: 0.5;
            filter: blur(60px);
            background: linear-gradient(90deg, #00368e, #0055ff);
            background-size: 50px 50px;
        }
         .logo-card {
    width: 200px;
    height: 200px;
    perspective: 1000px;
    margin: 40px;
  }

  .logo-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
  }

  .logo-card:hover .logo-inner {
    transform: rotateY(180deg);
  }

  .logo-front, .logo-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    overflow: hidden;
  }

  .logo-front img,
  .logo-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
  }

  .logo-back {
    transform: rotateY(180deg); /* الوجه الخلفي */
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* أيقونة الرابط فوق الصورة الخلفية */
  .logo-back a {
    position: absolute;
    width: 48px;
    height: 48px;
    text-decoration: none;
  }

  .logo-back a::before {
    content: "";
    font-size: 48px;
    color: #000;
  }
  a{
    text-decoration: none !important;
  }
  .border-bottom{
    border-bottom: 5px solid rgba(255, 255, 255, 0.288) !important;
  }