#webdesign { background: transparent; padding-top: 0; }
.section-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 0.96rem;
  color: var(--ink-soft);
  line-height: 1.7;
}
#webdesign .wd-thumb { background: #e0e7ff; }
/* ══════════════════════════════════════════
   WEB DESIGNING SECTION — #webdesign
══════════════════════════════════════════ */
#webdesign {
    background: var(--surface);
    padding: 5rem 0;
}
.wd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}
/* Header */
.wd-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 2rem;
    flex-wrap: wrap;
}
.wd-header-left .section-label { color: var(--accent); }
.wd-header-left .section-title { margin-bottom: 0.4rem; }
.wd-header-left .section-sub {
    font-size: 0.95rem;
    color: var(--ink-soft);
    max-width: 640px;
    margin: 0;
}
.wd-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37,99,235,0.07);
    border: 1px solid rgba(37,99,235,0.18);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    flex-shrink: 0;
}
.wd-count-badge svg { width: 13px; height: 13px; }

/* Grid — uniform cards like news layout */
.wd-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
/* Card */
.wd-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s, box-shadow 0.25s, transform 0.22s;
    position: relative;
}
.wd-card:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 32px rgba(37,99,235,0.1);
    transform: translateY(-4px);
}
/* Thumbnail — fixed aspect ratio so all same height */
.wd-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
    flex-shrink: 0;
}
.wd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    transition: transform 0.5s ease;
}
.wd-card:hover .wd-thumb img {
    transform: scale(1.05);
}
/* Hover overlay */
.wd-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14,14,13,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s;
}
.wd-card:hover .wd-overlay {
    background: rgba(14,14,13,0.42);
}
.wd-overlay-icon {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(37,99,235,0.9);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 0.25s, transform 0.25s;
}
.wd-overlay-icon svg { width: 20px; height: 20px; color: #fff; }
.wd-card:hover .wd-overlay-icon {
    opacity: 1;
    transform: scale(1);
}
/* Card footer */
.wd-card-footer {
    padding: 1rem 1.1rem 1.25rem;
    border-top: 1.5px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.wd-card-type {
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
}
.wd-card-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.96rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.01em;
}
.wd-card-desc {
    font-size: 0.96rem;
    color: var(--ink-soft);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Stack row */
.wd-card-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.wd-stack-label {
    width: 100%;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2px;
}
.wd-stack-tag {
    font-size: 0.73rem;
    font-weight: 500;
    background: var(--surface);
    color: var(--ink-soft);
    border: 1px solid var(--border);
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 0.02em;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.wd-card:hover .wd-stack-tag {
    color: var(--accent);
    background: rgba(37,99,235,0.05);
    border-color: rgba(37,99,235,0.2);
}
/* Feature bullets */
.wd-card-features {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.wd-features-label {
    font-size: 0.70rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 2px;
}
.wd-card-feature {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.4;
}
.wd-card-feature::before {
    content: '✓';
    color: var(--accent);
    font-weight: 800;
    font-size: 0.7rem;
    flex-shrink: 0;
    margin-top: 1px;
}
/* Number badge */
.wd-card-num {
    position: absolute;
    top: 10px; left: 10px;
    background: rgba(14,14,13,0.6);
    color: rgba(255,255,255,0.85);
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.06em;
    backdrop-filter: blur(4px);
    z-index: 2;
}

/* ── LIGHTBOX ── */
#wdLightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(6,6,5,0.96);
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow-y: auto;
}
#wdLightbox.open { display: flex; }
.wdlb-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
/* Full image — full width, natural height, scrolls with page */
.wdlb-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
/* Meta row */
.wdlb-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 2px;
}
.wdlb-caption {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
}
.wdlb-counter {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
    letter-spacing: 0.08em;
}
/* Fixed controls — always visible even when scrolled */
.wdlb-close {
    position: fixed;
    top: 1.1rem; right: 1.25rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff; font-size: 1.25rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 10001; line-height: 1;
}
.wdlb-close:hover { background: rgba(37,99,235,0.7); }
.wdlb-arrow {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    z-index: 10001;
}
.wdlb-arrow:hover { background: rgba(37,99,235,0.55); border-color: var(--accent); }
.wdlb-prev { left: 1rem; }
.wdlb-next { right: 1rem; }
.wdlb-arrow svg { width: 18px; height: 18px; }
/* Nav dots */
.wdlb-dots {
    display: flex; gap: 6px;
    align-items: center;
}
.wdlb-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.wdlb-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .wd-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (max-width: 760px) {
    .wd-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .wdlb-arrow { display: none; }
    .wdlb-wrap { padding: 3rem 1rem 2rem; }
    .wd-card-desc { -webkit-line-clamp: 2; }
}
@media (max-width: 540px) {
    .wd-grid { grid-template-columns: 1fr; gap: 14px; }
    #webdesign { padding: 3.5rem 0; }
    .wd-container { padding: 0 1.25rem; }
}

#webdesign {
  background: transparent;
  padding: 0.25rem 0 2.5rem;
}
.wd-header {
  justify-content: center;
  text-align: center;
}
.wd-header-left { text-align: center; }
.wd-header-left .section-sub { margin-left: auto; margin-right: auto; }
