@charset "utf-8";

.main {
  margin: 40px auto;
  margin-top: 120px;
  padding: 0 20px;
  max-width: 900px;
}

/* content styles */
.contact-container {
  padding-bottom: 60px;
}

.contact-section {
  margin-bottom: 60px;
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.contact-section h2 {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  display: inline-block;
}

/* Tel Section */
.tel-box {
  text-align: center;
  background: #F0FAFC;
  padding: 30px;
  border-radius: 10px;
}

.tel-label {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 700;
}

.tel-link {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  font-family: 'Roboto', sans-serif;
  /* or standard sans/serif */
  display: block;
  line-height: 1;
}

.tel-link:hover {
  color: var(--accent-color);
}

/* Details Section */
.details-card p {
  margin-bottom: 20px;
}

.details-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two columns */
  gap: 15px;
  background: #fff;
  border: 1px dashed #ddd;
  padding: 20px;
  border-radius: 8px;
}

.details-list li {
  list-style: none;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
}

.details-list li::before {
  content: 'Check';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  content: "\f00c";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-size: 0.9em;
  top: 3px;
}

/* FAX Section */
.fax-number {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--text-color);
}

.fax-download {
  display: flex;
  gap: 40px;
  align-items: center;
  /* Center vertically */
  justify-content: center;
  border-top: 1px solid #eee;
  padding-top: 30px;
  flex-wrap: wrap;
  /* Allow wrapping on small screens */
}

.fax-preview {
  flex: 0 1 200px;
  /* Allow resizing but suggest 200px */
  border: 1px solid #ddd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.fax-preview:hover {
  transform: translateY(-5px);
}

.fax-preview img {
  width: 100%;
  height: auto;
  display: block;
}

.fax-action {
  flex: 1;
  min-width: 200px;
  /* Prevent being too squashed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* Center content horizontally */
  text-align: center;
}

.btn-download {
  display: inline-flex;
  /* Better for centering icon key */
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--primary-color);
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.btn-download:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

p {
  line-height: 1.6em;
  padding-bottom: 1em;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .main {
    margin-top: 50px;
  }

  .h1 {
    font-size: 1.5rem;
  }

  .contact-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .tel-link {
    font-size: 2rem;
  }

  .details-list {
    grid-template-columns: 1fr;
    /* Single column on mobile */
  }

  .fax-download {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .fax-action {
    align-items: center;
    margin-top: 20px;
  }
}