/* ========== CONTACT SECTION ========== */
.contact-section {
  background: transparent;
  position: relative;
  z-index: 2;
  padding: 6rem 0;
}

.contact-content {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

/* Contact Info Cards */
.contact-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 0;
  padding: 1.2rem 1.5rem;
  background: rgba(170, 0, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(170, 0, 255, 0.2);
}

.contact-item:hover {
  transform: translateX(8px);
  border-color: #00CCFF;
  background: rgba(170, 0, 255, 0.15);
  box-shadow: 0 5px 20px rgba(0, 204, 255, 0.1);
}

.contact-item i {
  font-size: 2.2rem;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: transform 0.3s ease;
}

.contact-item:hover i {
  transform: scale(1.1);
}

.contact-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-item p {
  color: #ffffff;
  font-size: 0.95rem;
}

.contact-cta-btn {
  margin-top: 1rem;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 204, 255, 0.35);
}

/* Contact Social Section */
.contact-social {
  min-width: 0;
  text-align: center;
  padding: 1.2rem 1.5rem;
  background: rgba(170, 0, 255, 0.08);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(170, 0, 255, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-social h4 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Orbitron', monospace;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.contact-social-note {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
}

.social-link {
  width: 55px;
  height: 55px;
  background: rgba(170, 0, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(170, 0, 255, 0.3);
  text-decoration: none;
}

.social-link i {
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.social-link:hover {
  transform: translateY(-5px) scale(1.05);
  background: linear-gradient(135deg, #AA00FF, #00CCFF);
  border-color: #00CCFF;
  box-shadow: 0 5px 20px rgba(0, 204, 255, 0.3);
}

.social-link:hover i {
  background: #ffffff;
  -webkit-background-clip: text;
  background-clip: text;
  color: #ffffff;
}

/* Contact Form (optional) */
.contact-form {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(170, 0, 255, 0.2);
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Orbitron', monospace;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(170, 0, 255, 0.1);
  border: 1px solid rgba(170, 0, 255, 0.3);
  border-radius: 0.8rem;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00CCFF;
  box-shadow: 0 0 10px rgba(0, 204, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #AA00FF, #CC33FF);
  border: none;
  border-radius: 0.8rem;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(170, 0, 255, 0.4);
}

/* Contact modal */
.contact-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10020;
  padding: 1rem;
}

.contact-modal.open {
  display: flex;
}

.contact-modal-panel {
  position: relative;
  width: min(100%, 540px);
  border-radius: 1.3rem;
  border: 1px solid rgba(0, 204, 255, 0.4);
  background: linear-gradient(150deg, rgba(8, 13, 33, 0.96), rgba(16, 5, 34, 0.96));
  padding: 1.25rem 1.25rem 1.4rem;
}

body.light-theme .contact-modal-panel {
  background: #ffffff;
  border-color: rgba(0, 204, 255, 0.35);
}

.contact-modal-panel h3 {
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #00CCFF, #AA00FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Orbitron', monospace;
}

.contact-modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 204, 255, 0.45);
  background: transparent;
  color: #00CCFF;
  cursor: pointer;
}

.contact-form-feedback {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.92rem;
  color: #7ef8a2;
}

body.light-theme .contact-social-note {
  color: #3a3a5a;
}

body.light-theme .form-group input,
body.light-theme .form-group textarea {
  color: #1A1A2E;
  background: rgba(0, 204, 255, 0.06);
  border-color: rgba(0, 204, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-item {
    padding: 1rem;
  }
  
  .contact-item i {
    font-size: 1.8rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .contact-modal-panel {
    padding: 1rem;
  }
}