/* ================================
   Contact Page Styles
   ================================ */

.contact-section {
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
}

.contact-section h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--brand-accent);
}

/* Card Layout */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 40px auto;
  padding: 30px 20px;
  text-align: left;
}

.card h2 {
  color: var(--brand-accent);
  margin-bottom: 20px;
  text-align: center;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}

form button {
  margin-top: 10px;
}

/* Confirmation Messages */
.confirmation {
  margin-top: 15px;
  font-size: 1rem;
  font-weight: bold;
  color: green;
  text-align: center;
}

/* Trust Details Card */
.trust-details p {
  text-align: center;
  line-height: 2.6;
  color: var(--text-secondary);
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: var(--brand-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s, transform 0.2s;
  text-align: center;
}

.cta-button:hover {
  background-color: var(--brand-hover);
  transform: scale(1.05);
}

/* Navigation Buttons (Contact page only has Back button) */
.nav-buttons {
  display: flex;
  justify-content: flex-start; /* back button aligned left */
  margin: -69px auto;
}

.back-button {
  background-color: var(--brand-accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.back-button:hover {
  background-color: var(--brand-hover);
  transform: scale(1.05);
}

/* Footer Navigation */
footer {
  margin-top: 60px;
  padding: 20px;
  background: #f9f9f9;
  text-align: center;
  border-top: 1px solid #ddd;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-nav a {
  text-decoration: none;
  color: var(--brand-accent);
  font-weight: bold;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--brand-hover);
}


/* Footer */
footer {
  margin-top: 60px;
  padding: 20px;
  background: #f9f9f9;
  border-top: 1px solid #ddd;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: space-between; /* evenly spread left & right */
  flex-wrap: wrap;
  max-width: 800px; /* keeps it tidy */
}

.footer-nav li {
  flex: 1; /* equal spacing */
  text-align: center;
}

.footer-nav a {
  text-decoration: none;
  color: var(--brand-accent);
  font-weight: bold;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--brand-hover);
}

/* Copyright & Design Credit */
footer p {
  margin: 10px 0 5px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

footer a {
  display: block;
  margin-top: 5px;
  text-align: center;
  color: var(--brand-accent);
}

.footer-nav a {
  text-decoration: none;
  color: var(--brand-accent);
  font-weight: bold;
  transition: color 0.3s, background 0.3s;
  padding: 6px 10px;
  border-radius: 6px;
}

/* Hover state */
.footer-nav a:hover {
  color: #fff;
  background-color: var(--brand-accent);
}

/* Focus (keyboard/tab) state */
.footer-nav a:focus {
  outline: none;
  color: #fff;
  background-color: var(--brand-accent);
}

/* Active (touch/click) state */
.footer-nav a:active {
  color: #fff;
  background-color: var(--brand-hover);
}
.footer-nav a {
  text-decoration: none;
  color: var(--brand-accent);
  font-weight: bold;
  transition: color 0.3s, background 0.3s;
  padding: 6px 10px;
  border-radius: 6px;
}

.footer-nav a:hover {
  color: #fff;
  background-color: var(--brand-accent);
}

.footer-nav a:focus {
  outline: none;
  color: #fff;
  background-color: var(--brand-accent);
}

.footer-nav a:active {
  color: #fff;
  background-color: var(--brand-hover);
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 15px auto;
  display: flex;
  justify-content: space-between; /* evenly spread */
  flex-wrap: wrap;
  max-width: 800px;
}
footer {
  margin-top: 60px;
  padding: 20px;
  background: #f9f9f9;
  text-align: center;
  border-top: 1px solid #ddd;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: #1d3557; /* dark blue */
  position: absolute;
  top: 20px;
  right: 8px;
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    display: none;
    margin-top: 15px;
  }

  .main-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}