/* Contact Container */
.contact-container {
  max-width: 80%;
  margin: 0 auto;
  padding: 20px 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Left Side - Contact Info */
.contact-info {
  padding-right: 20px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
}

.contact-description {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 40px;
  text-align: justify;
}

/* Contact Methods */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-method-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.contact-method-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.telegram-icon {
  background: #e3f2fd;
  color: #0088cc;
}

.email-icon {
  background: #e3f2fd;
  color: #007bf3;
}

.contact-method-info {
  flex: 1;
}

.contact-method-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.contact-method-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-method-value a {
  font-size: 15px;
  color: #007bf3;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-method-value a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.contact-copy-btn {
  background: #f0f9ff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #007bf3;
  font-size: 14px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-copy-btn:hover {
  background: #007bf3;
  color: white;
}

.contact-copy-btn:active {
  transform: scale(0.95);
}

/* Right Side - Contact Form */
.contact-form-wrapper {
  position: sticky;
  top: 100px;
}

.contact-form-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.contact-form-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font-size: 15px;
  color: #1a1a1a;
  background: #f9fafb;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #007bf3;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 243, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #9ca3af;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #dc2626;
  font-size: 13px;
  margin-top: 4px;
  display: none;
}

.form-error.show {
  display: block;
}

.form-input.error,
.form-textarea.error {
  border-color: #dc2626;
}

.contact-submit-btn {
  width: 100%;
  padding: 16px;
  background: #007bf3;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.contact-submit-btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 123, 243, 0.3);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-submit-btn:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

/* Toast Notification */
.contact-toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: white;
  color: #1a1a1a;
  padding: 16px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  z-index: 1000;
  animation: slideInRight 0.3s ease;
  border-left: 4px solid #10b981;
}

.contact-toast.success {
  border-left-color: #10b981;
}

.contact-toast.success i {
  color: #10b981;
}

.contact-toast.error {
  border-left-color: #dc2626;
}

.contact-toast.error i {
  color: #dc2626;
}

.contact-toast i {
  font-size: 18px;
}

@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 968px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form-wrapper {
    position: static;
  }

  .contact-title {
    font-size: 28px;
  }
}

@media (max-width: 640px) {
  .contact-form-card {
    padding: 24px;
  }

  .contact-title {
    font-size: 24px;
  }

  .contact-method-card {
    padding: 20px;
  }

  .contact-method-icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .contact-toast {
    bottom: 20px;
    right: 20px;
    left: 20px;
  }
}