/* General form styles */
.styled-form {

    margin: 20px auto;
    padding: 20px;

}

/* Flexbox for email and name on the same row */
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

/* Make form-group take equal space */
.form-group {
    flex: 1;
}

/* Label styles */
.styled-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #f9f9f9;
    font-size: 14px;
}

/* Input and textarea styles */
.styled-form input[type="email"],
.styled-form input[type="text"],
.styled-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 16px;
    transition: border-color 0.3s ease;
}

.styled-form input[type="email"]:focus,
.styled-form input[type="text"]:focus,
.styled-form textarea:focus {
    border-color: #6cb2eb;
    outline: none;
}

/* Button styles */
.submit-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

/* Responsive form styles */
@media (max-width: 600px) {
    .styled-form {
        padding: 15px;
    }
    
    .form-row {
        flex-direction: column;
    }
}

/************** TEAM **************/

/* Team Section Styles */
.section_team {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

.section_team h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.team_grid {
    display: flex;
    justify-content: center;  /* Center horizontally */
    align-items: center;      /* Center vertically */
    gap: 40px;
    flex-wrap: wrap;
    max-width: 100%;          /* Ensure it takes up full width */
    margin: 0 auto;           /* Center the grid */
}

.team_member {
    width: 400px;
    text-align: center;
}

.team_member_cv {
    font-size: 12px;

}
.team_member_image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
}

.team_member_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team_member h3 {
    font-size: 18px;
    margin-top: 20px;
}

.team_member p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.linkedin_link {
    display: inline-block;
    color: #0077b5;
    font-size: 14px;
    text-decoration: none;
}

.linkedin_link:hover {
    text-decoration: underline;
}

/* Responsive Team Layout */
@media (max-width: 768px) {
    .team_grid {
        flex-direction: column;  /* Stack the team members vertically */
    }

    .team_member {
        margin-bottom: 20px;
        width: 100%;  /* Take full width on small screens */
    }

    .team_member_image {
        width: 100px;
        height: 100px;
    }
}


/************************** team member ************************/

.team_member_cv {
    display: none;
    margin-top: 15px;
    font-size: 0.9em;
    color: #555;
}
.more-info-btn {
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #388e3c;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.more-info-btn:hover {
    background-color: #2e7d32;
}
