/* Contact Section and Footer Styles */
.contact {
  background: var(--dark-bg);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: var(--primary-color);
}

.contact-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.contact-card:hover .contact-icon {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.3);
}

.contact-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--light-text);
}

.contact-card p {
  color: var(--light-text-muted);
  margin-bottom: 0.5rem;
}

.contact-social {
  grid-column: span 2;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  text-align: center;
}

.contact-social:hover {
  box-shadow: var(--card-shadow);
  border-color: var(--primary-color);
}

.contact-social h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--dark-bg);
  transform: translateY(-3px);
}

.contact-form-container {
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--card-border);
  padding: 2rem;
  transition: all var(--transition-fast);
}

.contact-form-container:hover {
  box-shadow: var(--card-shadow);
  border-color: var(--primary-color);
}

/* Footer */
.footer {
  background: var(--darker-bg);
  padding: 5rem 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300e5ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: flex;
  flex-direction: column;
}

.footer-logo .logo {
  margin-bottom: 1.5rem;
}

.footer-logo p {
  color: var(--light-text-muted);
  margin-bottom: 1.5rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--light-text);
  position: relative;
  display: inline-block;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-color);
}

.footer-column ul {
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: var(--light-text-muted);
  transition: all var(--transition-fast);
  position: relative;
  padding-left: 1rem;
}

.footer-column a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  transition: all var(--transition-fast);
}

.footer-column a:hover {
  color: var(--primary-color);
  padding-left: 1.25rem;
}

.footer-column a:hover::before {
  background: var(--primary-color);
  width: 8px;
  height: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(0, 229, 255, 0.1);
  position: relative;
  z-index: 2;
}

.footer-bottom p {
  color: var(--light-text-muted);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.6;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Contact & Footer */
@media screen and (max-width: 992px) {
  .contact-content {
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 576px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .contact-social {
    grid-column: span 1;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
