/* ========================================
   SEO CONTENT SECTION
   ======================================== */

.seo-content-section {
  padding: 60px 0;
  margin: 40px 0;
}

.seo-heading {
  font-family: 'Rubik', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #AA2460;
  margin-bottom: 30px;
  line-height: 1.4;
}

.seo-heading-secondary {
  font-family: 'Rubik', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #AA2460;
  margin-bottom: 30px;
  line-height: 1.4;
}

.seo-text-box {
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-right: 4px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.seo-text-box:hover {
  transform: translateX(-5px);
  box-shadow: 0 6px 25px rgba(170, 36, 96, 0.12);
  border-right-color: #AA2460;
}

.seo-text-box p {
  font-family: 'Rubik', sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #495057;
  margin-bottom: 18px;
  text-align: justify;
}

.seo-text-box p:last-child {
  margin-bottom: 0;
}

.seo-text-box strong {
  color: #AA2460;
  font-weight: 600;
}

.seo-features {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-right: 4px solid transparent;
}

.feature-item:hover {
  transform: translateX(-5px);
  box-shadow: 0 6px 25px rgba(170, 36, 96, 0.12);
  border-right-color: #AA2460;
}

.feature-item i {
  font-size: 32px;
  color: #AA2460;
  min-width: 40px;
  margin-top: 5px;
}

.feature-item h4 {
  font-family: 'Rubik', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 8px 0;
}

.feature-item p {
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #6c757d;
  margin: 0;
}

/* Responsive for SEO Section */
@media (max-width: 991px) {
  .seo-content-section {
    padding: 40px 0;
  }
  
  .seo-heading {
    font-size: 28px;
  }
  
  .seo-heading-secondary {
    font-size: 24px;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .seo-heading {
    font-size: 24px;
  }
  
  .seo-heading-secondary {
    font-size: 22px;
  }
  
  .seo-text p {
    font-size: 16px;
  }
  
  .feature-item {
    padding: 18px;
    gap: 15px;
  }
  
  .feature-item i {
    font-size: 28px;
  }
  
  .feature-item h4 {
    font-size: 18px;
  }
  
  .feature-item p {
    font-size: 14px;
  }
}

/* ========================================
   TECHNOLOGIES MARQUEE
   ======================================== */

/* Technologies Infinite Marquee Strip */
.tech-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 50px 0;
  position: relative;
  margin: 40px 0;
}

/* Gradient Fade Edges */
.tech-marquee-wrapper::before,
.tech-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.tech-marquee-wrapper::before {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.tech-marquee-wrapper::after {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.tech-marquee {
  display: flex;
  width: 100%;
  user-select: none;
}

.tech-marquee-content {
  display: flex;
  animation: marquee 40s linear infinite;
  will-change: transform;
}

/* Pause on Hover */
.tech-marquee-wrapper:hover .tech-marquee-content {
  animation-play-state: paused;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Tech Item */
.tech-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px 40px;
  margin: 0 15px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  min-width: 320px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

/* Animated Border Gradient */
.tech-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #AA2460, #b586ff, #AA2460);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tech-item:hover::before {
  opacity: 1;
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.tech-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 35px rgba(170, 36, 96, 0.15);
  border-color: rgba(170, 36, 96, 0.1);
}

/* Tech Icon */
.tech-item .tech-icon {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 14px;
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
}

.tech-item:hover .tech-icon {
  transform: rotate(-5deg) scale(1.1);
  box-shadow: 0 6px 20px rgba(170, 36, 96, 0.15);
  background: linear-gradient(135deg, #fff5f9 0%, #ffffff 100%);
}

.tech-item .tech-icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Tech Info */
.tech-info {
  flex: 1;
  min-width: 0;
}

.tech-info h4 {
  font-family: 'Rubik', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin: 0 0 6px 0;
  transition: color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-item:hover .tech-info h4 {
  color: #AA2460;
}

.tech-info p {
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tech-item:hover .tech-info p {
  color: #495057;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .tech-marquee-content {
    animation-duration: 35s;
  }
  
  .tech-item {
    min-width: 280px;
    padding: 20px 30px;
    gap: 16px;
  }
  
  .tech-item .tech-icon {
    width: 60px;
    height: 60px;
  }
  
  .tech-info h4 {
    font-size: 18px;
  }
  
  .tech-info p {
    font-size: 13px;
  }
}

@media (max-width: 768px) {
  .tech-marquee-wrapper {
    padding: 35px 0;
    margin: 30px 0;
  }
  
  .tech-marquee-wrapper::before,
  .tech-marquee-wrapper::after {
    width: 80px;
  }
  
  .tech-marquee-content {
    animation-duration: 30s;
  }
  
  .tech-item {
    min-width: 240px;
    padding: 18px 25px;
    gap: 14px;
    margin: 0 10px;
  }
  
  .tech-item .tech-icon {
    width: 55px;
    height: 55px;
    padding: 10px;
  }
  
  .tech-info h4 {
    font-size: 17px;
    margin-bottom: 4px;
  }
  
  .tech-info p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .tech-marquee-wrapper {
    padding: 25px 0;
    margin: 20px 0;
  }
  
  .tech-marquee-wrapper::before,
  .tech-marquee-wrapper::after {
    width: 50px;
  }
  
  .tech-marquee-content {
    animation-duration: 25s;
  }
  
  .tech-item {
    min-width: 200px;
    padding: 15px 20px;
    gap: 12px;
    margin: 0 8px;
  }
  
  .tech-item .tech-icon {
    width: 50px;
    height: 50px;
    padding: 8px;
  }
  
  .tech-info h4 {
    font-size: 16px;
  }
  
  .tech-info p {
    font-size: 11px;
  }
}

/* Smooth Performance */
@media (prefers-reduced-motion: reduce) {
  .tech-marquee-content {
    animation: none;
  }
  
  .tech-item:hover {
    transform: none;
  }
}

/* ========================================
   CLIENTS MARQUEE (REVERSE DIRECTION)
   ======================================== */

.clients-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
  padding: 60px 0;
  position: relative;
  margin: 40px 0 60px;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

/* Gradient Fade Edges */
.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrapper::before {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}

.clients-marquee-wrapper::after {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}

.clients-marquee {
  display: flex;
  width: 100%;
  user-select: none;
}

.clients-marquee-content {
  display: flex;
  align-items: center;
  gap: 60px;
  /* REVERSE DIRECTION - goes from left to right (opposite of tech marquee) */
  animation: marqueeReverse 60s linear infinite;
  will-change: transform;
  padding-right: 60px;
}

/* Pause on Hover */
.clients-marquee-wrapper:hover .clients-marquee-content {
  animation-play-state: paused;
}

/* Reverse Marquee Animation (Left to Right) */
@keyframes marqueeReverse {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0%);
  }
}

/* Client Logo */
.client-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 30px;
  background: #ffffff;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 180px;
  height: 120px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #f0f0f0;
}

.client-logo:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 25px rgba(170, 36, 96, 0.12);
  border-color: rgba(170, 36, 96, 0.2);
}

.client-logo img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive Design for Clients */
@media (max-width: 1024px) {
  .clients-marquee-content {
    animation-duration: 45s;
    gap: 50px;
  }
  
  .client-logo {
    min-width: 160px;
    height: 110px;
    padding: 18px 25px;
  }
  
  .client-logo img {
    max-height: 70px;
  }
}

@media (max-width: 768px) {
  .clients-marquee-wrapper {
    padding: 45px 0;
    margin: 30px 0 50px;
  }
  
  .clients-marquee-wrapper::before,
  .clients-marquee-wrapper::after {
    width: 80px;
  }
  
  .clients-marquee-content {
    animation-duration: 40s;
    gap: 40px;
  }
  
  .client-logo {
    min-width: 140px;
    height: 100px;
    padding: 15px 20px;
  }
  
  .client-logo img {
    max-height: 65px;
  }
}

@media (max-width: 480px) {
  .clients-marquee-wrapper {
    padding: 35px 0;
    margin: 20px 0 40px;
  }
  
  .clients-marquee-wrapper::before,
  .clients-marquee-wrapper::after {
    width: 50px;
  }
  
  .clients-marquee-content {
    animation-duration: 35s;
    gap: 30px;
  }
  
  .client-logo {
    min-width: 120px;
    height: 90px;
    padding: 12px 18px;
  }
  
  .client-logo img {
    max-height: 55px;
  }
}

/* Smooth Performance for Clients */
@media (prefers-reduced-motion: reduce) {
  .clients-marquee-content {
    animation: none;
  }
  
  .client-logo:hover {
    transform: none;
  }
}
