/* Targeted only to the contact page to prevent navbar shrinking */
.contact-page, .contact-page * {
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box;
}

.success-animation-container { text-align: center; padding: 20px 0; animation: fadeIn 0.8s ease; }

.checkmark-circle {
    width: 80px; height: 80px; position: relative; display: inline-block;
    vertical-align: top; border-radius: 50%; border: 4px solid #d4edda;
    background-color: #fff; margin-bottom: 20px;
}

.checkmark {
    display: block; position: absolute; top: 45px; left: 18px; width: 40px; height: 20px;
    border-bottom: 5px solid #155724; border-left: 5px solid #155724;
    transform-origin: left top; transform: rotate(-45deg) scale(0);
    animation: checkmark 0.4s ease 0.4s forwards;
}

@keyframes checkmark {
    0% { transform: rotate(-45deg) scale(0); }
    100% { transform: rotate(-45deg) scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact-page { background-color: #fdfdfd; color: #333; padding-bottom: 80px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.contact-hero { padding: 40px 0 20px; text-align: center; margin-bottom: 20px; }
.contact-hero h1 { font-size: 2.5rem; text-transform: uppercase; padding-top: 20px; letter-spacing: 1px; color: #800000; }

.contact-form-centered { display: flex; justify-content: center; width: 100%; }
.contact-form-container {
    background: #fff; padding: 40px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee;
    width: 100%; max-width: 600px;
}

.input-group { margin-bottom: 25px; position: relative; }
.input-group label { display: block; font-weight: 600; margin-bottom: 10px; font-size: 0.9rem; color: #555; }
.input-group input, .input-group textarea {
    width: 100%; padding: 14px 16px; border: 2px solid #eee; border-radius: 10px;
    font-size: 1rem; background-color: #f9f9f9;
    transition: all 0.3s ease; resize: none;
}
.input-group input:focus, .input-group textarea:focus {
    border-color: #800000; background-color: #fff; outline: none;
    box-shadow: 0 4px 12px rgba(128, 0, 0, 0.08); transform: translateY(-2px);
}

.char-counter { font-size: 0.75rem; color: #888; text-align: right; margin-top: 5px; }

.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 25px; }
.checkbox-group input { width: 18px; height: 18px; cursor: pointer; margin-top: 2px; }
.checkbox-group label { font-size: 0.85rem; color: #555; cursor: pointer; line-height: 1.4; }
.checkbox-group label a { color: #800000; text-decoration: underline; font-weight: 600; }

.submit-btn {
    background: linear-gradient(135deg, #800000 0%, #a00000 100%); color: white;
    padding: 16px 30px; border: none; border-radius: 10px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer; width: 100%;
    box-shadow: 0 4px 15px rgba(128, 0, 0, 0.2); transition: 0.3s;
}
.submit-btn:disabled { background: #ccc; cursor: not-allowed; box-shadow: none; transform: none; }
.submit-btn:not(:disabled):hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(128, 0, 0, 0.3); }

.alert-success { background-color: #d4edda; color: #155724; padding: 15px; border-radius: 10px; margin-bottom: 20px; border: 1px solid #c3e6cb; }
.alert-error { background-color: #f8d7da; color: #721c24; padding: 15px; border-radius: 10px; margin-bottom: 20px; border: 1px solid #f5c6cb; }

.action-btn {
    margin-top: 25px; background-color: #800000; color: white; border: none;
    padding: 12px 25px; border-radius: 10px; font-weight: 600; cursor: pointer;
    transition: 0.3s; width: 100%; text-decoration: none; display: inline-block;
    text-align: center;
}
.action-btn:hover { background-color: #a00000; transform: translateY(-2px); }