/* Contact Page Specific Styles */

/* 
 * Apply background image to the page.
 * Using pseudo-elements on body to create a fixed background with overlay.
 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

/* Overlay for readability */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(245, 247, 250, 0.85); /* Light overlay */
  z-index: -1;
  backdrop-filter: blur(3px); /* Blur effect for modern look */
}

/* Override default hero background to be transparent */
.hero {
  background-color: transparent;
  padding-top: 10vh; /* Adjust spacing */
}

/* Enhance Service Cards to pop against the background */
.service-card {
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 2rem; /* Ensure padding is sufficient */
  border-radius: 12px; /* Smooth corners */
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 50, 200, 0.12);
}

/* Enhance titles for better contrast */
.hero-title {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Copy Button Styles */
.contact-value-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 1em;
}

.contact-link {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.25rem;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-link:hover {
  color: var(--color-primary-dark);
  text-decoration: underline;
}

.contact-text {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 1.25rem;
}

.btn-copy {
  display: inline-block;
  padding: 4px 12px;
  font-size: 0.875rem;
  color: var(--color-primary);
  background-color: transparent;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-copy:hover {
  background-color: var(--color-primary);
  color: white;
}

.btn-copy:active {
  transform: translateY(1px);
}
