/* Contact Heading Styles */
#contact .head {
    text-align: center;
}

#contact .headstyle {
    padding: 5px 15px;
    background-image: linear-gradient(to left, #00bf63, #575656);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #f7f4f4;
}

body {
    background-color: #f8f9fa;
    font-family: Arial, sans-serif;
}

.contact-info {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    
}
.contact-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Align items to the center */
    gap: 20px; /* Add spacing between items */
}

.contact-item {
    display: flex;              /* Use flexbox */
    flex-direction: column;     /* Stack items vertically */
    align-items: center;        /* Align items to the center */
    justify-content: center;    /* Center content */
    text-align: center;         /* Ensure text is center-aligned */
    gap: 10px;
}

.contact-item i {
    font-size: 30px;
    color: #00bf63;
    text-shadow: 2px 2px 2px #575656;
    margin-bottom: 10px;
    
}
.contact-item p {
    font-size: 16px;
    margin: 0;
    color: #575656;
}
.contact-item a {
    color: #575656;
    text-decoration: none;
    font-weight: bold;
}
.contact-item a:hover{
    /* text-shadow: 2px 2px 3px #00bf63; */
    color: #00bf63;
    text-decoration: underline;
    transform: scale(1.05);
    transition: transform 0.3s ease;
    
}
.contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 5px #575656;
}

.contact-form h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333; /* Customize as needed */
    text-shadow: 2px 3px 3px #00bf63;
    font-weight: bold;
}
.form-control:hover
{
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.send-btn {
    box-shadow: 2px 2px 5px 0px #00bf63;
    font-weight: bolder;
}
.send-btn:hover {
    transform: scale(1);

    
}

@media (max-width: 991px) and (min-width: 768px) {
    .contact-items {
        flex-direction: column; /* Stack items vertically */
        align-items: center;   /* Center align */
        justify-content: center;
        
    }

    .contact-item {
        max-width: 100%; /* Allow full width for better alignment */
    }
}