/*
 * Worxogo Connect CRM Widget CSS
 *
 * Elementor Connect CRM Widget Styles
 */

/* ===== CONNECT WITH CRMS SECTION ===== */
.connect-crm-section {
  padding: 0px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.connect-crm-title {
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 120%;
  font-weight: 700;
  color: #290074;
  text-align: center;
  width: 100%;
}

.connect-crm-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  max-width: 1200px;
}

.connect-crm-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.connect-crm-logo:hover {
  transform: scale(1.05);
  opacity: 0.8;
}

/* Connect CRM Section Button - Primary button styling */
.connect-crm-section .worxogo-hero-button-primary {
  box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.8) inset;
  border-radius: 60px;
  background: radial-gradient(
    54.93% 131.82% at 49.74% 140.91%,
    #e100ff 0%,
    #4000a9 100%
  );
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  border-top: none;
  color: white !important;
  position: relative;
  z-index: 2;
  padding: 12px 24px;
  gap: 8px;
}

.connect-crm-section .worxogo-hero-button-primary:hover {
  box-shadow: 0px 0px 12px rgba(255, 255, 255, 0.8) inset,
    0px 10px 20px rgba(202, 22, 248, 0.8);
  transform: translateY(-1px);
  color: white !important;
}

/* Connect CRM Responsive Styles */
@media (max-width: 1024px) {
  .connect-crm-logos {
    max-width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .connect-crm-section {
    padding: 40px 0;
    gap: 40px;
  }

  .connect-crm-title {
    font-size: 32px;
    padding: 0 20px;
  }

  .connect-crm-logos {
    gap: 40px;
    justify-content: space-evenly;
    padding: 0 10px;
  }

  .connect-crm-logo {
    height: 30px;
  }

  .connect-crm-section .worxogo-hero-button-primary {
    margin-top: 30px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .connect-crm-section {
    padding: 30px 0;
    gap: 30px;
  }

  .connect-crm-title {
    font-size: 28px;
    padding: 0 15px;
    line-height: 1.3;
  }

  .connect-crm-logos {
    gap: 40px;
    justify-content: space-evenly;
    padding: 0 10px;
  }

  .connect-crm-logo {
    height: 24px;
  }

  .connect-crm-section .worxogo-hero-button-primary {
    margin-top: 20px;
    padding: 8px 16px;
    font-size: 12px;
  }
}

/* Animation for scroll effect */
.connect-crm-section.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.connect-crm-section.animate-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger animation for logos */
.connect-crm-section.animate-on-scroll.in-view .connect-crm-logo {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(var(--index, 0) * 0.1s);
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
