/* Add your own CSS code here */
/* Tank Transport Contact Page */
.tt-contact-page {
  max-width: 960px;
  margin: 0 auto;
  color: #263746;
}

.tt-contact-page h1,
.tt-contact-page h2,
.tt-contact-page h3 {
  color: #003366;
  line-height: 1.25;
}

.tt-contact-hero {
  text-align: center;
  padding: 34px 28px;
  margin: 0 0 26px;
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
  border: 1px solid #d9e6ef;
  border-top: 5px solid #003366;
}

.tt-contact-hero h1 {
  font-size: 36px;
  margin: 0 0 10px;
}

.tt-contact-lead {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}

.tt-contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 24px;
}

.tt-contact-card {
  background: #ffffff;
  border: 1px solid #d9e6ef;
  border-top: 4px solid #003366;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.tt-contact-card:nth-child(2) {
  border-top-color: #c9973f;
}

.tt-contact-card h2 {
  font-size: 22px;
  margin: 0 0 12px;
}

.tt-contact-card p {
  margin: 0 0 10px;
}

.tt-contact-card a {
  font-weight: 700;
  color: #0067a8;
}

.tt-contact-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}

.tt-contact-btn {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none !important;
}

.tt-contact-btn-primary {
  background: #003366;
  color: #ffffff !important;
}

.tt-contact-btn-secondary {
  background: #c9973f;
  color: #ffffff !important;
}

.tt-contact-btn-outline {
  background: #ffffff;
  color: #003366 !important;
  border: 1px solid #003366;
}

.tt-contact-team,
.tt-contact-form-section,
.tt-contact-why {
  padding: 28px;
  margin: 0 0 28px;
  background: #ffffff;
  border: 1px solid #d9e6ef;
}

.tt-contact-team h2,
.tt-contact-form-section h2,
.tt-contact-why h2 {
  margin-top: 0;
  border-bottom: 1px solid #d9e6ef;
  padding-bottom: 10px;
}

.tt-contact-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tt-contact-team-grid div {
  background: #f8fbfd;
  border: 1px solid #dde8ef;
  padding: 18px;
}

.tt-contact-team-grid h3 {
  margin: 0 0 5px;
  font-size: 20px;
}

.tt-contact-form-card {
  margin-top: 18px;
  padding: 20px;
  background: #f8fbfd;
  border: 1px solid #dde8ef;
  border-radius: 3px;
}

.tt-contact-why {
  background: #f7fbff;
}

.tt-contact-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.tt-contact-why-grid div {
  background: #ffffff;
  border: 1px solid #dde8ef;
  padding: 18px;
}

.tt-contact-why-grid h3 {
  margin-top: 0;
  font-size: 20px;
}

.tt-contact-final {
  text-align: center;
  padding: 30px 24px;
  margin: 0 0 22px;
  background: #102739;
  color: #ffffff;
  border-top: 5px solid #c9973f;
}

.tt-contact-final h2 {
  color: #ffffff;
  margin-top: 0;
}

.tt-contact-social a {
  color: #ffffff !important;
  font-weight: 700;
}

/* Contact form cleanup inside this page */
.tt-contact-page .wpforms-container {
  margin-bottom: 0;
}

.tt-contact-page .wpforms-submit {
  background: #003366 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 3px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
}

.tt-contact-page .wpforms-submit:hover {
  background: #1f6f9f !important;
}

@media (max-width: 900px) {
  .tt-contact-cards,
  .tt-contact-team-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .tt-contact-page {
    max-width: 100%;
  }

  .tt-contact-hero h1 {
    font-size: 29px;
  }

  .tt-contact-why-grid {
    grid-template-columns: 1fr;
  }

  .tt-contact-hero,
  .tt-contact-team,
  .tt-contact-form-section,
  .tt-contact-why {
    padding: 22px 18px;
  }

  .tt-contact-actions {
    flex-direction: column;
  }

  .tt-contact-btn {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }
}