/* ==========================================================================
   KONTAK & LOKASI - DEDICATED STYLESHEET
   Institut Kesehatan Karsa Husada Garut
   ========================================================================== */

.contact-section {
  padding: 5rem 0;
  background-color: var(--bg-body);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.contact-details p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Contact Form */
.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  transition: var(--transition-fast);
  background: #ffffff;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(9, 168, 158, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.map-card {
  margin-top: 4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-card iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* Public Social Media Channels */
.contact-social-section {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border-light);
}

.contact-social-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.contact-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-main);
  transition: var(--transition-fast);
}

.contact-social-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.contact-social-btn.instagram:hover {
  background: #e1306c;
  border-color: #e1306c;
}

.contact-social-btn.tiktok:hover {
  background: #000000;
  border-color: #000000;
}

.contact-social-btn.youtube:hover {
  background: #ef4444;
  border-color: #ef4444;
}

.contact-social-btn.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.contact-social-btn.twitter:hover {
  background: #0f1419;
  border-color: #0f1419;
}

.contact-social-btn.linkedin:hover {
  background: #0a66c2;
  border-color: #0a66c2;
}

.contact-social-btn.telegram:hover {
  background: #229ed9;
  border-color: #229ed9;
}

.contact-social-btn.whatsapp:hover {
  background: #16a34a;
  border-color: #16a34a;
}

.contact-social-btn.threads:hover {
  background: #000000;
  border-color: #000000;
}

.contact-social-btn.spotify:hover {
  background: #15803d;
  border-color: #15803d;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
