/* ==========================================================================
   digitalMarketing.css - Styles for WakinSoftures Services Page (Digital Marketing)
   ========================================================================== */

: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 ---- */
.marketing-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;
}

.marketing-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;
}

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

.marketing-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 grid */
.hero-benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  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;
}

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

.marketing-hero-img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 51, 153, 0.08));
}

/* Floating Social Media Icons */
.floating-social-icon {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  width: 48px;
  height: 48px;
  font-size: 1.3rem;
  z-index: 5;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-social-icon:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.icon-instagram {
  left: 6%;
  top: 10%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  color: #ffffff;
  animation: floatSocialIcon 3.5s ease-in-out infinite alternate;
}

.icon-facebook {
  left: 2%;
  top: 45%;
  background-color: #1877f2;
  color: #ffffff;
  animation: floatSocialIcon 3.8s ease-in-out infinite alternate-reverse;
}

.icon-linkedin {
  left: 5%;
  top: 76%;
  background-color: #0077b5;
  color: #ffffff;
  animation: floatSocialIcon 4.1s ease-in-out infinite alternate;
}

.icon-google {
  right: 6%;
  top: 12%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  animation: floatSocialIcon 3.6s ease-in-out infinite alternate-reverse;
}

.icon-youtube {
  right: 3%;
  top: 50%;
  background-color: #ff0000;
  color: #ffffff;
  animation: floatSocialIcon 4s ease-in-out infinite alternate;
}

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

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

/* Stats Trust Bar */
.marketing-stats-bar {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 51, 153, 0.04);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.stats-bar-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.75rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: #e2e8f0;
}

.stats-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background-color: var(--badge-bg);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stats-content {
  display: flex;
  flex-direction: column;
}

.stats-content strong {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
}

.stats-content span {
  font-size: 0.78rem;
  color: #64748b;
}

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

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

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

.marketing-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 ---- */
.marketing-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;
}

/* ---- Tools & Platforms Section ---- */
.marketing-tools-section {
  padding: 50px 0;
  background-color: #ffffff;
}

.platforms-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

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

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

.platform-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
}

/* ---- Why Choose Section ---- */
.marketing-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 Custom CSS/SVG Illustration styles */
.why-marketing-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  min-height: 220px;
}

.why-custom-svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(0, 51, 153, 0.04));
}

/* Custom illustration elements hover float */
.graphic-target {
  animation: floatIllustrationTarget 4s ease-in-out infinite alternate;
}

.graphic-search {
  animation: floatIllustrationSearch 3s ease-in-out infinite alternate;
}

@keyframes floatIllustrationTarget {
  0% { transform: translate(10px, 10px) translateY(0); }
  100% { transform: translate(10px, 10px) translateY(-5px); }
}

@keyframes floatIllustrationSearch {
  0% { transform: translate(200px, 150px) translateY(0); }
  100% { transform: translate(200px, 150px) translateY(-4px); }
}

/* Floating social media squares */
.why-float-square {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.05rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
  z-index: 5;
  transition: transform 0.25s;
}

.why-float-square:hover {
  transform: scale(1.15) !important;
}

.why-sq-facebook {
  left: 28%;
  top: 5%;
  background-color: #1877f2;
  animation: floatWhySquare 3.8s ease-in-out infinite alternate;
}

.why-sq-instagram {
  left: 48%;
  top: 15%;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  animation: floatWhySquare 4.2s ease-in-out infinite alternate-reverse;
}

.why-sq-linkedin {
  left: 68%;
  top: 8%;
  background-color: #0077b5;
  animation: floatWhySquare 3.6s ease-in-out infinite alternate;
}

.why-sq-custom {
  right: 6%;
  top: 38%;
  background-color: #00b4d8;
  animation: floatWhySquare 4s ease-in-out infinite alternate-reverse;
}

@keyframes floatWhySquare {
  0% { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

/* 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 */
.marketing-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) {
  .platforms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
}

@media (max-width: 991.98px) {
  .breadcrumb-container {
    padding-top: 85px;
  }
  
  .marketing-hero-section {
    text-align: center;
    padding-bottom: 50px;
  }
  
  .marketing-hero-section .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 550px;
    margin: 2rem auto 0;
  }

  .benefit-item {
    text-align: left;
  }
  
  .marketing-illustration-wrapper {
    margin-top: 2.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .floating-social-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .floating-social-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .marketing-stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 600px;
    margin: 3rem auto 0;
  }

  .stats-bar-item {
    text-align: left;
  }
  
  .stats-bar-item:nth-child(2)::after {
    display: none;
  }
  
  .process-flow-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .process-node {
    width: 100%;
    max-width: 320px;
  }
  
  .marketing-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-marketing-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) {
  .marketing-stats-bar {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 2rem;
  }

  .stats-bar-item {
    flex-direction: row;
    text-align: left;
    justify-content: flex-start;
    max-width: 250px;
    margin: 0 auto;
    width: 100%;
  }
  
  .stats-bar-item::after {
    display: none !important;
  }
  
  .marketing-action-banner {
    padding: 1.75rem;
  }
}

@media (max-width: 575.98px) {
  .hero-benefits-grid {
    grid-template-columns: 1fr;
  }

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