/* Reset some basic elements */


/* Layout and Structure */
body {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    color: black;
    background-color: white;
}



.contact-section {
    background-color: #fff;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    width: 100%;
}

.contact-form-container, .profile-section {
    background-color: #f0f4f8;
    padding: 40px;
    border-radius: 15px;
    /*box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);*/
    box-shadow: 8px 10px 6px 7px rgba(0, 0, 0, 0.1);
    width: 100%; /* added */
    box-sizing: border-box;    
}

.contact-form-container h2, .profile-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #183C5F;
}

.contact-form-container p, .profile-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-form .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.contact-form .form-group input, .contact-form .form-group textarea {
    padding: 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form .form-group input:focus, .contact-form .form-group textarea:focus {
    border-color: #183C5F;
}

.btn-submit {
    padding: 15px;
    font-size: 16px;
    background-color: #183C5F;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #14518A;
}

.profile-section .agency-profile, .profile-section .ceo-profile {
    margin-bottom: 40px;
    text-align: center;
}

.profile-section .agency-profile h2, .profile-section .ceo-profile h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #183C5F;
}

.profile-section .agency-profile p, .profile-section .ceo-profile p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.profile-section .ceo-profile .ceo-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 0px;
}

.profile-section h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #183C5F;
}

.btn-upwork {
    display: inline-block;
    padding: 12px 25px;
    font-size: 14px;
    background-color: #183C5F;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.btn-upwork:hover {
    background-color: #14518A;
}

.badge-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0px; /* Adjust as needed */
    padding: 5px; /* Provides spacing around the image */
    border-radius: 20px; /* Matches the image border radius */
    background: linear-gradient(45deg, rgba(24, 60, 95, 0.7), rgba(255, 255, 255, 0.5), rgba(0, 150, 136, 0.7)); /* Gradient background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds a subtle shadow for depth */
    max-width: 165px;
    height: auto;  
    margin-bottom: 10px;      
}

.badge-image {
    max-width: 150px; /* Adjust width as needed */
    height: auto;
    border-radius:20px;
    opacity: 0.9;
}

.profile-section .ceo-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}



/* Responsive adjustments */
/* Media Query for smaller screens */
@media (max-width: 768px) { /* Adjust the max-width as needed */
    .contact-content {
        display: flex;
        flex-direction: column;
        align-items: center; /* Center items horizontally */
    }
    
    .contact-form-container {
        order: 1;
        margin-bottom: 20px; /* Space between form and profile */
    }
    
    .profile-section {
        order: 2;
        margin-bottom: 0; /* No additional margin at the bottom on smaller screens */
    }
}