* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.contact {
    padding: 40px 20px;
    text-align: center;
    background: #fff;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact h2 {
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333;
}

.contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact label {
    font-weight: bold;
    margin-top: 10px;
    text-align: left;
    color: #555;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.contact input::placeholder,
.contact textarea::placeholder {
    color: #999;
    opacity: 0.8;
    font-style: italic;
}

.contact input:focus,
.contact textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.contact button {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
}

.contact button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.contact button:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact {
        padding: 20px;
    }

    .contact form {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .contact {
        padding: 15px;
    }

    .contact form {
        padding: 0;
    }

    .contact-info {
        padding: 15px;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .contact-info p {
        font-size: 0.9rem;
    }
}

/* Contact Information */
.contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text horizontally */
    border: 1px solid #e0e0e0;
    max-width: 600px; /* Limit the width for better readability */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
}

.contact-info h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 5px;
}

.info-item p {
    margin: 0;
    font-size: 1rem;
    color: #333;
}

.info-item a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}
/* Print Styles */
@media print {
    .contact {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .contact-info {
        background: #fff;
        box-shadow: none;
        border: none;
    }

    .contact button {
        display: none;
    }
}