
.contact-section {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

/* Section Titles */
.contact-section h1,
.contact-section h2 {
    color: #333;
    margin-bottom: 10px;
}

.contact-section h1 {
    font-size: 2.5rem;
    text-align: center;
}

.contact-section h2 {
    font-size: 1.8rem;
    color: #444;
    margin-top: 20px;
}

/* Paragraph Styling */
.contact-section p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Contact Information and Links */
.contact-section strong {
    color: #333;
    font-weight: bold;
}

.contact-section a {
    color: #0056b3;
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.contact-section a:hover {
    color: #0056b3;
    text-decoration: underline;
}







.contact-form {
    margin-top: 2rem;
    background-color: #f9f9f9;
    /* Add a light background */
    padding: 2rem;
    /* Add padding around the form */
    border-radius: 10px;
    /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    max-width: 600px;
    /* Limit form width */
    margin: 2rem auto;
    /* Center align the form */
}

.contact-form h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #1abc9c;
    /* Highlighted border on focus */
    outline: none;
}

.contact-form button {
    display: block;
    width: 100%;
    background: #2c3e50;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
    background: #1abc9c;
    transform: translateY(-2px);
    /* Subtle hover effect */
}

.contact-form button:active {
    transform: translateY(0);
    /* Reset on click */
}

.contact-form textarea {
    resize: none;
    /* Prevent resizing */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #767676;
    font-style: italic;
}

/* Add responsive design for smaller screens */
@media (max-width: 768px) {
    .contact-form {
        padding: 1rem;
    }

    .contact-form h3 {
        font-size: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 0.9rem;
    }

    .contact-form button {
        font-size: 0.9rem;
    }
}

/* Custom submit-status modal (Swal replacement) */
.cf-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    z-index: 999999; display: flex; align-items: center; justify-content: center;
    padding: 16px; box-sizing: border-box; opacity: 0; transition: opacity .2s ease;
}
.cf-overlay.cf-show { opacity: 1; }
.cf-box {
    background: #fff; border-radius: 16px; padding: 28px 24px; width: 100%;
    max-width: 380px; text-align: center; box-sizing: border-box;
    transform: scale(.9) translateY(15px); opacity: 0;
    transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s ease;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}
.cf-overlay.cf-show .cf-box { transform: scale(1) translateY(0); opacity: 1; }
.cf-icon {
    width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 700;
}
.cf-icon.cf-success { background: #dcfce7; color: #15803d; }
.cf-icon.cf-error   { background: #fee2e2; color: #dc2626; }
.cf-title { font-size: 18px; font-weight: 700; margin: 0 0 6px; color: #111; }
.cf-text  { font-size: 14px; color: #555; margin: 0 0 20px; line-height: 1.5; }
.cf-btn {
    border: none; padding: 10px 28px; border-radius: 10px; font-size: 14px;
    font-weight: 600; cursor: pointer; width: 100%;
}
.cf-btn.cf-success { background: #16a34a; color: #fff; }
.cf-btn.cf-error   { background: #dc2626; color: #fff; }
