.contact {
    padding-bottom: 2rem;
}

.contact-container {
    margin-top: 2rem;
    display: flex;
    gap: 1rem; /* Reduced gap for better mobile fit */
    align-items: flex-start;
    flex-direction: row; /* Default for desktop */
}

.contact-header {
    font-size: clamp(1rem, 3.5vw, 1.25rem); /* Slightly smaller for mobile */
    font-weight: bold;
    margin-bottom: 0;
    align-self: flex-start;
}

p.contact-header {
    margin-top: 0;
}

.contact-info {
    font-size: clamp(1rem, 3vw, 1.5rem); /* Adjusted for mobile readability */
    margin-top: 0;
}

.no-wrap {
  white-space: nowrap;
}


/********* CONTACT US LAYOUT ***********/
.contact-us-container {
    width: clamp(250px, 95%, 900px);
    margin-inline: auto;
}

h1 {
    margin: 0;
}

.contact-form {
    background-color: rgba(256, 256, 256, 0.9);
    padding: 1.5rem; /* Slightly increased for better spacing */
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 1rem; /* Base font size for form */
	color: #000;
}

.contact-form p {
    margin-top: 0;
    margin-bottom: 1.5rem; /* Reduced for mobile */
    font-size: clamp(1.2rem, 4vw, 1.4rem); /* Smaller for mobile */
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.required-note {
    font-size: 0.9rem; /* Slightly smaller for mobile */
    font-weight: normal;
    color: #666;
    margin-left: 0.5rem; /* Reduced for better fit */
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 8px; /* Slightly reduced padding */
    margin-bottom: 12px; /* Reduced margin for tighter layout */
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: clamp(1rem, 3.5vw, 1.2rem); /* Smaller input text for mobile */
    box-sizing: border-box; /* Ensures padding doesn’t cause overflow */
}

.input-error {
	outline: 2px solid red;
	background-color: #fddde6 ;
}

.contact-form button {
    background: #333;
    color: #fff;
    padding: 8px 16px; /* Slightly smaller padding */
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: clamp(1rem, 3.5vw, 1.1rem); /* Smaller button text */
}

.contact-form button:hover {
    background: #555;
}

/* When scrolling to this element, leave a little space above it. */
#form-error {
    scroll-margin-top: 4rem; /* or try 64px, 100px, etc. */
}

/* Footer (if enabled) */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative; /* Changed from fixed to prevent overlap */
    width: 100%;
}

/* Anti-bot */
.verification {
	display: none;
}