body {
    font-family: 'Georgia', serif;
    background-color: #f6f0ea;
    color: #3a2e2a;
    margin: 0;
    padding-top: 80px; /* leave space for fixed navbar */
  }
  
  .contact-main {
    max-width: 700px;
    margin: auto;
    padding: 40px 20px;
  }
  
  .contact-section,
  .text-instructions-section {
    background-color: #f8f3ee;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }
  
  .contact-section h2,
  .text-instructions-section h3 {
    font-family: 'Allura', cursive;
    font-size: 2.5em;
    color: #6b4c3b;
    margin-bottom: 20px;
  }
  
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .contact-form label {
    font-weight: bold;
  }
  
  .contact-form span {
    color: #c9a68a;
  }
  
  .contact-form input {
    padding: 10px;
    border: 1px solid #d8c1b2;
    border-radius: 6px;
    font-size: 1em;
    background-color: #fff;
    color: #3a2e2a;
  }
  
  .contact-form input:focus {
    outline: none;
    border-color: #c9a68a;
    box-shadow: 0 0 4px rgba(201, 166, 138, 0.5);
  }
  
  .contact-form button {
    background-color: #c9a68a;
    color: white;
    border: none;
    padding: 12px;
    font-size: 1.1em;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: #b89073;
  }
  
  .text-instructions-section ul {
    padding-left: 20px;
    list-style: disc;
  }
  
  .phone-number {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #6b4c3b;
  }
  
  .fade-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
  }
  
  .fade-section.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .instructions-section {
    background-color: #f4eae2;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  }
  
  .instructions-section h2 {
    font-family: 'Allura', cursive;
    font-size: 2.5em;
    color: #6b4c3b;
    margin-bottom: 20px;
  }
  
  .instructions-section ul {
    padding-left: 20px;
    list-style: disc;
    margin-top: 10px;
  }


.contact-form textarea {
    width: 100%;
    min-height: 100px;
    resize: none; /* Prevent manual resizing */
    overflow-x: hidden; /* Prevent horizontal scroll */
    box-sizing: border-box;
    transition: height 0.2s ease;
    padding: 10px;
    font-family: 'Georgia', serif;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fffaf7;
    color: #3a2e2a;
    white-space: pre-wrap; /* Ensure wrapping of text */
    word-wrap: break-word; /* Break long words */
    word-break: break-word; /* Break words to avoid overflow */
}

/* Specific styling for the message textarea */
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: height 0.2s ease;
}

.char-count {
    font-size: 0.9em;
    color: #6b4c3b;
    margin-top: 4px;
    text-align: right;
    font-family: 'Georgia', serif;
  }
  .form-status-message {
    margin-bottom: 1rem;
    font-weight: bold;
  }