/* Elementor Social Connect Widget - Complete CSS */
.elementor-social-connect .social-connect-section {
  padding: 10px 0;
}

.elementor-social-connect .social-connect-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.elementor-social-connect .social-connect-slider {
  padding-bottom: 0px;
  margin-top: 0px;
  position: relative;
}

.elementor-social-connect .swiper-wrapper {
  padding: 20px 0;
}

.elementor-social-connect .social-card {
  background: white;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: auto;
  position: relative;
  padding: 0px;
}

.elementor-social-connect .social-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.elementor-social-connect .social-card-title {
  text-align: center;
  margin-bottom: 24px;
}

.elementor-social-connect .social-card-title h3 {
  color: #474343;
  font-weight: 900;
  font-size: 28px;
  margin: 0;
  position: relative;
  display: inline-block;
}

.elementor-social-connect .social-card-title h3::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--social-color),
    var(--social-color-light)
  );
  border-radius: 50px;
}

.elementor-social-connect .social-info {
  position: relative;
  padding: 15px;
  border-radius: 32px 32px 0 0;
  overflow: hidden;
  margin-bottom: 0px;
  background: linear-gradient(
    135deg,
    var(--social-color),
    var(--social-color-light)
  );
}

.elementor-social-connect .social-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.elementor-social-connect .social-card:hover .social-info::before {
  opacity: 1;
}

.elementor-social-connect .social-badge {
  position: absolute;
  top: 0;
  right: 28px;
  background: linear-gradient(135deg, #fc821f, #764ba2);
  color: white;
  border-radius: 0 0 16px 16px;
  min-width: 120px;
  padding: 16px 8px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.elementor-social-connect .social-badge-icon {
  display: block;
  max-width: 40px;
  margin: 0 auto 8px;
  transition: transform 0.3s ease;
}

.elementor-social-connect .social-card:hover .social-badge-icon {
  transform: scale(1.1) rotate(5deg);
}

.elementor-social-connect .social-badge-text {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.elementor-social-connect .social-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  position: relative;
  aspect-ratio: 428 / 320;
  background: rgba(255, 255, 255, 0.1);
}

.elementor-social-connect .social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.elementor-social-connect .social-card:hover .social-image img {
  transform: scale(1.08);
}

.elementor-social-connect .social-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.elementor-social-connect .social-card:hover .social-image::after {
  opacity: 1;
}

.elementor-social-connect .social-title {
  margin-bottom: 8px;
}

.elementor-social-connect .social-title h4 {
  color: white;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.elementor-social-connect .social-title a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

.elementor-social-connect .social-card:hover .social-title a {
  color: #fff;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.elementor-social-connect .social-join-button {
  text-align: center;
  margin-top: 0px;
}

.elementor-social-connect .social-join-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  padding: 16px 32px;
  background: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--social-color);
  border-radius: 50px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.elementor-social-connect .social-join-button a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--social-color);
  transition: left 0.6s ease;
  z-index: -1;
}

.elementor-social-connect .social-join-button a:hover::before {
  left: 0;
}

.elementor-social-connect .social-join-button a:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.elementor-social-connect .social-join-button a::after {
  content: "→";
  margin-left: 8px;
  font-size: 18px;
  transition: transform 0.3s ease;
}

.elementor-social-connect .social-join-button a:hover::after {
  transform: translateX(4px);
}

/* Platform Color Variables */
.elementor-social-connect .social-card.facebook {
  --social-color: #f7434e;
  --social-color-light: #ff6b75;
}

.elementor-social-connect .social-card.tiktok {
  --social-color: #01a455;
  --social-color-light: #20c997;
}

.elementor-social-connect .social-card.youtube {
  --social-color: #00b0f6;
  --social-color-light: #33c3f7;
}

.elementor-social-connect .social-card.instagram {
  --social-color: #e4405f;
  --social-color-light: #fd5e7a;
}

.elementor-social-connect .social-card.twitter {
  --social-color: #1da1f2;
  --social-color-light: #4ab3f4;
}

.elementor-social-connect .social-card.linkedin {
  --social-color: #0077b5;
  --social-color-light: #2e8bc0;
}

/* Swiper Pagination */
.elementor-social-connect .swiper-pagination {
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
}

.elementor-social-connect .swiper-pagination-bullet {
  width: 60px;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  opacity: 1;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.elementor-social-connect .swiper-pagination-bullet-active {
  background: linear-gradient(90deg, #667eea, #764ba2);
  transform: scale(1.2);
}

/* Enhanced Visual Effects */
.elementor-social-connect .social-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.1),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  border-radius: 24px;
}

.elementor-social-connect .social-card:hover::after {
  opacity: 1;
}

.elementor-social-connect .social-card {
  animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.elementor-social-connect .social-info::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  animation: rotate 8s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.elementor-social-connect .social-card:hover .social-badge {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.elementor-social-connect .social-card:active {
  transform: translateY(-8px) scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
  .elementor-social-connect .social-connect-section {
    padding: 0;
  }

  .elementor-social-connect .social-connect-container {
    padding: 0 16px;
  }

  .elementor-social-connect .social-connect-slider {
    padding-bottom: 0px;
    margin-top: 15px;
  }

  .elementor-social-connect .social-card {
    padding: 16px;
    box-shadow: none;
  }

  .elementor-social-connect .social-card-title h3 {
    font-size: 24px;
  }

  .elementor-social-connect .social-info {
    padding: 24px;
    margin-bottom: 24px;
  }

  .elementor-social-connect .social-badge {
    right: 20px;
    min-width: 100px;
    padding: 12px 6px;
  }

  .elementor-social-connect .social-badge-icon {
    max-width: 32px;
    margin-bottom: 6px;
  }

  .elementor-social-connect .social-badge-text {
    font-size: 14px;
  }

  .elementor-social-connect .social-title h4 {
    font-size: 18px;
  }

  .elementor-social-connect .social-join-button {
    margin-top: 24px;
  }

  .elementor-social-connect .social-join-button a {
    min-width: 200px;
    padding: 14px 24px;
    font-size: 14px;
  }

  .elementor-social-connect .swiper-pagination-bullet {
    width: 40px;
    height: 5px;
    margin: 0 4px;
  }
}

@media (max-width: 480px) {
  .elementor-social-connect .social-card {
    padding: 12px;
  }

  .elementor-social-connect .social-card-title h3 {
    font-size: 20px;
  }

  .elementor-social-connect .social-info {
    padding: 20px;
  }

  .elementor-social-connect .social-title h4 {
    font-size: 16px;
  }

  .elementor-social-connect .social-join-button a {
    min-width: 180px;
    padding: 12px 20px;
    font-size: 13px;
  }
}

/* Accessibility */
.elementor-social-connect .social-card:focus-within {
  outline: 3px solid rgba(102, 126, 234, 0.5);
  outline-offset: 4px;
}

.elementor-social-connect .social-join-button a:focus {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}
