/* Start: Marketing Services CSS-Only Carousel */

.services-header {
    text-align: center;
}

.marketing-services-carousel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px; /* Увеличена ширина с 500px до 600px */
    height: 800px; /* Увеличена высота с 700px до 800px */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

/* Mobile responsive carousel */
@media (max-width: 768px) {
    .marketing-services-carousel-wrapper {
        height: 400px !important;
        max-width: 350px !important;
    }
    
    .service-card-item {
        width: 320px !important;
    }
    
    .service-card-item.active {
        width: 320px !important;
        height: 180px !important;
    }
}

@media (max-width: 480px) {
    .marketing-services-carousel-wrapper {
        height: 700px !important;
        max-width: 280px !important;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%) !important;
        mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%) !important;
    }
    
    .service-card-item {
        width: 260px !important;
    }
    
    .service-card-item.active {
        width: 260px !important;
        height: 280px !important;
    }
    
    .service-card-body {
        padding: 15px 10px 15px 35px !important;
        min-height: 240px !important;
    }
    
    .service-icon-head {
        width: 50px !important;
        height: 50px !important;
        margin-right: -25px !important;
        font-size: 18px !important;
    }
    
    .service-feature-tag {
        font-size: 10px !important;
        padding: 3px 8px !important;
    }
    
    .service-features-list {
        gap: 4px !important;
    }
    
    /* Hide navigation buttons on mobile */
    .business-carousel-nav {
        display: none !important;
    }
}

.marketing-services-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-card-item {
    display: flex;
    align-items: center;
    position: absolute;
    width: 520px; /* Увеличена ширина с 450px до 520px */
    padding: 0 12px;
    opacity: 0;
    visibility: hidden;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.4));
    transition: transform 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    cursor: pointer;
}

.service-card-item.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
    z-index: 2;
    width: 520px; /* Увеличена ширина с 450px до 520px */
    height: 280px; /* Увеличена высота с 220px до 280px */
}

/* Mobile responsive active card height */
@media (max-width: 480px) {
    .service-card-item.active {
        height: 280px !important;
    }
}

.service-card-item.prev {
    transform: translateY(-200px) scale(0.8);
    opacity: 0.6;
    visibility: visible;
    z-index: 1;
}

.service-card-item.next {
    transform: translateY(200px) scale(0.8);
    opacity: 0.6;
    visibility: visible;
    z-index: 1;
}


.service-icon-head {
    border-radius: 16px;
    background: linear-gradient(45deg, red, green);
    width: 70px;
    height: 70px;
    position: relative;
    margin-right: -35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    color: white;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(1, 185, 95, 0.3);
}

.service-card-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 15px 15px 15px 55px; /* Left padding to clear the icon */
    height: 280px; /* Увеличена высота с 220px до 280px */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-title-heading {
    /* font-family: 'BraindYerevan', sans-serif; */
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    height: 60px;
    display: flex;
    align-items: center;
    line-height: 1.2;
}

.service-features-list {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    min-height: 40px; /* Изменено с height на min-height */
    max-height: 120px; /* Увеличена максимальная высота с 80px до 120px */
    align-items: flex-start;
    align-content: flex-start;
    overflow: hidden; /* Скрываем переполнение */
}

.service-feature-tag {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    padding: 5px 12px;
    border: 1px solid rgba(1, 185, 95, 0.3);
    border-radius: 20px;
    background: rgba(1, 185, 95, 0.1);
}


/* End: Marketing Services CSS-Only Carousel */

/* Coming Soon Card Styles */
.coming-soon-card {
    position: relative;
    overflow: hidden;
}

.coming-soon-card .service-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 68, 68, 0.05));
    border-radius: inherit;
    z-index: 1;
    transition: all 0.4s ease;
}

.coming-soon-card:hover .service-card-body::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.15), rgba(255, 68, 68, 0.08));
}

.coming-soon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    pointer-events: none;
}

.coming-soon-text {
    font-size: 2.5rem;
    font-weight: 900;
    color: #09ff00;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    animation: comingSoonPulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(4, 255, 0, 0.5);
}


.coming-soon-features {
    opacity: 0.3;
    filter: blur(1px);
    transition: all 0.4s ease;
}

.coming-soon-card:hover .coming-soon-features {
    opacity: 0.2;
    filter: blur(2px);
}

.coming-soon-card .service-title-heading {
    opacity: 0.6;
    transition: opacity 0.4s ease;
}

.coming-soon-card:hover .service-title-heading {
    opacity: 0.4;
}

/* Coming Soon Animations */
@keyframes comingSoonPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 68, 68, 0.4);
    }
}



/* Marketing Services — Responsive Media Queries */

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .service-card-item {
      animation: none !important;
    }
  }
  
  /* =============================
     ≤ 768px — Tablets
     ============================= */
  @media (max-width: 768px) {
      .marketing-services-carousel-wrapper {
          height: 350px;
          max-width: 350px;
      }
      
      .service-card-item {
          width: 320px;
      }
      
      .service-card-item.active {
          width: 320px;
          height: 150px;
      }
  
      .service-icon-head {
          width: 60px;
          height: 60px;
          margin-right: -30px;
          font-size: 20px;
      }
  
      .service-card-body {
          padding-left: 45px;
          min-height: 130px;
      }
  
      .service-title-heading {
          font-size: clamp(16px, 2.5vw, 18px) !important;
      }

      .service-features-list {
          gap: 3px !important;
      }
  
      .service-feature-tag {
          font-size: 9px !important;
          padding: 2px 7px !important;
      }

      /* Coming Soon responsive styles for tablets */
      .coming-soon-text {
          font-size: 2rem;
          letter-spacing: 1px;
      }

      
  }
  
  /* =============================
     ≤ 480px — Mobile Devices
     ============================= */
  @media (max-width: 480px) {
      .marketing-services-carousel-wrapper {
          height: 250px;
          max-width: 280px;
          -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
      }
      
      .service-card-item {
          width: 260px;
      }
      
      .service-card-item.active {
          width: 260px;
          height: 100px;
      }
  
      .service-icon-head {
          width: 50px;
          height: 50px;
          margin-right: -25px;
          font-size: 18px;
      }
  
      .service-card-body {
          padding: 10px 10px 10px 35px;
          min-height: 80px;
      }
  
      .service-title-heading {
          font-size: 16px !important;
          margin-bottom: 10px;
      }
  
      .service-features-list {
          gap: 7px !important;
      }
  
      .service-feature-tag {
          font-size: 9px !important;
          padding: 2px 6px !important;
      }

      /* Coming Soon responsive styles for mobile */
      .coming-soon-text {
          font-size: 1.5rem;
          letter-spacing: 1px;
          margin-bottom: 0.3rem;
      }

    
  }