/* ==========================================================================
   DEVIFY SOLUTION - WEBSITE DEVELOPMENT DEDICATED STYLESHEET
   Blueprint Reference: Figma Design (media_1793588443668_93befe93.jpg)
   Version: 3.2 (Cache-Busted & Standalone Optimized)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HERO TECH STAGE & FLOATING LAPTOP VISUAL
   -------------------------------------------------------------------------- */
.webdev-hero-section {
  position: relative;
  background-color: #060b18;
  background-image: 
    radial-gradient(circle at 75% 35%, rgba(0, 102, 255, 0.38) 0%, rgba(6, 11, 24, 0.92) 55%, #040711 100%),
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 45%);
  color: #ffffff;
  padding-top: 3.5rem;
  padding-bottom: 6rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.webdev-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .webdev-hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

/* 3D Laptop Stage Container */
.webdev-laptop-stage {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Compact Anchoring Wrapper so chips stick tightly to the laptop */
.webdev-laptop-wrapper {
  position: relative;
  width: 360px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glowing Neon Cyan Circular Pedestal */
.webdev-stage-pedestal {
  position: absolute;
  bottom: 25px;
  width: 340px;
  height: 95px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.45) 0%, rgba(6, 11, 24, 0.95) 75%);
  border: 2px solid #00f0ff;
  box-shadow: 0 0 35px #0066ff, inset 0 0 22px #00f0ff;
  transform: rotateX(65deg);
  z-index: 1;
}

/* 3D Modern Laptop Device */
.webdev-laptop-frame {
  position: relative;
  z-index: 5;
  width: 310px;
  margin-bottom: 20px;
  animation: webdevLaptopHover 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes webdevLaptopHover {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.webdev-laptop-bezel {
  background: #090e1d;
  border: 3px solid #1e293b;
  border-radius: 14px 14px 4px 4px;
  padding: 8px 8px 10px 8px;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(0, 102, 255, 0.4);
}

.webdev-laptop-camera {
  width: 5px;
  height: 5px;
  background: #334155;
  border-radius: 50%;
  margin: 0 auto 5px auto;
}

.webdev-laptop-display {
  background: linear-gradient(155deg, #070e26 0%, #0c1c45 50%, #050a1a 100%);
  border-radius: 8px;
  height: 185px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  flex-direction: column;
}

/* Laptop Screen Inner Browser UI */
.laptop-ui-nav {
  height: 22px;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.laptop-ui-nav-dots {
  display: flex;
  gap: 3px;
}

.laptop-ui-nav-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.laptop-ui-brand {
  font-size: 0.58rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
}

.laptop-ui-body {
  padding: 8px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8px;
  height: calc(100% - 22px);
}

.laptop-ui-hero-banner {
  background: linear-gradient(135deg, #0284c7, #0052cc);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px;
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.3);
}

.laptop-ui-mountains {
  width: 100%;
  height: 40px;
}

.laptop-ui-code-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.laptop-ui-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 5px;
  padding: 5px 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.laptop-ui-code-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #00f0ff;
  font-family: monospace;
  background: rgba(0, 102, 255, 0.35);
  padding: 2px 4px;
  border-radius: 3px;
}

.laptop-ui-lines {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.laptop-ui-line {
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}
.line-cyan { background: #38bdf8; width: 85%; }
.line-blue { background: #60a5fa; width: 65%; }
.line-green { background: #4ade80; width: 90%; }

.webdev-laptop-base {
  width: 108%;
  margin-left: -4%;
  height: 12px;
  background: linear-gradient(to bottom, #94a3b8 0%, #475569 60%, #1e293b 100%);
  border-radius: 0 0 10px 10px;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.webdev-laptop-notch {
  width: 50px;
  height: 4px;
  background: #334155;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Floating 3D Tech Chips & Badges around the Laptop */
.webdev-chip {
  position: absolute;
  background: rgba(11, 22, 53, 0.92);
  border-radius: var(--radius-md, 10px);
  padding: 0.45rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 12;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  animation: webdevChipFloat 6s ease-in-out infinite;
}

@keyframes webdevChipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Top Left Chip: 3x Faster Load */
.chip-faster-load {
  top: 40px;
  left: -15px;
  border: 1px solid rgba(234, 179, 8, 0.5);
  animation-delay: -1s;
}

.chip-bolt-icon {
  color: #eab308;
  font-size: 1.1rem;
  line-height: 1;
}

/* Mid Left Chip: 99.9% Uptime */
.chip-uptime {
  bottom: 85px;
  left: -20px;
  border: 1px solid rgba(34, 197, 94, 0.55);
  animation-delay: -3s;
}

/* Top Right Chip: Mini Code Editor Card */
.chip-code-editor {
  top: 30px;
  right: -25px;
  background: rgba(11, 19, 43, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  padding: 0.55rem 0.75rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
  z-index: 14;
  animation-delay: -2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 145px;
}

.mini-editor-dots {
  display: flex;
  gap: 3px;
  margin-bottom: 2px;
}

.mini-editor-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.mini-code-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.62rem;
  line-height: 1.35;
  color: #e2e8f0;
  white-space: nowrap;
}
.token-blue { color: #38bdf8; font-weight: 700; }
.token-yellow { color: #facc15; }
.token-green { color: #4ade80; }
.token-pink { color: #f472b6; }

/* Bottom Right Chip: High Performance */
.chip-performance {
  bottom: 80px;
  right: -15px;
  border: 1px solid rgba(0, 102, 255, 0.55);
  animation-delay: -4s;
}

.chip-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.chip-sub {
  font-size: 0.65rem;
  color: #94a3b8;
}

/* --------------------------------------------------------------------------
   2. OVERLAPPING 4-METRIC RIBBON
   -------------------------------------------------------------------------- */
.webdev-pillar-ribbon-wrap {
  position: relative;
  z-index: 25;
  margin-top: -45px;
  padding-inline: 1rem;
}

.webdev-pillar-ribbon {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  box-shadow: 0 15px 35px -5px rgba(11, 19, 41, 0.08), 0 5px 15px rgba(11, 19, 41, 0.04);
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .webdev-pillar-ribbon {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .webdev-pillar-ribbon {
    grid-template-columns: repeat(4, 1fr);
    padding: 1.5rem 2rem;
  }
}

.webdev-ribbon-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.webdev-ribbon-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.webdev-ribbon-item:hover .webdev-ribbon-icon-circle {
  background: #0066ff;
  color: #ffffff;
  transform: scale(1.08);
}

.webdev-ribbon-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
}

.webdev-ribbon-title.highlight-blue {
  color: #0066ff;
}

.webdev-ribbon-desc {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   3. WHY CHOOSE OUR WEBSITE DEVELOPMENT SERVICE?
   -------------------------------------------------------------------------- */
.why-webdev-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .why-webdev-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.why-webdev-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.why-webdev-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #1e293b;
}

.why-webdev-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Modern Browser Window Graphic with Cursor */
.why-webdev-browser-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xl, 20px);
  padding: 1.5rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.browser-window-header {
  height: 28px;
  background: #f8fafc;
  border-radius: 8px 8px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-inline: 10px;
  border-bottom: 1px solid #e2e8f0;
  margin: -1.5rem -1.5rem 1.25rem -1.5rem;
}

.browser-window-header span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.browser-mock-body {
  position: relative;
  background: #eff6ff;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1.5px dashed #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-ui-card-top {
  height: 40px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.08);
  width: 75%;
}

.mock-ui-card-bottom {
  height: 55px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.08);
  width: 100%;
}

.browser-floating-cursor {
  position: absolute;
  right: 25px;
  bottom: 20px;
  width: 44px;
  height: 44px;
  animation: cursorPulse 3s ease-in-out infinite;
  filter: drop-shadow(0 6px 12px rgba(0, 102, 255, 0.35));
}

@keyframes cursorPulse {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-8px, -8px) scale(1.1); }
}

/* --------------------------------------------------------------------------
   4. OUR WEBSITE DEVELOPMENT PROCESS (DARK NAVY CURVED BANNER)
   -------------------------------------------------------------------------- */
.webdev-process-card-banner {
  background: #060c1d;
  background-image: 
    radial-gradient(circle at 50% 15%, rgba(0, 102, 255, 0.35) 0%, rgba(6, 12, 29, 0.96) 65%),
    radial-gradient(circle at 85% 85%, rgba(56, 189, 248, 0.12) 0%, transparent 40%);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 24px;
  padding: 3.5rem 2.25rem;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.65), 0 0 30px rgba(0, 102, 255, 0.15);
}

.webdev-process-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.webdev-process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  position: relative;
}

@media (min-width: 640px) {
  .webdev-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .webdev-process-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 0.85rem;
  }
}

.webdev-process-step-card {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem 0.95rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.webdev-process-step-card:hover {
  background: rgba(0, 102, 255, 0.14);
  border-color: rgba(56, 189, 248, 0.5);
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 102, 255, 0.28);
}

@media (min-width: 1024px) {
  .webdev-process-step-card:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -13px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(56, 189, 248, 0.6);
    font-size: 1.1rem;
    font-weight: 700;
    z-index: 10;
    pointer-events: none;
  }
}

.webdev-step-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0066ff, #00f0ff);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.6);
  flex-shrink: 0;
}

.webdev-step-num {
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.webdev-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.webdev-step-desc {
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   5. TECHNOLOGIES WE USE (TECH STACK SHOWCASE)
   -------------------------------------------------------------------------- */
.tech-stack-section {
  padding-block: 4rem;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.tech-stack-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .tech-stack-container {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

.tech-badge-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.tech-pill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.85rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  min-width: 68px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.tech-pill-item:hover {
  transform: translateY(-4px);
  border-color: #0066ff;
  box-shadow: 0 10px 20px rgba(0, 102, 255, 0.12);
}

.tech-icon-img {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-pill-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
}

/* --------------------------------------------------------------------------
   6. WEBSITE SOLUTIONS FOR EVERY BUDGET (PRICING TIERS)
   -------------------------------------------------------------------------- */
.webdev-tiers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .webdev-tiers-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

.webdev-tier-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.webdev-tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.35);
}

.webdev-tier-card.featured-tier {
  border: 2px solid #0066ff;
  box-shadow: 0 18px 45px -5px rgba(0, 102, 255, 0.22);
}

.tier-popular-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.95rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.tier-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.tier-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tier-type-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}
.badge-budget { background: #eff6ff; color: #0284c7; }
.badge-growth { background: #dbeafe; color: #0052cc; }
.badge-custom { background: #f3e8ff; color: #7e22ce; }

.tier-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.tier-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  min-height: 42px;
}

.tier-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-grow: 1;
}

.tier-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
}

.tier-feature-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Button Outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #0066ff;
  border: 1.5px solid #0066ff;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  background-color: #0066ff;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 255, 0.25);
}

/* --------------------------------------------------------------------------
   7. HOW WE ESTIMATE THE COST? (WORKFLOW STRIP)
   -------------------------------------------------------------------------- */
.cost-estimate-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2rem 2.25rem;
  margin-top: 3.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .cost-estimate-strip {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.cost-intro-side {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.cost-calc-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cost-steps-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cost-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
  max-width: 105px;
}

.cost-step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.cost-step-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.25;
}

.cost-arrow {
  color: #94a3b8;
  font-weight: 700;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   8. RECENT WEBSITE PROJECTS (PORTFOLIO SHOWCASE)
   -------------------------------------------------------------------------- */
.webdev-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .webdev-portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .webdev-portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.webdev-project-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.webdev-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px -5px rgba(15, 23, 42, 0.12);
  border-color: rgba(0, 102, 255, 0.35);
}

.webdev-project-thumb {
  position: relative;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #f1f5f9;
}

.webdev-project-browser-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
  padding-inline: 8px;
  z-index: 2;
}

.webdev-project-browser-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.webdev-project-body {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.webdev-project-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.15rem;
}

.webdev-project-cat {
  font-size: 0.75rem;
  color: #64748b;
}

.webdev-project-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eff6ff;
  color: #0066ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.webdev-project-card:hover .webdev-project-arrow {
  background: #0066ff;
  color: #ffffff;
  transform: scale(1.1);
}

/* Gradient Thumbnails for Projects */
.thumb-proj-cafe {
  background-color: #1e1b18;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.75)),
    url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=500&q=80'),
    linear-gradient(135deg, #78350f, #451a03);
}

.thumb-proj-gym {
  background-color: #0f172a;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.75)),
    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?auto=format&fit=crop&w=500&q=80'),
    linear-gradient(135deg, #1e293b, #0f172a);
}

.thumb-proj-clinic {
  background-color: #042f2e;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.75)),
    url('https://images.unsplash.com/photo-1629909613654-28e377c37b09?auto=format&fit=crop&w=500&q=80'),
    linear-gradient(135deg, #0d9488, #115e59);
}

.thumb-proj-fashion {
  background-color: #3b0764;
  background-image: 
    linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.75)),
    url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?auto=format&fit=crop&w=500&q=80'),
    linear-gradient(135deg, #7c3aed, #4c1d95);
}

/* --------------------------------------------------------------------------
   9. PRE-FOOTER BANNER (FIGMA BLUEPRINT)
   -------------------------------------------------------------------------- */
.webdev-cta-banner-wrap {
  padding-block: 4rem 2rem;
}

.webdev-cta-banner {
  background: #060c1d;
  background-image: radial-gradient(circle at 85% 50%, rgba(0, 102, 255, 0.35) 0%, rgba(6, 12, 29, 0.96) 75%);
  border: 1px solid rgba(0, 102, 255, 0.35);
  border-radius: var(--radius-xl, 24px);
  padding: 3rem 2.5rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 992px) {
  .webdev-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3.5rem 3.5rem;
  }
}

.webdev-cta-text-side {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 600px;
}

.webdev-cta-code-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(0, 102, 255, 0.25);
  border: 2px solid #0066ff;
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 1.35rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.5);
}

.webdev-cta-title {
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.webdev-cta-sub {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   10. INTERACTIVE ESTIMATE CALCULATOR WIDGET
   -------------------------------------------------------------------------- */
.estimate-calc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.08);
}

.calc-selector-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.calc-pill-option {
  padding: 0.6rem 1.15rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
  user-select: none;
}

.calc-pill-option:hover {
  border-color: #0066ff;
  background: #eff6ff;
  color: #0066ff;
}

.calc-pill-option.selected {
  background: #0066ff;
  color: #ffffff;
  border-color: #0066ff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.calc-result-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  margin-top: 1.5rem;
}

.calc-price-display {
  font-size: 2.2rem;
  font-weight: 800;
  color: #0066ff;
  font-family: var(--font-heading, "Plus Jakarta Sans", sans-serif);
  line-height: 1.2;
}

/* --------------------------------------------------------------------------
   11. SEO FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.webdev-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
}

.webdev-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.webdev-faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
}

.webdev-faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  display: none;
}

.webdev-faq-item.active {
  border-color: #0066ff;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.08);
}

.webdev-faq-item.active .webdev-faq-answer {
  display: block;
}

.webdev-faq-item.active .faq-arrow {
  transform: rotate(180deg);
}
