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

body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: auto;
    overflow: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 5%;
    height: 60px;  /* Fixed height for nav */
}

.left-section {
    display: flex;
    align-items: center;
    flex: 1;  /* Allow it to grow */
    max-width: 400px;  /* Limit width */
}

header nav .left-section img {
    width: 60px !important;
    height: 60px !important;
    object-fit: contain;
    max-width: 60px !important;
    max-height: 60px !important;
}

img[src*="DataContextLogoSmall.jpeg"] {
    width: 60px !important;
    height: 60px !important;
    max-width: 60px !important;
    max-height: 60px !important;
}

.company-header {
    display: none;  /* Hide the company header */
}

.company-name {
    font-size: 1.3rem;
    color: #0066cc;
    margin: 0;
    line-height: 1.2;
}

.company-tagline {
    font-size: 0.8rem;
    color: #333;
    font-weight: 500;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

main {
    margin-top: 60px;
}

section {
    padding: 4rem 5%;
}

#hero {
    background-color: #f4f8fc;
    text-align: center;
    padding: 3rem 5%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
    font-weight: 700;
}

.cta-button {
    display: inline-block;
    background-color: #0066cc;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #0066cc;
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background-color: #f4f8fc;
    padding: 2rem;
    border-radius: 5px;
}

.service-item h3 {
    color: #0066cc;
    font-weight: 600;
}

blockquote {
    font-style: italic;
    margin: 2rem 0;
    padding: 1rem;
    background-color: #f4f8fc;
    border-left: 5px solid #0066cc;
    color: #333;
}

cite {
    display: block;
    margin-top: 1rem;
    font-style: normal;
    font-weight: bold;
    color: #0066cc;
}

footer {
    background-color: #0066cc;
    color: #ffffff;
    text-align: center;
    padding: 1rem;
}

p {
    color: #333;
}

/* Team page styles */
#team-intro {
    background-color: #f4f8fc;
    text-align: center;
    padding: 4rem 5%;
}

#team-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0066cc;
}

#team-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

#team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 4rem 5%;
}

.team-member {
    background-color: #f4f8fc;
    border-radius: 5px;
    overflow: visible;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}

.team-member:hover {
    transform: translateY(-5px);
}

/*.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
*/
.team-member h3 {
    font-size: 1.5rem;
    color: #0066cc;
    margin: 1rem 0 0.5rem;
}

.team-member .job-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-member .bio {
    padding: 0 1rem 1rem;
    font-size: 1rem;
}

.image-container {
    width: 200px;  /* Adjust this value to make the image larger or smaller */
    height: 200px; /* This should be the same as the width for a perfect circle */
    margin: 0 auto; /* This centers the image container */
    margin-bottom: 1rem;
    overflow: hidden; /* This hides any part of the image outside the container */
    border-radius: 50%; /* This makes the container circular */
}

.image-container img {
    width: 100%;
    height: 100%;
    object-position: center;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 1rem 5%;
    }

    .left-section {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }
}

/* Contact form styles */
#contact-form {
    max-width: 800px;  /* Increased from 600px */
    margin: 120px auto 40px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 2rem;  /* Increased spacing between form elements */
    text-align: left;
}

.form-group label {
    display: inline-block;
    width: 120px;  /* Fixed width for labels */
    margin-bottom: 0.5rem;
    font-weight: 500;
    vertical-align: top;  /* Aligns labels with top of input boxes */
    padding-top: 8px;  /* Fine-tune vertical alignment */
}

.form-group input,
.form-group textarea {
    width: calc(100% - 130px);  /* Full width minus label width and some spacing */
    padding: 12px;  /* Increased padding for higher input boxes */
    border: 1px solid #e0e0e0;  /* Lighter border color */
    border-radius: 6px;  /* Slightly more rounded corners */
    font-size: 1rem;
    background-color: #f8f9fa;  /* Light background */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);  /* Subtle inner shadow */
    transition: all 0.3s ease;
}

.form-group input {
    height: 45px;  /* Taller input boxes */
}

.form-group textarea {
    min-height: 120px;  /* Taller textarea */
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
    background-color: #fff;
}

button.cta-button {
    border: none;
    cursor: pointer;
    margin-left: 120px;  /* Align with input fields */
    padding: 12px 30px;  /* Larger button */
}

button.cta-button:hover {
    background-color: #0052a3;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .form-group label {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
    }
    
    button.cta-button {
        margin-left: 0;
        width: 100%;
    }
}

/* Adjust main content margin to account for the new header content */
main {
    margin-top: 60px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .left-section {
        flex-direction: column;
        text-align: center;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .company-tagline {
        font-size: 1rem;
    }
}

/* Remove or update any conflicting styles */
.logo img {
    max-height: unset;
    max-width: unset;
}