/* =============================
   WEB DEVELOPMENT PAGE
   ============================= */

/* =============================
   HERO SECTION
   ============================= */

.hero-section.bg-webdev {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  padding: 100px 0;
}
/* Animated glow */

.hero-section.bg-webdev::before {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  top: -200px;
  left: -200px;
  background: radial-gradient(
    circle,
    rgba(245, 130, 32, 0.15) 0%,
    rgba(245, 130, 32, 0.05) 40%,
    transparent 70%
  );
  animation: webdevGlow1 14s ease-in-out infinite;
}

.hero-section.bg-webdev::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  bottom: -200px;
  right: -200px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  animation: webdevGlow2 16s ease-in-out infinite;
}

@keyframes webdevGlow1 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(60px, 40px);
  }
  100% {
    transform: translate(0, 0);
  }
}

@keyframes webdevGlow2 {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-60px, -40px);
  }
  100% {
    transform: translate(0, 0);
  }
}

.hero-section.bg-webdev .container {
  position: relative;
  z-index: 2;
}

.web-hero-title span {
  color: #f19839;
}

/* Eyebrow */
.webdev-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f19839;
  margin-bottom: 16px;

  opacity: 0;
  animation: clFadeUp 0.5s ease forwards;
  animation-delay: 0.1s;
}

.webdev-eyebrow-dot {
  width: 10px;
  height: 10px;
  background: #f19839;
  border-radius: 50%;
  flex-shrink: 0;
  animation: clBlink 1.6s ease-in-out infinite;
}

@keyframes clFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes clBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
/* =============================
   TYPING CURSOR
   ============================= */

.code-content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  font-family: "Courier New", monospace;
  color: #7dd3fc;
}

.typing-cursor {
  display: inline-block;
  width: 2px;
  height: 16px;
  background: #7dd3fc;
  margin-left: 4px;
  animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {
  0%,
  50%,
  100% {
    opacity: 1;
  }
  25%,
  75% {
    opacity: 0;
  }
}

/* =============================
   CODE SYNTAX COLORS
   ============================= */

.code-content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
  font-family: "Courier New", monospace;
  background: #0b1229;
}

/* keywords */

.code-content .kw {
  color: #c084fc;
  font-weight: 600;
}

/* function names */

.code-content .fn {
  color: #38bdf8;
}

/* brackets */

.code-content .br {
  color: #f8fafc;
}

/* indentation spacing fix */

.code-content code {
  white-space: pre;
}

/* =============================
   HERO TEXT
   ============================= */

/* Title */
.web-hero-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  opacity: 0;
  animation: clFadeUp 0.55s ease forwards;
  animation-delay: 0.2s;
}
.web-hero-title span {
  color: #f19839;
}

/* Subtitle */
.web-hero-subtitle {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 460px;
  margin-bottom: 26px;
  opacity: 0;
  animation: clFadeUp 0.55s ease forwards;
  animation-delay: 0.3s;
}

/* Buttons */
.hero-section.bg-webdev .hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  opacity: 0;
  animation: clFadeUp 0.55s ease forwards;
  animation-delay: 0.4s;
}

/* =============================
   HERO CODE WINDOW
   ============================= */

.webdev-code-window {
  background: #0b1229;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  max-width: 420px;
  margin: auto;
  overflow: hidden;
  animation: codeFloat 6s ease-in-out infinite;
}

.code-header {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  background: #1f2937;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.red {
  background: #ff5f56;
}
.yellow {
  background: #ffbd2e;
}
.green {
  background: #27c93f;
}

.code-content {
  padding: 20px;
  font-size: 14px;
  color: #7dd3fc;
  line-height: 1.6;
  font-family: monospace;
}

@keyframes codeFloat {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}

/* =============================
   HERO TECH STACK
   ============================= */

.webdev-tech-stack {
  margin-top: 28px;
}

.tech-title {
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 10px;
}

.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-badges span {
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
}

.tech-badges span:hover {
  background: rgba(245, 130, 32, 0.15);
  border-color: rgba(245, 130, 32, 0.5);
  transform: translateY(-2px);
}

/* =============================
   PROBLEM → SOLUTION
   ============================= */

.webdev-problem-solution h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 16px;
}

.webdev-problem-solution p {
  font-size: 1rem;
  line-height: 1.75;
  color: #374151;
  max-width: 520px;
}

/* =============================
   SERVICE CARDS
   ============================= */

.webdev-service-cards {
  background: #f9fafb;
}

.webdev-service-cards h2 {
  font-weight: 700;
  color: #0f1c3f;
}

.webdev-service-cards .card {
  border: none;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  height: 100%;
}

.webdev-service-cards .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.webdev-service-cards .card-body {
  padding: 28px;
}

.webdev-service-cards .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f1c3f;
  margin-bottom: 10px;
}

.webdev-service-cards .card-text {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.65;
}

/* =============================
   BENEFITS SECTION
   ============================= */

.webdev-benefits h2 {
  font-weight: 700;
  color: #0f1c3f;
}

.webdev-benefits ul {
  max-width: 720px;
  margin: auto;
}

.webdev-benefits li {
  font-size: 1rem;
  line-height: 1.7;
  color: #374151;
  padding-left: 26px;
  position: relative;
}

.webdev-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f58220;
  font-weight: 700;
}

.webdev-benefits li strong {
  color: #0f1c3f;
}

/* =============================
   CTA SECTION
   ============================= */

.webdev-cta {
  background: linear-gradient(135deg, #0f1c3f, #1e293b);
  color: #ffffff;
  padding: 110px 0;
  text-align: center;
}

.webdev-cta h2 {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.webdev-cta .lead {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
  margin: auto;
  margin-bottom: 34px;
}

.webdev-cta .hero-btn-primary {
  background: linear-gradient(135deg, #f19839, #f58220);
  border: none;
  padding: 14px 36px;
  border-radius: 40px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.webdev-cta .hero-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(241, 152, 57, 0.35);
  background: linear-gradient(135deg, #f58220, #ff7b00);
}

/* =============================
   RESPONSIVE
   ============================= */

@media (max-width: 992px) {
  .hero-section.bg-webdev {
    text-align: center;
  }

  .hero-section.bg-webdev .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .webdev-code-window {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .hero-section.bg-webdev {
    padding: 80px 0;
  }

  .webdev-service-cards .card-body {
    padding: 22px;
  }

  .webdev-cta {
    padding: 90px 0;
  }
}

/* =============================
   WEBDEV HOW IT WORKS PAGE
   ============================= */
