/* ===== CONTACT PAGE STYLES ===== */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 8rem 1.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveGrid 20s linear infinite;
  opacity: 0.3;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out;
}

.header-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Contact Container */
.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Contact Info Section */
.contact-info-section {
  margin-bottom: 4rem;
}

.info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.info-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.card-icon.whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.card-icon.location {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
}

.info-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.info-card h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.info-card a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.info-card a:hover {
  color: #5568d3;
  transform: translateX(5px);
}

/* Contact Form Section */
.contact-form-section {
  margin-bottom: 4rem;
}

.form-container {
  background: white;
  border-radius: 25px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.form-container.visible {
  opacity: 1;
  transform: translateY(0);
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 1rem;
}

.form-header p {
  color: #6b7280;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Styles */
.contact-form {
  max-width: 700px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
}

.form-group label svg {
  color: #667eea;
  stroke-width: 2;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 20px;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #ef4444;
  background: #fef2f2;
}

.form-group.success input,
.form-group.success textarea {
  border-color: #10b981;
  background: #f0fdf4;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  font-family: 'Poppins', sans-serif;
  margin-top: 2rem;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* Form Status Messages */
.form-status {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  display: none;
}

.form-status.success {
  background: #d1fae5;
  color: #065f46;
  display: block;
  animation: slideDown 0.3s ease-out;
}

.form-status.error {
  background: #fee2e2;
  color: #991b1b;
  display: block;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Social Section */
.social-section {
  text-align: center;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, #f9fafb 0%, white 100%);
  border-radius: 25px;
  margin-bottom: 2rem;
}

.social-section h2 {
  font-size: 2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.social-section > p {
  color: #6b7280;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  background: white;
  border-radius: 15px;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.social-link.linkedin:hover {
  background: #0077b5;
  color: white;
}

.social-link.github:hover {
  background: #333;
  color: white;
}

.social-link.twitter:hover {
  background: #1DA1F2;
  color: white;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }

  .header-subtitle {
    font-size: 1.2rem;
  }

  .info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-container {
    padding: 4rem 3rem;
  }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
  .contact-container {
    padding: 5rem 2rem;
  }

  .form-header h2 {
    font-size: 2.5rem;
  }

  .form-header p {
    font-size: 1.1rem;
  }
}

/* Loading spinner for button */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.submit-btn.loading .btn-icon {
  animation: spin 1s linear infinite;
}

.submit-btn.loading .btn-text::after {
  content: '...';
}