/* contact.css - Contact page specific styles with Recommended Font Sizes */

/* Ensure header stays sticky */
#header,
#header .header {
    position: sticky;
    top: 0;
    z-index: 1000;
}


/* Contact Container */
.contact-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.contact-form-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 67, 109, 0.08);
    box-shadow: none;
}

/* Form Title */
.form-title {
    font-size: 34px; /* Recommended: 34px */
    margin-bottom: 0.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.form-subtitle {
    color: #666;
    margin-bottom: 2rem;
    font-size: 17px; /* Recommended: 17px */
    line-height: 1.6;
}

/* Form Groups */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 16px; /* Recommended: 16px */
}

.form-label .required {
    color: #e74c3c;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px; /* Recommended: 16px */
    transition: all 0.3s;
    font-family: inherit;
    background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(29, 53, 46, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}

/* Character Count */
.char-count {
    text-align: right;
    font-size: 14px;
    color: #999;
    margin-top: 0.3rem;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px; /* Recommended: 16px */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: none;
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 16px; /* Recommended: 16px */
    color: #666;
}

/* Success and Error Messages */
.success-message,
.error-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    font-size: 16px; /* Recommended: 16px */
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.success-message.show,
.error-message.show {
    display: block;
    animation: slideDown 0.3s ease;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {

    .contact-container {
        padding: 0 1rem;
    }

    .contact-form-card {
        padding: 2rem 1.5rem;
    }

    .form-title {
        font-size: 28px;
    }

    .form-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    
    .contact-form-card {
        padding: 1.5rem 1rem;
    }

    .form-title {
        font-size: 24px;
    }

    .submit-btn {
        font-size: 15px;
        padding: 1rem;
    }
}