body {
    color: #000;
    overflow-x: hidden;
    height: 100%;
    background-image: url("..//images/pic5.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    padding: 40px;
    margin: 20px;
    border: none !important;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 600px;
    width: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px 0 rgba(0, 0, 0, 0.3);
}

.blue-text {
    color: #00BCD4;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}

.form-control-label {
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
}

input, textarea, button {
    padding: 12px 20px;
    border-radius: 10px !important;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    font-size: 16px !important;
    font-weight: 400;
    width: 100%;
    transition: all 0.3s ease;
}

input:focus, textarea:focus {
    border: 1px solid #00BCD4;
    outline: none;
    box-shadow: 0 0 12px rgba(0, 188, 212, 0.6);
}

/* Container for the submit button */
.button-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers the button vertically (if needed) */
    margin-top: 20px;
}

.btn-block {
    text-transform: uppercase;
    font-size: 16px !important;
    font-weight: 500;
    height: 50px;
    cursor: pointer;
    background: linear-gradient(135deg, #00BCD4, #0097A7);
    border: none;
    color: white;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 50%; /* Adjust width as needed */
    border-radius: 25px;
    text-align: center; /* Ensures text inside the button is centered */
}

.btn-block:hover {
    background: linear-gradient(135deg, #0097A7, #00BCD4);
    transform: scale(1.05);
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

#form-message {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin-top: 20px;
    color: #00BCD4;
}

#loading-spinner {
    margin-left: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.social-link {
    color: #00BCD4;
    font-size: 28px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
    color: #0097A7;
    transform: translateY(-5px);
}

.btn-secondary {
    background-color: #6c757d;
    border: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin: 10px;
    }

    .btn-block {
        width: 70%; /* Adjusted for smaller screens */
    }

    input, textarea, button {
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 15px;
        margin: 5px;
    }

    .btn-block {
        width: 100%; /* Full width on very small screens */
    }

    input, textarea, button {
        padding: 8px 12px;
    }
}