:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #f4f4f4;
  --accent-color: #27ae60;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f0f2f5;
  line-height: 1.6;
}

.site-footer {
  background-color: var(--primary-color);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.footer-wave svg {
  width: 100%;
  height: 100px;
  fill: var(--primary-color);
  animation: wave 10s linear infinite;
}

@keyframes wave {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-50%);
  }
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 100px 50px 50px;
  gap: 30px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}

@keyframes fadeInUp {
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.4s; }
.footer-section:nth-child(4) { animation-delay: 0.6s; }

.animate-title {
  position: relative;
  margin-bottom: 15px;
  color: var(--secondary-color);
  font-size: 1.3rem;
  text-transform: uppercase;
}

.animate-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.animate-title:hover::after {
  width: 100px;
}

.footer-description {
  color: #b0b0b0;
  line-height: 1.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.link-arrow {
  display: inline-block;
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.footer-links a:hover .link-arrow::after {
  content: '→';
  transform: translateX(5px);
}

.contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.contact-card h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

.bubble-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(52, 152, 219, 0.2);
  animation: float 5s infinite alternate;
}

.bubble:nth-child(1) {
  width: 50px;
  height: 50px;
  top: 10%;
  left: 10%;
  animation-delay: -2s;
}

.bubble:nth-child(2) {
  width: 70px;
  height: 70px;
  top: 50%;
  right: 20%;
  animation-delay: -4s;
}

.bubble:nth-child(3) {
  width: 40px;
  height: 40px;
  bottom: 20%;
  left: 30%;
  animation-delay: -1s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-50px) scale(1.2); }
}

.copyright {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.2);
}

.copyright-divider {
  height: 2px;
  background: linear-gradient(to right, transparent, var(--secondary-color), transparent);
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      padding: 50px 20px;
  }
}