/* Contact Page Specific Styles */

.contact {
  padding: 4rem 0;
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary);
  text-shadow: var(--glow-primary);
}

.contact-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-container {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(20, 255, 236, 0.2);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.contact-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 255, 236, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-form-container:hover::before {
  opacity: 1;
}

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

.contact-form {
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--primary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(11, 15, 14, 0.7);
  border: none;
  border-radius: 4px;
  color: var(--text);
  font-family: 'Rajdhani', sans-serif;
  resize: vertical;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: rgba(11, 15, 14, 0.9);
}

.form-border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  z-index: 2;
}

.form-group input:focus + .form-border,
.form-group textarea:focus + .form-border {
  width: 100%;
  box-shadow: var(--glow-primary);
}

.contact-info {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  border: 1px solid rgba(20, 255, 236, 0.2);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(20, 255, 236, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-info:hover::before {
  opacity: 1;
}

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

.neural-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(20, 255, 236, 0.1);
  position: relative;
  margin-bottom: 1.5rem;
}

.neural-node::before,
.neural-node::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulse-node 3s infinite alternate;
}

.neural-node::before {
  width: 100%;
  height: 100%;
  animation-delay: 0s;
}

.neural-node::after {
  width: 60%;
  height: 60%;
  animation-delay: 1s;
}

@keyframes pulse-node {
  0% {
    box-shadow: 0 0 0 0 rgba(20, 255, 236, 0.4);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 10px rgba(20, 255, 236, 0);
    opacity: 0.7;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(20, 255, 236, 0);
    opacity: 1;
  }
}

.contact-info h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.highlight {
  color: var(--primary);
  font-weight: 600;
}

/* Responsive Contact Page */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact h2 {
    font-size: 2rem;
  }
}