/* Body */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to right, #f6d1b8 55%, #d99b77 106%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Loader */
#loader {
  position: fixed;
  inset: 0;
  background: #fffaf7;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#loader.fade-out {
  opacity: 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #e69365;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Container */
.contact-container {
  background: #fffaf7;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 900px;
  width: 90%;
}

/* Header */
.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-header p {
  color: #444;
  font-size: 1rem;
}

/* Desktop Grid */
.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-5px);
}

.icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  background: linear-gradient(to right, #f6d1b8 55%, #d99b77 106%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #333;
}

.contact-card h3 {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #444;
}

.contact-card a {
  color: #e69365;
  font-weight: bold;
  text-decoration: none;
}

.arrow {
  display: none; /* hidden on desktop */
}

/* Mobile View */
@media (max-width: 768px) {
  .contact-container {
    background: transparent;
    box-shadow: none;
    padding: 1rem;
  }

  .contact-header {
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .contact-header h2 {
    font-size: 1.8rem;
  }

  .contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    text-align: left;
  }

  .icon {
    margin: 0;
    margin-right: 1rem;
    flex-shrink: 0;
  }

  .contact-info {
    flex: 1;
  }

  .arrow {
    display: block;
    font-size: 1.2rem;
    color: #888;
  }
}

/* Back Button */
.back-btn {
  border: 1px solid #ffffff93;
  display: inline-block;
  margin-bottom: 1rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: linear-gradient(to right, #f6d1b8 55%, #d99b7785 106%);
  transition: background 1s;
}

.back-btn:hover {
  background: linear-gradient(to right, #d99b7789 55%, #f6d1b8 106%);
  color: #ffffff;
}
