.professional-footer {
  position: relative;
  background: linear-gradient(
    135deg,
    var(--footer-bg, #1a1a2e) 0%,
    var(--footer-bg-dark, #16213e) 100%
  );
  color: var(--footer-text, #e6e6e6);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
  overflow: hidden;
  border-top: 1px solid rgba(61, 99, 221, 0.2);
}

[data-web-theme="dark"] .professional-footer {
  --footer-bg: #0d1117;
  --footer-bg-dark: #090c10;
  --footer-text: #c9d1d9;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-3px);
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--primary-color, #3d63dd);
  transition: all 0.3s ease;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.footer-logo:hover .logo-img {
  border-color: #3d63dd;
  transform: rotate(5deg);
}

.footer-logo:hover .logo-img img {
  transform: scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-primary {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color, #3d63dd);
  line-height: 1.2;
  transition: color 0.3s ease;
}

.footer-logo:hover .logo-primary {
  color: #5a7de6;
}

.logo-secondary {
  font-size: 0.9rem;
  color: var(--footer-text, #e6e6e6);
  opacity: 0.9;
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  opacity: 0.8;
  position: relative;
  padding-left: 1rem;
}

.footer-description::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    to bottom,
    var(--primary-color, #3d63dd),
    transparent
  );
  border-radius: 3px;
}

.footer-links-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-color, #3d63dd);
  margin-bottom: 0.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--primary-color, #3d63dd),
    transparent
  );
  transition: width 0.3s ease;
}

.footer-links-section:hover .footer-title::after {
  width: 100%;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--footer-text, #e6e6e6);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-links li a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color, #3d63dd);
  transition: width 0.3s ease;
}

.footer-links li a:hover {
  color: var(--primary-color, #3d63dd);
  transform: translateX(5px);
}

.footer-links li a:hover::before {
  width: 100%;
}

.footer-links li a i {
  font-size: 0.8rem;
  color: var(--primary-color, #3d63dd);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.footer-links li a:hover i {
  transform: rotate(270deg) scale(1.2);
  color: #5a7de6;
}

.footer-contact-section {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--primary-color, #3d63dd);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.contact-item:hover::before {
  transform: scaleY(1);
}

.contact-item i {
  font-size: 1.2rem;
  color: var(--primary-color, #3d63dd);
  margin-top: 0.2rem;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.2);
  color: #5a7de6;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.contact-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  opacity: 0.9;
}

.footer-social-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2.5rem;
  background: linear-gradient(
    135deg,
    rgba(61, 99, 221, 0.08) 0%,
    rgba(61, 99, 221, 0.04) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(61, 99, 221, 0.15);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

[data-web-theme="dark"] .footer-social-section {
  background: linear-gradient(
    135deg,
    rgba(61, 99, 221, 0.12) 0%,
    rgba(61, 99, 221, 0.05) 100%
  );
  border-color: rgba(61, 99, 221, 0.25);
}

.footer-social-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(61, 99, 221, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(61, 99, 221, 0.1) 0%,
      transparent 50%
    );
  animation: gradientShift 15s ease infinite;
  z-index: 0;
}

@keyframes gradientShift {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.social-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #3d63dd, #5a7de6, #798eea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.social-icons-container {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.social-icons-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.social-icon {
  position: relative;
  display: block;
  width: 70px;
  height: 70px;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: visible;
}

.social-icon-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  z-index: 2;
  transition: all 0.4s ease;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(61, 99, 221, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-web-theme="dark"] .social-icon-inner {
  background: rgba(30, 30, 46, 0.95);
  border-color: rgba(61, 99, 221, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.social-icon i {
  font-size: 1.6rem;
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
}

.social-tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  z-index: 10;
  pointer-events: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

[data-web-theme="dark"] .social-tooltip {
  background: rgba(20, 20, 30, 0.9);
  border: 1px solid rgba(61, 99, 221, 0.3);
}

.whatsapp .social-icon-inner i {
  color: #25d366;
}
.telegram .social-icon-inner i {
  color: #0088cc;
}
.linkedin .social-icon-inner i {
  color: #0077b5;
}
.instagram .social-icon-inner i {
  background: linear-gradient(
    45deg,
    #405de6,
    #e1306c,
    #fd1d1d,
    #f77737,
    #ffdc80
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.facebook .social-icon-inner i {
  color: #1877f2;
}
.github .social-icon-inner i {
  color: #333;
}
.youtube .social-icon-inner i {
  color: #ff0000;
}

[data-web-theme="dark"] .github .social-icon-inner i {
  color: #f0f6fc;
}

.social-icon:hover {
  transform: translateY(-8px) scale(1.05);
}

.social-icon:hover .social-icon-inner {
  background: rgba(61, 99, 221, 0.1);
  border-color: rgba(61, 99, 221, 0.6);
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(61, 99, 221, 0.25);
}

[data-web-theme="dark"] .social-icon:hover .social-icon-inner {
  background: rgba(61, 99, 221, 0.2);
  box-shadow: 0 15px 30px rgba(61, 99, 221, 0.4);
}

.social-icon:hover i {
  transform: scale(1.3);
}

.social-icon:hover .social-tooltip {
  bottom: -45px;
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.social-icon::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 22px;
  background: var(--primary-color, #3d63dd);
  opacity: 0;
  z-index: 1;
  filter: blur(15px);
  transition: opacity 0.4s ease;
}

.social-icon:hover::after {
  opacity: 0.4;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

.copyright p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.copyright-description {
  font-style: italic;
  color: var(--primary-color, #3d63dd);
  opacity: 0.9 !important;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding: 0 0.5rem;
}

.copyright-description::before,
.copyright-description::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 0.8rem;
  opacity: 0.7;
}

.copyright-description::before {
  left: -10px;
}

.copyright-description::after {
  right: -10px;
}

.footer-legal {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  color: var(--footer-text, #e6e6e6);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.footer-legal a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color, #3d63dd);
  transition: width 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color, #3d63dd);
  opacity: 1;
  background: rgba(61, 99, 221, 0.1);
}

.footer-legal a:hover::before {
  width: 100%;
}

.footer-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  filter: blur(40px);
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: var(--primary-color, #3d63dd);
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: #5a7de6;
  bottom: -150px;
  left: -100px;
  animation-delay: 5s;
  animation-direction: reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: #798eea;
  top: 30%;
  right: 15%;
  animation-delay: 10s;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: #9aaef0;
  bottom: 20%;
  left: 15%;
  animation-delay: 15s;
  animation-direction: reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  33% {
    transform: translateY(-30px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translateY(30px) rotate(240deg) scale(0.9);
  }
}

@media (max-width: 1200px) {
  .social-icons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
  }

  .social-icon {
    width: 65px;
    height: 65px;
  }
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-icons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .professional-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .social-icons-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
  }

  .social-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
  }

  .social-icon i {
    font-size: 1.4rem;
  }

  .footer-social-section {
    padding: 2rem;
  }

  .social-title {
    font-size: 1.5rem;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .social-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .social-icon {
    width: 55px;
    height: 55px;
    border-radius: 12px;
  }

  .social-icon i {
    font-size: 1.3rem;
  }

  .footer-social-section {
    padding: 1.5rem;
  }

  .social-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 400px) {
  .social-icons-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .social-icon {
    width: 50px;
    height: 50px;
  }

  .footer-logo {
    flex-direction: column;
    text-align: center;
  }

  .logo-text {
    align-items: center;
  }
}
