/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: transparent;
  color: var(--text);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  margin-top: 40px;
}

/* Links */
#contact a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}
#contact a:hover {
  color: var(--accent-2);
}

/* Cards */
.contact-info-card, 
.contact-form-card {
  background: transparent;
  padding: 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}


/* Info Items */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.icon-wrapper {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  margin-right: 15px;
}

/* Social Links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  cursor: var(--cursor);
}
.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--ring);
  border-radius: 12px;
  transition: 0.3s;
  cursor: var(--cursor);
}
.social-link:hover {
  background: var(--accent);
  color: #fff;
}

/* Form */
.form-group {
  margin-bottom: 20px;
}
input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--muted);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  transition: 0.3s;
}
input:focus, textarea:focus {
  border-color: var(--accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--ring);
}

/* Submit Button */
.submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: white;
  cursor: pointer;
  overflow: hidden;
  font-weight: 600;
  transition: 0.3s;
  cursor: var(--cursor);
}
.submit-btn:hover {
  opacity: 0.9;
}

.submit-btn .btn-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 3px solid rgba(255,255,255,0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.submit-btn.loading .btn-text,
.submit-btn.loading .btn-icon {
  opacity: 0;
  pointer-events: none;
}

.submit-btn.loading .btn-loader {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content {
  background: var(--surface);
  padding: 30px;
  border-radius: 16px;
  text-align: center;
  max-width: 400px;
  box-shadow: var(--shadow-soft);
  animation: popIn 0.3s ease;
}
.modal-content i {
  font-size: 50px;
  margin-bottom: 15px;
}
.success { color: #22c55e; }
.error { color: #ef4444; }
.modal-close {
  margin-top: 20px;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
}
@keyframes popIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* ========================= */
/* RESPONSIVE DESIGN */
/* ========================= */

/* Tablets */
@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .contact-section {
    padding: 50px 15px;
  }

  .contact-info-card, 
  .contact-form-card {
    padding: 20px;
  }

  .info-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .icon-wrapper {
    margin-bottom: 8px;
  }

  .social-links {
    flex-direction: column;
    gap: 10px;
  }

  .social-link {
    width: 100%;
    justify-content: center;
  }
}
