/* ==========================================================================
   webDev.css - Styles for WakinSoftures Services Page (Web Development)
   ========================================================================== */

:root {
  --badge-bg: #eff6ff;
  --feature-card-shadow: 0 10px 30px rgba(0, 51, 153, 0.04);
}

/* ---- Breadcrumbs ---- */
.breadcrumb-container {
  padding-top: 100px; /* Offset for fixed navbar */
  padding-bottom: 10px;
  background-color: #f8fafc;
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.88rem;
  font-weight: 500;
}

.breadcrumb-item a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-item a:hover {
  color: var(--primary);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 600;
}

/* ---- Hero Section ---- */
.web-hero-section {
  padding: 20px 0 50px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.badge-solution {
  background-color: var(--badge-bg);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.web-hero-section .hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.web-hero-section .hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.web-hero-section .hero-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-quote-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

.btn-work-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Hero benefits list */
.hero-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.benefit-item i {
  font-size: 1.45rem;
  color: var(--primary);
  background-color: var(--badge-bg);
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-text {
  display: flex;
  flex-direction: column;
}

.benefit-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.benefit-text span {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
}

.web-illustration-wrapper {
  position: relative;
  width: 100%;
  margin-top: -50px;
}

.web-hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 51, 153, 0.08));
  animation: floatWebHero 4s ease-in-out infinite alternate;
}

@keyframes floatWebHero {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-15px); }
}

/* Tagline Bar Underneath Hero Image */
.web-feature-tags-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.web-feature-tags-row .tag-item {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}

.web-feature-tags-row .tag-item:not(:last-child)::after {
  content: "•";
  color: var(--primary);
  font-size: 1rem;
}

/* ---- Offers Section ---- */
.web-offers-section {
  background-color: #ffffff;
  padding: 50px 0;
}

.web-section-header {
  margin-bottom: 3.5rem;
}

.web-section-tag {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.web-offers-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.offer-card {
  background-color: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--feature-card-shadow);
}

.offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 51, 153, 0.15);
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.08);
}

.offer-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.5rem;
}

/* Colored Icon themes */
.si-green { background-color: #e8f5e9; color: #2e7d32; }
.si-red { background-color: #ffebee; color: #c62828; }
.si-blue { background-color: #e3f2fd; color: #1565c0; }
.si-purple { background-color: #f3e5f5; color: #6a1b9a; }
.si-yellow { background-color: #fffde7; color: #f9a825; }
.si-emerald { background-color: #e0f2f1; color: #00695c; }

.offer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.offer-desc {
  color: #64748b;
  font-size: 0.86rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ---- Process Section ---- */
.web-process-section {
  background-color: #f8fafc;
  padding: 50px 0;
}

.process-flow-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-top: 3rem;
}

.process-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #ffffff;
  padding: 25px 12px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.06);
}

.node-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.15rem;
}

.node-step {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.node-desc {
  font-size: 0.76rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0;
}

.process-arrow {
  align-self: center;
  font-size: 1.35rem;
  color: #cbd5e1;
  margin-bottom: 25px;
}

/* ---- Technologies Section ---- */
.web-tools-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.web-tools-section .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 3.5rem;
}

.tech-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 24px 15px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.tech-card img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(0, 51, 153, 0.05);
}

.tech-name {
  font-size: 0.85rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* ---- Why Choose Section ---- */
.web-why-section {
  padding: 50px 0;
  background-color: #f8fafc;
}

.why-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
}

.why-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.5rem 0;
}

.why-checklist li i {
  color: var(--primary);
  font-size: 1.2rem;
}

.why-buttons {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-build-action {
  padding: 0.8rem 2.2rem;
  font-weight: 600;
  border-radius: 50px;
}

/* Why choose us image wrapper */
.why-web-img-wrapper {
  position: relative;
  width: 100%;
}

.web-why-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 51, 153, 0.05));
  animation: floatWebWhy 3.5s ease-in-out infinite alternate;
}

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

/* Counters Grid */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.counter-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.01);
  transition: transform 0.25s, border-color 0.25s;
}

.counter-box:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.counter-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.counter-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.counter-text span {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.35;
  display: block;
}

/* Bottom Action Banner Card */
.web-action-banner {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2.25rem 2.75rem;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.15);
}

.banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.banner-content h4 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.35rem;
}

.banner-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.btn-banner-quote {
  padding: 0.8rem 2rem;
  font-weight: 600;
  color: var(--primary);
  border-radius: 50px;
}

/* ---- Responsive CSS ---- */
@media (max-width: 1199.98px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

@media (max-width: 991.98px) {
  .breadcrumb-container {
    padding-top: 85px;
  }
  
  .web-hero-section {
    text-align: center;
    padding-bottom: 30px;
  }
  
  .web-hero-section .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-benefits-list {
    max-width: 550px;
    margin: 2rem auto 0;
  }

  .benefit-item {
    text-align: left;
  }
  
  .web-illustration-wrapper {
    margin-top: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .process-flow-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .process-node {
    width: 100%;
    max-width: 320px;
  }
  
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .web-why-section {
    text-align: center;
  }
  
  .why-checklist {
    max-width: 320px;
    margin: 0 auto 2rem;
    text-align: left;
  }
  
  .why-buttons {
    justify-content: center;
    margin-bottom: 3rem;
  }
  
  .why-web-img-wrapper {
    margin: 0 auto 3rem;
    max-width: 380px;
  }
  
  .counters-grid {
    max-width: 480px;
    margin: 0 auto;
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .web-action-banner {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .benefit-item {
    max-width: 280px;
    margin: 0 auto;
  }
  
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .counters-grid {
    grid-template-columns: 1fr;
  }
}
