/* Section Contact - Style */
:root {
  --primary-blue: #4BBEFF;
  --primary-purple: #B667FF;
  --primary-pink: #FF6B9D;
  --dark-bg: #111111;
  --darker-bg: #0A0A0A;
  --text-color: #ffffff;
  --input-bg: rgba(255, 255, 255, 0.03);
  --input-border: rgba(255, 255, 255, 0.1);
  --input-focus: rgba(255, 255, 255, 0.2);
  --animation-speed: 0.3s;
}

.contact-section {
  background-color: rgba(30,30,30,0.5);
  padding: 100px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  font-family: 'Open Sans', sans-serif;
}

/* Header styling */
.contact-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.contact-title {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-color);
  margin-bottom: 20px;
  font-weight: 400;
  font-family: 'Courier New', monospace;
}

.contact-subtitle {
  font-size: 2.5rem;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1.3;
}

.gradient-text {
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

/* Form container */
.contact-form-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 25px;
  width: 100%;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 25px;
  }

  .contact-subtitle {
    font-size: 1.8rem;
  }
}

/* Form elements styling */
.form-group {
  flex: 1;
  position: relative;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 0;
  color: var(--text-color);
  font-size: 1rem;
  transition: border-color var(--animation-speed) ease, box-shadow var(--animation-speed) ease;
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: transparent;
  box-shadow: 0 0 0 2px rgba(75, 190, 255, 0.3);
}

.input-highlight {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  transition: width var(--animation-speed) ease;
}

.textarea-highlight {
  bottom: 4px;
}

.contact-form input:focus + .input-highlight,
.contact-form textarea:focus + .input-highlight {
  width: 100%;
}

/* Submit button styling */
.form-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.submit-btn {
  padding: 15px 30px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--animation-speed) ease;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  transition: left 0.5s ease;
  z-index: 1;
}

.submit-btn:hover::before {
  left: 0;
}

.btn-text, .btn-icon {
  position: relative;
  z-index: 2;
}

.btn-icon {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}



.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(to right,  rgb(249, 188, 202), rgb(239, 71, 111));
  color: var(--primary-purple);
}

.info-item p {
  color: var(--text-color);
  font-size: 1rem;
}




/* Particles effect */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

/* Animation keyframes */
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .contact-section {
    padding: 60px 15px;
  }

  .contact-header {
    margin-bottom: 40px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-info {
    margin-top: 50px;
  }
}

/* Focus styles for accessibility */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.submit-btn:focus-visible,
.social-link:focus-visible {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Animations */
.contact-header,
.contact-form-container,
.contact-info {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.contact-form-container {
  animation-delay: 0.2s;
}

.contact-info {
  animation-delay: 0.4s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pulse animation for submit button */
.submit-btn:active {
  transform: scale(0.98);
}
