.webdesign-section {
    padding: 2rem 1rem;
    color: white;
    font-family: 'Arial', sans-serif;
  }
  
  .webdesign-title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Switcher: Desktop / Mobil */
  .device-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
  }
  
  .switch-btn {
    background-color: #1a1a1a;
    color: white;
    border: 1px solid #7f73e3;
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
  }
  
  .switch-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #7f73e3;
    opacity: 0.15;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: 8px;
  }
  
  .switch-btn:hover::before {
    opacity: 0.35;
  }
  
  .switch-btn.active {
    background-color: #7f73e3;
    color: #fff;
    font-weight: 600;
  }
  
  .switch-btn.active:hover::before {
    opacity: 0.25;
  }
  
  /* Grid layout */
  .webdesign-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }
  
  /* Card container */
  .webdesign-card {
    width: 100%;
    max-width: 1200px;
    padding: 2rem;
    background-color: #1a1a1a;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease, max-width 0.3s ease;
    position: relative;
  }
  
  .webdesign-card.mobile-view {
    max-width: 420px;
  }
  
  .webdesign-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
  
  /* Header titlu + badge device */
  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
  }
  
  .webdesign-card-title {
    font-size: 1.75rem;
    font-weight: 600;
    margin: 0;
  }
  
  .device-badge {
    background: #2a2a2a;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid #444;
    user-select: none;
    pointer-events: none;
    transition: background 0.2s ease;
  }
  
  /* Frame + overlay scroll protect */
  .webdesign-frame-wrapper {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 1rem;
  }
  
  .webdesign-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
    display: block;
    pointer-events: none;
  }
  
  .webdesign-frame-wrapper.active iframe {
    pointer-events: auto;
  }
  
  /* Overlay scroll instructiuni */
  .webdesign-iframe-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(15, 15, 15, 0.75);
    color: #fff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    z-index: 2;
    border-radius: 14px;
    transition: opacity 0.3s ease;
    font-weight: 500;
    line-height: 1.6;
  }
  
  .webdesign-iframe-overlay p {
    margin: 0;
    max-width: 400px;
  }
  
  .webdesign-iframe-overlay kbd {
    background: #333;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    font-family: monospace;
    font-size: 0.95rem;
    color: #fff;
    border: 1px solid #555;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.5);
  }
  
  .webdesign-frame-wrapper.active .webdesign-iframe-overlay {
    opacity: 0;
    pointer-events: none;
  }
  
  /* Meta: descriere + link */
  .webdesign-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .webdesign-description {
    font-size: 0.95rem;
    color: #ccc;
    margin: 0;
  }
  
  .webdesign-link {
    color: #7f73e3;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
  }
  
  .webdesign-link:hover {
    text-decoration: none;
    opacity: 0.85; /* efect subtil de hover, opțional */
  }