.ourTeam {
    width: 100%;
    background-color: var(--light-bg);
    padding: 40px 20px;
}

.ourTeam h1 {
    font-size: var(--medium-big-font);
    margin: 0 0 20px 0;
    font-weight: normal;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 20px auto;
    padding: 0 40px;
}

.ourTeam h3 {
    font-weight: normal;
    font-size: var(--medium-font);
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 40px;
    text-align: left;
    font-family: Acumin-Regular;
}

.team {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 20px;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
}

.profile-image {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 2%;
}

.profile-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: black;
}

.profile-job {
    font-size: 12px;
    color: black;
}

.contact {
    width: 100%;
    padding: 40px 20px;
    background-color: var(--dark-bg);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    justify-content: space-between;
    gap: 40px;

    grid-template-columns: 1fr 1fr;
}

.contact-form {
    flex: 1;
}

.contactText {
    margin-top: 50px;
}

.contact-form h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 0 0 20px 0;
}

.contact-form p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    margin-top: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.input-title {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.input {
    width: 100%;
    height: 40px;
    border: 1px solid #ccc;
    padding: 8px 12px;
    font-size: 16px;
}

.textinput {
    width: 100%;
    height: 150px;
    border: 1px solid #ccc;
    padding: 12px;
    font-size: 16px;
    resize: vertical;
}

.submit-btn {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #444;
}

.g-recaptcha {
    margin: 20px 0;
}

.full-width-image {
    width: 100%;
    padding: 0;
    margin: 0;
}

.placeholder-image {
    width: 100%;
    height: 800px;
    background-image: url('https://geongroup.de/wp-content/uploads/2024/05/GEON_RiWa_3D_Logo-1-scaled.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}


.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.profile-card:hover {
    transform: translateY(-5px);
}

.profile-image {
    width: 250px;
    height: 250px;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.profile-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 4px;
    color: black;
}

.profile-job {
    font-size: 12px;
    color: black;
}





/* Extra Small Devices (Phones, up to 600px) */
@media only screen and (max-width: 600px) {
    .contact-container {
        display: block;
    }

    .company-info {
        margin-top: 100px;
    }
}



/* Small Devices (Portrait Tablets and Small Phones, up to 768px) */
@media only screen and (max-width: 481px) {
    .ourTeam > h3 {
        font-size: var(--very-small-font) !important;
        margin-bottom: 50px;
    }
}



/* Small Devices (Portrait Tablets and Small Phones, up to 768px) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
    .ourTeam > h3 {
        font-size: var(--very-small-font) !important;
        margin-bottom: 50px;
    }
}


/* Medium Devices (Tablets in Landscape, 768px to 1024px) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
    .ourTeam > h3 {
        font-size: var(--small-font) !important;
        margin-bottom: 50px;
    }
}   


/* Large Devices (Desktops, 1024px to 1200px) */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
    .ourTeam > h3 {
        font-size: var(--small-font) !important;
        margin-bottom: 50px;
    }
}

/* Extra Large Devices (Large Desktops, 1200px to 1600px) */
@media only screen and (min-width: 1201px) and (max-width: 1651px) {
    .ourTeam > h3 {
        font-size: var(--small-font) !important;
        margin-bottom: 50px;
    }
}
