 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    :root {
      --primary: rgba(244, 185, 3);
      --secondary:  rgba(255,140,0,1);
      --accent: #ff0080;
      --dark: #0a0e1a;
      --darker: #050810;
    }
    
    body {
      font-family: 'Cairo', 'Roboto', sans-serif;
      background: var(--darker);
      overflow-x: hidden;
      color: white;
      direction: rtl;
    }
    
    #three-canvas {
      position: fixed;
      top: 0;
      left: 0;
      z-index: 1;
      width: 100vw;
      height: 100vh;
    }
    
    .content {
      position: relative;
      z-index: 2;
      pointer-events: none;
    }
    
    .section {
      min-height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      pointer-events: all;
      padding: 2rem;
    }
    
    .card {
      text-align: center;
      padding: 4rem 3.5rem;
      background: linear-gradient(135deg, rgba(10, 14, 26, 0.95), rgba(5, 8, 16, 0.9));
      border-radius: 35px;
      backdrop-filter: blur(50px);
      border: 2px solid transparent;
      background-clip: padding-box;
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 
                  0 0 80px rgba(0, 255, 136, 0.15),
                  inset 0 0 80px rgba(0, 255, 136, 0.05);
      max-width: 1100px;
      width: 100%;
      animation: float 7s ease-in-out infinite;
      transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      border-radius: 35px;
      padding: 2px;
      background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask-composite: exclude;
      opacity: 0.4;
      transition: opacity 0.6s;
    }

    .card:hover::before {
      opacity: 1;
    }

    .card:hover {
      transform: translateY(-15px);
      box-shadow: 0 50px 120px rgba(0, 0, 0, 0.9),
                  0 0 100px rgba(244, 185, 3),
                  inset 0 0 100px rgba(0, 255, 136, 0.1);
    }

    .logo-container {
      margin-bottom: 2rem;
      display: flex;
      justify-content: center;
    }

    .logo {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 4px solid var(--primary);
      box-shadow: 0 0 40px  rgba(244, 185, 3),
                  0 0 80px  rgba(244, 185, 3);
      transition: all 0.5s ease;
      animation: pulse 3s ease-in-out infinite;
      object-fit: cover;
    }

    .logo:hover {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 0 60px  rgba(244, 185, 3),
                  0 0 100px rgba(244, 185, 3);
    }

    @keyframes pulse {
      0%, 100% {
        box-shadow: 0 0 40px  rgba(255,140,0,1),
                    0 0 80px  rgba(255,140,0,1);
      }
      50% {
        box-shadow: 0 0 60px  rgba(255,140,0,1),
                    0 0 100px  rgba(255,140,0,1);
      }
    }

    .hero-label {
      display: inline-block;
      padding: 0.7rem 1.8rem;
      background: rgba(0, 255, 136, 0.1);
      border: 1px solid rgba(0, 255, 136, 0.3);
      border-radius: 50px;
      font-size: 1rem;
      font-weight: 600;
      color: var(--primary);
      margin-bottom: 2rem;
      letter-spacing: 2px;
      text-transform: uppercase;
    }

    .hero-title {
      font-size: clamp(3rem, 8vw, 6.5rem);
      font-weight: 900;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, #fff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      line-height: 1.1;
      letter-spacing: -2px;
    }

    .hero-subtitle {
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 300;
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 0.5rem;
      line-height: 1.4;
    }

    .hero-subtitle-en {
      font-size: clamp(1.2rem, 2.5vw, 2rem);
      font-weight: 300;
      color: rgba(255, 255, 255, 0.6);
      margin-bottom: 2rem;
      font-family: 'Roboto', sans-serif;
      direction: ltr;
    }

    .hero-description {
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      color: rgba(255, 255, 255, 0.65);
      line-height: 1.9;
      max-width: 800px;
      margin: 0 auto 2rem;
    }

    .social-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 2.5rem;
    }

    .social-btn {
      padding: 1.2rem 2.5rem;
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 255, 136, 0.05));
      border: 2px solid rgba(0, 255, 136, 0.4);
      border-radius: 50px;
      color: var(--primary);
      text-decoration: none;
      font-size: 1.15rem;
      font-weight: 700;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-flex;
      align-items: center;
      gap: 1rem;
      cursor: pointer;
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .social-btn::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 0;
      height: 0;
      border-radius: 50%;
      background: rgba(0, 255, 136, 0.3);
      transform: translate(-50%, -50%);
      transition: width 0.6s, height 0.6s;
    }

    .social-btn:hover::before {
      width: 300px;
      height: 300px;
    }

    .social-btn:hover {
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 255, 136, 0.15));
      border-color: var(--primary);
      transform: translateY(-8px) scale(1.05);
      box-shadow: 0 20px 50px rgba(244, 185, 3),
                  0 0 50px rgba(244, 185, 3);
    }

    .social-btn:active {
      transform: translateY(-5px) scale(1.02);
    }

    .social-icon {
      font-size: 1.8rem;
      z-index: 1;
      transition: transform 0.3s ease;
    }

    .social-btn:hover .social-icon {
      transform: scale(1.2) rotate(10deg);
    }

    .social-text {
      z-index: 1;
    }

    .social-btn.youtube {
      border-color: rgba(255, 0, 0, 0.5);
      color: #ff0000;
      background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 0, 0, 0.05));
    }

    .social-btn.youtube::before {
      background: rgba(255, 0, 0, 0.3);
    }

    .social-btn.youtube:hover {
      background: linear-gradient(135deg, rgba(255, 0, 0, 0.25), rgba(255, 0, 0, 0.15));
      border-color: #ff0000;
      box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4),
                  0 0 50px rgba(255, 0, 0, 0.3);
    }

    .social-btn.whatsapp {
      border-color: rgba(37, 211, 102, 0.5);
      color: #25d366;
      background: linear-gradient(135deg, rgba(37, 211, 102, 0.1), rgba(37, 211, 102, 0.05));
    }

    .social-btn.whatsapp::before {
      background: rgba(37, 211, 102, 0.3);
    }

    .social-btn.whatsapp:hover {
      background: linear-gradient(135deg, rgba(37, 211, 102, 0.25), rgba(37, 211, 102, 0.15));
      border-color: rgba(244, 185, 3);
      box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4),
                  0 0 50px rgba(37, 211, 102, 0.3);
    }

    .social-btn.email {
      border-color: rgba(234, 67, 53, 0.5);
      color: #ea4335;
      background: linear-gradient(135deg, rgba(234, 67, 53, 0.1), rgba(234, 67, 53, 0.05));
    }

    .social-btn.email::before {
      background: rgba(234, 67, 53, 0.3);
    }

    .social-btn.email:hover {
      background: linear-gradient(135deg, rgba(234, 67, 53, 0.25), rgba(234, 67, 53, 0.15));
      border-color: #ea4335;
      box-shadow: 0 20px 50px rgba(234, 67, 53, 0.4),
                  0 0 50px rgba(234, 67, 53, 0.3);
    }

    .section-title {
      font-size: clamp(2.5rem, 6vw, 5rem);
      font-weight: 900;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      letter-spacing: -1px;
    }

    .section-title-en {
      font-size: clamp(1.5rem, 3vw, 2.5rem);
      font-weight: 300;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 2rem;
      font-family: 'Roboto', sans-serif;
      direction: ltr;
    }

    .section-text {
      font-size: clamp(1.2rem, 2.5vw, 1.6rem);
      color: rgba(255, 255, 255, 0.8);
      line-height: 2;
      margin-bottom: 2rem;
    }

    .highlight {
      color: var(--primary);
      font-weight: 700;
      text-shadow: 0 0 30px rgba(244, 185, 3);
    }

    .tech-stack {
      display: flex;
      flex-wrap: wrap;
      gap: 1.5rem;
      justify-content: center;
      margin: 3rem 0;
    }

    .tech-badge {
      padding: 1rem 2rem;
      background: rgba(0, 255, 136, 0.08);
      border: 2px solid rgba(0, 255, 136, 0.25);
      border-radius: 15px;
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--primary);
      transition: all 0.4s ease;
      cursor: pointer;
    }

    .tech-badge:hover {
      background: rgba(0, 255, 136, 0.15);
      border-color: var(--primary);
      transform: translateY(-5px) scale(1.05);
      box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
    }

    .skills-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 2rem;
      margin-top: 3rem;
    }

    .skill-card {
      padding: 2.5rem;
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.05), rgba(0, 212, 255, 0.05));
      border-radius: 25px;
      border: 2px solid rgba(0, 255, 136, 0.2);
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      text-align: center;
    }

    .skill-card:hover {
      background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
      border-color: var(--primary);
      transform: translateY(-10px);
      box-shadow: 0 25px 50px rgba(0, 255, 136, 0.25);
    }

    .skill-icon {
      font-size: 4rem;
      margin-bottom: 1.5rem;
      filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.6));
    }

    .skill-title {
      font-size: 1.6rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
      color: var(--primary);
    }

    .skill-title-en {
      font-size: 1.2rem;
      font-weight: 400;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 0.8rem;
      font-family: 'Roboto', sans-serif;
      direction: ltr;
    }

    .skill-description {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.7;
    }

    .projects-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 2.5rem;
      margin-top: 3rem;
    }

    .project-card {
      padding: 2.5rem;
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(0, 255, 136, 0.05));
      border-radius: 25px;
      border: 2px solid rgba(0, 212, 255, 0.3);
      transition: all 0.5s ease;
      text-align: right;
    }

    .project-card:hover {
      background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 255, 136, 0.1));
      border-color: var(--secondary);
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 25px 50px rgba(0, 212, 255, 0.3);
    }

    .project-icon {
      font-size: 3.5rem;
      margin-bottom: 1.5rem;
      text-align: center;
    }

    .project-title {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--secondary);
      margin-bottom: 0.5rem;
    }

    .project-title-en {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.5);
      margin-bottom: 1rem;
      font-family: 'Roboto', sans-serif;
      direction: ltr;
      text-align: center;
    }

    .project-description {
      font-size: 1.1rem;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.8;
    }

    .cta-section {
      margin-top: 3rem;
      padding: 3rem;
      background: rgba(0, 255, 136, 0.05);
      border-radius: 25px;
      border: 2px solid rgba(0, 255, 136, 0.2);
    }

    .cta-title {
      font-size: clamp(2rem, 4vw, 3.5rem);
      font-weight: 900;
      color: var(--primary);
      margin-bottom: 1rem;
    }

    .cta-text {
      font-size: clamp(1.1rem, 2vw, 1.4rem);
      color: rgba(255, 255, 255, 0.8);
      margin-bottom: 2rem;
      line-height: 1.8;
    }

    @keyframes float {
      0%, 100% { transform: translateY(0px); }
      50% { transform: translateY(-25px); }
    }

    /* Language Switcher */
    .lang-switcher {
      position: fixed;
      top: 2rem;
      right: 2rem;
      z-index: 1000;
      display: flex;
      gap: 0.5rem;
      background: rgba(10, 14, 26, 0.95);
      padding: 0.5rem;
      border-radius: 50px;
      border: 2px solid rgba(0, 255, 136, 0.3);
      backdrop-filter: blur(20px);
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .lang-btn {
      padding: 0.8rem 1.5rem;
      background: transparent;
      border: none;
      color: rgba(255, 255, 255, 0.6);
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      border-radius: 50px;
      transition: all 0.3s ease;
      font-family: 'Cairo', sans-serif;
    }

    .lang-btn.active {
      background: linear-gradient(135deg, var(--primary), var(--secondary));
      color: white;
      box-shadow: 0 5px 20px rgba(0, 255, 136, 0.4);
    }

    .lang-btn:hover:not(.active) {
      color: var(--primary);
      background: rgba(0, 255, 136, 0.1);
    }

    /* Hide/Show based on language */
    body[data-lang="en"] .ar-only {
      display: none !important;
    }

    body[data-lang="ar"] .en-only {
      display: none !important;
    }

    body[data-lang="en"] {
      direction: ltr;
    }

    body[data-lang="en"] .card,
    body[data-lang="en"] .section-text,
    body[data-lang="en"] .hero-description {
      text-align: center;
    }

    body[data-lang="en"] .project-card {
      text-align: left;
    }

    @media (max-width: 768px) {
      .section { padding: 1.5rem; }
      .card { padding: 2.5rem 1.5rem; }
      .skills-grid { grid-template-columns: 1fr; }
      .projects-grid { grid-template-columns: 1fr; }
      .social-buttons { gap: 1rem; }
      .lang-switcher {
        top: 1rem;
        right: 1rem;
        left: auto;
      }
    }